teamleader_create_invoice
Create a draft invoice in Teamleader Focus by specifying customer type, ID, department, payment terms, and line items with quantities, prices, and tax rates.
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>",
"line_items": "<line_items>"
},
"name": "teamleader_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note to include on the invoice | |
| line_items | Yes | Line items for the invoice | |
| customer_id | Yes | Customer ID | |
| invoice_date | No | Invoice date (YYYY-MM-DD, defaults to today) | |
| customer_type | Yes | Customer type | |
| department_id | Yes | Department ID | |
| payment_term_days | No | Number of days for payment term | |
| payment_term_type | Yes | Payment term type (e.g. 'cash', 'end_of_month', 'after_invoice_date') |