Developers
API referenceReferenceExpense claims

List the expenses of an expense claim

Every receipt expense, with its VAT rows and reading. Not paged.

GET
/v1/business/{business_slug}/expense_claims/{claim_id}/expenses/

Path Parameters

business_slug*string

Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.

claim_id*integer

Identifier of the target claim. If the ID is not known, use the corresponding list endpoint with relevant filters and/or the search parameter to discover valid IDs.

Query Parameters

trip?number

Only the expenses of this trip.

Response Body

application/json

curl -X GET "https://example.com/v1/business/string/expense_claims/0/expenses/"
{  "results": [    {      "id": 0,      "trip_id": 0,      "merchant": "string",      "purchase_date": "2019-08-24",      "description": "string",      "category": "TRAVEL_TICKETS",      "amount": 0,      "tags": [        {          "id": 0,          "name": "string",          "color": "string"        }      ],      "vat_rows": [        {          "id": 0,          "vat_rate": "string",          "gross_amount": 0.1,          "vat_amount": 0.1        }      ],      "attachment": {        "id": 0,        "name": "string",        "type": "string",        "analysis_status": "string"      },      "reading": {        "status": "string",        "merchant": "string",        "purchase_date": "2019-08-24",        "amount": 0,        "suggested_category": "TRAVEL_TICKETS",        "vat_rows": [          {            "vat_rate": "string",            "gross_amount": 0.1,            "vat_amount": 0.1          }        ]      }    }  ]}