Get invoice
get_invoiceRetrieve a single invoice by its InvoiceKey, with optional expansion of related data such as line items and payments.
Instructions
Get a single invoice by InvoiceKey (read-only), optionally expanding related data (LineItems, Payments, Data).
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": {
"invoiceKey": "<invoiceKey>"
},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expand | No | Comma-separated related data to include: LineItems, Payments, Data | |
| invoiceKey | Yes | The Karbon InvoiceKey |