DeepLedger
Menu

Troubleshooting

Find Duplicate Bills in BILL with an AI Agent (Read-Only Check)

Let an AI agent list possible duplicate bills in BILL with the evidence for each, read only. A person deletes, approves or pays in BILL.

Published by DeepLedger10 min read

To find duplicate bills in BILL with an AI agent, ask Claude or ChatGPT, connected through DeepLedger, to read one vendor's bills or one date range, group them by vendor and invoice number, and show the amount, dates, approval status and payment status of each. The result is a list of candidates for a person to review. DeepLedger never deletes, approves or pays anything in BILL, so the correction itself happens in BILL.

This guide is for AP clerks, bookkeepers and controllers who run payables in BILL. It covers what the AI reads, how to separate a real duplicate from a lookalike, and who removes the extra copy. If the same bills also sync to QuickBooks Online or Xero, the last section covers the ledger side.

How do I check BILL for duplicate bills with an AI agent? 5 steps

You need the company in DeepLedger with BILL connected on its Connections tab, using your own BILL credentials (an AP/AR sync token), and DeepLedger added to your AI app. The Claude and ChatGPT guides cover that setup.

  1. Confirm the company. Ask which company is active and switch if needed. Every BILL read follows the active company.
  2. Pick a bounded scope. One vendor, or bills created in one period. BILL returns lists in pages of up to 100 records, so a narrow request finishes faster and is easier to check.
  3. Include archived bills. Archived records are left out unless you ask for them. A duplicate that someone already archived still matters if it was paid.
  4. Ask for the grouping. Same vendor and same invoice number first, then same vendor and same amount within a short date window.
  5. Ask what is still unchecked. If the AI could not read a page or a field, the answer should say so. "No duplicates found" is only true for the records it actually read.

A matching invoice number is a candidate, not proof. Check each one against the source document before anyone changes anything.

What counts as a duplicate bill in BILL?

Duplicates in AP come in a few shapes, and each one needs a different first check.

What appears twiceFirst checkWhy it matters
Same vendor, same invoice numberThe source invoice and both bills' linesThe most likely true duplicate
Same vendor, same amount, different numberDates, line descriptions and the service periodRecurring charges often look like this and are correct
One bill in BILL, the same bill typed into the ledgerWhether the sync already created it in QuickBooks or XeroThe duplicate is in the books, not in BILL
Two vendor records for one supplierVendor names, addresses and the bills under eachDuplicate vendors hide duplicate bills from a same-vendor check

The last row is easy to miss. If a supplier exists twice in BILL, ask the AI to list vendors with the same or nearly the same name first, then run the bill check across both records.

What does the AI read in BILL for a duplicate check?

DeepLedger's BILL tools give the AI the fields a reviewer needs. All of the reads below are read only.

FieldWhere it comes fromWhat it tells you
VendorBills and the vendor listWho the bill is from, by BILL's own vendor record
Invoice number and invoice dateThe billThe vendor's own identifier for the charge
Due date and created dateThe billWhether two copies were entered at different times
Amount and line descriptionsThe billWhat was billed and for which period
Approval statusThe billUnassigned, assigned, approving, approved or denied
Payment statusThe billUnpaid, partly paid, scheduled or paid
Payments madeBILL's payment recordsWhich bill a payment went to, and when
AP agingOpen bills as of todayThe open balance per vendor, by days past due

The AI cannot see bank or card details or tax IDs. DeepLedger removes those from what BILL returns. For the full list of reads and writes, see what the AI can and cannot do in BILL.

How do I tell a real duplicate from a lookalike?

These examples are fictional:

CandidateFindingReview decision
Two $1,250 bills from Harbor Freight Lines, both invoice HF-2210Same invoice, same lines, one approved and one unassignedLikely duplicate; check payments before anyone removes either
Two $400 bills from Northside Cleaning, a month apartDifferent invoice numbers and service monthsLegitimate recurring charges
A $980 bill and a $980 vendor credit from Delta PrintA credit issued for a returned orderNot a second purchase; check whether the credit was applied
Two bills for invoice 5531 under "Acme Supply" and "Acme Supply Co"Duplicate vendor recordsLikely duplicate bill and duplicate vendor; review both

Payment status decides how urgent a candidate is:

  • Both unpaid and unapproved: the cheapest case. A person removes the extra copy in BILL.
  • One approved or scheduled: the extra copy is close to being paid. Tell the person who runs payments in BILL today.
  • Both paid: the vendor may have been paid twice. That becomes a conversation with the vendor and a correction in BILL by a person.

Keep a row for each candidate with the evidence, the reviewer and the decision. That list is useful even when the answer is "no change."

Which prompts work for a read-only duplicate check?

Start with one vendor you already suspect:

Confirm the company. In BILL, list every bill from Harbor Freight Lines created since July 1, 2026, archived bills included. Group them by invoice number. For each group with more than one bill, show the amount, invoice date, due date, approval status, payment status and line descriptions. Do not create, update or archive anything.

Then widen to a period:

