Dataset
SimpleLegal legal spend datasets for AI training
A SimpleLegal dataset is an export of a corporate legal department's SimpleLegal account: its Matters, the Vendors assigned to them, the Invoices those law firms submitted with their Line Items, the Invoice Rule results and approver decisions on each, and the Timekeepers, Rates, Budgets and Accruals behind them. SourceX sources it to a buyer's spec from established businesses that run SimpleLegal for e-billing and matter management. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Outside counsel Invoices and Line Items with rule results and Approvals, linked to Matters, Vendors, Rates, Budgets and Accruals
- Typical systems
- SimpleLegal e-billing and matter management with the CounselGO vendor portal, Invoice Rules, Approvals, Budgets and Accruals
- Typical history
- Specified by the buyer; invoices since the legal department adopted SimpleLegal, plus any migrated from an earlier e-billing system
- Modality
- Structured invoice, line, rule and approval rows; free-text descriptions and comments; PDF invoices and Matter Documents as files
- Delivery formats
- Agreed per order; commonly JSONL per Invoice with Line Items nested, CSV reference tables, and original LEDES files and PDFs by reference
- Preparation
- Law firm, Timekeeper and Matter names pseudonymized; rates exact, banded or removed as agreed; descriptions screened for privileged detail
- Licensing
- Rights reviewed per account, including law firm engagement terms and privilege in invoice narratives; permitted use set in the license
- Availability
- Sourced to your spec by matter type, invoice count and LEDES share; 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 |
|---|---|---|
| invoice_id | string | Re-keyed ID of the Invoice record, with the Vendor's own invoice number replaced. |
| intake_route | object | How the Invoice arrived, as a LEDES file the Vendor submitted or a document entered as header totals, and when. |
| matter | object | The Matter the Invoice was billed to: re-keyed ID, matter type, status and the account's custom attribute values. |
| vendor | object | The Vendor record, a pseudonymous law firm or other provider, with its vendor type. |
| invoice_header | object | Invoice date, billing period, currency and the fee, expense, tax and total amounts as billed. |
| line_items | array | Line Items of the Invoice: fee or expense type, date, units, unit cost, UTBMS codes, Timekeeper reference, description and billed amount. |
| timekeepers | array | Timekeeper records the Line Items refer to, each a pseudonym with its classification, such as partner or associate. |
| approved_rates | array | Rates on file for each Timekeeper and Vendor, with effective dates where the account kept them. |
| rule_results | array | Invoice Rules that fired on the Invoice or a Line Item, with each rule's name and what it flagged. |
| reductions | array | Reductions to Line Items or to the whole Invoice: amount, who made it, the Invoice Rule it followed, if any, and the stated reason. |
| approvals | array | Approvals in order: each approver's role, decision, time and comment. |
| budget_context | object | The Budget on the Matter for the Invoice's period and how much of it earlier Invoices had used. |
| period_accruals | array | Accruals for the same Matter, Vendor and period, each marked as supplied by the Vendor through CounselGO or entered by the legal department. |
| payment_status | object | Final status of the Invoice, the approved amount and the date it was marked paid. |
Field names from the table above; values are masked placeholders.
Example record
{
"invoice_id": "inv_58f20c",
"intake_route": {
"method": "ledes_file",
"received": "2024-04-08T17:22:10Z"
},
"matter": {
"matter_id": "mat_0419",
"matter_type": "Employment litigation",
"status": "Open"
},
"vendor": {
"vendor_id": "ven_027",
"vendor_type": "law firm"
},
"invoice_header": {
"invoice_date": "2024-04-05",
"billing_period": "2024-03",
"currency": "USD",
"fees": 7310.0,
"expenses": 152.4,
"total": 7462.4
},
"line_items": [
{
"line": 1,
"type": "F",
"date": "2024-03-12",
"timekeeper": "tk_114",
"task": "L330",
"activity": "A103",
"units": 6.2,
"unit_cost": 550.0,
"description": "Draft deposition outline for [PERSON_3].",
"billed": 3410.0
},
{
"line": 2,
"type": "F",
"date": "2024-03-19",
"timekeeper": "tk_131",
"task": "L330",
"activity": "A102",
"units": 7.8,
"unit_cost": 500.0,
"description": "Research admissibility of [TOPIC].",
"billed": 3900.0
},
{
"line": 3,
"type": "E",
"date": "2024-03-20",
"expense": "E101",
"description": "Copying",
"billed": 152.4
}
],
"timekeepers": [
{
"timekeeper": "tk_114",
"classification": "PT"
},
{
"timekeeper": "tk_131",
"classification": "AS"
}
],
"approved_rates": [
{
"timekeeper": "tk_131",
"rate": 475.0,
"effective_from": "2024-01-01"
}
],
"rule_results": [
{
"rule": "Billed rate above approved rate",
"line": 2,
"result": "flagged"
}
],
"reductions": [
{
"line": 2,
"amount": -195.0,
"by": "matter_lead",
"reason": "Rate above approved rate"
},
{
"line": 3,
"amount": -152.4,
"by": "matter_lead",
"reason": "Copying is overhead"
}
],
"approvals": [
{
"step": 1,
"role": "matter_lead",
"decision": "approved_with_adjustments",
"time": "2024-04-10T15:02:00Z"
},
{
"step": 2,
"role": "legal_operations",
"decision": "approved",
"time": "2024-04-11T09:30:00Z"
}
],
"budget_context": {
"period": "2024-03",
"budget": 9000.0,
"used_before_invoice": 1840.0
},
"period_accruals": [
{
"period": "2024-03",
"amount": 7000.0,
"source": "vendor_portal",
"entered": "2024-03-28"
}
],
"payment_status": {
"status": "paid",
"approved_amount": 7115.0,
"paid": "2024-05-06"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train invoice review
Line Items with rule results and approver adjustments are labeled examples of which charges a legal department paid, cut or refused.
Explain a reduction
Adjustment reasons and approver comments pair each cut with the words a reviewer wrote.
Forecast legal spend
Accruals and Budgets set against later Invoices give forecast and actual by Matter, Vendor and period.
Extract invoices from documents
PDF invoices with their keyed header totals are extraction pairs, and LEDES invoices show the target line structure.
Evaluate guideline compliance
Held-out Invoices with known rule results test whether an agent applies billing guidelines as the department did.
Use-case guides: Legal AI, Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
LEDES share stated
The split between line-level and header-only Invoices is given by Vendor and year.
Totals that tie
Line Items sum to the header, and the header less adjustments equals the approved amount.
Reasons on reductions
Each adjusted line names a rule or an approver and carries a reason.
Dated rates and rules
Rates with effective dates and Invoice Rules with change dates let old results be checked.
Whole approval chain
Every approver step is present in order, including rejections and resubmissions.
Accruals by period
Accruals are kept per period and marked by who supplied them, with earlier estimates where the account retains them.
Document stack
SimpleLegal dataset
A SimpleLegal matter is a ledger of spend, not a file of the work
In SimpleLegal the Matter is the thing costs attach to. It typically carries a name, a type or practice area, a lead from the legal department and whatever custom attributes the department defined. Beneath it sit the Vendors assigned to it, its Budgets, its Accruals and its Invoices. The pleadings, drafts and advice mostly stay in the law firm's systems and in email, and the Documents on a Matter are what someone chose to upload. One Matter can show what three firms billed and how every invoice was cut, and say little about the dispute beyond a title.
What the Matter adds to an invoice is the forecast beside it. The vendor portal, CounselGO, takes more than bills: firms also use it to give status, budget and accrual information. Where a department collected those, the Matter holds a firm's own estimate of unbilled work for a period next to the invoices the same firm later sent for that period, with the department's Budget above both. That is forecast and actual by Matter, Vendor and month, seen from the payer's side. Each Line Item also points to a Timekeeper, whose billed rate can be set against the Rates on file, and Invoice Rules and Approvals record how the invoice was then judged.
The buyer should ask what the account keeps as history and what it overwrites. Approvals and adjustments are dated events. Matter attributes, a Timekeeper's Rates and the Invoice Rules themselves are settings that change, and an old rule result was judged against the rate, the budget and the rule in force that day. Ask for Rates with effective dates, Budget versions and the rule list with its change dates, and whether a revised Accrual replaces the earlier estimate.
LEDES invoices and document invoices are different records in one list
Law firms that bill through CounselGO commonly submit a LEDES file. Every charge arrives as a Line Item with a date, a fee or expense type, units, a unit cost, UTBMS task, activity or expense codes, a timekeeper ID with name and classification, and a description. Smaller firms, experts and court reporters often send a PDF instead. Often only its header is entered, meaning vendor, matter, invoice number, date and totals, and the detail stays inside the attached document. Both kinds sit in the same Invoices list. Ask for the share of each, by Vendor and by year.
The difference changes what a label means. A rule that tests a line, such as a billed rate above the approved Rate or a task code the guidelines exclude, cannot fire on an invoice with no lines. An empty rule result can mean a clean invoice or an untestable one. An export loses more. A report at invoice grain drops Line Items. A report at line grain may drop rule results, adjustment reasons and approver comments, which then have to be pulled separately. The LEDES file as submitted and the PDF are separate files again. CounselGO also lets a firm revise an invoice, so ask whether the first version survives beside the revision.
To test a sample, sum the Line Items of each LEDES invoice and compare with its header totals, then subtract adjustments and compare with the approved amount. Count invoices with no lines. Check that every reduced line names a rule or a person and a reason. Follow five rejected invoices and see whether the revised version is linked to the original. Read fifty descriptions for privileged detail.
What to check before licensing
- Have counsel confirm that the company's engagement terms with each law firm allow its invoices and narratives to be licensed, and how Line Item descriptions that could reveal privileged legal strategy were screened.
- Ask for the share of Invoices submitted as LEDES files and as documents, by Vendor and year, and whether the attached PDFs are in the delivery.
- Check that law firm, Timekeeper and Matter names are pseudonymized consistently across Invoices, descriptions and Documents, and that banded or removed negotiated rates cannot be rebuilt from line totals.
- Request the Invoice Rules with their change dates, and confirm that each rule result in the sample names a rule that existed when the Invoice was received.
- On the sample, count adjusted Line Items that carry a reason and an actor, and check that each Invoice's Approvals appear in order with times.
- Ask how the export was made and at what grain, and how rejected and resubmitted Invoices are linked.
- Have the buyer and the data owner each check Onit's terms for SimpleLegal on exported data and API use against the intended use.
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 every SimpleLegal invoice have line items?
No. Invoices submitted as LEDES files carry Line Items with dates, timekeepers, codes, units and descriptions. Invoices that arrived as a PDF are often entered as header totals with the file attached, so the detail exists only inside the attachment. Ask for the share of each by Vendor and year.
Does the data show why an invoice was reduced?
Usually in part. A reduction can follow an Invoice Rule that fired or an approver's own judgment, and each may carry a reason or a comment. Whether those reasons were exported is a separate question, because a basic invoice report may not include them. On the sample, count reduced lines that have a stated reason.
Can I learn how a legal matter was handled from SimpleLegal data?
Only indirectly. A Matter holds its type, lead, attributes, Vendors, Budgets and Invoices, and the work itself appears mainly through Line Item descriptions and task codes. That gives a dated outline of what outside counsel did and what it cost. Pleadings, advice and correspondence are normally elsewhere.
Are law firm rates and names included?
That is set per dataset. Firm, Timekeeper and Matter names are replaced with stable pseudonyms before delivery, and negotiated rates can be delivered exact, banded or removed as the data owner allows. If rates are removed, check that they cannot be recomputed from line totals and units. Timekeeper classification, such as partner or associate, is normally kept.
How do Accruals and Budgets add to invoice data?
They supply the forecast. A Budget states what a Matter or Vendor was expected to cost in a period, and an Accrual estimates work done and not yet invoiced. Set against the invoices that later arrived, they give forecast and actual for the same Matter and month. Ask whether each Accrual came from the Vendor through CounselGO or from the department, and whether earlier estimates were kept.
Is SourceX affiliated with Onit?
SimpleLegal is named to identify the system the records come from. That does not imply a partnership with or endorsement by Onit. The records belong to the business that runs SimpleLegal, 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
- Legal billing and time entry records
Time entries and invoice lines with narrative, codes, hours, rates and each adjustment before payment
- Vendor management and third-party risk records
Onboarding files, questionnaires with reviewer follow-up, tiering decisions, scorecards, issue logs and offboarding, linked per vendor
- Accounts payable invoices with approvals and exceptions
Supplier invoices as received, joined to posted fields, GL coding, approval route, match result, exceptions and payment
- Onit legal spend and matter records
Outside counsel invoices and line items with rule flags, reviewer adjustments, approvals, rates and budgets, linked to matters
- Legal matter files
Whole files for individual legal matters, every document tied to a matter number, a date and a stage
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.