Retrieve Upcoming Invoice
retrieve_upcoming_invoicePreview a customer's next invoice to display upcoming charges before they occur.
Instructions
Preview the next upcoming invoice for a customer. Useful for showing what will be charged.
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": {
"customer": "<customer>"
},
"name": "retrieve_upcoming_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | Customer ID (cus_...) | |
| subscription | No | Subscription ID to preview |