Document extraction infrastructure

Turn business documents into structured JSON.

Send a PDF or image URL. Receive India-aware fields, line items and tax detail through a webhook or retrieval endpoint.

Docparser Labs single-template benchmark, Gemini Flash n = 1 document · measured 2026-07-24

Portal + API available · CLI + MCP coming next

Invoice extraction processed

Sample invoice

SEABRIDGE LOGISTICS

Navi Mumbai · Maharashtra

TAX INVOICE
Invoice no.
INV-4471
Invoice date
2026-07-25

FROM / GSTIN

27AAECS1234F1Z5

BILL TO / GSTIN

27AABCF9876D1Z2
Description SAC Amount
Warehouse handling service 996729 ₹49,500
Taxable value
₹49,500
CGST + SGST
₹8,910
Grand total
₹58,410
IRN a48f3e9b7c2d

Schema selection

TYPE 0 Invoice 6 fields in view
  1. invoice_number
  2. expense_date
  3. from_gstin
  4. taxable_amount
  5. amount
  6. irn

Structured JSON

{
  "status": "processed",
  "processed_data": {
    "summary_data": {
      "invoice_number": "INV-4471",      "expense_date": "2026-07-25",      "from_gstin": "27AAECS1234F1Z5",      "taxable_amount": 49500,      "amount": 58410,      "irn": "a48f3e9b7c2d"
    }
  }
}

Evidence beside the claim.

An early single-document benchmark keeps its source, sample, measurement date and caveats attached to every number.

98.7%

Extraction fields matching the human-reviewed golden record

Docparser Labs single-template benchmark, Gemini Flash · n = 77 fields · 2026-07-24

Excludes two response-envelope keys that the model was not asked to extract.

13.0 s

Median end-to-end extraction

Docparser Labs single-template benchmark, Gemini Flash · n = 1 document · 2026-07-24

p95 was 14.1 seconds in the same early benchmark run.

₹0.65–₹0.94

Measured model cost per document

Docparser Labs Gemini Flash token usage converted at ₹96.61/USD · n = 1 document · 2026-07-24

Our model cost, not your price. The measured range reflects token use in the same early benchmark.

A clear path from source to system.

The selected document type defines the target shape before extraction begins, so downstream code receives a predictable contract.

  1. URL → job

    Submit

    Send a PDF or image URL with your document type.

  2. typeId → schema

    Select schema

    A fixed field contract frames extraction for that document.

  3. source → JSON

    Extract

    The document is read into summary fields and line items.

  4. job → system

    Deliver

    Receive the result at your webhook or retrieve the job.

India-aware accounts payable

Tax detail belongs in the data model.

GSTIN, HSN/SAC, CGST, SGST, IGST, IRN and payment details are named fields—not notes left for another workflow to interpret.

ORIGINAL FOR RECIPIENT TAX INVOICE

INV-4471

SEABRIDGE LOGISTICS SERVICES PVT LTD

Navi Mumbai, Maharashtra 27AAECS1234F1Z5
Bill to Fictional Retail Operations Pvt Ltd 27AABCF9876D1Z2
ServiceHSN / SACTaxable
Warehouse handling service 996729 ₹49,500
CGST · 9%
₹4,455
SGST · 9%
₹4,455
Total
₹58,410
IRN a48f3e9b7c2d Horizon Bank · HRZN0000142
  1. Summary relationship GSTIN pair + IRN

    Supplier and recipient identity · E-invoice reference alongside totals

  2. Tax relationship GST split

    CGST, SGST and IGST fields

  3. Line-item relationship HSN / SAC

    Classification on every line item

  4. Payment relationship Payment details

    Bank name and IFSC in the same schema

Document types

One API. Purpose-built schemas.

Select the numeric typeId your integration expects. Each live registry type carries its own field template and extraction behavior.

Explore document schemas
  1. Invoice

    Summary, parties, taxes and reconciled line items

    typeId: 0
  2. Purchase Order

    Commercial terms, items, quantities and values

    typeId: 1
  3. GRN

    Receipt references, suppliers and received goods

    typeId: 2
  4. Debit Note

    Adjustments, references and tax amounts

    typeId: 3
  5. Credit Card Statement

    Account summary and transaction detail

    typeId: 4
  6. Credit Card Statement (multi-account)

    Multiple account sections in one statement

    typeId: 5
  7. PO number only

    Focused purchase-order reference extraction

    typeId: 9

The same document job, wherever you work.

Use the portal to inspect operations or integrate through the API today. The terminal and agent surfaces are stated as direction, not shipped contracts.

Portal

Available

Inspect jobs and manage access

API

Available

Submit and retrieve documents

CLI

Coming next

The same operations from your terminal

MCP

Coming next

Document operations for AI agents

Delivery

Submit once. Receive it your way.

POST a document job with API-key credentials and a relative webhook path. Docparser joins that path to the base URL registered for the key.

WEBHOOK Push to your system
The processed payload is sent to the callback path attached to the job.
RETRIEVE Poll by reference
Read the organization-scoped job with your own consumerRefId.

In an early single-document benchmark, median end-to-end extraction was 13.0 s.

Docparser Labs single-template benchmark, Gemini Flash · n = 1 document · measured 2026-07-24. p95 was 14.1 seconds in the same early benchmark run. Document complexity and source conditions can change that.

shell
curl --request POST \
  "$PUBLIC_API_BASE_URL/api/v1/documents" \
  --header "content-type: application/json" \
  --header "x-client-id: $DOCPARSER_CLIENT_ID" \
  --header "x-client-secret: $DOCPARSER_CLIENT_SECRET" \
  --data '{
    "documentUrl": "https://files.example.com/invoice.pdf",
    "webhookUrl": "/hooks/documents",
    "consumerRefId": "inv-4471",
    "documentId": 4471,
    "typeId": 0,
    "requireLineItems": true
  }'

Define the method before the score.

We compared extracted values with a human-reviewed golden record, field by field. The published extraction-field match covers one document and excludes two response-envelope keys the model was not asked to extract.

That is useful evidence and an intentionally narrow sample. The accuracy page keeps the caveats, latency distribution and cost arithmetic visible.

Read the measurement method

Verified controls

Boundaries you can inspect.

This summary stays with controls visible in the current source. It does not substitute assumptions for operational facts.

Review the security model
  • 01Bcrypt-hashed API secrets

    Secrets are compared against stored hashes, and revoked keys are excluded.

  • 02Organization-scoped retrieval

    Document lookups filter by both tenant and consumer reference.

  • 03API-key IP allowlisting

    Configured keys can reject requests outside their allowed addresses.

  • 04AES-256-GCM provider vault

    Provider credentials are encrypted with per-record authenticated material.

Before your first document.

What can I submit?

Single PDF or image URLs, multiple document URLs, or attachment URLs in the email-shaped request mode.

How does schema selection work?

For selectable documents, pass a live numeric typeId. That type resolves to a fixed field template before extraction.

How do results arrive?

Use a relative webhook path for pushed delivery, or retrieve the organization-scoped job by consumerRefId.

How long does extraction take?

In an early single-document benchmark, median end-to-end extraction was 13.0 s.

Docparser Labs single-template benchmark, Gemini Flash · n = 1 document · measured 2026-07-24. p95 was 14.1 seconds in the same early benchmark run. Document complexity and source conditions can change that.

Are CLI and MCP available?

No. Portal and API are available; CLI and MCP are Coming next.

Put structured document data into the next step.

Inspect a job in the portal, then use the same document model from your integration.