Duplicate Invoice Detection for Legal Invoices

Your eBilling system approves an invoice that was already paid last quarter under a new number. Why duplicate legal invoices slip through, and the matching rules and AP checks that stop them.

Duplicate invoice detection for legal invoices is the set of matching rules that stops the same law firm work from being paid twice, whether it arrives under the same invoice number, a new one, or on another matter. It runs first in the eBilling system and again in accounts payable. This guide covers why duplicates happen, the rules that catch them, and how to handle the legitimate resubmissions that look like duplicates.

How do you detect duplicate legal invoices?

You detect duplicate legal invoices by comparing every incoming invoice against prior invoices on several fields at once: firm, invoice number, matter, billing period, amount, and the line items themselves. Checking the invoice number alone misses most real duplicates, because a resubmitted invoice usually carries a new number.

The data to do this is already in the invoice file. A LEDES invoice carries the invoice number and date, matter IDs, timekeeper, date of service, units, rate, and line total for every entry, so the system can match at line level. Effective duplicate invoice detection uses that detail, and it runs at two points: in eBilling before review starts, and in AP before payment is released.

Two Checkpoints That Stop Duplicate Payments

Why do duplicate legal invoices happen?

Duplicate legal invoices happen mostly through ordinary process gaps at the firm and at the client, and only rarely through deliberate double billing. The common causes are predictable, which is what makes them catchable.

  • Resubmission after rejection. The firm corrects a rejected invoice and resubmits it, but the original is later reopened or approved by mistake.
  • Split invoices. A month’s work is billed across two invoices, and some entries appear on both.
  • Firm system errors. A billing system re-exports old time entries after a rate change or a system upgrade.
  • Wrong matter, then right matter. An invoice billed to the wrong matter is resubmitted to the correct one, and both survive.
  • Two channels. The same invoice arrives through eBilling and by email or post, and AP keys in the paper copy.

What matching rules catch duplicates in eBilling?

The matching rules that catch duplicates in eBilling combine an exact match on the invoice number with fuzzier matches on amount, period, and line items. Exact rules reject outright, and fuzzy rules flag the invoice for a reviewer.

Duplicate Invoice Checks in eBilling

PatternRuleAction
Same invoice number from the same firmInvoice number is unique per firmReject on upload
New number, same total, same matterSame firm, matter, and total within 90 daysFlag for reviewer
Same work on a new invoiceSame timekeeper, date, hours, and narrative already billedReject the duplicate lines
Overlapping billing periodsPeriod overlaps a prior invoice on the matterFlag for reviewer
Same invoice on another matterSame firm, total, and line items on a different matterFlag both invoices
Repeated expenseSame expense code, date, and amount already billedReject the duplicate line

Line-level matching is the strongest duplicate invoice detection rule, because it catches duplicates however the invoice is renumbered or split. Many clients also require a unique number in their guidelines. One state attorney general’s office lists a unique invoice number as a minimum requirement and returns invoices with a duplicate number.

Each rule should send a clear message to the firm and the reviewer. The guide to invoice validation alerts covers how to route those messages, and the wider rule set is covered under LEDES invoice validation.

How should a resubmitted invoice be handled?

A resubmitted invoice should be handled as a replacement that is linked to the original, with the original closed so only one of the two can ever be paid.

  • Require a link to the original. The firm marks the new invoice as a resubmission and references the original invoice number.
  • Close the original. The rejected invoice moves to a final status that cannot be reopened, approved, or exported to AP.
  • Compare the two. The reviewer sees what changed, so only the corrected lines need a second look.
  • Allow a new number. Most clients accept a new invoice number on a resubmission, with a suffix such as “-R1” making the link easy to see.

A Safe Resubmission: Replace, Link, Close

Resubmission is legitimate, and the rules should make it easy. A firm that cannot resubmit cleanly will email a corrected PDF, and that is how two versions end up in AP.

