Cancel invoice
title: Cancel an invoice¶
Cancel a signed invoice belonging to the calling issuer. A payment complement is refused (invalid_state, naming the blocking ones) while a later installment of an invoice it pays is still active, and a PPD invoice while it has active payment complements: the later complements are canceled first.
Alcance (scope): invoices:write · Características: Destructiva, Interactúa con el mundo exterior
Parámetros¶
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
invoice_id |
string | Sí | |
issuer |
string | Sí | Id of the issuer the call acts for, from list_issuers. |
Esquema de entrada (JSON Schema)¶
{
"type": "object",
"properties": {
"invoice_id": {
"type": "string"
},
"issuer": {
"type": "string",
"format": "uuid",
"description": "Id of the issuer the call acts for, from list_issuers."
}
},
"required": [
"invoice_id",
"issuer"
]
}