merit_create_sales_invoice_payment
Record a payment against a sales invoice using customer name and invoice number. Specify amount, payment date, and bank ID or IBAN; partial payments are allowed.
Instructions
Record a payment against a sales invoice (POST /api/v2/sendpayment). Identify the invoice with customerName + invoiceNo. Provide bankId or IBAN (IBAN must match a payment method). paymentDate is ISO YYYY-MM-DD. Partial payments are allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | IBAN of a known payment method | |
| refNo | No | ||
| amount | Yes | Payment amount (required) | |
| bankId | No | Bank / payment-method GUID | |
| invoiceNo | Yes | Sales invoice number (required) | |
| paymentDate | Yes | Payment date YYYY-MM-DD (required) | |
| currencyCode | No | Required if not local currency | |
| customerName | Yes | Customer name (required) |