PDF to LEDES Converter for LEDES 1998B Invoices and E-Billing Files

Your client wants a LEDES file and your invoice is a PDF. Upload the invoice below and get a LEDES 1998B text file with one row per time entry and expense, plus the same data in Excel for your own review.

Accepts PDF, JPG, PNG, BMP, HEIC and TIFF

Upload your receipts and invoices

All 24 LEDES 1998B fields in spec order
UTBMS task, activity and expense codes kept
Excel and CSV of the same invoice

Why a PDF Invoice Gets Bounced by an E-Billing Portal

Corporate legal departments and insurers run outside counsel bills through e-billing systems that expect a LEDES file. A PDF is an image of a bill. The portal needs each time entry as a row it can check against billing guidelines, and it rejects anything else.

The Client Requires LEDES and You Bill in Word or QuickBooks

Small firms and solo attorneys often invoice from a word processor or general accounting software. The first corporate or insurance client with an e-billing mandate turns every invoice into a formatting project.

Twenty Four Fields on Every Single Row

LEDES 1998B repeats the invoice number, dates, total and matter on each line item row, followed by units, rate, codes and timekeeper details. Typing that by hand for a forty line invoice is about a thousand cells.

One Stray Character Fails the Whole File

Fields are separated by pipes and every row ends with square brackets. A pipe inside a narrative, a date typed as 9/30/2026 or a missing terminator is enough for a portal to refuse the upload.

Totals Have to Reconcile

The specification defines the invoice total as the sum of the line item totals. A courtesy discount shown only at the bottom of the PDF breaks that sum unless it is written as its own adjustment row.

Legal Departments Get PDFs They Cannot Analyze

On the client side, firms that will not send LEDES leave the legal operations team with PDFs. Nobody can report spend by timekeeper or task code from a stack of images.

Switching Billing Software for One Client Is Overkill

Legal practice management systems export LEDES well, but migrating matters, rates and trust balances to satisfy a single client costs far more than converting the invoices you already produce.

From the Invoice You Already Send to the File the Portal Accepts

ReceiptOCR reads the invoice with a field set built for legal bills, shows you every extracted value next to the page it came from, and writes a LEDES 1998B file from the reviewed data. You keep invoicing the way you do now.

A Real LEDES 1998B File

The export opens with the LEDES1998B line, then the 24 field header row, then one pipe delimited row per line item, each closed with square brackets. Dates are written as YYYYMMDD.

Timekeeper Detail per Entry

Each fee line carries the timekeeper ID or initials, full name, classification, hours, hourly rate and line total, read from the invoice.

UTBMS Codes Preserved

Task codes such as L120, activity codes such as A104 and expense codes such as E101 are captured where the invoice prints them and placed in the correct LEDES columns.

Discounts That Still Add Up

Line write downs go into the adjustment field as negative amounts. An invoice level discount becomes its own IF adjustment row, so the rows sum to the invoice total.

Several Invoices in One File

Upload a month of invoices for one client as a batch and export a single LEDES file. The specification allows more than one invoice number per file.

Excel and CSV Too

The same header and line data downloads as a spreadsheet, which is what legal operations teams use to analyze outside counsel spend by timekeeper, matter and task.

Why Choose ReceiptOCR?

  • Works from PDFs, scans and photos of printed invoices
  • No change to how you draft or send invoices
  • Every value shown beside the source page before export
  • Starter is $49 a month, or $288 a year billed yearly
  • Priced by pages processed, never per timekeeper or per seat

How to Convert a PDF Invoice Into a LEDES File

Four steps. The review is the one that deserves your attention.

1

Choose the Legal Invoices Field Set

In your account pick the ready made field set named Legal Invoices (LEDES). It tells the engine to look for matter numbers, billing period, timekeepers, rates and UTBMS codes.

2

Upload the Invoice PDFs

Drop in one invoice or up to 50 files at once. Native PDFs from Word or accounting software, scans and phone photos are all read.

3

Review the Extracted Lines

Check the header fields and each time entry against the page. Correct anything the invoice printed ambiguously, such as a classification implied by a job title.

4

Export as LEDES 1998B

Click the LEDES 1998B export to download the text file. Add the client matter ID if your client assigns one, then submit it through the e-billing portal.

PDF to LEDES Conversion in Detail

What goes into the file, what you still need to check, and how the options for producing a LEDES invoice compare.

Solo and Small Firms

You bill from Word, QuickBooks or a simple time tracker and one client now insists on LEDES through its e-billing vendor.

Legal Billing Coordinators

You submit invoices for several attorneys and need files that pass the first time, without retyping narratives into a template.

Corporate Legal Operations

Some of your outside counsel still send PDFs. Convert them so every bill lands in the same structure as the LEDES ones.

Legal Bill Reviewers and Auditors

