13 document functions

Turn any document into
structured data

One uniform API. Upload a file, pick a function, get back typed JSON. Extraction is shared; interpretation is per-function.

How it works

Extraction is shared. Interpretation is per-function.

Every upload is ingested once — magic-byte sniffed, sha256-keyed, and cached. The same document hitting two functions pays for OCR once. A per-function LLM step runs on top of the canonical representation.

  • 1Ingest → sniff + sha256 + validate
  • 2Extract → provider → RecognizedDocument
  • 3Interpret → fn.execute → structured output
  • 4Validate → Zod + business rules → typed result
POST /v1/ocr/RECEIPT_PARSING
Authorization: Bearer hok_live_<key>
Content-Type: multipart/form-data

{
  "requestId": "req_01J...",
  "function": "RECEIPT_PARSING",
  "result": {
    "merchant": { "name": "Shoprite" },
    "currency": "NGN",
    "lineItems": [...],
    "subtotal": 4275.00,
    "tax": 475.00,
    "total": 4750.00,
    "confidence": "high"
  }
}

Features

Built for production

One API, 13 functions

Receipt parsing, ID verification, bank statements, and more — all behind a single endpoint.

Deterministic validation

MRZ checksums, receipt totals, and tamper signals are recomputed in code. The LLM extracts; verdicts are never trusted to the model.

Any input format

PDF, image, DOCX, or plain text — normalized into one canonical representation before interpretation.

Functions

13 ready-to-use parsers

Discoverable at runtime via GET /v1/ocr/functions

Text Extraction

Canonical markdown from any file type

Receipt Parsing

Merchant, line items, totals, tax

ID Verification

ID fields + MRZ, verified deterministically

Bank Statement Analysis

Transactions, balances, inflow/outflow

Document Classification

Label any document into a type

Form Data Extraction

Caller-defined fields, dynamic schema

Pricing

Simple, transparent pricing

Start free. Scale as you grow. All prices in NGN.

Pricing is on its way

We couldn’t load the current plans just now. Start a free trial and the options are shown as you sign up, or ask us and we’ll send them over.

Start free trial

Need a custom volume deal? Contact us

Ready to get started?

Sign up, provision an API key, and make your first call in minutes.