Merit Get Sales Invoice
merit_get_sales_invoiceRetrieve a single sales invoice with header, line items, accounts, VAT, and payments received. Use the invoice ID or number to fetch full billing details, with optional PDF or delivery note text.
Instructions
One sales invoice in full: header, lines (items, accounts, VAT), payments received.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "merit_get_sales_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | SIHId from merit_list_sales_invoices | |
| invoice_no | No | Invoice number, if the id is not known | |
| include_pdf | No | Also return the invoice PDF's text as Merit prints it | |
| delivery_note | No | With include_pdf: the delivery note (the invoice without prices) instead |