invoice.create
Generate, calculate, issue, and optionally email a verified digital payment invoice or receipt directly to a customer with CRM integration. (Note: Digital invoicing is strictly disabled for Free and Local Start plans; requires Business plan or above).
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": {
"customerName": "<customerName>"
},
"name": "invoice.create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isVat | No | Set true to apply standard 13% VAT, false for 0% VAT exemption | |
| items | No | Optional itemized list of items/services. If passed, overrides serviceName/price. | |
| price | No | Price or rate for the service item in NPR | |
| siteId | No | Optional site ID. Defaults to active business or school site. | |
| dueDate | No | Due date for payment (e.g. '2026-10-30') | |
| taxRate | No | VAT tax percentage (e.g. 13 for 13% VAT, 0 for tax-exempt). Defaults to site's configured VAT rate. | |
| discount | No | Flat discount amount in NPR | |
| sendEmail | No | Whether to dispatch branded HTML invoice email to customer via Amazon SES (default true) | |
| customNotes | No | Custom notes, payment terms, or instructions | |
| customerPan | No | Optional customer PAN / VAT registration number for B2B billing | |
| serviceName | No | Single service or product item name (e.g., 'Web Development & Hosting', 'School Tuition Fee', 'Consultation Fee') | |
| customerName | Yes | Customer, client, or company name (e.g., 'Suman Basnet') | |
| customerEmail | No | Customer email address. Leave empty if unknown so tool can search CRM database. NEVER invent a fake email. | |
| customerPhone | No | Optional customer phone number | |
| paymentMethod | No | Payment method (e.g. 'Fonepay / Bank QR', 'Cash', 'Bank Transfer', 'eSewa', 'Khalti') | |
| paymentStatus | No | Payment status: 'paid' (default receipt) or 'pending' (unpaid bill) | |
| customerAddress | No | Optional customer address | |
| paymentReference | No | Transaction reference ID, receipt note, or check number | |
| discountPercentage | No | Discount percentage (e.g., 10 for 10% OFF) |