Cancel a document (fiscal)
oblio_cancel_documentDestructive
CANCEL an invoice, proforma or notice. A cancelled invoice stays in the series but is void; if it was already sent to e-Factura / SPV, check the SPV side as well. Needs confirm: true and the user's approval. Not retried. PUT /api/docs//cancel.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cif | Yes | CIF of YOUR company in Oblio (from oblio_list_companies), for example RO37311090. | |
| type | Yes | invoice (factura), proforma or notice (aviz de insotire). | |
| number | Yes | Document number within the series, digits only (0055 and 55 are the same). | |
| confirm | No | Must be true. Set it only after the user has confirmed this exact action in this conversation. | |
| series_name | Yes | Document series name (from oblio_list_series), for example FCT. |