billy_create_invoice
Create a new invoice in Billy by providing contact, date, currency, and line items. Optionally include state, invoice number, message, and payment terms.
Instructions
Create a new invoice in Billy
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": {
"contactId": "<contactId>",
"entryDate": "<entryDate>",
"currencyId": "<currencyId>",
"lines": "<lines>"
},
"name": "billy_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Invoice lines | |
| state | No | Invoice state | |
| contactId | Yes | Contact ID | |
| entryDate | Yes | Invoice date (YYYY-MM-DD) | |
| invoiceNo | No | Invoice number (optional, auto-generated if not provided) | |
| currencyId | Yes | Currency ID (e.g., 'DKK', 'USD') | |
| contactMessage | No | Message to display on invoice | |
| paymentTermsDays | No | Payment terms in days |