GST Invoice Parser: PDF & Scan to Excel/JSON (GSTIN, HSN)
Pricing
from $20.00 / 1,000 invoices parsed
GST Invoice Parser: PDF & Scan to Excel/JSON (GSTIN, HSN)
Extract GSTINs, HSN codes and CGST/SGST/IGST from Indian GST invoice PDFs and scans into Excel, CSV or JSON. Checks that totals add up. $0.02 per invoice.
Pricing
from $20.00 / 1,000 invoices parsed
Rating
0.0
(0)
Developer
Rowforge Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Built for accountants, CA firms, and developers who need to turn Indian GST invoice PDFs and scans into structured Excel, CSV, or JSON data.
What you get
- Seller and buyer GSTINs checked with the official checksum.
- Taxable value, CGST, SGST, IGST, Cess, and totals, with a check that they add up.
- HSN/SAC codes and line items extracted from the invoice.
Download the results as Excel (XLSX), CSV, or JSON.
Who it is for
- Accountants and CA firms processing client GST invoices.
- Bookkeepers and accounts teams who key purchase invoices in by hand for entry into Tally, Excel, or other software.
- Developers building Indian accounting or expense apps.
Price
Price: $0.02 per invoice parsed (plus $0.001 per run start). Error rows are free.
| Volume | Estimated cost |
|---|---|
| 1 invoice | $0.02 |
| 100 invoices in one run | about $2.00 |
| 1,000 invoices in 10 runs | about $20.01 |
Apify's free plan includes $5 of monthly usage, enough for about 250 invoices.
How to use it
To try it first, run it with the pre-filled sample invoice (a fictitious invoice marked SAMPLE).
- Put each invoice at a public direct-download link (a link that returns the file itself, not a web page).
- Paste the links into
urls(up to 100 per run). - Start the run.
- Open the run's dataset and export it as Excel, CSV, or JSON.
Use it from your own tools
Pull results directly from the Apify API, or connect this Actor to Google Sheets, Make, Zapier, or n8n using Apify's integrations.
What It Does
- Comprehensive GST Extraction: Captures invoice numbers, dates (standardized to ISO YYYY-MM-DD), seller/buyer names, addresses, and GSTINs.
- GSTIN Validation: Validates 15-character GSTINs using the official Indian GST base-36 checksum algorithm and resolves state names and 2-digit state codes.
- Tax Breakdown: Parses taxable value, CGST, SGST, IGST, Cess, total tax, and grand totals, supporting Indian number formats (e.g.
1,23,456.78). - Automated Consistency Checks:
taxAddsUp: Verifies that taxable value + total tax equals grand total (within 1 rupee).interStateConsistent: Verifies that IGST is applied for inter-state transactions and CGST + SGST for intra-state transactions.
- HSN / SAC Codes & Line Items: Best-effort detection of HSN/SAC codes and item tables.
- Deterministic & Offline: Pure rules over OCR/text layers. No LLMs, no external network calls, no hallucinated numbers. Missing fields are
null.
Input
| Field | Type | Default | Description |
|---|---|---|---|
urls | Array of strings | (Required) | Direct URLs to invoice files (PDF, PNG, JPG, WEBP, TIFF). Up to 100 files per run. |
maxPagesPerFile | Integer | 5 | Maximum pages to parse per invoice file (clamped between 1 and 20). |
includeText | Boolean | false | When true, includes the extracted text of the document as Markdown. |
Example Input
{"urls": ["https://pricewire.dev/tools/samples/gst-invoice-sample.pdf"],"maxPagesPerFile": 5,"includeText": false}
Output Sample
Each invoice generates one row in the dataset:
{"url": "https://example.com/invoices/tax-invoice-101.pdf","status": "ok","error": null,"pages": 1,"invoice": {"invoiceNumber": "INV-2026-0042","invoiceDate": "2026-03-15","seller": {"name": "Bharat Electronics Solutions Pvt Ltd","gstin": "27AAACB1234F1Z5","gstinValid": true,"stateCode": "27","state": "Maharashtra","address": "42 MG Road, Nariman Point, Mumbai 400021"},"buyer": {"name": "Deccan Tech Services LLP","gstin": "29AABBD5678G1Z8","gstinValid": true,"stateCode": "29","state": "Karnataka","address": "100 Feet Road, Indiranagar, Bengaluru 560038"},"placeOfSupply": "29-Karnataka","currency": "INR","taxableValue": 100000.0,"cgst": null,"sgst": null,"igst": 18000.0,"cess": null,"totalTax": 18000.0,"grandTotal": 118000.0,"rates": {"igst": 18.0},"hsnCodes": ["8471"],"lineItems": [{"description": "Enterprise Cloud Server Unit","hsn": "8471","quantity": 1.0,"rate": 100000.0,"amount": 100000.0}],"checks": {"taxAddsUp": true,"interStateConsistent": true},"confidence": {"invoiceNumber": "high","invoiceDate": "high","sellerGstin": "high","buyerGstin": "high","taxableValue": "high","totalTax": "high","grandTotal": "high"},"warnings": []}}
Limits
- Maximum URLs per run: 100.
- Maximum pages per file: 20 (default 5).
- Maximum file size: 25 MB per file.
- Supported formats: PDF, PNG, JPG, WEBP, TIFF.
- URL input only: Files are read from links; there is no upload box in the input form.
What It Does Not Do
- No e-invoice IRN or QR verification: Does not decode or verify cryptographic QR signatures or e-invoice IRNs against the National Informatics Centre (NIC).
- No GST Portal lookups: Does not make live network API calls to the GSTN portal to check taxpayer registration or return filing status.
- No guessing: Fields that are missing or obscured in the invoice are reported as
null, never guessed. - No handwriting: Handwritten or very poor scans give null fields, not guesses.