document in.
api out.
Upload a sample, name the fields you need, test on real files, publish an endpoint. patrapi reads invoices, IDs, statements and certificates so your software doesn't have to.
POST /v1/workflows/wf_sanction/extractionsDate: 12/08/2026
To, M/s Shree Ambica Textiles, Surat
We are pleased to sanction a Term Loan of ₹ 48,50,000/- for purchase of machinery.
Repayment: 84 monthly instalments after a moratorium of 6 months.
Rate of interest: RLLR + 1.50% = 9.75% p.a.
Margin: 25%. Covered under CGTMSE: Yes.
Simplified. Each field also returns its clean value, the page, the source text and where on the page it sits.
sample file to live endpoint, in one sitting.
No annotation, no training run, no onboarding call. If you can describe a field to a new intern, you can build the workflow.
drop in a sample
A scan, a phone photo, a 40-page PDF. English, Hindi, Gujarati, or all three.
name your fields
Type them in plain words, or let the assistant read the sample and propose them.
test on real files
See each value next to the text it came from. Fix what's off, run again.
publish the api
A versioned endpoint and a key. Change the workflow later without breaking callers.
not sure what to extract? ask.
It reads your sample, suggests fields with types and rules, and tests them on your files before you publish anything.
every field shows its work.
The value as printed, the clean version, the page, and the exact text it came from. When something isn't on the document, patrapi says so instead of making it up.
"loan_amount": {
"value": "₹ 48,50,000/-",
"normalized": 4850000,
"status": "present",
"page": 1,
"source_text": "sanction a Term Loan of ₹ 48,50,000/-",
"bbox": [0.12, 0.41, 0.88, 0.45]
}- present
- found, with the source text to prove it.
- not_present
- not on this document. null, never invented.
- unreadable
- it's there, but the scan won't give it up.
- conflicting
- two different values on the page. flagged for a human.
Nothing flagged goes through on its own. Results that need a look wait in a review queue for someone on your team to approve or correct, and every extraction is listed with its pages, fields and status.
works on any document.
start from a recipe.
patrapi reads whatever you point it at. A recipe is just a workflow someone already built: use it as is, or fork it, add the field you need, and publish. It's yours.
identity
05PAN card, Aadhaar card, Birth certificate, School leaving certificate, ST / SC / OBC caste certificate.
business
10Udyam Registration Certificate, GST registration certificate, PAN card of a firm or company, Registrar of Firms (ROF) certificate, Certificate of Incorporation, Memorandum and Articles of Association, Partnership deed, Gujarat Pollution Control Board consent, MANTRA certificate, Visiting card.
property
07Rent / leave and licence agreement, Property tax bill, Index copy, Sale deed, Dastavej, Approved building plan copy, Construction permission letter.
power & utilities
09Electricity bill, Proforma-15, Electricity connection quotation, Power estimate copy, Power released letter, HT checking sheet, Electrical inspector report, GEDA certificate, Tri-party agreement for solar installation.
finance
09Income tax return, Sale bill / tax invoice, Indigenous machinery purchase bill, Machinery payment receipt, Cancelled cheque, CC / OD / CA or bank account statement showing rent paid, Bank account statement, Loan account statement, Loan sanction letter.
your document
+Not on the list? Upload one and build it in less time than it takes to read this page.
two calls.
that's the integration.
Post a file to your workflow, poll for the result or wait inline. OpenAPI spec, idempotent uploads: send the same file twice, pay once.
- versioned workflows, edit without breaking production
- batches with excel export for non-developers
- your own metadata, returned on every result
curl https://api.patrapi.com/v1/workflows/wf_sanction/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F [email protected] \
-F metadata='{"application_id":"APP-2291"}'curl https://api.patrapi.com/v1/extractions/ext_8Kq2… \
-H "Authorization: Bearer $PATRAPI_KEY"
{ "status": "succeeded",
"pages": 20,
"fields": { "loan_amount": { "normalized": 4850000, … } },
"metadata": { "application_id": "APP-2291" } }1¢₹1 a page.
that's the price.
No tiers, no minimums, no sales call. Every result tells you how many pages it was.
On sign-up, no card. About ten loan files. Building is free too: the first 25 test and assistant runs on every workflow cost nothing (up to 100 a month).
start freeEvery page of a document counts. Failed documents and repeats of the same file are free.
get an api key5,000 pages every month, then 1¢₹0.50 a page. For firms that read files every day. Switch to it from billing whenever you like.
| compared on | the usual way | patrapi |
|---|---|---|
| getting started | label hundreds of samples, wait for training | one sample, a list of fields |
| adding a field | relabel, retrain | type it, test it, publish |
| when ai gets better | your model stays where it was | you get the upgrade |
| paying for it | setup fees, annual contracts, a sales call | by the page, from your first page |
gone after the job
Files are held encrypted only while they're read, then deleted. Never written to logs.
values stay out of logs
We record field names, counts and timings to run the service. Never the PAN number itself.
asked often.
does it handle hindi and gujarati?
Yes. School leaving certificates with handwritten Gujarati entries are one of our recipes. Values come back in the format you asked for.
my document isn't in the recipes.
Build it. Upload a sample, list the fields, test. Recipes are a head start, not a limit.
how is it priced?
By the page: 1¢ a page (₹1 in India), and every page counts. Failed documents and repeats of the same file are free, and every result carries its page count.
do test runs cost anything?
Not while you build. Try it and assistant runs are free for the first 25 on each workflow, up to 100 a month per account.
do i need to write code?
Not to build or test a workflow. Your software calls the API; no software? Upload a batch and download an Excel sheet.