Create Line Item
productive_create_line_itemAdd a billable line item with description, quantity, and unit price to a draft invoice in Productive.io. Set tax per line item using tax_rate_id.
Instructions
Create a line item on a draft invoice. Line items define the billable rows (description, quantity, unit_price). Tax is set per line item via tax_rate_id.
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>",
"unit_id": "<unit_id>"
},
"name": "productive_create_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_id | Yes | Unit: 1=Hour, 2=Piece (required) | |
| discount | No | Discount percentage | |
| position | No | Position/order of the line item | |
| quantity | Yes | Quantity (required) | |
| invoice_id | Yes | The invoice ID to add the line item to (required) | |
| unit_price | Yes | Unit price as string e.g. '120.00' (required) | |
| description | Yes | Description of the line item (required) | |
| tax_rate_id | No | Tax rate ID for this line item | |
| service_type_id | No | Service type ID |