Invoices: list

Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days.

Privileges required: account administrator

Request

HTTP request

GET /v2/accounts/{accountId}/billing_invoices

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID Guid.

Optional Query Parameters
from_datestring

Specifies the date/time of the earliest invoice in the account to retrieve.

to_datestring

Specifies the date/time of the latest invoice in the account to retrieve.

Responses

CodeDescriptionReference
200

Successful response.

billingInvoicesResponse
400

Error encountered.

errorDetails

SDK Method

Billing::listInvoices

Definitions

billingInvoiceItem
billingInvoicesResponse
errorDetails
Invoices

Examples

Generic JSON Response
Generic XML Response