create_invoice
Generate professional invoices in FreshBooks by specifying customer details and line items with quantities and costs.
Instructions
Create a new invoice. Lines format: [{"name": "Service", "description": "...", "qty": 1, "unit_cost": {"amount": "100.00", "code": "USD"}}]
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_id": "<customer_id>",
"lines": "<lines>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| lines | Yes | ||
| due_offset_days | No | ||
| currency_code | No | USD | |
| notes | No | ||
| po_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |