Update Vat Periods
Update a Vat Period or a list of Vat Periods for your company. Before making a PUT request to update a vat period in your company, you might find it useful to look at the list of available companies.
PUT accountingsystems/wkbelgium/vatperiods
Request details
The PUT request will contain all the required information to update a list of Vat Periods in your company. The list can be comprised by one or more Vat Periods
Request properties
| Property | Type | Description | Optional |
|---|---|---|---|
| Request | Vat Periods request update object | The Vat Periods request to update. | No |
For Vat Periods update request object properties see details.
Example request
{
"vatPeriodsRequest":
[
{
"vatperiodId": "uniqueId",
"externalId": "externalId",
"company":{
"companyId": "companyId"
},
"nameDe": "NameDe",
"nameEn": "NameEn",
"nameFr": "NameFr",
"nameNl": "NameNl",
"startDate": "startDate",
"endDate": "endDate"
},
{
"vatperiodId": "uniqueId",
"externalId": "externalId",
"company":{
"companyId": "companyId"
},
"nameDe": "NameDe",
"nameEn": "NameEn",
"nameFr": "NameFr",
"nameNl": "NameNl",
"startDate": "startDate",
"endDate": "endDate"
}
]
}
Response
Upon successful update of the Vat Periods in the Basecone system, a 204 http status code will be returned.
If something goes wrong, an error message with failure details will be given together with a suitable http error status code.
Possible error responses
| Status code | Error code | Details |
|---|---|---|
| 400 | invalid_request_payload | Requested payload is incorrect or empty |
| 403 | Forbidden | User does not have access to this company |
| 404 | Not Found | There are none Vat Period(s) to be Update. |
