merit_get_sales_invoice
Fetch a single sales invoice from Merit Aktiva by GUID, including line items and payment details. Optionally include the invoice PDF attachment as base64.
Instructions
Get one Merit Aktiva sales invoice with rows and payments (POST /api/v2/getinvoice). id is the invoice GUID (SIHId from the list tools). Set addAttachment to include the invoice PDF as base64 (large).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice GUID / SIHId (required) | |
| addAttachment | No | Include attachment file content as base64 |