invoices_restore
Restore an accidentally cancelled invoice to draft status so it can be edited and reissued; fails if it was submitted to ANAF, has credit notes, or recorded payments.
Instructions
Restore a cancelled invoice back to "draft" status. Only for accidental cancellations. Cannot restore if the invoice was submitted to ANAF, has credit notes, or has recorded payments. The invoice can then be edited and reissued.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID to restore from cancelled status | |
| companyId | No | Company UUID override (uses active company if not set) |