GET
/
api
/
external
/
v2
/
customer_invoices
/
{customer_invoice_id}
/
categories
{
  "has_more": true,
  "items": [
    {
      "analytical_code": "CODE123",
      "category_group": {
        "id": 229
      },
      "created_at": "2023-08-30T10:08:08.146343Z",
      "id": 421,
      "label": "HR - Salaries",
      "updated_at": "2023-08-30T10:08:08.146343Z",
      "weight": "0.25"
    },
    {
      "analytical_code": "CODE123",
      "category_group": {
        "id": 229
      },
      "created_at": "2023-08-30T10:08:08.146343Z",
      "id": 421,
      "label": "HR - Salaries",
      "updated_at": "2023-08-30T10:08:08.146343Z",
      "weight": "0.25"
    }
  ],
  "next_cursor": "dXBkYXRlZF9hdDoxNjc0MTIzNDU2"
}

Path Parameters

customer_invoice_id
string
required

(Required)

Example:

"42"

Query Parameters

cursor
string

Cursor for pagination. Use this to fetch the next set of results. The cursor is an opaque string returned in the previous response's metadata. Leave empty for the first request.

Example:

"dXBkYXRlZF9hdDoxNjc0MTIzNDU2"

limit
string

Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.

Example:

"20"

Response

200
application/json

The list of categories of the customer invoice. If the invoice is draft, an empty list will be returned.

The response is of type object.