LEDES File Examples: Sample 1998B and 1998BI Invoices
The short answer
A LEDES file example is a sample invoice in a LEDES format that you can open, study or test. The six fictional files below cover LEDES 1998B and 1998BI: a clean invoice, the same invoice with the mistakes portals reject most, a UK VAT invoice, a court reporter’s bill and a longer 1998BI invoice before and after correction.
On this page8 sections
Which LEDES sample files can you download?
Each file below is a complete LEDES invoice you can copy, download, or open in the free MatterBill workspace. They are fictional and written to the published LEDES formats, so they’re safe to share and to test an import or a validator with.
| Sample | File | What it shows |
|---|---|---|
| Complex invoice with errors (1998BI) | hawthorne-september-errors.txt | 28 fictional lines: fees, expenses, discounts, no-charge time and VAT. Includes formatting, codes, dates and totals to fix, plus missing details for manual review. |
| Complex invoice, corrected (1998BI) | hawthorne-september-corrected.txt | The corrected reference for the complex sample. Compare valid discounts, tax-exempt fees and exact totals; client-specific approval still applies. |
| Rejected invoice (1998B) | acme-september-invoice.txt | A litigation invoice with the mistakes portals reject most: math, dates, swapped codes, a stray pipe. |
| Clean invoice (1998B) | acme-september-clean.txt | The same invoice, ready for upload — 7 fee and expense lines plus an invoice-level discount. |
| UK VAT invoice (1998BI) | fernbrook-vat-invoice.txt | An international 1998BI invoice in GBP with 20% VAT, net and tax totals. |
| Court reporter invoice (1998B) | court-reporting-invoice.txt | A legal-vendor invoice: reporter attendance, transcript pages, copies and mileage. |
What does a LEDES 1998B example file look like?
A LEDES 1998B file is plain text. Line 1 is the identifier LEDES1998B[], line 2 lists the 24 field names, and every further line is one fee, expense or invoice-level adjustment, with the fields separated by pipes (|) and each record ending in []. This clean litigation invoice has five fee lines, two expense lines and an invoice-level discount, and its invoice total of 5,247.00 matches the sum of its line totals.
LEDES1998B[]INVOICE_DATE|INVOICE_NUMBER|CLIENT_ID|LAW_FIRM_MATTER_ID|INVOICE_TOTAL|BILLING_START_DATE|BILLING_END_DATE|INVOICE_DESCRIPTION|LINE_ITEM_NUMBER|EXP/FEE/INV_ADJ_TYPE|LINE_ITEM_NUMBER_OF_UNITS|LINE_ITEM_ADJUSTMENT_AMOUNT|LINE_ITEM_TOTAL|LINE_ITEM_DATE|LINE_ITEM_TASK_CODE|LINE_ITEM_EXPENSE_CODE|LINE_ITEM_ACTIVITY_CODE|TIMEKEEPER_ID|LINE_ITEM_DESCRIPTION|LAW_FIRM_ID|LINE_ITEM_UNIT_COST|TIMEKEEPER_NAME|TIMEKEEPER_CLASSIFICATION|CLIENT_MATTER_ID[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|1|F|2.5|0.00|1625.00|20260903|L120||A104|TK1001|Analyze complaint allegations and assess potential defenses|98-7654321|650.00|Sterling, Margaret|PARTNR|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|2|F|4.0|-158.00|1422.00|20260908|L210||A103|TK2002|Draft answer and affirmative defenses (10% courtesy discount)|98-7654321|395.00|Nguyen, Daniel|ASSOC|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|3|F|3.2|0.00|1264.00|20260910|L310||A103|TK2002|Draft first set of interrogatories to plaintiff|98-7654321|395.00|Nguyen, Daniel|ASSOC|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|4|F|1.5|0.00|292.50|20260911|L140||A110|TK3003|Organize client documents in review database|98-7654321|195.00|Romero, Lucia|PARALG|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|5|F|1.2|0.00|780.00|20260915|L230||A109|TK1001|Attend initial case management conference|98-7654321|650.00|Sterling, Margaret|PARTNR|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|6|E|250|0.00|25.00|20260910||E101|||Photocopies 250 pages at 0.10 per page|98-7654321|0.10|||LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|7|E|1|0.00|38.50|20260915||E109|||Parking for case management conference|98-7654321|38.50|||LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5247.00|20260901|20260930|Professional services rendered September 2026|8|IF|1|-200.00|-200.00|20260930|||||Invoice-level courtesy discount on fees per engagement letter|98-7654321||||LIT-2026-117[]The LEDES 1998B format guide explains all 24 fields one by one, including how the IF line on the last record encodes an invoice-level discount.
What does a rejected LEDES invoice look like?
This is the same invoice with the mistakes e-billing portals reject most often. Each highlighted cell is something a platform such as Legal Tracker or Brightflag would bounce or flag:
- line item 1’s date is written 2026-09-03, but LEDES dates are YYYYMMDD (20260903);
- line item 2’s courtesy discount is entered as +158.00 instead of −158.00, so its total no longer adds up;
- line item 3’s total is 1,246.00, but 3.2 hours at 395.00 is 1,264.00, so the invoice total is 18.00 short;
- line item 5 has the task and activity codes swapped (A109 in the task field, L230 in the activity field);
- line item 6’s amount is written $25.00, but amounts must be plain numbers;
- line item 7’s description contains a pipe, which splits the record into one field too many;
- the last line, an invoice-level discount, is missing its adjustment amount and its closing [].
LEDES1998B[]INVOICE_DATE|INVOICE_NUMBER|CLIENT_ID|LAW_FIRM_MATTER_ID|INVOICE_TOTAL|BILLING_START_DATE|BILLING_END_DATE|INVOICE_DESCRIPTION|LINE_ITEM_NUMBER|EXP/FEE/INV_ADJ_TYPE|LINE_ITEM_NUMBER_OF_UNITS|LINE_ITEM_ADJUSTMENT_AMOUNT|LINE_ITEM_TOTAL|LINE_ITEM_DATE|LINE_ITEM_TASK_CODE|LINE_ITEM_EXPENSE_CODE|LINE_ITEM_ACTIVITY_CODE|TIMEKEEPER_ID|LINE_ITEM_DESCRIPTION|LAW_FIRM_ID|LINE_ITEM_UNIT_COST|TIMEKEEPER_NAME|TIMEKEEPER_CLASSIFICATION|CLIENT_MATTER_ID[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|1|F|2.5|0.00|1625.00|2026-09-03|L120||A104|TK1001|Analyze complaint allegations and assess potential defenses|98-7654321|650.00|Sterling, Margaret|PARTNR|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|2|F|4.0|158.00|1422.00|20260908|L210||A103|TK2002|Draft answer and affirmative defenses (10% courtesy discount)|98-7654321|395.00|Nguyen, Daniel|ASSOC|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|3|F|3.2|0.00|1246.00|20260910|L310||A103|TK2002|Draft first set of interrogatories; review client documents for responsive materials; call with client re same|98-7654321|395.00|Nguyen, Daniel|ASSOC|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|4|F|1.5|0.00|292.50|20260911|L140||A110|TK3003|Review file|98-7654321|195.00|Romero, Lucia|PARALG|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|5|F|1.2|0.00|780.00|20260915|A109||L230|TK1001|Attend initial case management conference|98-7654321|650.00|Margaret Sterling|PARTNR|LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|6|E|250|0.00|$25.00|20260910||E101|||Photocopies 250 pages at 0.10 per page|98-7654321|0.10|||LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|7|E|1|0.00|38.50|20260915||E109|||Parking | case management conference|98-7654321|38.50|||LIT-2026-117[]20260930|INV-2026-0917|ACME01|2026-0042|5229.00|20260901|20260930|Professional services rendered September 2026|8|IF|1||-200.00|20260930|||||Invoice-level courtesy discount on fees per engagement letter|98-7654321||||LIT-2026-117⟵ no []Every one of these, and how to fix it, is covered in why LEDES invoices get rejected.
What does a LEDES 1998BI example with VAT look like?
LEDES 1998BI files start with LEDES98BI V2[] and have 52 fields per record: the 24 of 1998B plus currency, tax, purchase-order, matter-name and address fields. This UK invoice is in GBP with 20% VAT on five lines and a court fee outside the scope of VAT. Each line total includes its tax, and the invoice totals reconcile: a net total of 5,271.00 plus 963.20 of tax gives an invoice total of 6,234.20.
LEDES98BI V2[]INVOICE_DATE|INVOICE_NUMBER|CLIENT_ID|LAW_FIRM_MATTER_ID|INVOICE_TOTAL|BILLING_START_DATE|BILLING_END_DATE|INVOICE_DESCRIPTION|LINE_ITEM_NUMBER|EXP/FEE/INV_ADJ_TYPE|LINE_ITEM_NUMBER_OF_UNITS|LINE_ITEM_ADJUSTMENT_AMOUNT|LINE_ITEM_TOTAL|LINE_ITEM_DATE|LINE_ITEM_TASK_CODE|LINE_ITEM_EXPENSE_CODE|LINE_ITEM_ACTIVITY_CODE|TIMEKEEPER_ID|LINE_ITEM_DESCRIPTION|LAW_FIRM_ID|LINE_ITEM_UNIT_COST|TIMEKEEPER_NAME|TIMEKEEPER_CLASSIFICATION|CLIENT_MATTER_ID|PO_NUMBER|CLIENT_TAX_ID|MATTER_NAME|INVOICE_TAX_TOTAL|INVOICE_NET_TOTAL|INVOICE_CURRENCY|TIMEKEEPER_LAST_NAME|TIMEKEEPER_FIRST_NAME|ACCOUNT_TYPE|LAW_FIRM_NAME|LAW_FIRM_ADDRESS_1|LAW_FIRM_ADDRESS_2|LAW_FIRM_CITY|LAW_FIRM_STATEorREGION|LAW_FIRM_POSTCODE|LAW_FIRM_COUNTRY|CLIENT_NAME|CLIENT_ADDRESS_1|CLIENT_ADDRESS_2|CLIENT_CITY|CLIENT_STATEorREGION|CLIENT_POSTCODE|CLIENT_COUNTRY|LINE_ITEM_TAX_RATE|LINE_ITEM_TAX_TOTAL|LINE_ITEM_TAX_TYPE|INVOICE_REPORTED_TAX_TOTAL|INVOICE_TAX_CURRENCY[]20261002|LDN-26-00418|FERN01|7781-0003|6234.20|20260901|20260930|Professional services commercial contract dispute September 2026|1|F|1.8|0.00|1555.20|20260902|L120||A104|TKP01|Assess merits of claim based on particulars of claim|GB000111222|720.00|Whitmore, Eleanor|PARTNR|FL-LIT-0098|PO-55120|GB000333444|Fernbrook Logistics v Calder Freight|963.20|5271.00|GBP|Whitmore|Eleanor|O|Ashgrove Reed LLP|10 Example Street||London||EC4A 1AB|GBR|Fernbrook Logistics Ltd|Unit 4 Riverside Park||Manchester||M1 2AB|GBR|0.20|259.20|VAT|963.20|GBP[]5 more lines in the full file (6 line items in total)The LEDES 1998BI guide explains the tax and currency fields and the formulas behind these totals.
What does a legal vendor’s LEDES invoice look like?
Court reporters, experts and other legal vendors use the same 1998B layout. In this court reporter’s invoice, attendance at the deposition is a fee line (3.5 hours at 95.00), while transcript pages, exhibit copies, an expedited-delivery surcharge and mileage are expense lines coded E115, E101, E115 and E109. The invoice total is 1,307.80.
LEDES1998B[]INVOICE_DATE|INVOICE_NUMBER|CLIENT_ID|LAW_FIRM_MATTER_ID|INVOICE_TOTAL|BILLING_START_DATE|BILLING_END_DATE|INVOICE_DESCRIPTION|LINE_ITEM_NUMBER|EXP/FEE/INV_ADJ_TYPE|LINE_ITEM_NUMBER_OF_UNITS|LINE_ITEM_ADJUSTMENT_AMOUNT|LINE_ITEM_TOTAL|LINE_ITEM_DATE|LINE_ITEM_TASK_CODE|LINE_ITEM_EXPENSE_CODE|LINE_ITEM_ACTIVITY_CODE|TIMEKEEPER_ID|LINE_ITEM_DESCRIPTION|LAW_FIRM_ID|LINE_ITEM_UNIT_COST|TIMEKEEPER_NAME|TIMEKEEPER_CLASSIFICATION|CLIENT_MATTER_ID[]20261006|CR-2026-1142|ACME01|JOB-55821|1307.80|20260921|20260930|Court reporting services deposition of R. Alvarez|1|F|3.5|0.00|332.50|20260924|L330||A109|CR01|Attend and report deposition of Robert Alvarez|84-1234567|95.00|Hale, Jordan|CTRPTR|LIT-2026-117[]20261006|CR-2026-1142|ACME01|JOB-55821|1307.80|20260921|20260930|Court reporting services deposition of R. Alvarez|2|E|182|0.00|773.50|20260929||E115|||Original and one certified copy of transcript, 182 pages|84-1234567|4.25|||LIT-2026-117[]20261006|CR-2026-1142|ACME01|JOB-55821|1307.80|20260921|20260930|Court reporting services deposition of R. Alvarez|3|E|64|0.00|22.40|20260929||E101|||Exhibit copies, 64 pages|84-1234567|0.35|||LIT-2026-117[]20261006|CR-2026-1142|ACME01|JOB-55821|1307.80|20260921|20260930|Court reporting services deposition of R. Alvarez|4|E|1|0.00|150.00|20260929||E115|||Expedited transcript surcharge (3-day delivery)|84-1234567|150.00|||LIT-2026-117[]20261006|CR-2026-1142|ACME01|JOB-55821|1307.80|20260921|20260930|Court reporting services deposition of R. Alvarez|5|E|42|0.00|29.40|20260924||E109|||Mileage to deposition, 42 miles|84-1234567|0.70|||LIT-2026-117[]LEDES invoicing for legal vendors covers per-page, per-mile and flat charges in more detail, and the UTBMS expense codes list every E-code.
Is there a longer LEDES file to practise on?
Yes. hawthorne-september-errors.txt is a 28-line 1998BI invoice with fees, expenses, discounts, no-charge time and VAT, plus formatting, code, date and total errors and some details left for manual review. Its corrected twin, hawthorne-september-corrected.txt, shows the same invoice ready to submit, so you can compare the two line by line.
LEDES98BI V2[]INVOICE_DATE|INVOICE_NUMBER|CLIENT_ID|LAW_FIRM_MATTER_ID|INVOICE_TOTAL|BILLING_START_DATE|BILLING_END_DATE|INVOICE_DESCRIPTION|LINE_ITEM_NUMBER|EXP/FEE/INV_ADJ_TYPE|LINE_ITEM_NUMBER_OF_UNITS|LINE_ITEM_ADJUSTMENT_AMOUNT|LINE_ITEM_TOTAL|LINE_ITEM_DATE|LINE_ITEM_TASK_CODE|LINE_ITEM_EXPENSE_CODE|LINE_ITEM_ACTIVITY_CODE|TIMEKEEPER_ID|LINE_ITEM_DESCRIPTION|LAW_FIRM_ID|LINE_ITEM_UNIT_COST|TIMEKEEPER_NAME|TIMEKEEPER_CLASSIFICATION|CLIENT_MATTER_ID|PO_NUMBER|CLIENT_TAX_ID|MATTER_NAME|INVOICE_TAX_TOTAL|INVOICE_NET_TOTAL|INVOICE_CURRENCY|TIMEKEEPER_LAST_NAME|TIMEKEEPER_FIRST_NAME|ACCOUNT_TYPE|LAW_FIRM_NAME|LAW_FIRM_ADDRESS_1|LAW_FIRM_ADDRESS_2|LAW_FIRM_CITY|LAW_FIRM_STATEorREGION|LAW_FIRM_POSTCODE|LAW_FIRM_COUNTRY|CLIENT_NAME|CLIENT_ADDRESS_1|CLIENT_ADDRESS_2|CLIENT_CITY|CLIENT_STATEorREGION|CLIENT_POSTCODE|CLIENT_COUNTRY|LINE_ITEM_TAX_RATE|LINE_ITEM_TAX_TOTAL|LINE_ITEM_TAX_TYPE|INVOICE_REPORTED_TAX_TOTAL|INVOICE_TAX_CURRENCY[]20261002|HM-2026-09042|NORTH01|2026-0148|17000.00|20260901|20260930|September services, Northbridge freight contract dispute|1|F|2.5|0.00|1860.00|20260902|L120||A104|HM01|Analyze limitation defense against the amended contract claim|GB000555666|620.00|Marsh, Elena|PARTNR|000781-042|PO-2048|GB000777888|Northbridge freight contract dispute|2900.00|14000.00|GBP|Marsh|Elena|O|Hawthorne Marsh LLP|14 Example Square||London||EC4A 1AB|GBR|Northbridge Freight Ltd|8 Example Park||Manchester||M1 2AB|GBR|0.20|310.00|VAT|2950.00|GBP[]27 more lines in the full file (28 line items in total)How should you use these LEDES samples?
Open a sample in the free LEDES viewer to read it as an ordinary invoice, or in the LEDES validator to see what a portal would reject. To read one in Excel, import it as delimited text with the pipe (|) as the delimiter.
The official specification and sample file for each format are published by the LEDES Oversight Committee on ledes.org. Your client’s billing guidelines decide the exact format and code sets to use. To make your own file from a timesheet, start from the free Excel to LEDES template, or follow how to create a LEDES file.
Frequently asked questions
Where can I download an official LEDES sample file?
The LEDES Oversight Committee publishes each format’s specification and an official sample file on ledes.org, for example on its LEDES 98B and 98BI format pages. The files on this page are MatterBill’s own fictional invoices, built to the published formats so you can open, compare and test them.
Are these LEDES example files real invoices?
No. Every firm, client, person, ID and amount is fictional. The clean, UK VAT, court reporter and corrected samples add up; the rejected and complex samples contain deliberate mistakes so you can see how they are caught.
What file extension does a LEDES file use?
LEDES 1998B and 1998BI files are plain text and are normally saved as .txt. LEDES XML invoices are .xml files. When in doubt, follow the upload instructions of your client’s e-billing platform.
Can I use a sample as a LEDES invoice template?
Use it as a pattern for the layout, then replace every value with your client’s real IDs, your registered timekeepers and your approved rates. To build a file from a timesheet instead, start from the free Excel to LEDES template.
How do I check my own LEDES file against these examples?
Drop it into the free LEDES validator. It checks the file in your browser against the LEDES specification or your client’s platform rules and explains each problem in plain English, with the rule behind it and how to fix it.
Sources
- LEDES 98B format and sample fileLEDES Oversight Committee
- LEDES 98BI format and V5 sample fileLEDES Oversight Committee
- UTBMS code setsLEDES Oversight Committee (utbms.com)
Use your client's current billing guidelines and e-billing settings alongside these references.