Prestation
| Field | Type | Required | Description |
|---|---|---|---|
date | String | mandatory | As YYYY-MM-DD format |
tarif | Number | mandatory | Could be: 590 or 999 |
code | Number | mandatory | Code value or null for tarif 999 |
vatRate | String | optional | Should only be set when vatNumber is defined.Possible value: 0.0%, 2.5%, 7.7%Default to 0.0% |
quantity | Number | mandatory | A decimal value |
totalPrice | Number | mandatory | A decimal or float value rounded to 2 decimals |
serviceDescription | String | optional | Required with tarif/code: 999/null, 590/1302 and 590/1310 |
All availables prestations are availible in the Tarifs section.
Exemple
Required fields only
{
"date": "2022-03-22",
"tarif": 590,
"code": 1004,
"quantity": 2,
"totalPrice": 21
}
All fields
info
In this case, vatNumber should be defined at the invoice level.
{
"date": "2022-03-22",
"tarif": 999,
"code": null,
"vatRate": "7.7%",
"quantity": 5,
"totalPrice": 100.55,
"serviceDescription": "Service description"
}