Record A Payment
All or part of what's owed. DR the bank / CR the customer's A/R. Pass source_event_id to use a bank-feed deposit. A payment already booked (as a transfer, or a deposit already in QuickBooks) becomes the payment in place and is never booked twice. Its credit moves to this customer's A/R, so A/R with no customer clears. Money credited to another account is moved to A/R in Solarium only, and is refused when that entry is in QuickBooks. It must be in the invoice's currency, for the same customer or none, no more than what's owed, and not already another invoice's. QuickBooks isn't changed.
Parameters
params.invoice_idString!requiredThe invoice
params.methodString!requiredOne of your country's payment methods (invoice_settings: payment_methods). Canada: etransfer, cheque, bank, card, cash, wire, other. US: ach, cheque (shown as Check), zelle, wire, card, cash, other
params.amountStringDefault: what's left
params.bank_account_idStringWhere it landed (not needed with source_event_id)
params.source_event_idStringA deposit from the bank feed. It's booked as this payment whole, so it must be the same amount (in the invoice's currency) or, for another currency, what landed. An entry already booked is linked in place: its own date, bank and amount
params.amount_homeStringInvoices in another currency paid into an account in your books' currency: what landed, in that currency. Leave it out for an account in the invoice's currency. Default: amount at that day's Bank of Canada rate. The difference goes to Exchange Gain or Loss
params.feeStringInvoices in another currency: a bank fee taken off the payment, in the currency of the account it landed in. Goes to Bank Fees & Charges