Properties
| Name | Type | Description |
|---|---|---|
| code* | string | The unique code identifier for the invoice. |
The unique code identifier for the invoice. | ||
| invoiceNumber* | string | The customer-facing invoice number. |
The customer-facing invoice number. | ||
| status | enum | Defines the status of a billing invoice. |
Defines the status of a billing invoice. | ||
| totalAmount | number | The total amount of the invoice (subtotal + VAT) in pounds. |
The total amount of the invoice (subtotal + VAT) in pounds. | ||
| dueDate | string | The date when payment is due. |
The date when payment is due. | ||
| pdfBlobUrl | string | Time-limited URL for downloading the invoice PDF. Null if PDF has not been generated. |
Time-limited URL for downloading the invoice PDF. Null if PDF has not been generated. | ||
| invoiceDate | string | The invoice date (UTC): when it was issued, or an imported invoice's own date. Null on a draft. |
The invoice date (UTC): when it was issued, or an imported invoice's own date. Null on a draft. | ||
| createdDate | string | When Account Hub created the record (a draft opens when its first line arrives). |
When Account Hub created the record (a draft opens when its first line arrives). | ||
| accountingInvoice | AccountingLinkResponse | |
| sourceApplicationCode | string | The application that raised an imported invoice, which Account Hub only records; null for |
The application that raised an imported invoice, which Account Hub only records; null for | ||
JSON Example
{
"code": "string",
"invoiceNumber": "string",
"status": "Draft",
"totalAmount": 0,
"dueDate": "2024-01-01"
}