ls_generate_order_invoice
Generate a PDF invoice for an order by providing the order ID and optional customer details. Returns a download URL for the invoice.
Instructions
Generate a PDF invoice for an order. Returns a download URL for the invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID | |
| name | No | Customer name on the invoice | |
| address | No | Customer address on the invoice | |
| city | No | Customer city | |
| state | No | Customer state/region | |
| zipCode | No | Customer ZIP/postal code | |
| country | No | Customer country | |
| notes | No | Additional notes to include on the invoice | |
| locale | No | Invoice language locale (e.g. 'en', 'fr', 'de') |