[PE] Cancelling Documents
A factura, boleta, credit note or debit note that was accepted by SUNAT can be cancelled (dado de baja) when the operation didn't happen or the document was issued by mistake.
Request
PUT https://api.brinta.com/invoices/{invoice_id}
| Field | What to send |
|---|---|
status | cancel process (with a space) |
cancel_reason | Free text: why the document is cancelled. It's sent to SUNAT as the reason. |
To find the document by your own ID instead of the Brinta ID, add ?use_external_id=true and put your invoice_external_id in the path.
{
"status": "cancel process",
"cancel_reason": "Anulación por error en el RUC"
}The response returns the document with status: "cancel_process" while SUNAT processes the cancellation.
See Cancel an invoice.
Updated 3 days ago
Did this page help you?
