List vendor bills
List VendorBill records with cursor pagination. limit is a maximum: a page can hold fewer records while next_cursor is still set, so iterate until it is null. Filters on currency and amount match the record's own currency.
- Type: array string[] | null · External Ids …100nullableexternal
_ids Exact external ids to return (repeat the key). At most 100.
- Type: array string[] | null · Currenciesnullablecurrencies
ISO 4217 codes (repeat the key). Matches the record's own currency, not the entity's functional currency.
- Type: array string[] | null · Platformsnullableplatforms
Source platforms the records were ingested from (e.g.
stripe,ramp). Customer-inserted records carry the platform they declared, orapi. - Type: array string[] | null · Platform Object Idsnullableplatform
_object _ids The source platform's own ids for the records (e.g. a Stripe
in_…id). - Type: boolean · Include Deletedinclude
_deleted Include records act has since deleted. They carry
customFields.t0_deleted_at. Default false: deleted records are omitted. - Type: string · Cursornullablecursor
Opaque cursor from the previous page's
next_cursor. Omit for the first page. - Type: integer · Limitlimitmin:1max:200
Maximum records per page (1-200). A page can hold fewer while
next_cursoris still set; iterate until it is null. - Type: boolean · Include Totalinclude
_total Also return
total, the number of matching records before the deleted overlay. - Type: string · Orderenumorder
Sort direction.
values- asc
- desc
- Type: string · Date FromFormat: datenullabledate
_from Inclusive lower bound on the record's
date. - Type: string · Date ToFormat: datenullabledate
_to Inclusive upper bound on the record's
date. - nullableamount
_min Inclusive lower bound: decimal string, in the record's own currency, compared against
total. Requires exactly one value incurrencies.- Type: number · Amount Min
Inclusive lower bound: decimal string, in the record's own currency, compared against
total. Requires exactly one value incurrencies.
- nullableamount
_max Inclusive upper bound: decimal string, in the record's own currency, compared against
total. Requires exactly one value incurrencies.- Type: number · Amount Max
Inclusive upper bound: decimal string, in the record's own currency, compared against
total. Requires exactly one value incurrencies.
- Type: array string[] | null · Statusenumnullablestatus
Record statuses to include (repeat the key).
values- open
- voided
- drafted
- paid
- Type: string · Sortenumsort
Field to sort by. Amount sorts order by the functional-currency value Leapfin holds (order-equivalent within one currency); filter by one currency for a coherent amount order.
values- date
- due
Date - paid
Date - voided
Date - total
- status
- Type: array string[] | null · Expandenumnullableexpand
Linked records to include under
expanded(repeat the key).values- vendor
- line
_items
- Type: string · X-Api-KeynullableX
- Api - Key
- application/json
- 400
Amount filter without exactly one currency (CAPI64), or a cursor that does not match the request's filters (CAPI65).
- 401
Missing or invalid X-Api-Key (CAPI11).
- 403
The key lacks the customer_api:read permission (CAPI71).
- 409
The entity has no applied books start date (CAPI67).
- application/json
curl /v1/vendor-bills \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": {
"dataType": "Adjustment",
"externalId": "string",
"platformDataType": "string",
"platformId": "string",
"platformType": "string"
},
"data": {
"currencyCode": "string",
"customFields": {
"additionalProperty": "anything"
},
"date": "2026-09-10",
"dueDate": "2026-09-10",
"exchangeRates": [],
"paidDate": "2026-09-10",
"status": "open",
"subtotal": 1,
"tax": 1,
"total": 1,
"voidedDate": "2026-09-10"
},
"links": [
{
"dataType": "Adjustment",
"externalId": "string",
"platformDataType": "string",
"platformId": "string",
"platformType": "string"
}
],
"expanded": {
"additionalProperty": [
{
"data": {
"amount": 1,
"currencyCode": "string",
"customFields": {
"additionalProperty": "anything"
},
"date": "2026-09-10",
"description": "string",
"endDate": "2026-09-10",
"exchangeRates": [],
"startDate": "2026-09-10"
},
"id": {
"dataType": "Adjustment",
"externalId": "string",
"platformDataType": "string",
"platformId": "string",
"platformType": "string"
},
"links": []
}
]
},
"expanded_truncated": [
"string"
]
}
],
"next_cursor": "string",
"as_of": "2026-09-10T20:14:13.740Z",
"total": 1
}