Easymailing
Invoices

List account invoices

GET /invoices

GET/invoices

Returns the invoices of the account that can be downloaded, newest first, with number, date, amounts in cents, currency and the address of the PDF. All of them come in one page.

When to use: To check what has been billed, or to find an invoice number or total.

When not to use: To read one invoice use get_invoice; for the plan and its usage use api_my_suscription_get.

Permissions: Requires the account role or higher, or the account.billing.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Query Parameters

page?integer

The collection page number

Default1
itemsPerPage?integer

The number of items per page

Range0 <= value <= 50
Default30

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/invoices" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "number": "string",    "date": "2019-08-24",    "amount": 0,    "taxes": 0,    "total": 0,    "currency": "string",    "download_url": "http://example.com",    "created_at": "2019-08-24T14:15:22Z"  }]