CancelInvoiceRequest (object)
| Field | Type | Description |
|---|---|---|
| auto_finalize | boolean | Finalize the credit note immediately (assign number, generate PDF). |
| auto_settle | boolean | When the invoice has an open amount, offset it against the credit note without bank movement. |
Example (JSON)
{
"auto_finalize": true,
"auto_settle": true
}