You audit fee petitions and insurance defense bills and need every entry as a sortable row with hours, rate and code.

Short answer: a PDF to LEDES converter reads the header and every time entry and expense on a law firm invoice, then rewrites them as a LEDES 1998B file, the pipe delimited text format with 24 fields per row that e-billing portals accept. ReceiptOCR does this from PDFs, scans and photos. You review the extracted lines against the page, export the file, and add the client matter ID if your client uses one. It is available on every paid plan, starting at $49 a month.

How to convert a PDF invoice into a LEDES file

Pick the Legal Invoices (LEDES) field set, upload the PDF, review the extracted header and line items, and click the LEDES 1998B export. The download is a plain text file that starts with the line LEDES1998B[] and contains one row for every fee and expense entry. If your client assigns its own matter numbers, type that value into the last field of each row before you submit, since it does not appear on the invoice itself.

The quality of the result follows the quality of the invoice. An invoice that prints the date, timekeeper, hours, rate and amount for each entry converts cleanly. An invoice that shows only a block narrative and one total has nothing to split into rows, and no converter can invent the detail. For those, itemize the invoice first, then convert.

What is in a LEDES 1998B file?

The LEDES Oversight Committee describes 1998B as an ASCII, pipe delimited format containing 24 fields, and states that it is not intended to be modified in the future. That stability is a large part of why e-billing portals still ask firms for it. Every row repeats the invoice level fields and then describes one line item.

LEDES 1998B fieldWhere it comes from on your invoiceFilled by the converter
INVOICE_DATE, INVOICE_NUMBERInvoice headerYes, date rewritten as YYYYMMDD
CLIENT_ID, LAW_FIRM_MATTER_IDClient number and matter number as your firm prints themYes, when printed
INVOICE_TOTALInvoice totalYes
BILLING_START_DATE, BILLING_END_DATEBilling period on the invoiceYes, when printed
INVOICE_DESCRIPTIONMatter nameYes
LINE_ITEM_NUMBEROrder of entries on the invoiceYes, numbered automatically
EXP/FEE/INV_ADJ_TYPEWhether the line is a fee, an expense or an invoice level adjustmentYes, as F, E, IF or IE
LINE_ITEM_NUMBER_OF_UNITS, LINE_ITEM_UNIT_COSTHours and hourly rate, or quantity and unit costYes
LINE_ITEM_ADJUSTMENT_AMOUNT, LINE_ITEM_TOTALLine discount or write down, and the line amountYes, discounts as negative values
LINE_ITEM_DATE, LINE_ITEM_DESCRIPTIONEntry date and narrativeYes, pipes and brackets removed from narratives
LINE_ITEM_TASK_CODE, LINE_ITEM_ACTIVITY_CODE, LINE_ITEM_EXPENSE_CODEUTBMS codes printed next to the entryOnly when the invoice prints them
TIMEKEEPER_ID, TIMEKEEPER_NAME, TIMEKEEPER_CLASSIFICATIONInitials or ID, name and title of the billerYes for fee lines
LAW_FIRM_IDFirm federal tax IDYes, when printed on the invoice
CLIENT_MATTER_IDThe client own matter number, usually not on a firm invoiceNo, left empty for you to add

Two rules in the specification cause most rejections. The invoice total must equal the sum of the line item totals, and each line total must equal units times unit cost plus the adjustment. The converter writes an invoice level discount as a separate IF row so the first rule holds. The second depends on the invoice arithmetic, so if a line on your PDF does not multiply out, fix it during review.

How to create a LEDES invoice without legal billing software

Draft the invoice the way you do now, save it as a PDF, and convert it. The invoice needs four things for a clean file: a dated line for every time entry, the timekeeper on each line, hours and rate shown separately, and your firm tax ID somewhere on the page. If the client billing guidelines require UTBMS codes, print them on the invoice next to each entry. The converter carries codes across but never guesses one, because a wrong task code is worse than a missing one.

This route suits firms with a handful of LEDES clients. If most of your revenue is billed through e-billing portals, practice management software that records time against task codes from the start will serve you better. For the general case of pulling invoice line items into rows, or for the vendor bills a law office receives, see invoice extraction for legal teams.

Ways to produce a LEDES file compared

RouteStarts fromWhat it costsBest for
Practice management software with a LEDES exportTime entries recorded in that systemA per user subscription plus the migrationFirms billing most work through e-billing portals
Thomson Reuters Legal Tracker AI converterA PDF uploaded inside Legal TrackerIncluded with Legal Tracker Advanced or added to a standard subscription, bought by the clientFirms whose client runs Legal Tracker and has switched the feature on
Building the file by hand in a spreadsheetYour own typingStaff time, roughly 24 cells per entryA single short invoice, once
ReceiptOCR PDF to LEDES converterThe PDF, scan or photo of the invoice you already issue$49 a month on Starter for 2,500 pages, $149 on Plus for 10,000Firms with a few LEDES clients, and legal departments receiving PDFs

