credit_invoice
Generate a credit note to reverse an existing invoice, using its invoice code or identifier.
Instructions
Credit (reverse) an existing invoice.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "credit_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | No | ||
| invoice_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |