declarations_delete
Soft-deletes a tax declaration by UUID, with an optional company ID override. Use it to remove declarations that are no longer needed; accepted declarations cannot be deleted.
Instructions
Soft-delete a tax declaration. Cannot delete accepted declarations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID to delete | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |