List invoices

http
GET /accounts/{account_id}/invoices

List the issued invoices of an account, or with kind upcoming the previews and drafts of what it will be charged next; returns one page of invoices with amounts in minor currency units. Requires account.billing.read.

Parameters

NameInRequiredDescription
account_idpathYes
kindqueryWhich invoices to list. "issued" (default) lists finalized invoices. "upcoming" lists the preview of each active subscription, then draft invoices.
sort_byquerySort field of the returned page. Defaults to "date" for issued invoices. Pages follow Stripe order, newest first; sorting orders the returned page only.
sort_orderquerySort order of the returned page. Defaults to "desc".
limitqueryMaximum number of invoices to return, 1 to 100. Defaults to 20.
cursorqueryOpaque cursor pointing at the next page. Omit it to read the first page.

Responses

StatusDescription
200One page of issued or upcoming invoices of the account.
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
500Server error