getInvoiceDetails
getInvoiceDetails: Get detailed information about a specific invoice including line items. Requires authentication.
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": {
"invoiceId": "<invoiceId>"
},
"name": "getInvoiceDetails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The identifier of the invoice to fetch, as returned by listInvoices. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |