Revise a draft credit note
credit_note_updateUpdate a draft credit note before finalization: change recipient, reason, lines, currency, invoice ref, or notes. Provide only changed fields; finalized notes are refused.
Instructions
Change a draft credit note while it is still a draft: recipient, reason, lines, currency, invoice reference, issue date or notes. Pass only what changes; new lines replace all old ones. A finalized note is immutable and is refused by name.
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": {
"id": "<id>"
},
"name": "credit_note_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The draft id, e.g. CN-DRAFT-2026-0001 | |
| lines | No | The full new line set, replacing every existing line | |
| notes | No | New notes text, or null to remove the notes | |
| reason | No | ||
| currency | No | ISO code. Changing it reprices nothing: the stored minor units carry over, so only change it to fix a wrong currency | |
| recipient | No | ||
| issue_date | No | ||
| invoice_ref | No | New invoice reference, or null to detach the note from its invoice | |
| reason_detail | No |