Billing

Get invoices for the previous months

Fetch all invoice details of the tenant for specified number of previous months.

Note: this API is not applicable for system tenants.

get/_api/billing/invoices

Request

Query parameters

limitinteger

Number of previous months for which invoices are required.

Headers

tenantstring string

Tenant name. If not set it uses the tenant invoking the request.

Response

Successfully fetched invoice details.

Example - https://stripe.com/docs/api/invoices/list

Note: the example here is an excerpt please follow the link above for a complete example.

objectstring
urlstring
has_moreboolean

Example response

{
  "object": "list",
  "url": "/v1/payment_intents",
  "data": [
    {
      "id": "pi_1DpxME2eZvKYlo2CdLPnXZPO",
      "object": "invoice",
      "account_country": "US",
      "account_name": "Stripe.com",
      "amount_due": 498,
      "amount_remaining": 498
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.