create_invoice
Creates sales invoices, including credit invoices via negative quantities or totals; edit by deleting and recreating because invoices cannot be updated.
Instructions
Create a sales invoice (use negative Quantity/TotalAmount for credit invoice; invoices cannot be updated — delete and recreate). Body: Customer {Name, RegNo, CountryCode, ...}, InvoiceNo, DocDate, DueDate, InvoiceRow[] {Item {Code, Description, Type, UOMName}, Quantity, Price, TaxId}, TaxAmount[] {TaxId, Amount}, TotalAmount.
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": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||