Create invoice line
create_invoice_lineAdd a line item to an invoice. amount is computed as quantity*unit_price by the database.
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>"
},
"name": "create_invoice_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| agent_id | No | ||
| position | No | ||
| quantity | No | ||
| entry_type | No | ||
| invoice_id | Yes | ||
| unit_price | No | ||
| description | Yes |