getInvoiceById
getInvoiceByIdRetrieve details for a specific invoice by ID, including amounts in major units and optional line items.
Instructions
Retrieve details for a specific invoice by its ID. Invoice amounts are in major units (25 means $25.00).
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": "getInvoiceById"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The unique ID of the invoice to retrieve. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| include_line_items | No | Whether to include line items in the response. |