You ask in plain words
With whatever notes or documents you already have.
Have any of these supplier invoices been entered twice before we pay them?
Check these records for possible duplicate bills.
Your notes
All GBP. id | supplier | type | ref | total A1 Vale invoice 0012 80 A2 Vale invoice 0012 80 B1 Moss invoice 0012 80 C1 Vale credit 0012 -80 A3 Vale invoice 12 80
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
Check A1 and A2 against Vale’s original invoice 0012 and the posting/payment history before correcting either entry. Both are £80. B1 is from Moss, C1 is a credit, and A3 has reference 12 rather than 0012.
- Two suppliers can issue the same invoice number.
- A genuine credit or instalment might have the same absolute amount, so grouping on price is unreliable.
- Stripping leading zeros or prefixes merges different documents: 0012 and 12 are not the same reference without the supplier's confirmation.
- Treating two amounts under one reference as two valid invoices. A reissued invoice with a corrected price is a conflict, and the supplier must confirm which version stands.
- Grouping across companies in a group export makes separate obligations of different legal buyers look like duplicates.
Why that’s right. The supplier, document type and exact reference protect three unrelated records.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- Before a payment run, someone wants to check the payables list for invoices entered twice.
- A supplier says it was paid twice, or an invoice number appears more than once in the ledger.
- A group with several companies exports one payables list and needs repeats checked within each company.
Not the right skill when
- Reconciling one supplier's statement with the ledger. Use the supplier statement reconciliation skill.
- A request to change a supplier's bank details, or an invoice that looks fake. Follow the business's fraud checks and confirm with the supplier using contact details you already hold, not those on the invoice.
- Deleting, reversing or cancelling records. The report flags candidates; a person with payables authority decides and corrects.
The method it follows
6 steps, in order, every time.
- Keep distinct purchasing legal entities in separate scopes. A branch, delivery site or cost centre alone does not establish a different legal buyer. If a multi-entity export omits the buyer, flag the uncertain groups for review.
- Within each scope, group by supplier ID, document type, currency and the supplier's reference exactly as recorded. Trim outer whitespace only. Keep leading zeros, prefixes and letters unless the supplier has a documented rule, because the number identifies a document within that supplier's own series.
- Within each repeated key compare signed gross totals. If every amount agrees, flag the group as a duplicate candidate. If any amount differs, classify the whole group as conflicting versions.
- Flag records with no supplier reference separately, even when the amount and date match another invoice. Do not fill a missing reference from the amount or strip prefixes by guesswork.
- Note near-matches outside the groups for checking, not as candidates: the same supplier, amount and date with a reference that differs only in format, or two supplier IDs sharing a VAT number or bank account.
- For each candidate keep every internal record ID and check the originals, purchase order, goods receipt, posting, cancellation and payment history. Recommend holding the unpaid copy, or asking the supplier for a credit or refund if both were paid. Make no deletions or payment decisions.
What to have ready
If something’s missing, your agent asks before it starts.
- Accounts payable export with record ID, buying entity, supplier ID, document type, invoice reference, signed total and currency
- Supplier-specific reference normalisation rules if available

Does the export cover more than one company, and is the buying company on each row? Duplicates only mean something within one buyer.

Which column holds the supplier's own invoice number, as opposed to your internal record ID?

Have any of these records been paid, cancelled or reversed? That decides whether to hold a payment or ask for a refund.

Does any supplier have an agreed reference format, such as prefixes or leading zeros, that you treat as the same number?
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionWhat needs manual review before we pay? Return only JSON following the skill’s test format. EUR. M3 Kern invoice X9 92; M2 Kern invoice X9 90; M8 Kern invoice [blank] 90; M9 Kern invoice X8 90.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
Different totals sharing one key suggest a disputed version. The blank reference remains its own exception.
{
"candidates": [],
"conflicts": [
[
"M2",
"M3"
]
],
"missing_reference": [
"M8"
]
}
The check runs in your browser. Nothing you paste is sent anywhere.
-
Copy the questionFind the repeat payable in this group export. Return only JSON following the skill’s test format. All supplier Alpine, GBP 80 invoices, reference 112, same date. A1 and A2 buyer East Ltd, same original supplier PDF and receipt. B1 buyer West Ltd, invoice addressed to West Ltd, separate original and separate goods receipt.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
The buyer is part of the scope. B1 documents a distinct obligation of another legal entity.
{
"candidates": [
[
"A1",
"A2"
]
],
"conflicts": [],
"missing_reference": []
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.