Skip to content

Dataset

Onit legal spend and matter datasets for AI training

An Onit dataset is an export of a corporate legal department's Onit Enterprise Legal Management system: outside counsel invoices and their line items, the billing rule flags and reviewer adjustments on each line, timekeepers and approved rates, matters, budgets, accruals, and the legal requests and approvals routed through its workflow apps. SourceX sources it to a buyer's spec from established businesses that run Onit. Each dataset is de-identified, with law firm, timekeeper and matter names replaced, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Outside counsel invoices and line items with rule flags, reviewer adjustments, approvals, rates and budgets, linked to matters
Typical systems
Onit's own ELM products, Unity ELM and OnitX ELM: matter management, legal spend management and the vendor portal; legal request and legal hold apps only if requested
Typical history
Varies by when the department moved e-billing into Onit; specify the invoice years you need
Modality
Structured invoice, line item and workflow records with narratives and reviewer comments; attached invoice files where cleared
Delivery formats
Report exports or API extracts normalized to JSONL or Parquet, one table per app, with each app's form definition
Preparation
Law firm, timekeeper, matter and reviewer names replaced with keys; rates exact, banded or removed as agreed; narratives screened for privilege
Licensing
Scoped per app and period; permitted use agreed per license; Onit's terms on exported data and API use checked by owner and buyer
Availability
Sourced to your spec; apps, fields and line item detail differ by customer, and 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
invoice_refstringPseudonymous key for the Invoices record that every line item, flag and approval points to.
vendor_refobjectKey and type of the Vendors record for the law firm or other provider that submitted the invoice.
matter_linkobjectThe Matters record the invoice was billed to: key, matter type and status, from the customer's own matter form.
submissionobjectHow the Invoice arrived: LEDES file, PDF or manual entry through the vendor portal, received time, billing period and any invoice it replaces.
line_itemsarrayInvoice Line Items as submitted: fee or expense, work date, units, task, activity and expense codes, timekeeper key and narrative.
rule_flagsarrayBilling Rules that fired on the invoice or a line, and what each did: flag, adjust or reject.
line_adjustmentsarrayLine Item Adjustments from review: size of the cut, reason code, comment, and whether a rule or a person made it.
timekeeper_ratearrayFrom Timekeepers and Rates: classification, the rate billed and the approved rate on the work date, exact or banded.
invoice_totalsobjectInvoice amounts as submitted and as approved, or their ratio where amounts are withheld.
approval_routearrayApprovals in order: workflow step, approver role, decision, comment and time.
budget_positionobjectThe Budgets record for the matter and period, and whether this invoice took approved spend past it.
accrualsarrayAccruals entered for the matter by period, set against what was later invoiced.
originating_requestobjectThe Legal Requests record behind the matter, where that app is in use: request type, intake answers and routing.
Sample recordIllustrative

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

Example record

