Issue a sales invoice
POST/v1/sales-invoices
Needs sales_invoices:write. Creates and issues the invoice in one call. A company customer's standard invoice is cleared by ZATCA before the reply: rejected saves nothing, a timeout replies with zatca.status pending. A discount that would sell a unit below the item's minimum price is reduced to that price: read the applied unitDiscount and total from the reply.
Request
Responses
- 201
Created
Response Headers
Idempotent-Replayed
true when this is the stored reply of an earlier request with the same key.