Skip to content

AI uses for records

A partial payment accounts receivable dataset tracks balances, not events

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

A partial payment accounts receivable dataset should recompute the amount due, the allocation of each payment and the remaining balance after every event, and give any remainder a reason and a state. A public log of 150,370 traffic fines shows why: 12.1 percent of cases ending in a payment still owed money or had overpaid, and 68.3 percent of open balances equaled an automatic late-payment increase.

Value drivers

Partial payment accounts

This page covers A partial payment accounts receivable dataset tracks balances, not events.Illustrative

Key takeaways

  • Store the amount due, the allocation and the balance after every event; a status field cannot be recomputed.
  • In a public fines log, 8,121 of 67,201 cases that end with a payment still owed money or had paid too much.
  • Of 9,427 partly paid fines, 6,440 paid exactly the original amount: the balance is a penalty whose validity turns on dates.
  • Collection, write-off and close-out are different states; a handoff with no return is censored, not unpaid.
  • Recomputing a balance does not settle its treatment: price concession, dispute and credit loss need an accountant's label.

What should a partial payment case record after every event?

After every event, a partial payment case should record four things: the amount due as of that date, the amount paid and which items and charges each payment settled, the balance left, and a reason code for any balance that is not zero. A partial payment accounts receivable dataset that stores only the latest status, or only the last event, cannot tell a customer who paid the wrong amount from one who paid on time and was charged anyway.

The reason this matters is that a balance is a running calculation, not a field. The amount due changes when a late charge is added, a discount expires, a credit note is issued or a deduction is accepted, and each change follows a rule with its own trigger date. The payment that settled an invoice on Monday can be a partial payment by Friday if a charge lands in between. A dataset that keeps the events and the rules can recompute the balance at any point; one that keeps a status cannot.

Company receivables history with this depth is rarely public, so this page tests the idea on an open event log with the same shape, then turns the result into a casebook and a reviewer rubric. The cash application problem of matching one incoming payment to the right invoices is covered in a separate guide; this page follows what remains after that match.

Why a public traffic fines log can stand in for receivables

A public log of road traffic fines behaves like a small receivables ledger: an amount is raised, notices go out, a charge is added for late payment, payments arrive in one or several pieces, some cases are disputed and the rest are handed to collection. 4TU.ResearchData publishes it as a real-life event log from an information system managing road traffic fines, released in 2015 by Massimiliano de Leoni and Felix Mannhardt, and the authors' paper in Computing describes it as coming from the local police of an Italian city.

The copy read here is a semicolon-separated export kept in the bupaverse eventdataR repository, whose documentation cites the 4TU record as its source and describes 150,370 cases. The file holds 150,370 cases and 561,470 events dated from January 1, 2000 to June 18, 2013, across 11 activities such as Create Fine, Send Fine, Insert Fine Notification, Add penalty, Payment, appeals to the prefecture or a judge, and Send for Credit Collection. Each event carries amounts where they apply: the fine on creation, expenses on sending, the new amount when a penalty is added, and each payment with a running total.

The mapping to commercial receivables is direct enough to test labels: invoice, dunning notice, late charge, partial payment, dispute and collection placement. What the log lacks matters just as much. It has no remittance advice, no deduction codes, no credit notes and no write-off events, which is exactly the evidence a company packet has to add.

Balance audit: what 69,714 paying cases still owed at the end

Only 84.8 percent of paying cases ended at exactly zero. Of the 150,370 fines, 69,714 (46.4 percent) paid something; 59,101 of those ended with nothing owed, 9,427 (13.5 percent of paying cases) still owed something and 1,186 (1.7 percent) had paid more than the amount due. Paying in pieces did not settle cases more reliably: of the 7,542 cases with two or more payments, 3,719 (49.3 percent) still owed money at the end of the log.

The last event is a poor label. 67,201 cases end with a Payment event, the natural trigger for a status of paid, yet 6,940 of them (10.3 percent) still carried a balance and 1,181 (1.8 percent) were overpaid: 8,121 cases, 12.1 percent, where an event-derived status would be wrong. The other 59,080 had paid to exactly zero. Of the 58,997 cases whose last event is Send for Credit Collection, 56,871 had paid nothing, but 2,124 had paid part of the amount and one each had paid in full or too much, so a status of unpaid would misstate them too.

