Bills represent an itemized record of goods purchased from or services provided by another company.
The Bill Object
Property | Type | Description |
---|---|---|
id | string | |
vendor_id | string | |
platform_id | string | |
currency | string | The ISO-4217 currency code |
purchase_orders | object[] | |
line_items | object[] | |
status | string | Current status of the bill, one of:
|
total_amount | number | |
tax_amount | number | |
amount_due | number | |
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"
}
]
}