Cancel an invoice

Requests the cancellation of an invoice.

Path Params
string
required

Id of the invoice, or its invoice_external_id when use_external_id=true.

Query Params
boolean
Defaults to false

Look the invoice up by invoice_external_id instead of id.

Body Params
string
enum
required

Must be cancel process (with a space).

Allowed:
string

Reason for the cancellation. Mandatory for MX.

string

Mandatory for MX when cancel_reason is '01': the invoice that replaces this one.

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json