v1

latestOpenAPI 3.0.1Apache 2.02026-07-26401961.7 KB
Purchases

Get list of purchases pulled from eTIMS.

Get list of purchases pulled from eTIMS.

get/purchases

Query parameters

beforestring

When paginating results, a pointer to an ID before which we want results

Example:<entity>_01HC3J1VVVM05YCTS61G7V3KC6
afterstring

When paginating results, a pointer to an ID after which we want results

Example:<entity>_01HC3J1VVVM05YCTS61G7V3KC6
page_sizeinteger

The maximum number of items to return per page, defaults to 20

Example:20

Response

Success

Example response

{
  "pagination": {
    "next": "<entity>_01HC3J1VVVM05YCTS61G7V3KC6",
    "previous": "<entity>_01HC3J1VVVM05YCTS61G7V3KC6",
    "page_size": 20
  },
  "meta": {
    "last_updated": "2026-07-14T21:00:00.000Z"
  },
  "data": [
    {
      "id": "purchase_01HC3J1VVVM05YCTS61G7V3KC6",
      "registration_type_code": "A",
      "invoice_number": 4000,
      "purchase_type_code": "N",
      "receipt_type_code": "P",
      "payment_type_code": "07",
      "purchase_status_code": "06",
      "purchase_date": "20260714",
      "trader_invoice_number": "12",
      "supplier_branch_id": "00",
      "supplier_name": "KENYA REVENUE AUTHORITY",
      "supplier_invoice_number": 12,
      "item_list": [
        {
          "id": "purchaseitem_01HC3J1VVVM05YCTS61G7V3KC6",
          "quantity": 3000,
          "price": 116,
          "supply_amount": 348000,
          "item_id": "item_01HC3J1VVVM05YCTS61G7V3KC6"
        }
      ]
    }
  ]
}