Business tier
API documentation
A simple REST API for CA firms, ERPs, and accounting tools. POST an invoice, receive structured JSON ready to push into Tally, Zoho Books, or your own database. First 5 extractions are free, then ₹15 per invoice. Extraction runs on InvoiceForge servers — your API key authenticates you; OpenRouter/OpenAI keys stay on our side.
Authentication
All requests require a Bearer token. Generate keys from your Developers dashboard.
POST /v1/extract
Send an invoice (PDF, JPG, PNG, WEBP). Max 10 MB. Examples for cURL, PowerShell, CMD, Node.js, and Python.
cURL
curl https://invoiceforge.site/api/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@invoice.pdf"Response (200 OK)
JSON
{
"vendor": "Sharma Electronics Pvt Ltd",
"invoice_no": "INV-2024-0892",
"gstin": "27AAPCS1234A1Z5",
"date": "2024-11-15",
"line_items": [
{ "item": "USB-C Cables", "qty": 20, "rate": 160, "amount": 3200 },
{ "item": "HDMI Adapters", "qty": 10, "rate": 250, "amount": 2500 }
],
"subtotal": 5700,
"gst": { "rate": 18, "amount": 1026 },
"total": 6726
}Billing
- First 5 API extractions per account are free.
- After that, ₹15 per invoice — deducted from prepaid credits or added to your monthly usage.
- If a previous month's balance is unpaid, API access is suspended until cleared.
99.4%
Field accuracy on GST invoices
~6s
Average latency per page
1000 rpm
Default rate limit (Business)