Verifying documents at volume: what to design for before you integrate anything
Manual document review does not fail loudly. It degrades. The first thirty applications of the month get read properly. By the two hundredth, the check has quietly become a glance at the net figure and a decision that was mostly made before the file was opened. Nobody decides to stop checking. The checking thins out under load, and no event anywhere in your system records it happening.
That is the real argument for automating a document check, and it is not the usual one. The case for software is not that it catches more forgeries than a careful human. It is that it applies the same check to the two hundredth file as to the first, and leaves a record either way.
These are notes on designing for that. They are written from our own contract, but most of them apply whatever you integrate.
Put the check at intake, not at decision
The instinct is to verify at the point of decision, next to the underwriting or approval step. That is too late, for two reasons.
- By then the applicant has moved on and asking for a replacement document costs you a re-engagement rather than a follow-up question in an open conversation.
- You lose the cheapest possible outcome: catching a file that is unreadable, encrypted, a photograph of a screen, or the wrong document entirely, before a person has spent any time on it.
Run it when the file lands. Store the result against the application. Let the decision step read a result it did not have to wait for.
What a response has to give you
Three things, and a response missing any of them will force you to build around it. Ours carries them as top-level fields: verdict, with basis, score and confidence beside it, then signals and engine:
A verdict you can branch on. A small closed set of statuses, not a number you have to invent thresholds for. Ours is authentic, suspicious, tampered, inconclusive and unsupported, with a confidence value alongside. The point of a closed set is that your routing logic is readable a year later: a score of 0.71 means nothing to the person maintaining your intake flow in eighteen months.
Signals a human can be shown. The individual findings rather than the verdict's reasoning as prose, each with an id, a severity and a piece of evidence, such as invariant_balance, module M8, medium, "Closing balance: expected 4310.50, found 6310.50". Someone reviewing a flagged application needs exactly this, and it is the difference between a tool that makes a decision and a tool that supports one. Over fifty signals can fire, and you show the ones that did.
Provenance you can store. Which engine version produced the result and which rules revision it ran under. Both matter more than they look: when a customer disputes a result from four months ago, "which version said that" is the first question, and it is unanswerable unless you stored the answer.
Design for inconclusive first
Most integrations get this part wrong, and it is worth more than everything else on this page.
Every document-forensics system returns a large share of results that are neither clean nor damning, because that is the honest answer for a large share of real documents. A statement re-rendered by a bank portal, a file re-encoded by an applicant's phone, a PDF stripped of its metadata by an email gateway: none of those are fraud, and none of them look untouched either. Ours returns inconclusive often, and any vendor whose demo does not show you that path is showing you a demo.
So the integration question is not "what do we do when it says tampered". A tampered result is easy, because a human looks at it. The question is what happens to the much larger pile in the middle. There are only three honest answers: pass it through with the finding attached, ask for a specific different artifact, or route it to a person. Pick one deliberately per flow, and make sure the one you picked is not "treat it as clean because the queue was long".
Give that pile a concrete next action: ask the issuer for the original as their system produced it (not a scan or a re-save) and check that one. The request costs the honest applicant nothing, and it is the single hardest thing for a fabricated document to survive. We added exactly that to our own report for this reason.
Never auto-reject on a single signal
A modification timestamp later than creation is the most common finding in document forensics and one of the weakest. It appears whenever anyone adds a comment, prints to PDF, or re-saves a file unchanged, which bank portals, mail gateways and phones all do routinely.
Wire a rule that refuses an application on that alone and you have built a machine that rejects honest people at scale without raising any alarm, and leaves an audit trail that makes it look deliberate. Automate the routing and leave the refusal to people. A flagged file should reach a person faster instead of skipping them.
Practical constraints worth knowing up front
- Synchronous is simpler than it sounds. In our own production data the engine's median verdict takes under half a second, with a slow tail of a few seconds, so in the normal case the API answers inside the request, with no queue and no callback endpoint. If a file takes longer than about twenty seconds you get a 202 and fetch the document when it is done. Give your client a timeout and a fallback anyway.
- Issuer-agnostic beats an institution list. There is no per-bank onboarding to wait for, and the analysis reads the file rather than a claimed layout and discards any issuer hint you send. Where we hold a reference template learned from genuine documents of its issuer, a full structural match can confirm a document as authentic, but nothing in your flow should depend on an issuer being on a list.
- Decide what you store before the first call, not after. The verdict and the signal list are small and worth keeping against the application. The document itself is a different question with a different answer in every jurisdiction; ours is deleted on a fixed schedule regardless of plan.
- Version everything you keep. Engine version and rules revision on every stored result, so a dispute months later is a lookup rather than an argument.
Where this stands today
The API is live and self-serve. Create an account, issue a key on the Developers page and send a PDF to POST https://atomara.io/api/v1/documents. The response is the object described above. A work email starts with a free API trial; for steady volume the API is built into the Professional and Custom plans. The full reference is at /docs/api, with a Postman collection to try it without writing code. If you run a platform that receives documents from your own users, the platform pages walk through the integration by use case, and /agents covers calling it from an AI agent.
If you want to see the analysis before talking to anyone: upload a file on the homepage, where the verdict appears at once and the full report is free for your first 3 checks. Or run the metadata checker, which parses the PDF in your own browser and uploads nothing at all. If you are still deciding whether this belongs in your flow, what metadata can and cannot prove is the honest version of what a check like this is worth.