generate_order_invoice
Create invoices for Lemon Squeezy orders by providing order ID and optional customer details to generate billing documents.
Instructions
Generate an invoice for an order.
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": {
"orderId": "<orderId>"
},
"name": "generate_order_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID | |
| name | No | Optional: Customer name for invoice | |
| No | Optional: Customer email for invoice | ||
| address | No | Optional: Customer address | |
| city | No | Optional: Customer city | |
| state | No | Optional: Customer state/region | |
| zip | No | Optional: Customer zip/postal code | |
| country | No | Optional: Customer country |