voidCreditNote
Void a credit note, cancelling it permanently: the amount it took off the invoice is owed again, the customer is emailed, and it cannot be restored. Returns the voided credit note. When eInvoicing is connected, it is voided there too. Only an issued credit note of type prePayment can be voided, one that only lowered an unpaid amount and gave no money back, and only while its invoice is still issued, not paid, with no payment in progress. A credit note that refunded a payment or added to the customer's balance cannot be voided. Get creditNoteId from getCreditNotes. Never invent UUIDs; only use values from prior tool responses.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"creditNoteId": "<creditNoteId>"
},
"name": "voidCreditNote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditNoteId | Yes | The id of the credit note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditNote | Yes |