Skip to content

Dataset

Accounts receivable and collections datasets for AI training

An accounts receivable dataset is a set of customer invoices followed from issue to settlement: aging history, dunning notices, collector notes, promises to pay, the remittances that arrived and how each was applied, and any dispute with its reason code, investigation and resulting credit memo or write-off. SourceX sources these from established business-to-business suppliers and order-to-cash outsourcers that hold them in ERP receivables modules and collections tools. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Customer invoices traced to settlement, with dunning, collector notes, remittances, cash application and dispute files
Typical systems
ERP receivables in SAP, Oracle, NetSuite or Dynamics 365; collections and cash application tools such as HighRadius, Billtrust and Esker
Typical history
Specified by the buyer; whole fiscal years, so invoices can be followed past period end to final settlement
Modality
Open-item and posting tables, free-text collector notes, and remittance and evidence documents as received
Delivery formats
Agreed per order; JSONL or Parquet per invoice, remittances in original form (lockbox file, EDI 820, PDF, spreadsheet)
Preparation
Customer, contact and collector names replaced; bank details and check images masked; amounts exact or scaled as agreed
Licensing
Rights reviewed per supplier; confirm the receivables are business-to-business; permitted use set in the license
Availability
Sourced to your spec by industry, customer mix and dispute types; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
open_item_idstringPseudonymous ID of the invoice as an open item in the receivables ledger, which every dunning, remittance, application and dispute row refers to.
customerobjectPseudonymous bill-to, payer and parent account IDs with segment and payment terms.
invoiceobjectDocument date, due date, amount, currency, the customer's purchase order reference and billed lines.
aging_snapshotsarrayPeriod-end positions for the invoice: open balance, aging bucket and disputed flag as of each date.
dunning_eventsarrayReminders and notices sent, with dunning level, channel, template and any dunning block placed on the item.
collector_notesarrayDated call and email notes by collector role, with who was reached and the next follow-up date.
promises_to_payarrayPromised amount and date, and whether each promise was kept, broken or replaced.
remittanceobjectThe remittance as received: channel, payment total, and the customer's own reference and deduction code for this line.
cash_applicationarrayPostings made against the invoice: amount applied, matching method, whether auto-matched, residual and any reversal.
deductionobjectShort-paid amount with the customer's deduction code and the internal reason code assigned to it.
disputeobjectClaim type, disputed amount, owner role and the dated investigation steps with the evidence each produced.
remedyobjectCredit memo, denial and rebill, or write-off, with amount, approver role and the root cause recorded.
settlementobjectHow the item closed: paid, credited and written-off amounts, closing date and days from invoice.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "open_item_id": "oi_7c41e9",
  "customer": {
    "bill_to": "cust_0388",
    "payer": "cust_0021",
    "parent": "cust_0021",
    "segment": "grocery_distribution",
    "terms": "2% 10, net 30"
  },
  "invoice": {
    "date": "2024-03-04",
    "due": "2024-04-03",
    "amount": 48250.0,
    "currency": "USD",
    "customer_po": "7781-A",
    "billed": "20 pallets at 2412.50"
  },
  "aging_snapshots": [
    { "as_of": "2024-03-31", "open": 48250.0, "bucket": "current", "disputed": false },
    { "as_of": "2024-04-30", "open": 2412.5, "bucket": "1_30", "disputed": true }
  ],
  "dunning_events": [{ "t": "2024-04-10", "level": 1, "channel": "email" }],
  "collector_notes": [
    {
      "t": "2024-04-16T14:22:00Z",
      "role": "collector",
      "contact": "customer_ap",
      "text": "Spoke with [CONTACT_1] in AP. Says invoice is approved less one pallet not received. Payment in Thursday ACH run.",
      "next_follow_up": "2024-04-19"
    }
  ],
  "promises_to_pay": [{ "made": "2024-04-16", "amount": 45837.5, "due": "2024-04-18", "status": "kept" }],
  "remittance": {
    "received": "2024-04-18",
    "channel": "ach_with_emailed_advice",
    "payment_total": 131406.5,
    "line_count": 3,
    "line_as_received": {
      "reference": "PO 7781-A",
      "gross": 48250.0,
      "deduction": 2412.5,
      "deduction_code": "22",
      "deduction_text": "SHORT SHIP",
      "net": 45837.5
    }
  },
  "cash_application": [
    {
      "posted": "2024-04-19",
      "amount_applied": 45837.5,
      "auto_matched": false,
      "method": "po_cross_reference",
      "residual": 2412.5,
      "residual_reason_code": "SHRT"
    }
  ],
  "deduction": {
    "amount": 2412.5,
    "customer_code": "22",
    "internal_reason_code": "SHRT",
    "opened": "2024-04-19"
  },
  "dispute": {
    "claim_type": "shortage",
    "disputed_amount": 2412.5,
    "owner_role": "deductions_analyst",
    "steps": [
      { "t": "2024-04-22", "action": "requested_proof_of_delivery", "from": "carrier" },
      {
        "t": "2024-04-25",
        "action": "evidence_received",
        "doc": "pod_91f2.pdf",
        "finding": "Signed for 19 pallets. Driver note: 1 pallet refused, crushed in transit."
      },
      {
        "t": "2024-04-26",
        "action": "confirmed_return",
        "with": "warehouse",
        "finding": "Refused pallet received back 2024-03-11."
      }
    ]
  },
  "remedy": {
    "type": "credit_memo",
    "credit_memo_id": "cm_20417",
    "amount": 2412.5,
    "approved_by_role": "credit_manager",
    "root_cause": "carrier_damage"
  },
  "settlement": {
    "closed": "2024-05-02",
    "paid": 45837.5,
    "credited": 2412.5,
    "written_off": 0.0,
    "days_from_invoice": 59
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train cash application matching

Remittance lines in the customer's own references, paired with the open items a specialist applied them to, are supervised examples for the payments auto-match rules missed.

Classify deductions and route disputes

Short payments with the customer's code, the reason code assigned and the team that resolved them train models to identify a deduction and route it.

Draft collector outreach

Dunning history, call notes and promises to pay show which contact came next for an account, and what was said.

Predict payment timing

Terms, promise dates and actual settlement dates per customer support models of when an open item will be paid.

Evaluate order-to-cash agents

Held-out invoices with known applications and dispute outcomes make test cases for an agent working a receivables queue.

Use-case guides: Finance and accounting agents, Document AI, enterprise search and RAG, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Remittance as received

The customer's original remittance text and codes, not only the invoice numbers a clerk keyed from it.

Manual applications flagged

Each posting marked as auto-matched or worked by a person, with the matching method where the tool records it.

Denied claims present

Disputes that ended in denial and rebill alongside those that ended in a credit memo.

Evidence attached

Proofs of delivery, price agreements and approval records linked to the dispute they settled.

Promise outcomes

Every promise to pay closed as kept or broken against the payment that followed.

Dated aging history

Aging positions saved at each period end, or the posting history needed to rebuild them.

Document stack

Accounts receivable dataset

This page covers accounts receivable, collections and billing disputes.Illustrative

Cash application is a matching problem with recorded answers

A payment rarely arrives described the way the ledger needs it. Remittance detail comes as a bank lockbox file with imaged check stubs, an EDI 820, addenda on an ACH payment, an emailed PDF or spreadsheet, or a download from the customer's payables portal, and it is written in the customer's terms. It quotes their purchase order or voucher number instead of the invoice number, or the invoice number with a prefix or its first zeros dropped. One wire covers dozens of invoices. A credit the customer raised on its own books is netted off. An invoice is short-paid with a deduction code from the customer's list. Some payments name nothing at all, and some come from a parent company or shared service center whose account is not the one that was billed.

The receivables system records what a specialist did with each one. Every application ties a remittance line to an open item and an amount, and the remainder is accounted for on the record: a residual item with a reason code, a deduction opened for research, cash held on account, or a receipt left unapplied or unidentified until someone finds its owner. That is a labeled matching set produced by people answerable for the customer's balance. Matching engines usually store their own result too, so lines applied automatically can be separated from lines a person worked, which are the ones worth having.

Two details decide whether the pairing survives export. The remittance has to be delivered as received, because a table of clean invoice numbers keyed from it has already had the problem solved. And reversals have to be kept, since an application is often undone and redone when the advice arrives days after the cash.

Dispute files hold cause and remedy together

An aging report says how much is past due and by how many days. It cannot say why. An invoice held back over a price sits in the same bucket as one owed by a customer that has run out of cash, and the two call for opposite responses. The reason lives in the dispute or deduction record: the customer's claim as stated, such as pricing, shortage, damage, duplicate billing or a cash discount taken after the terms expired, with the amount withheld.

What follows is an investigation with documents. An analyst pulls the signed proof of delivery or bill of lading, checks the price agreement or promotion, asks the warehouse or the sales representative, and records what each showed. The file then closes with a remedy and an amount: a credit memo in full or in part, a denial with the amount billed back and returned to collections, or a write-off under a small-balance tolerance. Claim, evidence and outcome on one record is supervision that neither the aging nor the credit memo table carries alone, and denied claims matter as much as credited ones.

The codes need care. A supplier's reason codes and each customer's deduction codes are separate lists, the claim type often differs from the root cause found, and a catch-all code or an automatic write-off can close a dispute nobody investigated. Ask for those cases to be flagged, not removed.

What to check before licensing

  • Confirm that every customer account is a business. Consumer debt collection records carry separate legal limits, so ask how consumer accounts were identified and excluded, whether any customers are sole proprietors or gave a personal guarantee, and have counsel review the answer.
  • Check de-identification where names hide: collector call notes, email bodies, remittance PDFs, signatures on proofs of delivery, and the bank account and routing numbers printed on check images.
  • Ask whether remittances are delivered as the customer sent them. If only keyed invoice numbers survive, the matching problem has been removed from the data.
  • Ask what share of cash applications were posted by a person, and whether reversals and re-applications are kept with their dates.
  • Request the supplier's reason code list and each major customer's deduction code list, the mapping between them, and the share of disputes coded to a catch-all reason.
  • Check that credit memos and write-offs link to the dispute and invoice they resolved by document reference, not by matching amounts.
  • Ask how aging history was produced: saved period-end snapshots, or rebuilt from postings as of each date. Backdated entries make the two differ.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What makes cash application data useful for training?

It pairs an ambiguous input with the answer a specialist posted. A remittance may name a purchase order instead of an invoice, cover many invoices in one payment or short-pay with a deduction code, and the receivables system records which open items the cash was applied to and where the remainder went. Ask for a flag on manual postings, since auto-matched lines are the easy cases.

Does the dataset include denied disputes or only credit memos?

It should include both, so specify it. A credit memo table alone holds only the claims the supplier accepted, which teaches a model that every claim is valid. Dispute and deduction records also hold claims that were denied and billed back, partly credited, or written off under a small-balance tolerance. Ask for the share of each outcome in the sample.

Are consumer collections records included?

No, this page describes business-to-business receivables. Collection of consumer debt is regulated separately. In the US, the Fair Debt Collection Practices Act covers debts incurred mainly for personal, family or household purposes, and state laws add their own rules, so those records raise different consent and privacy questions. Ask how a supplier that sells to both businesses and individuals separated the two, and have counsel confirm the scope before licensing.

How are customer identities protected?

Customer, contact and collector names are replaced with stable pseudonyms before delivery. Identity also sits in invoice and purchase order numbers, bank details, check images and the free text of call notes, and a large customer can be recognized from its share of sales, so ask whether amounts are scaled. No de-identification method is perfect.

Can I get collector call recordings with the notes?

Only where the supplier's collections tool or phone system kept them and the recording consent covers the use. Most collections history is text: call notes typed after the conversation, emails and dunning letters. If you need audio, say so in the request, since it changes the consent review and the de-identification work.

How is this different from an accounts payable invoice dataset?

It is the seller's side of the same transaction. Payables data follows a supplier invoice through capture, coding, matching to the order and approval. Receivables data starts after the invoice is sent and records the chase: reminders, promises, the payment as the customer described it, and the argument over any amount withheld.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026. Own data like this? See how companies license it to AI developers.

See if your company qualifies