Issue a credit note
POST/v1/credit-notes
Needs credit_notes:write. Credits items of an issued sales invoice and issues the credit note in one call; the goods go back to stock. With refund, the total is paid back through that payment method; without it, the total comes off what the customer owes, which needs a company customer, or an individual crediting no more than the invoice owes. A credit note for a standard invoice is cleared by ZATCA before the reply: rejected saves nothing, a timeout replies with zatca.status pending.
Request
Responses
- 201
Created
Response Headers
Idempotent-Replayed
true when this is the stored reply of an earlier request with the same key.