In BILL, read bills created in October and November 2026, archived included. List pairs with the same vendor and the same invoice number, then pairs with the same vendor and the same amount within 10 days. Explain which fields match and which differ. If you could not read every page, say which dates remain unchecked. Change nothing.

Check payments on the strongest candidates:

For the bills in group HF-2210, list any payments made against them in BILL, with dates and amounts. Change nothing.

Look for duplicate vendors:

List BILL vendors whose names are the same or nearly the same. For each pair, show how many bills sit under each. Archive nothing.

Ask the AI to turn each open candidate into a task in the company's Tasks, with the bill IDs and the question for the reviewer. When a lookalike is confirmed as correct, save the reason in the company's AI Brain, for example "Northside Cleaning bills $400 on the 1st of each month; these are not duplicates." The next check can skip it when you ask the AI to read the AI Brain first.

Who removes a duplicate bill, and where?

DeepLedger reads, drafts and edits in BILL. It has no route to delete, approve or pay anything, or to archive a bill or invoice. The only archive it can do is a vendor or customer record, after you confirm.

CorrectionThrough DeepLedgerIn BILL yourself
Delete or archive the extra billNoYes, by a person with the right BILL role
Approve or deny a billNoYes, by the assigned approvers
Stop or change a scheduled paymentNoYes, by whoever runs payments
Fix a mistyped invoice number, date or descriptionYes, on an unpaid bill with no approval workflow, after you confirmYes
Archive a duplicate vendor recordYes, after you confirmYes

An edit through DeepLedger changes only a bill's dates, numbers and descriptions, never its amounts or accounts. Ask for a dry run first: it shows the exact request without calling BILL. A bill already in an approval workflow, or with a payment on it, is a person's job in BILL.

Does DeepLedger stop new duplicate bills?

Yes, for bills the AI saves through DeepLedger. Before a bill is saved, DeepLedger checks BILL:

  • Same vendor and invoice number: refused as a duplicate, whatever the amount, archived bills included.
  • A vendor BILL may pay automatically (AutoPay), or one where BILL cannot say: refused. A person enters that bill in BILL.
  • Checked last: the vendor and the bill are read again right before the write. If anything moved, nothing is written.
  • Sent once: a write is never retried blindly. If BILL may have saved it without confirming, the AI is told to check BILL first, and the same kind of write is held for five minutes.

The duplicate check reads up to 2,000 bills. Beyond that, DeepLedger refuses the write rather than risk a second bill. These checks reduce new duplicates. They do not clean up bills entered in BILL by a person, an email inbox or another integration, which is what the review above is for.

How do duplicates in BILL show up in QuickBooks or Xero?

If BILL syncs to the company's books, a duplicate can sit on either side. A bill entered twice in BILL can sync twice. A bill entered once in BILL and typed again in the ledger shows up only in the books.

The same DeepLedger connector reads the company's ledger, so one conversation can compare both sides:

In this company, compare unpaid BILL bills with open bills in the books for the same vendors. List bills that appear twice on either side, or on only one side. Change nothing.

The full tie-out is in reconciling BILL with QuickBooks or Xero. For duplicates that exist only in QuickBooks Online, use find duplicate bills and invoices in QuickBooks Online, which covers QuickBooks' own reports and corrections.

Frequently asked questions

How do I find duplicate bills in BILL with an AI agent?

Connect BILL to the company in DeepLedger, add https://mcp.deepledger.ai/mcp to Claude or ChatGPT, then ask for bills from one vendor or one date range, including archived bills. Ask the AI to group them by vendor and invoice number and to show each bill's amount, dates, approval status and payment status. Treat the result as a candidate list for a person to review.

Can the AI delete a duplicate bill in BILL?

No. DeepLedger never deletes, approves or pays anything in BILL, and never archives a bill or invoice. The AI can show you which bill looks like the extra copy and why, and a person removes it in BILL.

Does DeepLedger stop duplicate bills from being saved in BILL?

Yes, for bills the AI saves through DeepLedger. A second bill with the same vendor and invoice number is refused whatever its amount, archived bills included. The check does not clean up duplicates that were entered in BILL another way.

Are two BILL bills with the same amount duplicates?

Not necessarily. Monthly services, installments and separate orders can carry the same amount from the same vendor. Compare the invoice number, the invoice date, the line descriptions and the source document before calling either bill a duplicate.

What if both copies of a duplicate bill were paid?

Then the vendor may have been paid twice, and that is a matter for a person and the vendor. The AI can list the payments made against each bill so you have the dates and amounts, but DeepLedger never records, cancels or changes payments in BILL.

Does the duplicate check change anything in BILL?

No. The check uses read tools only: bills, vendors, payments made and AP aging. DeepLedger can edit a bill's dates, numbers and descriptions, but only when you ask for that edit, and only on an unpaid bill with no approval workflow.

Connect your AI app on AI Platforms & Integrations, then run the one-vendor prompt above on your largest supplier.

Ready to get started?

Connect BILL and try your first task with an AI agent.

Start free trial

With your permission, Google Analytics measures visits to our public website and blog. Essential cookies work either way. Change your choice in Cookie settings. Privacy policy