[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}
FieldWhat to send
statuscancel process (with a space)
cancel_reasonFree 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.


Did this page help you?