beel_delete_invoice_schedule
Removes an invoice's scheduled status, reverting it to a plain draft. Idempotent: returns 204 even if the invoice is not scheduled.
Instructions
Removes the scheduling of an invoice, returning it to a plain draft. Idempotent: an invoice
that is not scheduled answers 204 all the same. Unlike the PUT, it does not require the
scheduled_invoices feature.
Endpoint: DELETE /v1/companies/{company_id}/invoices/{invoice_id}/schedule
⚠️ Read before calling:
Fiscal rules, domains lifecycle, void, corrective: beel_rules_list with domain, or resource beel://guardrails/.
The status names, the proforma lifecycle, and which tool performs each operation. (resource: beel://guardrails/invoice-state-machine)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. | |
| invoice_id | Yes | Invoice ID |