Reference

Get invoice

One month's invoice, with a line per index and item.

GET
/orgs/{org}/invoices/{month}

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

org*string

Your organization.

month*string
Match^\d{4}-(0[1-9]|1[0-2])$

Response Body

The invoice.

application/json
  1. response
month*string
Match^\d{4}-(0[1-9]|1[0-2])$
status*string

open for the month under way, which still grows.

Value in"open""closed"
currency*"usd"
Value in"usd"
total_cents*integer

The sum of the lines.

lines*array<>

Per index and item; none for zero use.

Example Request
curl -X GET 'https://example.com/v1/orgs/string/invoices/string'
Example Response
{  "month": "string",  "status": "open",  "currency": "usd",  "total_cents": 0,  "lines": [    {      "index": "string",      "item": "storage",      "quantity": 0,      "unit_price": 0,      "amount_cents": 0    }  ]}