merit_get_purchase_invoice
Retrieve a specific purchase invoice from Merit Aktiva by its GUID, including all rows and payment details. Optionally omit the attachment to return a smaller response.
Instructions
Get one Merit Aktiva purchase invoice with rows and payments (POST /api/v2/getpurchorder). id is the purchase invoice GUID (PIHId). Set skipAttachment to omit the PDF (smaller response).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Purchase invoice GUID / PIHId (required) | |
| skipAttachment | No | Omit attachment file content |