Skills

Agent Skill for Supplier Invoice Checks: Spot Overcharges Before You Pay

A small Claude skill that checks every supplier invoice against your purchase order and price list can catch overcharges, wrong quantities and duplicate bills before you pay.

Calculator on supplier invoices and financial documents while checking for overcharges
Image: Pixabay / Pixabay Content License

Key Takeaways

  • An invoice-check skill compares each bill against the PO, the agreed price list and the delivery note, line by line.
  • It is one SKILL.md file with YAML frontmatter; Claude loads the instructions only when a matching invoice task appears.
  • The skill should flag mismatches and stop, never approve a payment or change your books on its own.
  • Start with one supplier and ten test invoices, then roll it out to the rest.

Suppliers make mistakes: a unit price creeps up, a quantity is higher than what arrived, or the same bill gets sent twice. An agent skill for supplier invoice checks turns that review into a repeatable routine: give Claude the invoice, the purchase order and your price list, and it checks every line before you pay. Here is how to build one in about two hours.

What this skill does

An agent skill is a folder with a SKILL.md file inside it. The file holds instructions Claude loads when a matching task appears, so you write the checking routine once and Claude follows it the same way every time. For supplier invoices, the skill makes three comparisons: the invoice against the purchase order, the invoice against your agreed price list, and the invoice total against the sum of its own lines. Anything that does not match becomes a flagged item with the exact numbers.

It does not approve payments, update your accounting software or email the supplier on its own. The skill finds problems; a human still decides whether to pay, query or reject the invoice. Keep that rule in the instructions and you keep control of your money.

How it works under the hood

Skills use progressive disclosure, which Anthropic documents in its Agent Skills overview. Claude always loads only the skill’s name and description, about 100 tokens per skill, and reads the full SKILL.md body only when a task matches the description. Reference files and scripts load later still, only when the task needs them.

The SKILL.md file starts with YAML frontmatter containing a name and a description. The name must be under 64 characters, use only lowercase letters, numbers and hyphens, and cannot contain the words anthropic or claude. The description must say both what the skill does and when Claude should use it, in under 1,024 characters. The description is the trigger, so write it for the exact moment you want the skill to fire.

Claude Code discovers skills in ~/.claude/skills/ for personal use or .claude/skills/ inside a project. On claude.ai, custom skills can be uploaded as zip files on paid plans with code execution enabled. Anthropic also publishes open-source example skills on GitHub, a good place to see how a well-structured skill looks before you write your own.

Build the skill in six steps

  1. Gather your source documents. You need three things for every check: the supplier invoice (PDF or export), the matching purchase order, and your current price list or rate card. Put copies in one folder per supplier before you start.
  2. Write down your checks as plain rules. For each line, compare the item code, quantity and unit price against the purchase order, and the unit price against the price list. Add up the lines and compare the sum with the printed total. Check the invoice number against the ones you have already paid. These rules become the body of the skill.
  3. Create the skill folder and file. Make a folder called supplier-invoice-check with a file inside it called SKILL.md. Start the file with frontmatter: name supplier-invoice-check, and a description such as “Checks a supplier invoice against the purchase order, price list and delivery note. Use when an invoice arrives and needs verification before payment.” Then write the rules from step two as numbered instructions.
  4. Add a reference file with your price list. Put the current rates in a file like price-list.md inside the skill folder, and tell the skill to read it when checking prices. When a supplier changes a price, you update one file instead of rewriting the whole skill.
  5. Test with ten real invoices. Run the skill on ten invoices you have already checked by hand, including at least one with a known error. If the skill misses the error, add the missing rule. If it flags something correct, sharpen the wording until the false alarm stops.
  6. Roll it out to one supplier, then the rest. Start with your biggest supplier, where one caught overcharge pays for the setup time. Once the skill runs clean for two weeks, add the next supplier and repeat.

The checks worth including

Not every mismatch is an overcharge. A price above the agreed rate is the most common problem, and a quantity above what was ordered or delivered is next. A duplicate invoice number is rarer but the most expensive mistake, because it means paying twice for the same goods. Rounding differences of a few cents are normal and should be reported, not flagged as errors.

CheckWhat it comparesAction when it fails
Unit priceInvoice price vs price listFlag and show both prices
QuantityInvoice quantity vs order and delivery noteFlag and show all three numbers
Line totalQuantity x unit price vs printed line amountFlag and show the correct maths
Invoice totalSum of lines vs printed totalFlag and show the difference
DuplicateInvoice number vs paid invoicesStop and warn before any payment

Tips that keep the skill accurate

First, keep your price list current. A skill checking against last quarter’s rates will flag every correct invoice and train your team to ignore it. Second, give the skill one job per run: check first, then ask for the supplier email separately. Third, save every flagged invoice with the skill’s report attached, so you build a record of which suppliers overcharge most often. That record is useful at the next contract renewal. Our guide to Agent Skills for Finance Teams covers how invoice checks fit into a wider finance routine, and the Agent Skill for Inventory Reordering shows the same pattern applied to stock orders.

Finally, remember the limit: a skill reads documents, it cannot verify the goods actually arrived. Pair the invoice check with a quick goods-received note from whoever signed for the delivery, and the two checks together cover the most common ways a small business overpays.

Frequently asked questions

Do I need to know how to code to build this skill?

No. A basic skill is one Markdown file with a short frontmatter block and plain-language instructions. Scripts are optional, and this invoice-check skill works fine without any code.

Can the skill pay the invoice for me?

It should not. Write the skill so it only reports findings and stops. Payment approval stays with a person, which protects you if a supplier’s bank details change or an invoice turns out to be fraudulent.

What if my supplier sends scanned paper invoices?

The skill needs readable text. A clean scan usually works, but a blurry photo of a crumpled invoice will not. Ask the supplier for a PDF copy, or type the key lines into a spreadsheet first and let the skill check that instead.

How is this different from a quote comparison skill?

A quote comparison checks prices before you order, to pick the cheapest supplier. An invoice check runs after delivery, to confirm the bill matches what you agreed. Together they keep both your buying and your paying honest.

Start small, test on real invoices, and let the skill earn its place. One caught duplicate payment can cover a year of the time it took to build.

WebGool Tech Senior AI & Small Business Editor
Verified Contributor

Keep Reading

More in Skills

Explore all

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top