Abstract
Imagine an AI assistant reads an invoice and pays it. The amount, the account number and the vendor name all look correct, but they came from different rows of a table, or from a footnote that cancelled the line above. The AI read every value correctly. The payment still goes to the wrong place, because the values were never tied to each other on the page. Document AI, OCR and invoice automation tools today return extracted fields with confidence scores and bounding boxes. Nothing at the point where money moves checks that the fields really belong together.
This paper, Part 22 of a 39-part technical disclosure series, describes a safeguard for that gap. Before a payment, transfer or record change is made from a document, the system keeps a tamper-evident record of the exact document version that was accepted. It also records how the page was cropped, rotated or scaled, and it binds each extracted value to the region and table row where it appeared. It then checks that related values stay together, for example that an amount, account and payee come from the same row. It also checks that footnotes, exclusions and corrections are applied, and that each value's currency, unit, sign and scale are right.
The system then rebuilds the real operation that would take effect, independent of what the AI model says. Only a correct, current and authorised operation is released. If the page changes after approval, or a relationship between values cannot be confirmed, the action is held for review. A one-use authorisation, bound to the document and the exact action, is checked at the system that actually makes the payment or change. It fails closed: if the proof is missing, the action does not happen.
What this teaches, in plain words
- An AI can read a document correctly and still act on it wrongly if it mixes up which numbers go together.
- Confidence scores say how sure the AI is about reading a field. They do not say whether the field belongs with the others.
- The safe approach is to check the document evidence at the last step before money or data changes, and not to trust the AI's summary.
- If the document changes after it was approved, the approval no longer counts.
- When it is unclear, the safe default is to stop and ask a person.
Covered in this part: invoice and accounts-payable fraud (business email compromise, altered bank details), table and line-item extraction errors, multi-page and multi-region documents, scanned and photographed documents, and agentic workflows that act on PDFs, forms and contracts. The PDF also includes an AI-generated, prospective technical alignment section covering 30 document-AI, cloud, enterprise-software and payments products. This is not an endorsement, validation or infringement statement. Readers must cross-check it against the original filings before drawing any conclusion.
Basis and disclosure details
Based on the Mothership application PCT/IB2026/055615, filed 4 June 2026 and publicly disclosed 16 July 2026, and on Indian Provisional Filing 202631136555 (applicant-reported, filed 15 November 2026), disclosed with the Mothership on 16 July 2026.
First disclosure: the Mothership at TD Commons, https://www.tdcommons.org/dpubs_series/12542/, and Zenodo, https://zenodo.org/records/23245054. A European Zenodo disclosure of 16 November 2026, "EUROPE'S NEXT AI SECURITY CHALLENGE: WHO CONTROLS THE FINAL ACTION? — From EU AI Act and NIS2 to 6G, the Digital Euro, Industrial AI and Critical Infrastructure", is at https://zenodo.org/records/24274259.
Where to read the full PCT filing: search "Sangam Das" on WIPO PATENTSCOPE, or search PCT/IB2026/055615 (pctib202655615).
Notices: the underlying invention is human-originated and based on PCT/IB2026/055615. AI-assisted tools were used to create this document (summaries and threat scenarios). It may contain errors, so cross-check it against the original, publicly available sources. Nothing here is an endorsement, validation or infringement statement about any company or product. No patent has been granted.
Contact: [email protected]. License: CC BY-NC 4.0.
Keywords
AI safety; AI agent security; agentic AI; AI governance; document AI; intelligent document processing; IDP; OCR; invoice automation; accounts payable fraud; business email compromise; payment fraud prevention; invoice fraud; table extraction; document parsing; form extraction; multimodal AI; vision-language model; LLM agents; prompt injection; tool use security; human in the loop; fail-closed; zero trust; transaction authorization; payment authorization; payment orchestration; ISO 20022; SWIFT; ERP automation; robotic process automation; RPA; know your customer; KYC; anti-money laundering; AML; fraud detection; data provenance; audit trail; tamper-evident logging; replay protection; one-time token; least privilege; policy enforcement point; financial services; EU AI Act; NIST AI RMF; ISO/IEC 42001; operational risk; cyber resilience
Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial 4.0 License
Recommended Citation
Das, Sangam Kumar, "AI Safety and Agent Security: Stopping Wrong-Row Payments and Document-Based Fraud in Invoice Automation, Document AI and OCR Pipelines by Proving That Extracted Fields Belong Together Before Money Moves – Part 22 of 39 (Embodiment 22)", Technical Disclosure Commons, ()
https://www.tdcommons.org/dpubs_series/13319