getUpcomingInvoice
Preview the upcoming invoice of one subscription, including its existing draft invoice items and projected subscription charges. Requires subscriptionRef. Get subscriptionRef from getSubscriptions. Never invent UUIDs; only use values from prior tool responses.
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": {
"subscriptionRef": "<subscriptionRef>"
},
"name": "getUpcomingInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionRef | Yes | UUID of the subscription whose upcoming invoice to preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes |