dolibarr_add_contract_line
Add a new line item to an existing Dolibarr contract, specifying description, price, quantity, tax rate, and start/end dates.
Instructions
Add a line item to an existing contract (e.g. an annual hosting/maintenance service).
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": {
"contract_id": "<contract_id>",
"description": "<description>",
"subprice": "<subprice>"
},
"name": "dolibarr_add_contract_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_id | Yes | ||
| description | Yes | ||
| subprice | Yes | ||
| qty | No | ||
| tva_tx | No | ||
| date_start | No | Unix timestamp | |
| date_end | No | Unix timestamp |