How to use AI to flag a new bank account on a supplier invoice before you pay

Illustrated infographic summarizing: How to use AI to flag a new bank account on a supplier invoice before you pay

By Greg Nowak. Last updated 2026-12-03.

If the account number on an invoice differs from the one you have approved for that supplier, take the payment out of the payment run. Call the supplier on a number you already know and ask them to confirm the account details. A script can spot the difference for you by comparing the full account number on the invoice with the one your accounts payable team has on file. On a structured e-invoice, the script can read the account number directly from the payment field. On a PDF, AI can help read it.

What has the buyer approved?

The buyer may approve an invoice because the goods have arrived and the amount is correct. If the bank account is new, accounts payable still needs to verify it. Sikkerdigital describes how fraudsters ask businesses to change the account number they have on file for a familiar supplier. It recommends having a regular contact at each supplier you pay frequently. Sikkerdigital’s guidance on invoice fraud.

Give the next payment list to the colleague who will cover the Christmas break. Can they find both the approved account details and the supplier’s phone number on their own? The Danish police highlight holiday periods, when normal routines can change, and recommend calling the supplier whenever bank details change. That advice also applies if the invoice is due before your next payment run. Danish police guidance for businesses and associations.

Keep the approved account on the supplier record

The supplier record in your accounting system should tell the bookkeeper which account has been verified and who can confirm it. Check what happens when you import an invoice. If the import overwrites the approved account number with the one on the invoice, the script will compare the new number with itself. Keep the approved account on file while the bookkeeper investigates the change. If there is no verified account on file yet, the bookkeeper needs to confirm the payment details with the supplier first.

An IBAN may appear with spaces on the invoice and without them in the supplier record. Remove the spaces before comparing the two, then require every letter and digit to match. For a Danish bank account, the script must check both the bank registration number (the branch code) and the account number, including any leading zeros. If the two formats cannot be compared reliably, send the item to the bookkeeper for review.

Where does the account number appear on the invoice?

On a Peppol invoice that includes bank transfer details, the recipient’s account number appears in field BT-84. Whoever sets up the integration should retrieve cbc:ID under cac:PayeeFinancialAccount in the payment details. The field can contain an IBAN, for example. Reading the value from this field lets the bookkeeper see which account the supplier actually specified, even if the accounting system suggests the usual account on the payment list. Peppol’s description of the payment account field.

On a PDF, you need to pick out the payment account from all the other numbers on the invoice. The invoice model in Google Document AI has a field for the supplier’s IBAN, supplier_iban. Google does not list Danish among the languages the model supports, so test it on your own PDF invoices, including ones that show only a Danish bank registration number and account number. Save the number the model reads alongside the original invoice so the bookkeeper can check any unclear digit. Google’s documentation for the invoice model.

Put the payment on hold when account details differ

An email flagging a new account number is easy to miss if the payment is still queued for transfer. Run the check while the bookkeeper can still hold back an individual payment. The payment list itself should show what each item is waiting for. Only released items should go to the bank.

How accounts payable decides whether an item can proceed to payment
What does the check show? Status on the payment list What should the bookkeeper do?
The account details match in full Ready for routine approval Follow the usual procedure for the invoice.
The account details differ Awaiting a call Call the number on file and ask the contact to give you the full account details.
The field is empty, a character is unclear or the formats cannot be compared reliably Awaiting manual review Check the original invoice against the approved account details. Call the supplier if you are still unsure or the details differ.
The supplier record has no approved account Awaiting confirmation Confirm the account details with the supplier and enter them in the supplier record.

Make the call easy for the bookkeeper. Show the invoice number and original invoice alongside both account numbers and the phone number from the supplier record. Ask the contact to give you the full account details and say whether they apply only to this invoice or to future payments as well. If you can only reach the supplier after the holiday, leave the item pending with a note for the colleague covering for you.

Record who confirmed the account, when they confirmed it and which invoices the confirmation covers. If it applies to one payment only, keep the usual account on the supplier record. For a permanent change, the person responsible should update the record using your approval procedure. Finally, check the account number on the payment instruction you send to the bank. It must match the number the supplier confirmed.

Test the check on the payment list your colleague will use

Before the Christmas break, make a copy of the next payment list and select a couple of invoices from regular suppliers. Ask a bookkeeper to read the account numbers on the originals and compare them with the script’s results. Then use test copies to see what the colleague covering for you will see on the list. Keep the approved account number on one invoice, change one digit on another and make one digit unreadable on a PDF. Follow all three through to the proposed payment run. Only the invoice with the legible, approved account number should proceed without manual review.

If you would like Greg to set up the check, start with an e-invoice, a typical PDF and the payment list you use today. Greg helps Danish businesses automate tasks with AI. He can set up the check to compare the account details read from your invoices with the approved accounts in your accounting system. That gives the bookkeeper both the invoice and the known phone number when a payment needs a call. Read about Greg’s AI automation work at nowa.dk.

Related on GrN.dk

Need help with this kind of work?

Talk to Greg about checking bank details on your next payment list Get in touch with Greg.

Sources

Latest articles

AI can read the bank account number on a PDF invoice. If it differs from the supplier’s approved account, accounts payable puts the payment on hold and calls the supplier.

Let’s Encrypt moves to 64-day certificates on 10 February 2027. Check when each site renews, test the reload and verify the certificate visitors receive.

Work out which Drupal 10 sites can move to Drupal 11 by 9 December, who can resolve each blocker and how to test publishing and rollback before launch.

See how SharePoint access changes reach internal AI search, and test how long revoked content can still appear in results, generated answers, and citations.

At month-end, reconcile Shopify Payments against your bank statement and e-conomic. Use the payout ID to trace fees, refunds, and payouts that reach your bank the following month.

Trace an intermittent NGINX 502 through Cloudflare, upstream attempts, and application logs so you can see where the request failed and who should pick it up.

Find the apps, scripts and printers that still send mail through Microsoft 365 with a mailbox password, then test a replacement before the December 2026 change.

Find subscriptions and insurance expenses in e-conomic that should be spread over several months. See how AI reads the supporting documents and how your finance lead approves the proposed allocations.

Before relying on an AI project briefing, check which files it covered. A practical workflow for tracking documents, recording gaps and verifying key claims.

Check whether your contact form rejects missing or invalid Turnstile tokens, handles failed checks for genuine users and delivers accepted enquiries to your team.