# How to stop paying the same vendor invoice twice, with AI

> A duplicate invoice gets paid when the same invoice arrives twice in slightly different forms: once from the vendor and once forwarded by a store, or with the invoice number written differently. Check every new invoice against past invoices from the same vendor on GSTIN, a cleaned-up invoice number, date and amount together, not on the invoice number alone, and hold any close match until someone confirms it.

Source: https://www.zerogrunt.ai/guides/duplicate-invoices · By ZeroGrunt team, ZeroGrunt · Updated 2026-11-02

## How duplicates get in

- **Two copies, two senders.** The vendor emails the invoice, and the store forwards the same invoice a week later.
- **The number written differently.** "INV-0041", "INV/0041" and "inv 41" are the same invoice to a person and three invoices to an ERP.
- **Two vendor records.** The same vendor set up twice, once with a typo in the name.
- **A re-sent invoice.** A reminder with the invoice attached again, sometimes with a new date.

## What to compare

| Check | Why |
|---|---|
| Vendor GSTIN, not vendor name | Catches the same vendor under two records |
| Invoice number with spaces, slashes, dashes and leading zeros removed | Catches the same number written differently |
| Invoice date within a few days | Catches re-sent invoices |
| Amount, and the amount before tax | Catches a copy with a small change |

An invoice that matches on GSTIN and amount, and closely on number or date, is held for a person to confirm. It is cheaper to ask once than to recover a payment.

## A worked example

Two invoices arrive on a Monday morning, among 312 unread mails:

| | Invoice 1 | Invoice 2 |
|---|---|---|
| From | The vendor | Forwarded by the store |
| Invoice number | SL/2627/1182 | SL-2627-1182 |
| Amount | ₹1,18,000 | ₹1,18,000 |

The ERP sees two different numbers. Cleaned up, both are SL26271182, from the same GSTIN, for the same amount. The second one is held, and ₹1,18,000 stays with you.

## How to do it with AI

1. Every invoice is read the moment it arrives, whoever sent it.
2. The AI compares it with that vendor's past invoices: cleaned-up number, date and amount.
3. A likely copy is held, with the original beside it.
4. You confirm in one look. Nothing is paid twice.

This is how Agent Zero works.

## Questions people ask next

### How does the same vendor invoice get paid twice?

A duplicate invoice gets paid when the same invoice arrives twice in slightly different forms: once from the vendor and once forwarded by a store, or with the invoice number written differently. Check every new invoice against past invoices from the same vendor on GSTIN, a cleaned-up invoice number, date and amount together, not on the invoice number alone, and hold any close match until someone confirms it.

### Doesn't the ERP already block duplicate invoices?

It blocks an exact repeat of the same vendor and invoice number. It usually misses the same invoice with the number written differently, a copy booked under a second vendor record, or an invoice re-sent with a new date.

### What if we have already paid an invoice twice?

Write to the vendor with both payment references and ask for a refund or for the amount to be adjusted against its next invoice. Book the adjustment so the vendor ledger shows the advance until it is used.

### Can the same invoice number be genuine twice?

Yes, from different vendors, or from the same vendor in different financial years. That is why the check uses the vendor's GSTIN, the date and the amount together.
