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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjozMCwiZXhwIjoxNzcyMjExNDczfQ.RPF9AFSjVOouzMZC_mQb4LfRn9LkLGb-zhDI40p5Il4
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/invoices/5155a762-13fd-11f1-8e24-cacc5eb17c13

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/"460d30ba27a437dd74d5ce232fcfdf84"
cache-control: max-age=0, private, must-revalidate
x-request-id: 81211e87-e56c-4b12-b653-858c4ca7f515
x-runtime: 0.007732
content-length: 1092

Status

200 OK

Body

{
  "data": {
    "id": "5155a762-13fd-11f1-8e24-cacc5eb17c13",
    "type": "invoices",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/invoices/5155a762-13fd-11f1-8e24-cacc5eb17c13"
    },
    "attributes": {
      "reference": "23",
      "start-date": "2026-02-20T16:56:53.738Z",
      "end-date": "2026-02-26T16:56:53.738Z",
      "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/5155a762-13fd-11f1-8e24-cacc5eb17c13/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/invoices/5155a762-13fd-11f1-8e24-cacc5eb17c13/account"
        }
      }
    }
  }
}