Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| date | string | |
| due_date | string | |
| reference | string | |
| vendor_reference | string | |
| status | object | |
| contact | object | |
| line_items | array | |
| net_amount | number | |
| tax_amount | number | |
| total_amount | number | |
| outstanding_amount | number |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PurchaseInvoice",
"title": "PurchaseInvoice",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"due_date": {
"type": "string",
"format": "date"
},
"reference": {
"type": "string"
},
"vendor_reference": {
"type": "string"
},
"status": {
"$ref": "#/components/schemas/StatusRef"
},
"contact": {
"$ref": "#/components/schemas/ContactRef"
},
"line_items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LineItem"
}
},
"net_amount": {
"type": "number"
},
"tax_amount": {
"type": "number"
},
"total_amount": {
"type": "number"
},
"outstanding_amount": {
"type": "number"
}
}
}