Fetch bill
Returns the bill associated with the provided bill id. A bill represents an invoice or purchase order a business has received from a vendor for goods or services, and is used to track purchases and accounts payable in Layer.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The UUID of the business to fetch the bill for.
The UUID of the bill to fetch.
Response
Success.
Unique identifier for the bill.
ID of the Business that received the bill.
Unique ID of the bill in your system.
Status of the bill.
RECEIVED, PARTIALLY_PAID, PAID, VOIDED Payment terms of the bill.
DUE_ON_RECEIPT, NET_10, NET_15, NET_30, NET_60 When the bill was received.
When the bill is due.
When the bill was paid.
When the bill was voided. Voiding excludes the bill from accounting.
Memo for the bill for display.
Line items making up the bill.
Additional sales tax line items.
Sum of all additional taxes in cents.
Additional discount applied to the whole bill in addition to individual line item discounts, in cents.
Subtotal of all line items in cents.
Total amount including taxes in cents.
Remaining balance after payments in cents.
Payments made to a vendor are allocated toward one or many bills. This list shows which payments have been allocated toward this bill. The most common case is a 1:1 relationship between a payment and a bill, in which case the allocation amount matches the payment amount.
Vendor credit allocations for this bill.
When the bill was imported. Eligible sort key.
When the bill was last updated. Eligible sort key.
The vendor associated with this bill.
Whether the bill is treated as an expense.
Arbitrary custom metadata in JSON format with a size limit of 1KB.
{
"custom_field": "value",
"any valid json": "below 1kb",
"nested": { "meaning of life": 42, "array": [] }
}Any (typically user-visible) identifier you would like to associate with the bill. Can be used to filter when listing bills.