How does AP catch duplicates the eBilling system misses?

AP catches duplicates the eBilling system misses by running its own duplicate check across every payment channel, including invoices that never passed through eBilling.

  • Cross-channel matching. AP compares the eBilling export with paper, email, and card payments to the same firm.
  • Vendor-level checks. Matches on firm, amount, and date across all legal entities, which catches an invoice paid by two entities.
  • Payment-file checks. The outbound payment file is checked against recent payments before release.
  • Vendor master hygiene. Duplicate vendor records for the same firm are merged, because two records let one invoice be paid twice.

The AP validation rules for legal invoices set out the full check list. The handoff works best when eBilling sends AP a single invoice ID that AP holds as its own reference, which is a core part of integrating ELM with finance and ERP systems.

How do you report duplicate prevention?

You report duplicate prevention by counting the duplicates caught at each stage, their value, and the duplicates that were paid and recovered.

Track four measures monthly: duplicates rejected in eBilling, duplicates flagged and confirmed by reviewers, duplicates caught by AP, and duplicates paid and recovered. A duplicate caught by AP means an eBilling rule missed it, so each one should lead to a rule change. The amounts can be large. A 2026 city audit review of two fiscal years found 50 duplicate payments totaling $5.76 million, including one wire transfer processed twice. On legal spend, the target for duplicate invoice detection is close to zero paid duplicates, and the reporting should prove it.


Conclusion

Duplicate invoice detection works when it matches on the work itself, rejects exact duplicates on upload, flags near matches for a reviewer, and hands AP a clean invoice ID for a final check. Give firms a simple way to resubmit, close the original every time, and treat each duplicate AP catches as a rule to fix. The same controls that stop duplicates also make the whole enterprise legal management record cleaner, from matter spend to the general ledger.

How Basla Solutions can help

Basla Solutions provides delivery teams for enterprise legal management and eBilling software implementation, covering business analysis, validation and duplicate-matching rule configuration, resubmission workflows, ERP and AP integration support, testing, documentation, and post-go-live support. Basla delivers legal technology services through staff augmentation or a Basla-managed delivery unit.

Basla teams have delivered matter management and eBilling across 10 or more global jurisdictions.

Frequently asked questions

Is a resubmitted invoice a duplicate?

A resubmitted invoice is a duplicate only if the original is still open or has already been paid. When the original is closed and the new invoice is linked to it, the resubmission is a legitimate replacement.

Can the same invoice number appear on two matters?

The same invoice number should not appear on two matters from the same firm, because most clients require invoice numbers to be unique per firm. If it happens, flag both invoices and confirm with the firm which matter the work belongs to.

What happens when a duplicate is paid?

When a duplicate is paid, the department asks the firm for a refund or a credit against the next invoice, and AP records the recovery. The case should also lead to a review of the rule that missed it.

Do AP systems check legal invoices for duplicates?

AP systems do check legal invoices for duplicates as a second layer of duplicate invoice detection, usually matching on vendor, invoice number, amount, and date. They act as a backstop to eBilling, which can match at the line level where AP cannot.


This article is for general information only and is not legal, business, financial or tax advice. For questions about your specific situation, please consult a qualified professional.

Hassan
Hassan

Muhammad Hassan is a software engineer and Legal Technology Developer at Basla Solutions with expertise in full-stack MERN development, DevOps engineering, workflow automation, CLM implementations, eBilling implementations, and enterprise legal management systems. He is skilled in building scalable web applications and CI/CD pipelines, with a focus on writing clean, maintainable code and delivering production-ready digital solutions. As an author, Hassan regularly shares technical knowledge and engineering perspectives with the legal technology community. His articles focus on both the business and technology aspects of legal technology. He writes on topics such as requirements gathering, applying unique solutions to legal workflows, evaluating legal tech solutions, implementing specific solutions, scalable web application design, CI/CD automation, and AI workflow development.