InvoiceLineDto
A line of an invoice: labour or materials.
Properties
| Name | Type | Description |
|---|---|---|
| code* | string | The line's identifier within the invoice |
The line's identifier within the invoice | ||
| type* | enum | Labour (subject to the CIS deduction) or Materials |
Labour (subject to the CIS deduction) or Materials | ||
| description | string | What the line is for |
What the line is for | ||
| quantity* | number | Quantity (hours, units); at least 1 |
Quantity (hours, units); at least 1 | ||
| amount* | number | Unit amount before VAT |
Unit amount before VAT | ||
| vatRate* | enum | The VAT rate; OutOfScope when VAT does not apply to the invoice |
The VAT rate; OutOfScope when VAT does not apply to the invoice | ||
| vatAmount* | number | The VAT on the line (0 under the domestic reverse charge) |
The VAT on the line (0 under the domestic reverse charge) | ||
| total* | number | Quantity times amount, plus VAT |
Quantity times amount, plus VAT | ||
| externalId | string | The caller's own identifier for the line |
The caller's own identifier for the line | ||
JSON Example
{
"code": "00000000-0000-0000-0000-000000000000",
"type": "Labour",
"description": "string",
"quantity": 0,
"amount": 0,
"vatRate": "Zero",
"vatAmount": 0,
"total": 0
}