Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

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 · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200
successbooleanrequired
Operation 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"
Response
{
  "success": true
}