merit_get_sales_invoice_pdf
Retrieve a sales invoice PDF from Merit Aktiva as base64, including file name and content. Optionally generate a delivery note without prices.
Instructions
Get a Merit Aktiva sales invoice PDF as base64 (POST /api/v2/getsalesinvpdf). Returns FileName + FileContent. Set delivNote for a delivery note without prices.
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": "merit_get_sales_invoice_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice GUID / SIHId (required) | |
| delivNote | No | If true, return a delivery note without prices |