The log's own running total is not fully reliable either. On 95 of 77,601 Payment events, in 77 cases, the recorded total payment amount differs from the sum of the payments up to that event; 32 of those events share a date with another payment in the same case. A dataset should store the individual amounts and recompute totals rather than trust a derived column. The end states are counted below.

Balance audit: what 69,714 paying cases still owed at the end
End state, from the recomputed balanceCasesShare of all 150,370Share of 69,714 paying cases
Nothing paid80,65653.6%Not applicable
Paid to exactly zero59,10139.3%84.8%
Partly paid, balance still open9,4276.3%13.5%
Paid more than the amount due1,1860.8%1.7%
A two-row matrix of last event against recomputed balance in the public road traffic fines log: of 67,201 cases ending with a payment, 59,080 owe nothing, 6,940 still owe and 1,181 overpaid; of 58,997 ending with credit collection, 56,871 paid nothing, 2,124 still owe, and one each owes nothing or overpaid.
Road traffic fines log (4TU, via eventdataR commit b766ace): cases by last event and recomputed end state; counts by SourceX's script.

A residual is often a rule, not a shortfall

Most open balances in the log are the product of a timing rule, not of a customer paying a random wrong amount. Add penalty falls exactly 60 days after Insert Fine Notification in all 79,860 cases that have both events, and in 79,810 of 79,842 penalty cases with a non-zero fine the new amount is between 1.9 and 2.1 times the original. Among the 9,427 partly paid cases, 6,440 (68.3 percent) paid exactly the original fine plus expenses, so the whole balance is the penalty increase.

When those payments landed decides whether the balance is owed. In 5,667 of the 6,440 cases the last payment is dated after the penalty, in 760 on the same day and in 13 before it. The log records dates only, so a same-day payment and penalty cannot be ordered, and the date stored for a payment may be when it was registered rather than when it was made. Arithmetic cannot settle any of these cases; only the rule, the deadline and the value date can.

Commercial receivables have the same structure. An early-payment discount taken a few days late, a late charge applied by a dunning run while the payment was in transit, and a deduction the customer believes it is entitled to all leave a residual that is really a disagreement about a rule. Accounting treats some of these as part of the price: IFRS 15 lists discounts, rebates, refunds, credits, price concessions and penalties among the items that make consideration variable, and treats a price concession as variable when the customer has a valid expectation that the seller will accept less than the stated price. A label of short-paid, without the rule and its trigger date, throws that distinction away.

The other partly paid cases split differently: 1,471 (15.6 percent) paid less than the original fine plus expenses, 882 (9.4 percent) paid more than that but less than the penalized amount, and 634 (6.7 percent) owed a remainder with no penalty event at all.

Where unresolved balances go when the record falls silent

In this log an unresolved balance leaves through one door and does not come back. Of 59,013 cases sent for credit collection, 2,124 had been partly paid, which is 22.5 percent of all partly paid cases, and no case records a Payment event after the handoff. The outcome of collection is simply not in the data: a model trained on it would learn that sent to collection is a final state, when it is the start of another process.

Labels for this stage need finer states than open and closed. The U.S. Treasury's guide to managing federal receivables describes write-off as the accounting action that reports a debt as having no value on an agency's financial reports, notes that write-off does not always mean collection has ended, and separates debts classified as currently not collectible, where collection continues, from close-out, where it stops. IFRS 9 likewise requires the gross carrying amount to be reduced directly when there is no reasonable expectation of recovering an asset in its entirety or a portion of it, which makes partial write-offs a normal event rather than an error.

Overpayments need a state of their own as well. The 1,186 overpaid cases have a median excess of 5.16 in the log's amount units, and the log has no refund or offset activity at all. In a company ledger that money is unapplied cash or a credit balance with an owner, a refund duty or a later application, and a dataset that drops it as noise loses a routine reconciliation task.

