Invoice Data Extractor Validator
Turn invoice PDFs and images into structured, validated invoice records with line items, confidence notes and export-ready data.
Free
Invoice Data Extractor Validator
Example session with this skill installed
Extract the data from the attached invoice PDF and check the GSTIN and totals. Provide a JSON export.
- Read your context and instructions
- Compiled the invoice data extractor
I have processed the invoice file and extracted the following data. The arithmetic and GSTIN format have been validated against the standard schema.
Invoice Processing Result: INV-2024-001
| Field | Value | Status |
|---|---|---|
| Vendor | TechLogistics Solutions | Passed |
| GSTIN | 27AAAAA0000A1Z5 | Passed (Format Valid) |
| Invoice Date | 2024-03-15 | Passed |
| Subtotal | 1,25,000.00 | Passed |
| Tax Amount | 22,500.00 | Passed |
| Grand Total | 1,47,500.00 | Passed (Math Matches) |
Line Items
- Cloud Infrastructure Services | Qty: 1 | Price: 1,00,000.00 | Total: 1,00,000.00
- Managed Support - Gold | Qty: 1 | Price: 25,000.00 | Total: 25,000.00
Data Export (JSON)
{
"vendor_name": "TechLogistics Solutions",
"vendor_gstin": "27AAAAA0000A1Z5",
"invoice_number": "INV-2024-001",
"invoice_date": "2024-03-15",
"subtotal": 125000.00,
"tax_amount": 22500.00,
"grand_total": 147500.00,
"currency": "INR",
"line_items": [
{
"description": "Cloud Infrastructure Services",
"quantity": 1,
"unit_price": 100000.00,
"line_total": 100000.00
},
{
"description": "Managed Support - Gold",
"quantity": 1,
"unit_price": 25000.00,
"line_total": 25000.00
}
],
"validation_status": "passed"
}
Next steps
- Verify the 'Managed Support' line item matches the purchase order.
- Confirm the 18% tax rate applied matches your current tax slab.
- Download the JSON for import into your accounting software.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual entry of invoice data is prone to error and consumes engineering hours better spent on core logic. This skill automates the extraction and validation of structured data from invoice PDFs and images, ensuring arithmetic and format consistency.
What it does
- Structured extraction pulls vendor details, GSTIN, dates, and amounts into a normalized schema.
- Line item parsing captures descriptions, quantities, and unit prices from complex table layouts.
- GSTIN validation checks the 15-character format pattern for Indian tax identifiers.
- Arithmetic verification flags discrepancies between subtotals, taxes, and grand totals within a 0.05 tolerance.
- Duplicate detection identifies potential double-billing by comparing vendor and invoice identifiers across batches.
- Multi-format export generates JSON, CSV, or formatted text ready for accounting or ERP integration.
How it works
- Ingestion processes uploaded PDF, JPG, or PNG files using available document reading tools.
- Field mapping identifies key invoice metadata and line item rows based on the provided schema.
- Logic checks runs automated validation rules for date plausibility, tax math, and required fields.
- Export produces structured data files or text blocks for downstream systems.
Frameworks & tools
The skill is designed to integrate with document processing workflows and follows a specific JSON schema for output. It handles Indian currency formatting and ISO date standards.
Why this beats prompting it yourself
Generic prompts often hallucinate table data or miss subtle math errors in tax calculations. This skill implements specific validation logic, GSTIN pattern matching, and a strict "no-guess" policy for ambiguous dates.
Use cases
- Automate accounts payable workflows by converting scans into JSON records.
- Audit tax compliance by validating GSTIN formats and line item tax math.
- Prevent overpayment by flagging duplicate invoice numbers in a batch.
- Batch process monthly vendor statements for import into a database.
Known limitations
Does not verify GSTINs against government databases or provide legal/tax advice. Accuracy depends on the legibility of the provided scan or PDF.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.