Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
name | String | A String value |
vat | String | A String value |
address | Address.simple | An address |
generated | Bool | A boolean value |
referenceCode | String? | Optional. Nullable. An optional reference code that can be used by the customer to identify the invoice. |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
id | Int | An integer value |
name | String | A String value |
vat | String | A String value |
address | Address.simple | An address |
generated | Bool | A boolean value |
referenceCode | String? | Optional. Nullable. An optional reference code that can be used by the customer to identify the invoice. |
When used inside a request.
{
"name": "...",
"vat": "...",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"generated": true,
"referenceCode": "..."
}
When returned in a response.
{
"id": 19,
"name": "...",
"vat": "...",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"generated": true,
"referenceCode": "..."
}