AI Bank Statement Import: PDF, Scanned, CSV & Excel Statements with Your Own LLM - Balance Checked
by Viyug Infotech https://viyuginfotech.com$ 75.60
Turn PDF, scanned and spreadsheet bank statements into checked Odoo statements with your own AI
Your AI provider reads the opening and closing balance and every transaction. Odoo checks that the balances add up and that every printed running balance follows, highlights the line that does not, and only then creates the bank statement. Duplicates, several accounts per file and password-protected PDFs are handled for you.
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Typing statements is slow, and one wrong digit hides for weeks
Many banks still send PDF statements, and free converters lose signs, dates or whole lines without telling you.
Without it
- Every line retyped, or converted outside Odoo and imported as CSV
- A misread amount found only at reconciliation
- The same statement imported twice
- Protected PDFs unlocked on a desktop first
With AI Bank Statement Import
- Upload, review, create: a full statement in minutes
- Every running balance checked, the breaking line in red
- Same file, same period and known transactions caught
- Password asked in Odoo and not kept
How it works
From file to bank statement in five steps.
Upload
PDF, scan, photo, CSV or Excel, on the bank journal or in Bank Imports.
Read
Text layer read in Odoo; your AI returns balances and lines, part by part.
Check
Opening + lines = closing, every running balance followed, duplicates found.
Review
Correct red lines beside the document, skip lines, change partners.
Create
A normal bank statement, ready for reconciliation.
Workflow walkthrough
Thirteen steps from the first setting to a reconciled statement, with fictional demo data.
1Connect your AI once
In Settings, AI Connection holds your provider and key (OpenAI, Anthropic Claude, Azure OpenAI or any OpenAI-compatible endpoint) and the switch that allows personal data, which bank statements contain. The AI Bank Statements block decides whether you check the text before it is sent and whether scans may be sent as images.

2Start from the bank journal
On the accounting dashboard, open the menu of a bank journal and choose Statement with AI. The same upload is in the Bank Imports menu.

3Upload one or many files
Drop PDFs, scans, photos, CSV or Excel files. The journal is a starting point: a statement whose account number belongs to another journal is moved there.

4Protected PDFs
A password-protected statement waits for its password. It is used to read the file and not stored for text PDFs. A wrong password is refused at once.

5Every file in one list
Each upload shows its status, journal, account, period, number of lines, closing balance and the result of the balance check.

6See exactly what is sent
The PDF text layer is read inside Odoo. The tab Sent to the AI shows that text and the short context that goes with it. Nothing is masked or removed behind your back; scans are sent as page images only when you allow it.

7Review beside the document
The statement is shown next to the lines that were read. Odoo walks from the opening balance through every line and compares each printed running balance. The line that breaks the chain is red; an amount whose sign was inverted is turned around and marked blue.

8Correct and check again
Type the right amount on the red line and click Check again. When opening balance plus transactions equals the closing balance and every running balance follows, every line shows OK.

9Create the statement
Create statement writes a normal bank statement with its lines, partners and the PDF attached. In Enterprise it opens straight in the bank reconciliation screen; in Community you see the new statement.

10Several accounts in one PDF
A PDF with a current and a savings account is split by account number. Each part gets its own review, its own balance check and its own journal.

11Duplicates are caught
The same file uploaded again is not sent to the AI by itself. Read anyway, lines already in the journal are found by date, amount and label, shown greyed and skipped; statements of the same period are listed.

12It learns every bank layout
Each account remembers its journal, the date order and sign habits you had to correct, and your own notes for the AI. These hints go with the next statement of that account, and you see how many lines were read without correction.

13Cost under control
Every request is logged with tokens and estimated cost, and the monthly budget of the AI connection applies. Long statements are read in parts so every answer stays within the model's limits.

