search_payments
Search payments linked to invoices, proforma invoices, orders, or supplier invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default 1) | |
| date_to | No | Filter payment date <= this date (YYYY-MM-DD) | |
| currency | No | Filter by currency code, e.g. "RON", "EUR" | |
| order_id | No | Filter by order ID | |
| per_page | No | Results per page (default 20, max 100) | |
| date_from | No | Filter payment date >= this date (YYYY-MM-DD) | |
| invoice_id | No | Filter by invoice ID | |
| payment_type | No | Filter by payment method, e.g. "cash", "bank" | |
| proforma_invoice_id | No | Filter by proforma invoice ID | |
| supplier_invoice_id | No | Filter by supplier invoice (supplier document) ID |