v1

latestOpenAPI 3.1.02026-07-247328324.6 KB
Invoices

List all invoice items

get/sellers/{seller_id}/invoices/{invoice_id}/invoice-items

Path parameters

seller_idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

An object id with prefix

invoice_idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

An object id with prefix

Query parameters

skipinteger

For pagination, skip a number of results

Example:42

For pagination, skip a number of results

takeinteger

Only take up to a number of results.

Example:42

Only take up to a number of results.

idstring

A cursor (bookmark) used to only return results equal or lower than the given id. More efficient than skip for large result sets.

Example:user_0123456789ABCDEFGHIJKLMNOPq

A cursor (bookmark) used to only return results equal or lower than the given id. More efficient than skip for large result sets.

Response

Successful operation

Example response

{
  "data": [
    {
      "amount": 10000,
      "category": "unspsc:43211508",
      "metadata": {
        "key": "value"
      },
      "unspsc": "unspsc:43211508",
      "id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "created_at": "2024-01-15T10:30:00Z",
      "created_by": "user_0123456789ABCDEFGHIJKLMNOPq",
      "updated_at": "2024-01-15T10:30:00Z",
      "updated_by": "user_0123456789ABCDEFGHIJKLMNOPq"
    }
  ]
}