Invoices reissue
invoices_reissue[Invoicing] Propose correcting an invoice already issued: a storno (the same lines, negative, referencing the original) and a new invoice with the corrected client (for example on a company with CIF instead of the person) and/or corrected lines. Two fiscal documents. Simulated first. Works on: Demo invoicing (sample data).
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": {
"series": "<series>",
"number": "<number>"
},
"name": "invoices_reissue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Default: the original lines. | |
| client | No | ||
| number | Yes | ||
| reason | No | ||
| series | Yes | ||
| account | No | Account id from list_accounts. Optional when only one account is connected. | |
| new_series | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||