VUZDevelopers

Get expenses for a supplier (paginated)

GET
/suppliers/{id}/expenses
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

id*string

Supplier UUID

Response Body

application/json

curl -X GET "https://example.com/suppliers/string/expenses"
{  "items": [    {      "id": "string",      "businessId": "string",      "userId": "string",      "description": "string",      "amount": 0,      "vatAmount": 0,      "vatRate": 0,      "totalAmount": 0,      "vatRecognitionRate": 1,      "incomeTaxRecognitionRate": 1,      "status": "processing",      "expenseDate": "2019-08-24T14:15:22Z",      "paidDate": "2019-08-24T14:15:22Z",      "categoryId": "string",      "category": {        "id": "string",        "businessId": "string",        "code": "OFFICE_SUPPLIES",        "nameHe": "ציוד משרדי",        "nameEn": "Office Supplies",        "descriptionHe": "string",        "descriptionEn": "string",        "defaultVatRecognitionRate": 1,        "defaultIncomeTaxRecognitionRate": 1,        "icon": "fi-rr-box",        "color": "#3b82f6",        "sortOrder": 0,        "isActive": true,        "isSystem": false,        "rules": {},        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      },      "categoryCode": "C18_S16",      "parentCategoryCode": "C18",      "supplierId": "string",      "receiptNumber": "string",      "currency": "ILS",      "exchangeRate": 3.65,      "totalAmountIls": 731.7,      "importSource": "manual",      "metadata": {},      "ocrMetadata": {},      "aiOriginalExtraction": {},      "isDuplicate": true,      "duplicateLevel": "none",      "duplicateOfId": "string",      "notAdmissibleExpense": true,      "contentHash": "string",      "approvedBy": "string",      "approvedAt": "2019-08-24T14:15:22Z",      "receipts": [        {          "id": "string",          "originalFilename": "string",          "mimeType": "string",          "fileSize": 0,          "storageKey": "string",          "signedUrl": "string",          "ocrData": {},          "ocrProcessedAt": "2019-08-24T14:15:22Z",          "createdAt": "2019-08-24T14:15:22Z",          "updatedAt": "2019-08-24T14:15:22Z"        }      ],      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "deletedAt": "2019-08-24T14:15:22Z"    }  ],  "total": 0}