Create invoice
create_invoiceCreate a new invoice. Requires invoices:write scope.
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_number": "<invoice_number>",
"amount": "<amount>",
"invoice_date": "<invoice_date>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes | |
| amount | Yes | Invoice amount (required) | |
| status | No | Invoice status | |
| due_date | No | Due date (ISO 8601) | |
| paid_date | No | Paid date (ISO 8601) | |
| vendor_id | No | Vendor ID - resolve via list_vendors | |
| project_id | No | Project ID - resolve via list_projects | |
| tax_amount | No | Tax amount | |
| category_id | No | Cost category ID - resolve via list_cost_categories | |
| description | No | Description | |
| invoice_date | Yes | Invoice date (ISO 8601, required) | |
| work_order_id | No | Work order ID - resolve via list_work_orders | |
| invoice_number | Yes | Invoice number (required) | |
| purchase_order_id | No | Purchase order ID - resolve via list_purchase_orders |