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
POST

Extract Invoice

/v1/extract

Upload 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

Get Job Status

/v1/jobs/:job_id

Poll 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
  }
}
GET

List Jobs

/v1/jobs

Retrieve 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"
GET

Usage & Credits

/v1/credits

Check 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
}
POST

API Keys

/v1/keys

Create, 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

MetricLimit
Requests per minute60
Max file size20 MB
Supported formatsPDF, PNG, JPG, TIFF
Price per invoice (standard)₹1.40
Price per invoice (bulk 100+)₹1.00

Error Codes

CodeMeaning
401Invalid or missing API key
402Insufficient credits
413File too large (max 20MB)
415Unsupported file format
429Rate limit exceeded
500Server error — retry or contact support