Dataset
BILL (Bill.com) payables and receivables datasets for AI training
A Bill.com dataset is an export of a company's BILL account: vendor bills with their line coding and attached invoice documents, the approval policies and each approver's decision, bill payments with method and status, vendors and vendor credits, and on the receivables side customers, invoices and received payments. SourceX sources it to a buyer's spec from established businesses that run BILL, formerly Bill.com, for payables and receivables. Each dataset is de-identified, with bank details, tax IDs and contacts removed, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Vendor bills with coding, invoice documents, approver decisions and payments, plus customer invoices and received payments, from one BILL account
- Typical systems
- BILL Accounts Payable and Accounts Receivable, including organizations run through the Accountant Console; BILL Spend & Expense only if requested
- Typical history
- Varies by when the organization moved bill pay into BILL; specify the years you need
- Modality
- Structured bill, approval and payment records linked to invoice documents as PDF or image pages
- Delivery formats
- API JSON or list and report CSV exports normalized to JSONL or Parquet, with invoice documents keyed to their bills
- Preparation
- Vendor and customer names pseudonymized; bank details, tax IDs and remittance contacts removed; invoice documents redacted or excluded; approvers as role keys
- Licensing
- Scoped per BILL organization and period; permitted use agreed per license; BILL's terms on export and API use checked by owner and buyer
- Availability
- Sourced to your spec; plan, sync target and document coverage differ by organization, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| organization_ref | string | Pseudonymous key for the BILL organization; an accounting firm's console holds one per client. |
| bill_ref | string | Pseudonymous key for the Bill ID that every BillLineItem, BillApprover row and payment application points to. |
| vendor | object | From the Vendor record: pseudonymous key, payment term, preferred pay method and BILL network connection. |
| bill_header | object | Bill fields as entered: invoice number key, invoice date, due date, amount and description. |
| bill_line_items | array | BillLineItem rows: amount, description, line type, and the ChartOfAccount, department, location, class and job coded. |
| chart_of_accounts | array | ChartOfAccount entries the lines point to: number, name and type as synced from the accounting system. |
| source_document | object | The Document attached to the Bill: inbox email or upload origin, page count and a key to the redacted file. |
| approval_policy | object | The ApprovalPolicy that applies: its conditions, such as an amount range, and the approvers it names. |
| bill_approvers | array | BillApprover rows in sort order: role key, status such as waiting, approved or denied, and when it changed. |
| bill_status | object | The Bill's approval status and payment status (open, scheduled, partly paid or paid in full) with paid and due amounts. |
| payments | array | SentPay records, the older API's name for a bill payment, with their per-bill applications: process date, amount, online flag, method and status. |
| vendor_credits | array | VendorCredit records applied to the bill, with line coding and applied amounts. |
| receivable | object | On the receivables side, an Invoice with its lines, the Customer key and the ReceivedPay records applied to it. |
| record_state | object | The record's active flag with created and updated times; a bill or vendor a user removed normally stays as an inactive record. |
Field names from the table above; values are masked placeholders.
Example record
{
"organization_ref": "org_71b2",
"bill_ref": "bill_4e09c3",
"vendor": {
"vendor_ref": "ven_2a18",
"payment_term": "Net 30",
"pay_by": "ACH",
"network_connected": true
},
"bill_header": {
"invoice_number": "inv_key_0388",
"invoice_date": "2024-05-02",
"due_date": "2024-06-01",
"amount": 6480.0,
"description": "Q2 HVAC service and filters"
},
"bill_line_items": [
{
"amount": 5400.0,
"line_type": "expense",
"description": "Quarterly HVAC maintenance",
"chart_of_account": "coa_6120",
"department": "Facilities",
"location": "Plant 2"
},
{
"amount": 1080.0,
"line_type": "expense",
"description": "Replacement filters",
"chart_of_account": "coa_6125",
"department": "Facilities"
}
],
"chart_of_accounts": [
{
"key": "coa_6120",
"number": "6120",
"name": "Repairs and maintenance",
"type": "Expense",
"is_active": true
},
{
"key": "coa_6125",
"number": "6125",
"name": "Maintenance supplies",
"type": "Expense",
"is_active": true
}
],
"source_document": {
"document_ref": "doc_9f3a",
"origin": "inbox_email",
"pages": 2,
"redacted": true
},
"approval_policy": {
"policy_ref": "pol_03",
"condition": "amount >= [THRESHOLD]",
"approvers_in_order": [
"facilities_manager",
"controller"
]
},
"bill_approvers": [
{
"sort_order": 1,
"approver_role": "facilities_manager",
"status": "Approved",
"status_changed": "2024-05-06T14:12:00Z"
},
{
"sort_order": 2,
"approver_role": "controller",
"status": "Approved",
"status_changed": "2024-05-08T09:30:00Z"
}
],
"bill_status": {
"approval_status": "Approved",
"payment_status": "Paid in full",
"paid_amount": 6480.0,
"due_amount": 0
},
"payments": [
{
"payment_ref": "pay_c710",
"process_date": "2024-05-24",
"amount": 6480.0,
"is_online": true,
"method": "check",
"status": "Void"
},
{
"payment_ref": "pay_d2e5",
"process_date": "2024-06-11",
"amount": 6480.0,
"is_online": true,
"method": "ach",
"status": "Paid",
"applied": [
{
"bill_ref": "bill_4e09c3",
"amount": 6480.0
}
]
}
],
"vendor_credits": [],
"receivable": null,
"record_state": {
"is_active": true,
"created_time": "2024-05-03T08:41:17Z"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train AP agents from document to coded bill
Invoice documents paired with the bill a clerk built from them show header capture and line coding to the company's own accounts.
Learn approval routing and decisions
Ordered approver rows with approvals and denials show who signed off on which bills and how long each step took.
Model payment operations
Process dates, methods, voids and reissues show what happens to a payment after approval.
Predict receivables timing
Invoices joined to received payments show how long each customer takes to pay and how often it pays in parts.
Evaluate end-to-end bill pay tasks
A held-out bill with its document, policy and outcome tests coding, routing and scheduling in one pass.
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
Documents attached
Most bills carry the invoice that arrived, not only keyed fields.
Line-level coding
Lines are split by account and dimension, not posted to one catch-all account.
Approver decisions with times
Each approver's action and time are present, including denials.
Complete payment life
Method, status, voids and applications are present for every payment.
One sync target
The organization synced to one accounting system throughout, so account codes are stable.
Inactive records flagged
Deactivated bills, vendors and accounts arrive flagged, not dropped.
Value drivers
Bill.com dataset
A bill joins the document, the coding, the approvers and the payment, but not the ledger
In BILL the vendor's invoice arrives as a Document, emailed to the organization's inbox address or uploaded. A person, helped by BILL's field capture, turns it into a Bill whose BillLineItem rows are each coded to a ChartOfAccount and, where used, a department, location, class or job. An ApprovalPolicy then names approvers in order, and every BillApprover row records that person's approval or denial and when it happened. Payment is a separate act: a SentPay record with one application row for each bill it covers. One bill ID therefore joins document, coding, human decisions and cash movement, and since a payment can cover several bills and a bill can be paid in parts, that last link is many to many.
BILL is not a ledger. Its chart of accounts, departments, classes and items are copies synced from QuickBooks, Xero, NetSuite, Sage Intacct or another accounting system. Posting periods, later reclasses and the bank reconciliation live there, so a buyer who needs the accounting outcome has to source that ledger separately and join on the bill. Bills first entered in the accounting system and synced in may carry no document.
A Bill returned by the API holds its current coding with created and updated times, not earlier values. The audit trail shown on a bill's screen records who changed what, so ask whether it was captured. A removed bill or vendor normally stays as an inactive record, so ask whether inactive rows were exported. Approval policies are current-state too: today's policy may not be the one that routed an older bill, so the approver rows on each bill are the reliable record.
A BILL payment record carries the life of the payment
An ERP's payables module usually compresses a payment into one row: a date, an amount and a bank account. BILL operates the payment, so its record holds the process date, when the withdrawal of funds starts, whether BILL moved the money or the bill was only marked as paid outside it, the method (ACH, a paper check BILL prints and mails, a virtual card or an international wire), whether the vendor is connected through BILL's network, and a status that runs from scheduled to paid, or to canceled or void.
A check that never arrives is voided and reissued, which can leave two payment records against one bill, so a naive sum counts the cash twice. A payment recorded outside BILL has an amount and a date and little else. The process date is not the date the vendor was paid, nor the date the synced entry lands in the ledger, often through a clearing account. Vendor credits and partial payments mean a bill's paid amount has to be built from its applications.
Exports differ in what survives. The API works one organization at a time and returns objects that point to each other by ID. Its generations differ: SentPay, ReceivedPay and BillApprover are the older API's entity names, with statuses as coded values that need BILL's reference to read, while the newer API names the same records differently. Ask which one produced the extract. List and report exports from the screens are flat files, one row per bill or payment, so ask whether approver rows came with them and how the documents were collected. To test a sample, take one month of bills. Count those with a document, an approver decision and a payment, tie the applications to each bill's paid amount, trace every void to its replacement, and search the files for bank account numbers.
What to check before licensing
- Have the data owner and your counsel read BILL's terms on exported data and API use before a permitted use is agreed.
- Confirm that vendor bank account and routing numbers, tax IDs and remittance contacts are removed, including from memo and description fields.
- Review sample invoice documents for vendor pricing under confidentiality terms, remittance blocks and personal data such as a sole proprietor's home address.
- Ask which accounting system the organization syncs to, whether that ledger is in scope, and how bills join to it if it is.
- Count bills that have a document, approver rows and a payment; bills synced in or paid outside BILL may lack them.
- Tie payment applications to each bill's paid amount, and trace voided or canceled payments to their replacements so cash is not counted twice.
- Ask whether the extract came from the API or list exports and whether the audit trail was captured, and for an accounting firm confirm each client organization authorized release.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Does a Bill.com dataset include the general ledger?
No. BILL holds bills, approvals, payments, invoices and a synced copy of the chart of accounts, while the ledger stays in the accounting system it syncs to, such as QuickBooks, Xero or NetSuite. If you need posting periods, reclasses or bank reconciliations, ask for that ledger as a second source from the same company.
Are the original invoice documents included?
They can be, where the data owner clears them. BILL keeps the document that arrived in the inbox attached to the bill built from it. Invoices show vendor names, prices, remittance details and sometimes personal data, so specify whether you need the files redacted or only their metadata, and have the data owner check vendor confidentiality terms before any are released.
How are approvals recorded in BILL?
As ordered approver rows on each bill. An approval policy assigns approvers by conditions such as amount, and each approver's row shows a status and the time it changed. Ask for approver names to be replaced with stable role keys, so that sequences and separation of duties stay visible after de-identification.
What payment detail does BILL keep that an ERP does not?
The operational life of the payment. A BILL payment has a process date, a method such as ACH, mailed check, virtual card or international wire, and a status that can end in paid, canceled or void. An ERP usually shows only the resulting payment row. Voided and reissued payments appear as separate records against one bill.
Can the data come from an accounting firm's BILL console?
Only client by client. A firm's console gives it access to many client organizations, but each organization's records belong to that client, and the firm's access does not by itself authorize release. Agree scope per organization, and confirm with counsel that each client business whose records are included has approved the license.
Is SourceX affiliated with BILL Holdings?
BILL is named to identify the system the records come from. That does not imply a partnership with or endorsement by BILL Holdings. The records belong to the business that runs BILL, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Accounts payable invoices with approvals and exceptions
Supplier invoices as received, joined to posted fields, GL coding, approval route, match result, exceptions and payment
- Human approval and escalation decisions
Approval-queue decision records: the request, the routing rule, the approver's role, the decision, its reason and its timing
- Accounts receivable, collections and billing disputes
Customer invoices traced to settlement, with dunning, collector notes, remittances, cash application and dispute files
- Tipalti payables and mass payment records
One Tipalti account's payees, bills, approvals, purchase orders, payment batches, payments and rejections, organized by payer entity
- Melio small-business bill payment records
Bills, vendors and payments from a small business's Melio account, with funding method, delivery method, dates, status and approval steps
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell 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 26 November 2026.