What is inside
The whole path from bank document to bank statement.
PDF, scans, CSV, Excel
Text PDFs are read locally from their text layer. Scans and photos go to a vision model. CSV and Excel exports from any bank go through the same review.
Balance check per line
Opening + transactions = closing, and each printed running balance is followed line by line. One misread line is flagged once, not every line after it.
Sign correction
Debit and credit columns read the wrong way round are turned around from the running balance and marked, so you see what changed.
Statement data
Opening and closing balance, statement number and date, period, and per line: date, label, partner name, reference, counterparty account, amount, running balance.
Several accounts per file
Split by IBAN or account number and routed to the journal with that bank account, or to the journal you chose before.
Protected PDFs
Password prompt on the record. The password is not kept for text PDFs and erased after reading for scans.
Three duplicate checks
Same file fingerprint, statements of the same period, and transactions already in the journal (also those from bank feeds or other imports).
Continuity check
The opening balance is compared with the closing balance of the previous statement of the journal: a missing statement is reported.
Layout memory
Per bank account: journal, date order, sign habit, your notes for the AI, statistics. Used on every later statement.
Privacy first
Text only when there is a text layer. Optional check of the text before sending. Scans can be refused. Personal data needs your explicit switch.
Queue and retries
Uploads are read in the background with retries after 2, 4 and 8 minutes, or at once with Read now.
Partners matched
By counterparty account first, then by the exact name on the statement. Change any partner on the review screen.
Setup in 5 steps
- Install the app; AI Connection Layer is installed with it.
- In Settings > AI Connection choose the provider, paste your API key, pick a model (a vision model if you have scans) and allow personal data.
- Check Settings > AI Bank Statements: check text before sending or not, scans allowed or not, pages per file.
- Give each bank journal its bank account number, so statements find their journal by themselves.
- Upload a statement from the bank journal menu, review it and click Create statement.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Pay per document credits | None, your own AI account | Prepaid credits or one fixed OCR service |
| Running balance checked per line | Yes, breaking line highlighted | Total only, or no check |
| Wrong debit/credit sign | Corrected from the running balance and marked | Fixed by hand |
| Several accounts in one PDF | Split and routed to the right journals | One account per file |
| Password-protected PDF | Password prompt, not stored | Must be unlocked outside Odoo |
| Duplicate protection | File, period and transaction level | Often transaction level only |
| Learns each bank layout | Journal, date order, signs, your notes | No memory between files |
| What is sent to the AI | Shown on every record; text only for text PDFs | Whole file sent, not shown |
| CSV and Excel statements | Same review and checks | Separate import tool |
| Enterprise reconciliation | Opens the normal reconciliation screen | Manual navigation |
Your data and your provider
- Statement text (or page images of scans) goes to the AI provider you configure. Choose one that fits your data protection rules; bank statements contain names and account numbers.
- Sending personal data stays off until an administrator allows it in the AI connection settings.
- You pay your provider directly. The app shows tokens and an estimated cost from the prices you enter.
- The AI result is a proposal: the balance check shows where it went wrong, and you decide what is created.
What you need
This app is built on AI Connection Layer, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
AI Connection Layer
Technical name ai_llm_base
One shared AI connection for all Viyug AI apps: provider, API key, request log and budget in one place.
- Anthropic, OpenAI, Azure OpenAI or any endpoint that speaks the OpenAI chat format
- API key stored in system parameters and shown only to administrators; you supply the account
- Request log with app, purpose, model, tokens, estimated cost, duration and status
- Monthly budget per company: new requests stop with a clear message once it is reached
- Validated JSON answers, retried once with the validation error
- Privacy switch for personal data, off by default



Frequently asked questions
Do I need Odoo Enterprise or IAP credits?
No. It works on Community and Enterprise and uses your own AI account; your provider bills you directly. On Enterprise the created statement opens in the normal bank reconciliation screen.
What exactly is sent to the AI?
For PDFs with a text layer: the text read from the PDF, your company name, the journal and account number, and the layout hints of that account. For scans and photos: page images. The record shows it before and after sending. Nothing is sent until you have configured a provider.
Which models work?
Any model of your provider that returns JSON. For scans and photos choose a vision model. Long statements are read in parts of about 3,000 characters, so models with small output limits work too.
What if the statement does not balance?
You cannot create it by mistake: correct the highlighted lines or the balances and check again. An accounting manager can still create it on purpose; Odoo then shows the statement as not balanced.
Does it replace CAMT, OFX or bank feeds?
No, it is for statements you only get as PDF, scan or spreadsheet. Lines already imported by any other way are recognised as duplicates.
Does it work with several companies?
Imports, lines and layout memories belong to a company and are separated by multi-company rules. The AI budget is per company.
Need help or a change?
A bank layout that is not read well, a question about setup, or a feature you need? Use the Contact Vendor button on this page or write to us. Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- PDF (text and scanned), image, CSV and Excel statements read with your own AI
- Balance and running balance check with sign correction
- Review screen beside the document, statement creation, Enterprise reconciliation hand-off
- Multi-account split, password-protected PDFs, three duplicate checks, continuity check
- Layout memory per bank account, queue with retries, cost log
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2296 |
| Technical Name |
viyug_bank_statement_ai |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module