Casebook: seven balance patterns and the records that settle them

Each pattern below appears in the fines log with the count shown, and each has a direct counterpart in commercial receivables. The third column names the record that settles the case; the fourth is the label a reviewer should record instead of a single status.

Casebook: seven balance patterns and the records that settle them
Pattern in the fines logReceivables counterpartRecord that settles itLabel to record
Paid the original amount after the penalty date: 5,667Invoice paid at the original price after a late charge or a lapsed discountPayment value date, terms, the charge rule and any waiverOpen: charge owed, disputed or waived
Paid the original amount on or before the penalty date: 773Payment in transit when a dunning run added a chargeBank value date against the charge dateSettled if the value date met the deadline; charge reversed
Paid less than the original amount: 1,471Short payment with or without a deduction claimRemittance line, deduction code and claim documentsShort paid: deduction pending, accepted or denied
Two or more payments, still open: 3,719Installments or an agreed payment planPlan terms and the allocation record for each paymentOpen on plan, with the next due date
Partly paid, then sent for credit collection: 2,124Residual placed with an agency or counselPlacement record with amount, date and any returnIn collection; outcome censored until returned
Overpaid, median excess 5.16: 1,186Unapplied cash or a customer credit balanceRefund, offset or later application recordCredit balance: refund owed or applied
Appeal filed with the prefecture or a judge: 4,555, of them 505 partly paidDisputed invoiceDispute case, outcome and any credit noteDisputed: collection paused until resolved

Reviewer rubric for an agent's answer about an open balance

A reviewer grading an agent's answer about an open balance should check the calculation, the rule and the state separately, so a correct total reached by the wrong route still fails. The checklist below works for a model's answer and for a clerk's note alike.

  • Amount due as of each event: rebuilt from the original charge, every charge added and every credit, dated, rather than read from the final total.
  • Allocation: which item and which component, such as principal, charge or expense, each payment settled, and the rule that decided it: remittance, oldest first or a customer instruction.
  • Residual reason: every non-zero balance carries a code such as late charge, deduction, plan, dispute, unapplied cash or rounding.
  • Dates: value date and recorded date for any balance that depends on a deadline, with same-day order marked unknown where the source keeps dates only.
  • State: open, disputed, on plan, in collection, written off as currently not collectible, closed out, or credit balance.
  • Derived totals: running totals recomputed from individual amounts, with disagreements flagged rather than overwritten.
  • Censoring: cases whose outcome lies outside the record, such as placements with no return, labeled censored instead of unpaid.
  • Authority: who approved a waiver, a write-off or an accepted deduction, and whether that person held the authority at the time.

Does a balance that adds up prove the treatment was right?

No. A balance can be recomputed perfectly and still carry the wrong label, because the same remaining amount means different things under different treatments. A short payment that the seller customarily accepts is a price concession that reduces revenue; a short payment the customer disputes is still a receivable until the dispute ends; a short payment from a customer who cannot pay may be a credit loss that a write-off eventually removes. The arithmetic is identical in all three.

Authorization is the second gap. A waived charge, an accepted deduction or a partial write-off changes the balance only legitimately when someone with the authority approved it, and the fines log, like many exports, records the effect without the approval. A dataset should label treatment and authority in fields of their own, filled by a qualified accountant from the approval records, and never infer them from a balance that happens to reach zero.

Receivables packets that keep a residual's history

A receivables packet that keeps a residual's history holds the open-item state at every event rather than once, the invoice and its terms with their versions, every remittance artifact with its arrival time, deduction claims with their codes and documents, dunning and charge rules with effective dates, payment plans, collection placements and returns, write-off approvals and refunds. With those, the rubric above can be applied to any case.

Three numbers from this audit make a useful acceptance test on delivery: the share of paying cases whose last-event status disagrees with the recomputed balance, the count of derived totals that disagree with individual amounts, and the share of cases censored at a handoff. A buyer who sees zero on all three should ask how the supplier treated late charges and placements.

