Delete a bulk of VAT Periods By External Ids
Delete a bulk of VAT Periods by a informed collection of external Ids from an informed company.
DELETE accountingsystems/wkbelgium/vatperiods/external/:companyExternalId
Request details
The delete request will contain all the required information to delete a bulk of VAT Periods
Request properties
| Property | Type | Description | Optional |
|---|---|---|---|
| VatPeriodsExternalIds | string [] | An array of external VAT specification identifiers | No |
Example bulk delete VAT Periods request
[
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000",
"{VatPeriod-external-id}"
]
Response
Upon successful delete a bulk of VAT Periods in Basecone system a 200 http status code will be returned.
If something goes wrong and 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 | One or more vatPeriods external Ids are empty |
| 403 | Forbidden | Does Not Have Access To Company |
| 404 | Not Found | Vat Period Does Not Exist |
