Delete VAT rate
Deletes a VAT rate from the workspace.
Restrictions:
- Default VAT rates cannot be deleted (isDefault: true)
- Only non-default rates can be removed
What happens after deletion:
- The VAT rate is permanently removed from the workspace
- Documents that were already issued with this rate are not affected
- The system will use the next available VAT rate based on dateFrom when creating new invoices/quotes
Use cases:
- Remove a planned VAT rate that is no longer needed
- Clean up incorrect or duplicate VAT rate entries
Note: This endpoint requires the WsSettings.manageSettings permission. If you attempt to delete a default rate, the operation will be silently ignored.
DELETE
/administration/vat-rates/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200
successbooleanrequiredOperation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/vat-rates/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/administration/vat-rates/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/administration/vat-rates/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions