Reverse (storno) an invoice (fiscal, cannot be undone)
szamlazz_reverse_invoiceDestructive
ISSUES a reversal (storno) invoice that cancels one issued invoice. Fiscal: it is reported to NAV and cannot be undone; the original stays in the books. A reversal needs the invoice number of a real invoice. NEVER retried: if the result is unclear, check with szamlazz_get_invoice before trying again. Számla Agent action-szamla_agent_st.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason, printed on the reversal. | |
| e_invoice | No | Issue the reversal as an e-invoice (default false). | |
| issue_date | No | Issue date of the reversal, yyyy-mm-dd (default: today). | |
| invoice_number | Yes | Number of the invoice to reverse. |