Record invoice payment
wave_record_invoice_paymentRecords an off-platform payment (cash, cheque, bank transfer) against an approved invoice and assigns it to the account that received the funds.
Instructions
Record a payment received outside Wave against an invoice (cash, cheque, bank transfer...). paymentAccountId is the account the money went into (usually types=[ASSET] subtypes=[CASH_AND_BANK]). The invoice must be approved, not a draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| amount | Yes | Positive amount, at most 2 decimals | |
| invoiceId | Yes | Invoice ID | |
| paymentDate | Yes | Date, YYYY-MM-DD | |
| exchangeRate | No | Payment-account currency per invoice currency; 1 when they match | |
| paymentMethod | Yes | ||
| paymentAccountId | Yes |