merit_list_purchase_invoices
Retrieve Merit Aktiva purchase invoices for a date range up to 3 months, with optional filtering by unpaid status and date type. Supports document or changed dates for period-based reporting.
Instructions
List Merit Aktiva purchase invoices for a period (POST /api/v2/getpurchorders). periodStart/periodEnd are ISO YYYY-MM-DD, max 3 months apart. dateType: 0 = document date, 1 = changed date. Distinct from merit_list_purchase_orders (waiting-approval).
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": {
"periodStart": "<periodStart>",
"periodEnd": "<periodEnd>"
},
"name": "merit_list_purchase_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unPaid | No | Only unpaid invoices | |
| dateType | No | 0 = filter by document date, 1 = filter by changed date | |
| periodEnd | Yes | Period end (YYYY-MM-DD, required; max 3 months after periodStart) | |
| periodStart | Yes | Period start (YYYY-MM-DD, required) |