Documentation
API Reference
The Innovo API extracts structured data from hospital and pharmacy invoices. Upload a PDF, get verified JSON with line items, taxes, and GSTIN validation.
Quick Start
1. Create an account and get your API key
2. Upload an invoice using the /v1/extract endpoint
3. Poll /v1/jobs/:id for the result
4. Get verified JSON with line items, taxes, seller/buyer info
Authentication
All API requests require an API key sent via the `X-API-Key` header. Generate keys from your dashboard.
curl -H "X-API-Key: YOUR_KEY" https://api.innovo.taquora.com/v1/extract
Extract Invoice
/v1/extractUpload a PDF or image file to extract structured invoice data. Supports hospital bills, pharmacy invoices, and clinical billing documents.
curl -X POST https://api.innovo.taquora.com/v1/extract \
-H "X-API-Key: YOUR_KEY" \
-F "file=@invoice.pdf"
# Response
{
"job_id": "abc-123-def",
"status": "processing",
"message": "Invoice queued for extraction"
}Get Job Status
/v1/jobs/:job_idPoll this endpoint to check extraction status. Once completed, the response includes the full structured data.
curl https://api.innovo.taquora.com/v1/jobs/abc-123-def \
-H "X-API-Key: YOUR_KEY"
# Response (completed)
{
"job_id": "abc-123-def",
"status": "completed",
"result": {
"seller": { "name": "Apollo Pharmacy", "gstin": "27AAUFM7776R1ZS" },
"buyer": { "name": "City Hospital" },
"invoice_number": "INV-23841",
"invoice_date": "2025-12-15",
"line_items": [
{
"product_name": "Paracetamol 500mg",
"hsn_code": "3004",
"quantity": 100,
"rate": 2.50,
"amount": 250.00,
"gst_percent": 12
}
],
"subtotal": 42891.00,
"cgst": 2573.46,
"sgst": 2573.46,
"grand_total": 48037.92,
"math_verified": true
}
}List Jobs
/v1/jobsRetrieve a paginated list of your extraction jobs. Filter by status.
curl "https://api.innovo.taquora.com/v1/jobs?status=completed&limit=20" \ -H "X-API-Key: YOUR_KEY"
Usage & Credits
/v1/creditsCheck your current credit balance and usage statistics.
curl https://api.innovo.taquora.com/v1/credits \
-H "X-API-Key: YOUR_KEY"
# Response
{
"balance": 142,
"currency": "INR",
"total_used": 358
}API Keys
/v1/keysCreate, list, rotate, and revoke API keys programmatically.
# Create key
curl -X POST https://api.innovo.taquora.com/v1/keys \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "production"}'Rate Limits & Pricing
| Metric | Limit |
|---|---|
| Requests per minute | 60 |
| Max file size | 20 MB |
| Supported formats | PDF, PNG, JPG, TIFF |
| Price per invoice (standard) | ₹1.40 |
| Price per invoice (bulk 100+) | ₹1.00 |
Error Codes
| Code | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 402 | Insufficient credits |
| 413 | File too large (max 20MB) |
| 415 | Unsupported file format |
| 429 | Rate limit exceeded |
| 500 | Server error — retry or contact support |