ID

    Invoice Data Extractor Validator

    by Saipavan Boddu

    1

    Turn invoice PDFs and images into structured, validated invoice records with line items, confidence notes and export-ready data.

    Free

    Security scanned

    Works with the AI Agents you already use

    ID

    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

    FieldValueStatus
    VendorTechLogistics SolutionsPassed
    GSTIN27AAAAA0000A1Z5Passed (Format Valid)
    Invoice Date2024-03-15Passed
    Subtotal1,25,000.00Passed
    Tax Amount22,500.00Passed
    Grand Total1,47,500.00Passed (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

    1. Verify the 'Managed Support' line item matches the purchase order.
    2. Confirm the 18% tax rate applied matches your current tax slab.
    3. 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

    1. Ingestion processes uploaded PDF, JPG, or PNG files using available document reading tools.
    2. Field mapping identifies key invoice metadata and line item rows based on the provided schema.
    3. Logic checks runs automated validation rules for date plausibility, tax math, and required fields.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    The skill extracts key metadata (vendor, dates, amounts) and full line-item tables from PDF, JPG, and PNG files, converting them into structured JSON or CSV formats.

    Unlike generic prompts, this skill includes built-in arithmetic verification for tax calculations and specific pattern matching for GSTINs to ensure data integrity before export.

    This skill is designed to integrate with major AI agent platforms and document processing workflows that support custom JSON schemas and standard OCR tool outputs.

    The package includes the logic for field mapping, validation rules for Indian tax standards, and the structured schema required to export clean data to your ERP or accounting software.

    While the skill confirms that GSTINs follow the correct 15-character structural format, it does not connect to government portals for real-time status verification.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free