Vendor Bills
GET /accounting/vendor-bills
Group: Accounting › Vendor Bills · Operation ID: vendorBills
Returns a list of vendor bills. Each entry is the bill header. Read one bill with its line items from GET accounting/vendor-bills/:id or POST accounting/vendor-bills/search.
Open in the interactive reference
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | "v1" |
yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
Query surface
id— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likevendorBillNumber— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likebillNumber— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likebillDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeserviceDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likedueDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likecurrency— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likestatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likepaymentStatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likepostingStatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likepaymentTerms— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeexternalVendorBillId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelastModifiedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like- Orderable: id, vendorBillNumber, billNumber, billDate, serviceDate, dueDate, currency, status, paymentStatus, postingStatus, paymentTerms, total, amountPaid, openAmount, lastModifiedDate
- Selectable: id, vendorBillNumber, billNumber, billDate, serviceDate, dueDate, currency, status, paymentStatus, postingStatus, paymentTerms, total, amountPaid, openAmount, externalVendorBillId, vendorName, entityName, lastModifiedDate
Response
200 Success
Under data, an array of vendorBillsRow:
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | no | The unique identifier for the vendor bill. |
vendorBillNumber |
string or null | no | The vendor bill number. Stable across edits. |
billNumber |
string or null | no | The vendor-issued invoice number, as printed on the bill. It is not unique across vendors. |
billDate |
string (date) or null | no | The date printed on the vendor's invoice. Format YYYY-MM-DD. |
serviceDate |
string (date) or null | no | The date the goods or services were delivered. Format YYYY-MM-DD. Absent when not recorded. |
dueDate |
string (date) or null | no | The date payment is due. Format YYYY-MM-DD. |
currency |
string or null | no | The currency the bill is denominated in. Format ISO 4217, for example 'USD'. Governs total, amountPaid and openAmount. |
status |
string or null | no | The approval status. Values include 'pendingApproval', 'approved', 'rejected', 'voided' and 'reversed'. |
paymentStatus |
string or null | no | The payment status. Values include 'unpaid', 'partiallyPaid', 'fullyPaid', 'pending', 'notApplicable' and 'voided'. |
postingStatus |
string or null | no | The accounting posting status, defined by the accounting subsystem, for example 'notPosted', 'posted' or 'postingFailed'. |
paymentTerms |
string or null | no | The payment-terms key applied to this bill, for example 'net30', 'net60' or 'dueOnReceipt'. |
total |
string (decimal) or null | no | The total bill amount, gross, in the bill currency. |
amountPaid |
string (decimal) or null | no | The cumulative amount paid against this bill so far, in the bill currency. |
openAmount |
string (decimal) or null | no | The outstanding amount still owed, total minus amountPaid, in the bill currency. |
externalVendorBillId |
string or null | no | The identifier this bill has in the upstream system that produced it. It is not unique. |
vendorName |
string or null | no | The name of the vendor this bill is from. |
entityName |
string or null | no | The name of the legal entity this bill is posted under. |
lastModifiedDate |
string (date-time) or null | no | The date and time the vendor bill last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
Statuses
400— Invalid request or business failure401— Missing or invalid access token403— Not authorized404— Not found429— Too many requests500— Internal server error