Catching Bank Detail Changes on Invoices: Two Steps with AIxVIM
A note about changed bank details is invisible to classic OCR. With AI-based extraction it becomes a field, and VIM turns it into a business rule.

Somewhere on the invoice, usually in small print under the line items or in the footer, the supplier writes that the bank account has changed. A clerk reads it in two seconds. Your extraction engine reads nothing at all.
Why does classic OCR miss this?
Because it was never looking for it.
Template-based extraction works on anchors and zones. It finds what it was told to find: invoice number, invoice date, net amount, tax, PO number, IBAN. Every one of those has a predictable position and a predictable shape.
A bank change note has neither. It can appear as:
- “Bitte beachten Sie unsere neue Bankverbindung”
- “Please note our updated account details”
- “Zahlungen ab sofort ausschliesslich auf folgendes Konto”
- a stamp across the footer
- a handwritten line next to the signature
Same meaning, five different documents. You can fight this with keyword lists and regular expressions, and plenty of teams do. You will then maintain that dictionary forever, in every language your suppliers invoice in, and it will still miss the phrasing nobody anticipated.
Does comparing the bank data against the vendor master solve it?
Partly, later than you want, and not everywhere.
A mismatch tells you that the account on the document differs from the account in the vendor master. That is useful. But it only fires after extraction and vendor identification have both succeeded, and it tells you nothing about intent. It does not record that the supplier actively announced the change on the document, which is precisely the detail your fraud process and your auditor care about.
So what does AIxVIM do differently?
It extracts against a schema, not against a template.
That changes the nature of the work. Adding a new piece of information is not a development task and not a training exercise. It is two edits.
Step 1, extend the schema:
BankAccountChanged type: string
Step 2, extend the prompt:
- BankAccountChanged: Check if there is any note or text on the
invoice related to a bank account change. If yes, set it to "X",
otherwise leave it empty.
That is the configuration. No template per vendor, no labelled training set, no keyword maintenance.
Why does a single sentence of prompt cover so many phrasings?
Because the instruction describes intent rather than wording.
The model reads the document the way a clerk does. It is not matching a string, it is answering a question about the page. German, English, stamped, handwritten, buried in a payment terms paragraph - all the same question, all the same answer. When a supplier invents a new way to phrase it next quarter, nothing needs to be touched.
What does this look like on a real document?
Here is the note, where it actually sits on the invoice: bottom left, inside the Notes block, two lines below the standard conditions of sale sentence.

Nothing marks it out. It is in the same font and the same box as boilerplate that appears on every invoice this supplier sends. A zone-based engine configured for this layout would read the Notes block as one undifferentiated string, or skip it entirely, because nothing of value was ever expected there.
And what comes back from extraction?
The flag, sitting in the result set next to everything else:

BankAccountChanged with value X.
How does the flag reach VIM?
The same way every other extracted value does. It arrives in the result set, and from there it follows standard VIM extensibility:
- Persist it. Add a custom field to the DP document header so it lands on
/OPT/VIM_1HEAD. Use the customer include or an append structure, following the extensibility concept of your release, and stay in the customer namespace. - Map it. Fill the field during DP document creation, in the same place your other custom mappings are maintained.
- Evaluate it. Reference the field in a VIM business rule. The rule is true when the flag carries “X”. You can also add custom logic like when flag is X check if compare master data bank account with extracted bank details then raise business rule.
What actually changes in the process?
The timing.
The information is structured data at the moment the DP document is created. That is early. Early enough to stop the document before it reaches the baseline, and a long way before payment. The clerk does not hunt for the sentence, because the document arrives flagged and the exception names the reason.
It also makes the control auditable. If your organization requires a call-back to the supplier on a previously known phone number before any bank data is touched, the exception is where that control lives. The VIM workflow log then shows that it was executed, by whom, and when. Not a note in an inbox somewhere.
What else can you flag the same way?
Anything the clerk can see and the template cannot.
Once the pattern is in place, the next detection is the same two steps:
- Early payment discount wording that only appears in free text
- Retention or warranty clauses
- A note that the invoice offsets an earlier credit memo
- Delivery or incoterm conditions mentioned outside the structured block
- Any supplier remark your AP policy says must be reviewed
Schema field, prompt line, business rule. Then VIM does what VIM has always done well.
The real point
The workflow was never the hard part. VIM has had exceptions, roles and business rules for years, and they work.
The hard part was getting unstructured, unpredictable free text off the page and into a field at all. That is what AI-based extraction changes, and it changes it with configuration instead of development.