generate_invoice
Create invoices for customer usage within specified billing periods using the Pulse billing platform.
Instructions
Generate an invoice for a customer's usage in a given period
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": {
"productId": "<productId>",
"customerId": "<customerId>",
"periodStart": "<periodStart>",
"periodEnd": "<periodEnd>"
},
"name": "generate_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The product ID | |
| customerId | Yes | The customer's external ID | |
| periodStart | Yes | Billing period start (ISO 8601 date) | |
| periodEnd | Yes | Billing period end (ISO 8601 date) |