AR Payment Apply¶
The AR Payment Apply import applies a payment that is already in Intacct to the customer's open invoices and adjustments. Use it when the payment and the invoices arrive in Intacct separately: a payment recorded before the invoice existed, or one recorded with nothing applied.
On an Intacct writer, select AR PAYMENT APPLY as the Intacct Import Type.
To record a payment and apply it in one step, use AR Payment instead.
Creating and Updating¶
AR Payment Apply offers one Update Operation, Insert. Each record applies one payment, through Intacct's legacy apply_arpayment function. After each record, IMan writes the key Intacct returns into RECORDNO. See Writeback.
Run the integration again and IMan sends the applications again. Intacct refuses an application larger than the payment.
Finding the Payment and the Documents¶
Intacct's function takes record numbers. The import also takes the numbers people use, and looks up the record numbers itself:
- The payment.
arpaymentkeytakes the payment's number or itsRECORDNO. IMan reads the payment from Intacct with one query, and takes the payment's customer from it. - Each document.
invoicekeytakes an invoice or adjustment number, or itsRECORDNO. It must be one of the payment customer's open documents: an invoice or adjustment with an amount still due.
IMan reads each customer's open invoices and adjustments once in a run, and keeps the list for the customer's later records. A run that applies twenty payments for one customer reads that customer's documents once.
Fields¶
Each application is an ARPYMTAPPLY record, and each document it pays is an arpaymentitems record.
ARPYMTAPPLY¶
| Field | Rule |
|---|---|
arpaymentkey |
Required. The payment's number or RECORDNO |
paymentdate |
Required. The date of the application |
memo |
A note stored with the application |
overpaylocid, overpaydeptid |
The location and department for an overpayment |
RECORDNO |
Written back. Leave it unmapped |
arpaymentitems¶
| Field | Rule |
|---|---|
invoicekey |
Required. The invoice or adjustment number, or its RECORDNO |
amount |
Required. The amount to apply. It cannot be more than the payment's amount |
Errors¶
A payment that Intacct does not have fails the record:
So does a document that is not open for the payment's customer, whether it does not exist, is paid in full or belongs to another customer:
Apply AR Payment: [INV-2002] is not an open invoice or adjustment (number or record number) for customer [C-100].
Map arpaymentkey on every record. Without it, the record's lines fail:
Intacct Reference¶
Apply AR Payment (Legacy) in Intacct's API reference.