invoices-create
invoices-createCreates an invoice record linked to a client via a BillTo relationship. Requires a client ID and invoice number; optional fields include amount, currency, date, status, and notes.
Instructions
Creates a standalone Invoice vertex with a BillTo edge to the specified client.
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": {
"client_id": "<client_id>",
"invoice_number": "<invoice_number>"
},
"name": "invoices-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Invoice amount | |
| client_id | Yes | Client ID to bill to (@rid format) - REQUIRED: all invoices must have a client | |
| currency | No | Currency code (default: USD) | |
| invoice_date | No | Invoice date (YYYY-MM-DD) | |
| invoice_number | Yes | Unique invoice number (e.g., INV-2025-001) | |
| month_of | No | Billing period (e.g., 'January 2025') | |
| notes | No | Optional notes | |
| status | No | Status: draft, sent, paid, overdue, cancelled (default: draft) |