{
  "invoice_ref": "onit_inv_5b20e7",
  "vendor_ref": {"vendor_key": "vnd_firm_031", "vendor_type": "law_firm"},
  "matter_link": {"matter_key": "mtr_2291", "matter_type": "Commercial litigation", "status": "Active"},
  "submission": {"format": "LEDES 1998B", "received": "2024-05-07T13:42:00Z", "billing_period": ["2024-04-01", "2024-04-30"], "replaces": null},
  "line_items": [
    {"line": 1, "type": "fee", "work_date": "2024-04-03", "timekeeper_key": "tk_114", "task_code": "L330", "activity_code": "A104", "units": 2.5,
     "narrative": "Review transcript of [WITNESS_2] deposition and prepare summary."},
    {"line": 2, "type": "fee", "work_date": "2024-04-09", "timekeeper_key": "tk_207", "task_code": "L330", "activity_code": "A109", "units": 6.0,
     "narrative": "Attend deposition of [WITNESS_3]."},
    {"line": 3, "type": "expense", "work_date": "2024-04-09", "expense_code": "E110", "units": 1, "narrative": "Travel to deposition."}
  ],
  "rule_flags": [
    {"line": 2, "rule_key": "second_attendee_at_deposition", "action": "warn"},
    {"line": 3, "rule_key": "travel_needs_preapproval", "action": "adjust"}
  ],
  "line_adjustments": [
    {"line": 2, "share_cut": 1.0, "reason_code": "STAFFING", "comment": "Second attendee was not approved.", "made_by": "person"},
    {"line": 3, "share_cut": 1.0, "reason_code": "NOT_REIMBURSABLE", "comment": null, "made_by": "rule"}
  ],
  "timekeeper_rate": [
    {"timekeeper_key": "tk_207", "classification": "Associate", "billed_rate_band": "band_3", "approved_rate_band": "band_3", "approved_from": "2024-01-01"}
  ],
  "invoice_totals": {"currency": "USD", "approved_share_of_submitted": 0.61},
  "approval_route": [
    {"step": "Attorney review", "role": "matter_attorney", "decision": "approved_with_adjustments", "t": "2024-05-09T15:10:00Z"}
  ],
  "budget_position": {"period": "FY2024", "over_budget_after_invoice": false},
  "accruals": [{"period": "2024-04", "entered_by": "vendor", "against_invoiced": "under"}],
  "originating_request": null
}

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

What AI teams use it for

Train invoice review agents

Lines paired with the rules that fired and the reviewer's adjustment are worked examples of applying billing guidelines.

Classify billing narratives

Reason codes label real narratives with the payer's objection, in the department's own categories.

Forecast legal spend

Budgets and period accruals set beside later invoices give a forecast and an actual for the same matter.

Learn approval routing

Workflow steps, approver roles and decisions show which invoices passed, which were escalated and which were sent back.

Build legal operations test sets

Rule-made adjustments can be recomputed from rates and dates, giving test items with a checkable answer.

Use-case guides: Legal AI, Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Line item detail

Invoices carry coded lines with timekeeper and narrative, not only header totals.

Reasons on adjustments

Adjusted lines have a reason code, and those a person made have a comment.

Dated rules

Billing rule definitions come with the period each was in force.

Resubmission pairs

Rejected invoices are kept beside the corrected invoices that replaced them.

Rates with effective dates

Each fee line joins to a timekeeper and the approved rate on its work date.

Form definitions

Every app in scope comes with its fields, option lists, workflow steps and approver roles.

License terms

Onit dataset

This page covers onit legal spend and matter records.Illustrative

Onit holds the payer's verdict on each billed line

Onit is run by the company that pays the bill, not the firm that sends it. A law firm submits an invoice through Onit's vendor portal, named Counsel Exchange in Unity ELM and BillingPoint in OnitX ELM, as a LEDES file or, in some setups, a PDF. Onit files it under a vendor and a matter with a line item record per billed line, then checks the charges against the billing rules the department configured and against approved timekeeper rates: a timekeeper who was never approved, a rate above the approved one, an expense the guidelines do not reimburse. The invoice then passes through the approval steps the department set up, commonly the in-house lawyer on the matter first and senior approvers above a set amount.

One line can therefore carry several voices: what the firm asked for, what a rule did, what a person did and, where the department bought Onit's AI invoice review add-on, sold as Spend Agent, what the model flagged. Firms also use the portal to put forward timekeepers and rates for approval and to send budgets and accruals. The approved rate a line is tested against is therefore itself the outcome of a request, and a firm's estimate of unbilled work sits beside what it later invoiced. What Onit does not hold is the firm's side: its time system, its pre-bill write-downs and the work product itself.

Ask what is kept and what is replaced. An invoice's status is where it stands now, so ask whether the steps it passed through are kept with dates and approvers. A rejected invoice comes back as a resubmission, and whether that is a new record or an update to the old one is a question for the supplier. The rule set in force today is not the one that judged an older invoice, and the same holds for rates, so ask for rule definitions and approved rates with their dates.

