# Invoice to Table Extractor with Math Check

> Get a clean, math-checked table of every item and price from your invoices and receipts.

Invoice to Table Extractor with Math Check is a free AI agent skill on Agensi by Merso Studio, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Merso Studio](https://www.agensi.io/creators/mer-so)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/invoice-to-table-extractor-with-math-check
- Tags: finance-accounting, invoicing, bookkeeping, data-extraction, receipts

## What it does

- Extracts vendor names, invoice numbers, and due dates into a summary
- Lists every line item with its quantity, unit price, and total
- Verifies that all math on the invoice adds up correctly
- Converts all dates to a standard year-month-day format
- Flags mismatches or missing information instead of guessing
- Creates a combined table when you provide multiple invoices at once

## Who it's for

- **Freelancers with monthly expenses:** Turn messy receipts and bills into a clean table for your records. Try: "Extract this invoice for my expense report."
- **Small shop owners tracking stock costs:** Pull every line item from supplier bills into a spreadsheet format. Try: "Log these receipts into a table."
- **Bookkeepers processing client bills:** Verify invoice math automatically and prepare data for import. Try: "Put these bills in a table for an accounting import."

## About this skill

If you have ever spent hours typing numbers from a PDF into a spreadsheet, this skill is for you. It reads your invoice or receipt text and turns it into a clean table. It finds the vendor, dates, and every single line item so you do not have to.

### How it works
1. You paste the text from an invoice or upload a text-based PDF.
2. Your AI agent reads the whole file to find the vendor, dates, currency, and line items.
3. It checks the math: quantity times price, line totals against the subtotal, subtotal plus tax against the total.
4. You get a clean CSV table you can paste into any spreadsheet, plus a list of any missing information.

### Why this beats prompting it yourself
Standard AI chats often round off numbers or guess missing dates, which ruins your books. This skill never guesses. It formats dates to one standard style, reports every math check as OK or MISMATCH, and marks unclear digits with a question mark instead of making a mistake. It also handles several invoices at once and gives you one combined table.

### Use cases
- Creating a monthly expense report from a pile of digital receipts.
- Checking supplier bills for math errors.
- Moving line item data from a bill into an inventory sheet.
- Preparing data for an accounting import.

### Known limitations
This skill cannot read images or scans without a text layer. It does not give tax advice or decide whether an expense is deductible.

## Technical details

The skill extracts structured data from text or text-based PDFs using a specific schema for headers and line items. It performs validation logic by stripping non-numeric symbols and comparing calculated subtotals against the printed totals. It handles credit notes as negative values and outputs a CSV-formatted block. Built for Claude and ChatGPT, it requires read/write tool permissions for file handling.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Invoice to Table Extractor with Math Check skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What kind of files or text can I use with this skill?

You can provide the text from your receipts or invoices by pasting it directly or by uploading a text based PDF. The skill cannot read images or scans that do not have a selectable text layer.

### How does the skill handle math errors on an invoice?

The skill performs a math check on every line to ensure quantities and prices multiply correctly and add up to the stated total. It will report back whether the math is correct or if there is a mismatch.

### How do I tell my AI agent to start processing my invoices?

To start, you can tell your AI agent to extract this invoice, put these bills in a table, or log these receipts. You just need to provide the invoice text or file when prompted.

### What happens if a date or a number on my invoice is unclear?

If a date is ambiguous, such as 04/05/2026, the skill will ask you for clarification instead of guessing. If any other information is missing or handwritten and unclear, it marks the cell with a question mark and lists it as not found.

### Can I process more than one invoice at a time?

It can process several invoices at once from a single message. In this case, it provides one data block for each invoice and then creates a combined CSV file with an extra column for the invoice numbers.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
