add_invoice_line
Add a line item to an existing draft invoice by providing description, quantity, unit price, and VAT percentage.
Instructions
Add a line item to an existing draft invoice.
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": {
"invoice_id": "<invoice_id>",
"description": "<description>",
"quantity": "<quantity>",
"unit_price": "<unit_price>",
"vat_percent": "<vat_percent>"
},
"name": "add_invoice_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | The invoice ID to add the line to | |
| description | Yes | Line item description | |
| quantity | Yes | Quantity | |
| unit_price | Yes | Unit price | |
| vat_percent | Yes | VAT percentage (e.g. 24 for 24%) | |
| discount_percent | No | Discount percentage (0-100) | |
| service_id | No | Optional service/product ID to link |