Cancel an invoice not yet delivered
sef_cancel_invoiceCancels a SEF sales invoice in Draft, New, or Sending error status after explicit user approval; use storno for Sent, Accepted, or Rejected invoices.
Instructions
Cancels a sales invoice on SEF. SEF allows this only for status Draft, New or Sending error; for Sent/Accepted/Rejected use sef_storno_invoice. Only call after explicit user approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | ||
| invoiceId | Yes |