Skip to content

Oracle Fusion receivables aging: work at the installment level

Updated 6 min readFor finance systems and collections teams on Oracle Fusion

Oracle Fusion Receivables stores one payment schedule row per installment, so a split-term invoice can sit in several aging buckets at once. Age each installment from its own due date and remaining amount, using AR_PAYMENT_SCHEDULES_ALL or the receivables invoice installments REST resource. Remaining amounts reflect the current state, so a past-cutoff aging has to be rebuilt from application history or taken from a snapshot. Your finance owner sets the policy for credits, disputes and buckets.

One invoice, two rows, two buckets

Oracle’s table documentation is direct about this. For split-term invoices, Receivables creates one record in RA_CUSTOMER_TRX_ALL and one in AR_PAYMENT_SCHEDULES_ALL for each installment, and TERMS_SEQUENCE_NUMBER tells them apart. DUE_DATE and AMOUNT_DUE_REMAINING can differ per installment. An aging built from the invoice header’s date therefore assigns the whole balance a single age that no part of the invoice has.

Take a June 30 cutoff, with synthetic numbers. An invoice for 1,000 has two installments of 500, due June 10 and July 10. A payment of 200 was applied to the first. The first installment has 300 remaining and is 20 days overdue. The second has 500 remaining and is not due. A header-level view shows 800 overdue from June 10, or 800 current if it picks the later date. Neither is what the customer owes on each date.

Synthetic installmentDue dateOriginalAppliedRemainingBucket at Jun 30
1Jun 105002003001 to 30 days overdue
2Jul 105000500Current
Invoice total1,000200800Two buckets

Fields to read, by access path

You will usually reach this data one of two ways, and they use different names for much the same thing. The REST resource sits under the invoice at receivablesInvoices/{CustomerTransactionId}/child/receivablesInvoiceInstallments. Table-level access generally means an extract or a report data model reading the payment schedule table. Map one to the other once, in writing, so nobody has to rediscover it during a close.

Note PaymentDaysLate in the REST response, documented as the number of days after the due date. You’ll be tempted to use it for buckets. Before you do, confirm how it behaves for an open installment on your release, and remember it is relative to when you read it. Computing age from your own cutoff keeps the calculation under your control.

MeaningAR_PAYMENT_SCHEDULES_ALLREST installment attribute
Installment numberTERMS_SEQUENCE_NUMBERInstallmentSequenceNumber
Due dateDUE_DATEInstallmentDueDate
Original amountAMOUNT_DUE_ORIGINALOriginalAmount
Open amountAMOUNT_DUE_REMAININGInstallmentBalanceDue
Open amount, ledger currencyACCTD_AMOUNT_DUE_REMAININGAccountedBalanceDue
CreditedAMOUNT_CREDITEDInstallmentAmountCredited
In disputeAMOUNT_IN_DISPUTEDisputeAmount
Accounting close dateGL_DATE_CLOSEDInstallmentGLClosedDate

Signs, classes and the year 4712

Three details in Oracle’s column descriptions cause most of the errors I would expect to see in a first attempt. First, CLASS covers more than invoices. It holds INV, DM, CM, CB, PMT and BR, for invoices, debit memos, credit memos, chargebacks, receipts and bills receivable. This table also contains receipts and credit memos, and Oracle says debit items are stored as positive numbers while credit items such as credit memos and receipts are negative. Summing every row gives a customer’s net balance, and Oracle describes that sum across confirmed schedules as the current customer balance. An aging of invoices alone is a different and larger figure.

Second, GL_DATE_CLOSED and ACTUAL_DATE_CLOSED are never empty. For an open schedule, Oracle says they hold 31-DEC-4712, a placeholder used for performance. A query testing for NULL will find no open items, and a date difference against that value produces a large and strange age. Third, STATUS changes from OP to CL once AMOUNT_DUE_REMAINING reaches zero, so it describes the state today and says nothing about the state at your cutoff.

Also check which amount you mean in a multi-currency ledger. AMOUNT_DUE_REMAINING is in the invoice currency, recorded in INVOICE_CURRENCY_CODE, and ACCTD_AMOUNT_DUE_REMAINING is the open amount in functional currency. Mixing them across rows gives a total with no meaning. And ORG_ID identifies the business unit, so a group view needs an explicit list of units.

