Void an invoice by issuing a credit note
Cancel an invoice in full by issuing a credit note for its whole amount.
invoice_id in the path is the invoice's document_id. Wafeq builds the credit
note from the original invoice, so you send no lines or parties, and gives it a
number of its own. It's a normal credit note, sent and reported to the FTA like
any other: a tax credit note (381) for a tax invoice, or a commercial credit
note (81) for a commercial invoice, or a self-billed credit note (261) for a
self-billed invoice (389). The invoice then shows its number in
credited_by_invoice_number.
A new commercial credit note (81) cannot contain zero-rated (Z) lines,
document discounts or charges, including when the seller has no TRN.
Every line, document discount and charge of a new 81 must be exempt (E) or
out of scope (O). An older 480 with zero-rated supplies cannot be voided
through a new 81; it is refused with document_type_mismatch, and the
original remains unchanged.
Send Idempotency-Key to retry safely: the same void body and key return the
first response, even after the invoice shows as credited. It is required for
a reporting-only original. Such a void preserves the original buyer and
reporting-only route and returns 202 reporting_only; nothing is delivered
to the buyer. In Sandbox, reporting stays simulated.
Refused with 409 when the invoice is already credited, and with
409 delivery_unsettled while its delivery to the buyer is still in progress.
A credit note can't be voided.
The credit note copies the invoice's buyer. If official validation no longer
accepts its address, for example a UAE address without an emirate code from
3 December 2026, issue the credit note with POST /credit-notes,
previous_document_id and the corrected address instead.
Updated 15 days ago