Restore a cancelled document (fiscal)
oblio_restore_documentDestructive
Restore a previously CANCELLED invoice, proforma or notice. Needs confirm: true and the user's approval. Not retried. PUT /api/docs//restore.
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. |