merit_create_purchase_invoice_payment
Record a payment for a purchase invoice, identifying the invoice by vendor name and bill number, with payment date and amount.
Instructions
Record a payment for a purchase invoice (POST /api/v2/sendPaymentV). Identify the bill with vendorName + billNo. paymentDate is ISO date or datetime and is sent as yyyyMMddHHmm (Merit's documented format for this endpoint).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | ||
| refNo | No | ||
| amount | Yes | Payment amount (required) | |
| bankId | No | ||
| billNo | Yes | Vendor bill number (required) | |
| vendorName | Yes | Vendor name (required) | |
| paymentDate | Yes | ISO YYYY-MM-DD or YYYY-MM-DDTHH:mm (required) | |
| currencyCode | No |