Invoices API

get specific entry

GET /api/rest/customer/v1/invoices/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjozMCwiZXhwIjoxNzY3MzU4MDM0fQ.-YpVTmVpn54huLRkHQFJLz0IL8rOvzGtaQWokBA2M1s
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/invoices/06653196-e7d9-11f0-8387-0a63caf27539

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"0fbf067be3ca8cca33a8a06b763950a2"
cache-control: max-age=0, private, must-revalidate
x-request-id: 76023f63-ce3c-4676-96c3-dc6b22dff21e
x-runtime: 0.007658
content-length: 1092

Status

200 OK

Body

{
  "data": {
    "id": "06653196-e7d9-11f0-8387-0a63caf27539",
    "type": "invoices",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/invoices/06653196-e7d9-11f0-8387-0a63caf27539"
    },
    "attributes": {
      "reference": "23",
      "start-date": "2025-12-26T12:46:14.966Z",
      "end-date": "2026-01-01T12:46:14.966Z",
      "has-pdf": false,
      "amount-spent": "0.0",
      "originated-amount-spent": "0.0",
      "originated-calls-count": 0,
      "originated-successful-calls-count": 0,
      "originated-calls-duration": 0,
      "originated-billing-duration": 0,
      "originated-first-call-at": null,
      "originated-last-call-at": null,
      "terminated-amount-spent": "0.0",
      "terminated-calls-count": 0,
      "terminated-successful-calls-count": 0,
      "terminated-calls-duration": 0,
      "terminated-billing-duration": 0,
      "terminated-first-call-at": null,
      "terminated-last-call-at": null,
      "services-amount-spent": "0.0",
      "service-transactions-count": 0
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/invoices/06653196-e7d9-11f0-8387-0a63caf27539/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/invoices/06653196-e7d9-11f0-8387-0a63caf27539/account"
        }
      }
    }
  }
}