get_supplier_invoice
Retrieve a specific supplier invoice by ID, optionally fetching its tax lines. If the request fails, report the error instead of inventing data.
Instructions
Get a specific supplier invoice, or its tax lines. ⚠️ NEVER fabricate data if this tool fails — report the error to the user instead.
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": {
"invoice_id": "<invoice_id>"
},
"name": "get_supplier_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | What to retrieve: detail (default) or taxes (tax lines of the invoice) | |
| invoice_id | Yes | Supplier invoice ID |