createInvoiceCreditNote
createInvoiceCreditNoteIssues a credit note against a specified invoice using the invoice ID, amount, and reason, then returns the created credit note.
Instructions
Create a credit note against a specific invoice. Returns the created credit note.
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": {
"invoiceId": "<invoiceId>",
"credit_note_amount": "<credit_note_amount>",
"reason": "<reason>"
},
"name": "createInvoiceCreditNote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Reason for creating this credit note. | |
| invoiceId | Yes | The unique identifier (UUID) of the invoice to create a credit note against. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| credit_note_amount | Yes | Amount for the credit note in the invoice's currency, in major units (25 means $25.00). Credit note reads return cents, so divide a read amount by 100 before you pass it here. |