dolibarr_add_invoice_line
Add a line item with description, unit price, quantity, and optional VAT to an existing draft invoice.
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>",
"desc": "<desc>",
"subprice": "<subprice>"
},
"name": "dolibarr_add_invoice_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | ||
| desc | Yes | ||
| subprice | Yes | ||
| qty | No | ||
| tva_tx | No | ||
| product_type | No |