teamleader_invoice_draft
Create draft invoices in Teamleader Focus by specifying customer, line items, and payment terms.
Instructions
Create a new draft invoice in Teamleader Focus.
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": {
"customer_type": "<customer_type>",
"customer_id": "<customer_id>",
"department_id": "<department_id>",
"payment_term_type": "<payment_term_type>",
"grouped_lines": "<grouped_lines>"
},
"name": "teamleader_invoice_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Invoice note | |
| customer_id | Yes | Customer UUID | |
| customer_type | Yes | Customer type | |
| department_id | Yes | Department UUID | |
| grouped_lines | Yes | Invoice line items | |
| payment_term_days | No | Days for payment term | |
| payment_term_type | Yes |