Delete invoice draft
title: Delete an invoice draft¶
Permanently delete a draft invoice. Signed invoices cannot be deleted; cancel_invoice cancels those. A draft with an open share link cannot be deleted until revoke_invoice_share closes it.
Alcance (scope): invoices:write · Características: Destructiva, Idempotente
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"
]
}