Bills represent an itemized record of goods purchased from or services provided by another company.
The Bill Object
Property | Type | Description |
---|---|---|
id | string | Unique business identifier for the bill |
vendor_id | string | Unique ID for the vendor associated with this bill |
currency | string | The ISO-4217 currency code |
purchase_orders | Array of associated purchase orders corresponding to this bill payment. | |
line_items | object[] | Array of Bill Line items containing metadata associated with the bill (see example API response below) |
status | string | Current status of the bill, one of:
|
total_amount | number | Total amount of the Bill |
tax_amount | number | Total tax amount for the Bill |
amount_due | number | Outstanding amount to be paid for the Bill |
updated_at | string | The last ISO 8601 |
{
"id": "1",
"vendor_id": "123",
"purchase_orders": [
{
"id": "1"
}
],
"posted_at": "2021-03-09T10:18:29.985Z",
"due_date": "2021-03-09T10:18:29.985Z",
"currency": "USD",
"line_items": [
{
"description": "Services rendered.",
"unit_amount": 100.5,
"quantity": 3,
"discount_amount": 0,
"sub_total": 301.5,
"tax_amount": 20.5,
"total_amount": 322,
"discount_percentage": 10.5,
"tax_rate_id": "1",
"item_id": "1",
"account_id": "123"
}
],
"status": "open",
"sub_total": 301.5,
"tax_amount": 20.5,
"total_amount": 322,
"amount_due": 322,
"payments": [
{
"amount": 50.5,
"id": "50",
"date": "2021-03-09T10:18:29.985Z"
}
]
}