Skip to Content
TrackCrest Docs

List invoices

Invoices the network issued to you. Filter: status.

GET
/api/v1/advertiser/invoices

Requires scope invoices:read.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Query Parameters

status?string
sort?string
page?integer
Formatint32
pageSize?integer
Formatint32

Response Body

OK

application/json
  1. response
data?array<>
pagination?
Example Request
curl -X GET 'https://trakcrt.com/api/v1/advertiser/invoices'
Example Response
{  "data": [    {      "publicId": 0,      "number": "string",      "advertiser": {        "publicId": 0,        "name": "string"      },      "status": "string",      "currency": "string",      "total": 0.1,      "periodStart": "2019-08-24T14:15:22Z",      "periodEnd": "2019-08-24T14:15:22Z",      "issuedAt": "2019-08-24T14:15:22Z",      "dueAt": "2019-08-24T14:15:22Z",      "sentAt": "2019-08-24T14:15:22Z",      "paidAt": "2019-08-24T14:15:22Z",      "lines": [        {          "description": "string",          "quantity": 0,          "unitRate": 0.1,          "amount": 0.1,          "offer": "string"        }      ]    }  ],  "pagination": {    "page": 0,    "pageSize": 0,    "totalCount": 0,    "totalPages": 0  }}