CreateInvoiceRequest
A new invoice.
Properties
| Name | Type | Description |
|---|---|---|
| date* | string | The invoice date |
The invoice date | ||
| dueDate | string | When payment is due. Defaults to the invoice date. |
When payment is due. Defaults to the invoice date. | ||
| yourReference | string | The tenant's own reference |
The tenant's own reference | ||
| theirReference | string | The contact's reference |
The contact's reference | ||
| isDomesticReverseCharge* | boolean | Whether the VAT domestic reverse charge applies. Cleared when either party is not VAT registered. |
Whether the VAT domestic reverse charge applies. Cleared when either party is not VAT registered. | ||
| deduction | number | Sales invoices only: the CIS deduction the customer made. Ignored on a purchase invoice, where the deduction |
Sales invoices only: the CIS deduction the customer made. Ignored on a purchase invoice, where the deduction | ||
| contact* | string | The contact's code: a supplier for a purchase invoice, a customer for a sales invoice |
The contact's code: a supplier for a purchase invoice, a customer for a sales invoice | ||
| externalId | string | The caller's own identifier for the invoice |
The caller's own identifier for the invoice | ||
| lines* | array of CreateInvoiceLineRequest | The lines |
The lines | ||
JSON Example
{
"date": "2024-01-01T00:00:00Z",
"dueDate": "2024-01-01T00:00:00Z",
"yourReference": "string",
"theirReference": "string",
"isDomesticReverseCharge": false,
"contact": "string",
"lines": [
{
"type": "...",
"description": "...",
"quantity": "...",
"amount": "...",
"vatRate": "..."
}
]
}