Customer and payer names, bank details and signatures come out first, replaced by stable tokens so a parent company and its subsidiaries still connect. Teams that need packets like these can tell SourceX what they need; it finds receivables history at U.S. businesses after a request comes in, rather than selling from an inventory, and the request can set the recomputation and censoring rules as acceptance terms.

How the balance audit counted, and its limits

The audit reads data-raw/traffic_fines.csv from bupaverse/eventdataR at commit b766ace and runs no repository code; it uses only the case id, activity, date, amount, expense, payment amount, total payment amount and dismissal columns, and saves nothing but its printed counts. Events in a case are sorted by date with ties kept in file order. Amount due is the last Add penalty amount, or the Create Fine amount if no penalty exists, plus the sum of Send Fine expenses; paid is the sum of Payment amounts; all arithmetic uses exact decimals. A case is unpaid when nothing was paid, settled at exactly zero, overpaid below zero and partly paid otherwise. The appeal row counts cases with an appeal filed with the prefecture or a judge; counting any appeal activity gives 4,567, of them 509 partly paid. Payment timing compares the date of the last payment with the date of the last penalty. Medians use the middle value or the average of the two middle values, and percentages come from integer counts, rounded once, half up.

The limits are specific. Municipal fines are not trade receivables: there are no remittance documents, no negotiated terms and no customer relationships. The log does not name its currency, records dates without times and ends in June 2013, so later outcomes are censored. Amounts the log does not model, such as notification costs, may explain some small overpayments. The 60-day pattern is an observation about this log, not a statement of Italian law. And the counts describe one public process; they do not estimate how often partial payments occur in any company's ledger, which needs authorized packets reviewed by qualified accountants.

Frequently asked questions

What is a partial payment accounts receivable dataset?

It is a set of receivables cases that keeps every event affecting a balance, the amount due as of each event, the allocation of each payment and a reason code for whatever remains. Its labels describe the balance's state and cause, such as disputed, short paid with a deduction, on plan or in collection, rather than a single paid flag.

Why not label each invoice by its final status?

Because statuses are often derived from the last event, and the last event can mislead. In the public fines log, 12.1 percent of cases that end with a payment still owed money or had paid too much. A balance recomputed from the events and rules is the label; the status is context.

How should a dataset handle a balance sent to collection?

Label it in collection with the placement date and amount, and treat the outcome as censored until the agency's return or a write-off record arrives. Write-off is an accounting step that does not always end collection, so it needs its own state, separate from closing the debt out.

Are late charges and deductions part of the balance or a separate question?

Both. They change the amount due, so the balance must include them, but whether they are owed depends on a rule, a deadline and sometimes a customer's reasonable expectation. Keep the rule, its trigger date and the evidence of the payment's value date with every case.

Can a public log replace company receivables data?

It can test a labeling scheme, as this audit does, but it cannot replace company records. The fines log has no remittance advice, deduction codes, credit notes or write-off approvals, which are the evidence most receivables tasks turn on.

Sources

  • 4TU.ResearchData publishes the Road Traffic Fine Management Process dataset (de Leoni and Mannhardt, 2015) as a real-life event log from an information system managing road traffic fines. Source
  • The bupaverse eventdataR repository holds a semicolon-separated export of the road traffic fines log and documents its 4TU source and 150,370 cases. Source
  • Mannhardt, de Leoni, Reijers and van der Aalst describe the road traffic fines log as a real-life log from the local police of an Italian city, with events on notifications, payments and appeals. Source
  • IFRS 9 requires the gross carrying amount to be reduced directly when there is no reasonable expectation of recovering a financial asset in its entirety or a portion of it, and treats a write-off as a derecognition event. Source
  • IFRS 15 lists discounts, rebates, refunds, credits, price concessions, incentives, performance bonuses and penalties as items that can make consideration variable, including when a customer validly expects a seller to accept less than the stated price. Source
  • The Treasury's guide to managing federal receivables defines write-off as the accounting action reporting a debt as having no value, says write-off does not always end collection, and distinguishes currently not collectible from close-out. Source

Tell us what data you need

Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.

See if your company qualifies