GET
/
api
/
expenses
{
  "pagination": {
    "total": 100,
    "page": 1,
    "pageSize": 10
  },
  "data": [
    {
      "id": 1,
      "totalAmount": 1000,
      "currencyCode": "USD",
      "exchangeRate": 1.2,
      "description": "Office supplies and equipment",
      "paymentAccountId": 1,
      "referenceNo": "EXP-2024-001",
      "publishedAt": "2024-03-20T10:00:00Z",
      "userId": 1,
      "paymentDate": "2024-03-20T10:00:00Z",
      "payeeId": 1,
      "landedCostAmount": 800,
      "allocatedCostAmount": 200,
      "invoicedAmount": 0,
      "branchId": 1,
      "createdAt": "2024-03-20T10:00:00Z",
      "isPublished": true,
      "unallocatedCostAmount": 200,
      "localAmount": 1200,
      "localLandedCostAmount": 960,
      "localAllocatedCostAmount": 240,
      "localUnallocatedCostAmount": 240,
      "billableAmount": 1000,
      "categories": [
        {
          "id": 1,
          "amount": 100,
          "allocatedCostAmount": 50,
          "expenseAccountId": 1,
          "projectId": 1,
          "description": "Office supplies for Q1",
          "unallocatedCostAmount": 50
        }
      ]
    }
  ]
}

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Response

200 - application/json

The item list has been successfully retrieved.

The response is of type object.