The Legal Tracker row deserves a note. Thomson Reuters documents that its converter turns PDFs and other non LEDES invoices into LEDES and that the person who submitted the invoice must review and correct it before final submission. It only helps when your client uses Legal Tracker and has enabled it for your firm. Clients on other portals still need a file from you. Plan limits and current rates for ReceiptOCR are on the pricing page.

What you still need to check before you submit

  • Client matter ID. The specification says it must be included if the client has its own matter numbering. It is the one field a firm invoice rarely prints, so add it to each row.
  • Timekeeper classification. The converter reads it as printed or as the title implies. Confirm the codes match what your client portal expects.
  • Format version. The export is LEDES 1998B. If a client asks for 1998BI, LEDES 2000 or an XML version, this file will not satisfy that request.
  • File name and extension. The download is a .txt file. Some portals want a particular naming pattern, so rename it to match their instructions.
  • Portal specific rules. E-billing vendors and clients add their own validations on top of the standard. Passing the format is necessary, and their guidelines still apply.

Can a legal department convert outside counsel PDFs to LEDES?

Yes. Legal operations teams use the same conversion in the other direction: a firm sends a PDF, and the department turns it into rows so the bill can sit beside LEDES invoices from other firms. Many teams skip the LEDES file and export straight to Excel, where a pivot by timekeeper, task code and matter answers most spend questions. The invoice PDF to Excel converter covers that workflow for any invoice type.

What the Converter Guarantees and What It Leaves to You

24
Fields per Row, in LEDES 1998B Order
50
Invoice Files per Batch Upload
$49
Starter Plan per Month, No Per Seat Fee

Security & Privacy

  • File structure follows the published LEDES 1998B layout, header line included
  • UTBMS codes are copied from the invoice and never invented
  • An invoice level discount is written as an adjustment row so totals reconcile
  • The client matter ID stays empty until you add it, because the invoice does not carry it

PDF to LEDES Converter FAQ

Upload the PDF to a converter that reads legal invoices, review the extracted header and time entries, and export a LEDES 1998B file. In ReceiptOCR you choose the Legal Invoices (LEDES) field set, upload up to 50 invoices, check each line against the page, and download a pipe delimited text file ready for the e-billing portal.

Yes. ReceiptOCR converts PDF, scanned and photographed law firm invoices into LEDES 1998B on every paid plan, from $49 a month. Thomson Reuters also offers an AI converter inside Legal Tracker, which works only when your client uses that system and has enabled it.

A LEDES invoice is a text file, not a document layout. You either export it from billing software that recorded your time entries, type it by hand following the 24 field specification, or convert an existing PDF invoice. Conversion is the quickest route when you already produce itemized invoices in Word or accounting software.

LEDES 1998B is a plain text invoice format for legal billing. The LEDES Oversight Committee describes it as ASCII, pipe delimited, with 24 fields. The file starts with the line LEDES1998B[], then a header row, then one row per fee or expense entry, each ending in square brackets.

A LEDES 1998B file is plain text, and the converter downloads it as a .txt file. Some e-billing portals publish a naming convention. Rename the file to match your client instructions before uploading.

Yes, by way of a PDF. Save or print the Word or Excel invoice as a PDF and upload that. The converter reads the printed entries, so it does not matter which program produced the invoice, only that each time entry shows a date, timekeeper, hours, rate and amount.

QuickBooks invoices save as PDF. To send one to an e-billing portal, save the QuickBooks invoice as a PDF and convert it. Make sure the invoice template shows the service date, the timekeeper, quantity as hours and the rate on every line, since those become LEDES fields.

It keeps the codes your invoice prints and places them in the task, activity and expense code fields. It does not assign codes to uncoded entries. Choosing a code is a billing judgment, and a wrong code leads to a rejected or reduced invoice.

The file follows the LEDES 1998B structure, which is what the portal checks first. Portals then apply client rules such as approved timekeepers, rate caps and required codes. Add the client matter ID, confirm classifications, and review against the billing guidelines before submitting.

No. The export is LEDES 1998B only. If your client requires 1998BI, LEDES 2000 or an XML version, check with them whether 1998B is accepted before relying on this file.

The LEDES export is included in every paid ReceiptOCR plan. Starter is $49 a month, or $288 billed yearly, for 2,500 pages a month with up to 25 pages per document. Plus is $149 a month for 10,000 pages with no page limit per document. There is no per timekeeper or per seat charge.

Stop typing receipts by hand

Upload your receipts and invoices and get a clean Excel or CSV file in minutes.

Extract my receipts now

Free to try, no sign up required