Each customer's Onit apps have their own fields

Onit sells its ELM as configurable, and the same account often runs more than billing. Legal service requests, legal holds and, at some companies, contract requests are separate workflow apps beside matter and spend management, some taken from Onit's app catalog and some set up for the customer. Each app is a form with its own fields, the review and approval steps a record moves through and the people assigned at each step. Two Onit customers therefore do not share a schema. One department's matter form has reserve and exposure fields. Another's has none. Onit also lists SimpleLegal and BusyLamp among its ELM products. Those are separate systems, so ask which product the records came from.

That shapes what an extract returns. A report gives the columns someone chose for it, one app at a time, under the customer's own labels. Check that line items came out at line grain with the invoice key, and ask whether the LEDES files and PDFs as submitted were pulled too. Without the form definitions, a column named Type or a step named Legal Review 2 cannot be read. Say which apps are in scope, and ask for each one's fields, option lists, steps and roles, with the reason code list.

Test a sample on one month of invoices, one app at a time. Resolve every column and option value against the form definition. Sum the line items to each invoice's submitted total, apply the adjustments and tie the result to the approved amount. Separate adjustments a rule made from those a person made and, where AI review ran, from its flags, and count how many carry a reason code and a comment. Then read narratives for names and for the subject of legal advice.

What to check before licensing

  • Have the data owner and your counsel read Onit's terms on exported data and API use before agreeing a permitted use.
  • Confirm with counsel that outside counsel invoices and narratives, which can reveal privileged legal strategy, may be licensed under the company's engagement terms, and ask how narratives were screened.
  • Check that law firm, timekeeper and matter names are replaced in every app and in attached LEDES files and PDFs, and that negotiated rates removed from the delivery cannot be rebuilt from totals and units.
  • Say which Onit product and which apps are in scope, and ask for each app's form definition: fields, option lists, workflow steps and roles.
  • Ask for the billing rule definitions and reason code list in force for each period, and whether an AI review add-on such as Spend Agent produced any flags.
  • On the sample, sum line items to invoice totals, tie adjustments to approved amounts, and count adjusted lines with a reason and a comment.
  • Ask how a rejected invoice and its resubmission are stored, whether the history of approval steps is kept, and whether PDF invoices and invoices migrated from an earlier e-billing system have line items.

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 does Onit record about each invoice line?

It records the line as the firm submitted it and what happened to it in review. The submitted side has the work date, timekeeper, units, rate, task and activity codes and the narrative. The review side has the billing rules that fired, any adjustment with its reason code and comment, and who made it.

Is this law firm data or client data?

It is the client's data. Onit is run by the legal department that pays the invoices, so it holds each invoice as submitted and the review of it, not the law firm's time system or pre-bill edits. The firms' narratives are in it, so the buyer should check that the company's engagement terms with its firms allow those invoices to be licensed.

Can negotiated rates be included?

Only as the company and its firms allow. Approved rates per timekeeper are among the most sensitive fields in Onit, and line totals with hours reveal them even when the rate column is dropped. Specify whether you want rates exact, banded or removed. If removed, check on the sample that they cannot be rebuilt from the amounts and units left.

Why do two Onit exports have different fields?

Because each customer configures its own apps. Onit sells its ELM as configurable, in two own-brand products, Unity ELM and OnitX ELM, and a legal department sets the fields, option lists, approval steps and roles of each app to fit its process. The invoice and line item core is similar across customers. Matter and request fields are not, so ask which product the export came from and for the form definitions.

Are legal requests and contract requests part of the dataset?

Only if you ask for those apps and the company runs them in Onit. Many departments route legal service requests, legal holds and approvals through the same system, and some route contract requests, each as its own app with its own fields. They hold a different kind of text, business users describing what they need. Name the apps you want in the request.

Is SourceX affiliated with Onit?

Onit Enterprise Legal Management 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 Onit Enterprise Legal Management, 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.

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 26 November 2026.

See if your company qualifies