-- Current open position by installment, aged to a supplied cutoff.
SELECT ps.org_id,
       ps.trx_number,
       ps.terms_sequence_number,
       ps.class,
       ps.due_date,
       ps.invoice_currency_code,
       ps.amount_due_remaining,
       ps.amount_in_dispute,
       CASE
         WHEN ps.due_date >= :cutoff THEN 'current'
         WHEN :cutoff - ps.due_date <= 30 THEN '1-30'
         WHEN :cutoff - ps.due_date <= 60 THEN '31-60'
         ELSE 'over 60'
       END AS bucket
FROM ar_payment_schedules_all ps
WHERE ps.status = 'OP'
  AND ps.class IN ('INV', 'DM', 'CB')
  AND ps.amount_due_remaining <> 0;
-- Unapplied receipts and open credits (PMT, CM) are excluded above.
-- Report them beside the aging so a customer in credit is visible.

Rebuilding a past cutoff

A balance read today describes today. To see what was open on June 30, you have to replay. The case that does the damage is an installment open at the cutoff and closed now. A current-state query drops it, and the June aging comes out too low with nothing to warn you.

The rows you need live in AR_RECEIVABLE_APPLICATIONS_ALL. APPLIED_PAYMENT_SCHEDULE_ID identifies the debit item a payment or credit memo was applied to, AMOUNT_APPLIED holds the amount, GL_DATE the date it posts, and STATUS and APPLICATION_TYPE the type of row, with values including APP and UNAPP, and CASH or CM. REVERSAL_GL_DATE marks reversed records and the reversing record. AR_ADJUSTMENTS_ALL feeds adjustments into the payment schedule’s AMOUNT_ADJUSTED and AMOUNT_DUE_REMAINING, so include adjustments too.

In outline, take the schedule’s original amount, subtract applications with an accounting date on or before the cutoff, then apply adjustments dated the same way. Validate on a closed period where finance has a saved report, and start with a handful of installments. Reversals are the usual cause of failure here, so include one. Retained month-end snapshots remain much simpler, if someone started keeping them in time. Whatever the method, say on the answer whether it came from a snapshot, a replay or current state.

Open todayClosed todayOpen atcutoffClosed atcutoffCheck the balancePartial payments may have moved itMissed by current queryAging comes out too lowOften a reversalWrongly appears in past agingLeave outNo effect on the cutoffOpen at cutoff · Open todayCheck the balancePartial payments may have moved itOpen at cutoff · Closed todayMissed by current queryAging comes out too lowClosed at cutoff · Open todayOften a reversalWrongly appears in past agingClosed at cutoff · Closed todayLeave outNo effect on the cutoff
A current-state query is only right in one cell of four. The open-then, closed-now cell understates a past aging with no warning.

Disputes, unapplied cash and other policy calls

Your report owner has to decide several things that no field can answer. The first is whether disputed amounts stay in their aging bucket or show separately. Fields like AMOUNT_IN_DISPUTE and DISPUTE_DATE record the fact, and the treatment is a policy. A second is whether unapplied receipts reduce a customer’s aging or appear beside it. A third is which report is the reference, since a collections view and a reconciliation to the general ledger can use different populations.

REST also has an ExcludeFromCollections flag on the installment. If your collectors use it, a collections queue should honor it, while a balance reconciliation probably should not. Ask which applies, and note the choice beside the figure. This article shows how the data is shaped, and it should not be read as guidance on accounting treatment.

What to bring to an evaluation

A six-row fixture tests almost all of this: a split-term invoice with a partial payment on the first installment, an installment on the bucket edge, one paid just after the cutoff, a reversed receipt, a disputed amount, and an open credit memo. Ask for the aging at a past cutoff, and check that the invoice appears in two buckets and that the paid-after installment is still open.

Run it on anything you’re considering, and that includes us. Look for a statement of whether the balances are current or rebuilt, and a plain decline if the tool cannot support the past date. The connector catalog at nexatron.io/connectors is a starting point for what you might bring. Hang on to the fixture, since it makes a good regression test when a release changes a field or your terms setup changes.

Bring three business questions

Explore your sources, definitions, and review criteria with our team. Please keep credentials and sensitive records out of the inquiry.