preview-invoice
Get one invoice by ID with its full stored details: status, customer and recipient, dates, currency, line items, totals and taxes, payment methods, credit notes and document links once generated. Works for any status, including drafts. Use it to check a draft before submit-invoice, or get-invoice-document-links when you only need the links.
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": {
"id": "<id>"
},
"name": "preview-invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID |