๐ Smart OCR Vendor Bills
๐ Offline OCR for vendor bills รขยย batch import & multi-line extraction
โก Turn supplier PDFs and images into draft purchase invoices in seconds.
Built for Odoo 19 Community with local Tesseract OCR.
๐ No cloud credits. Your data stays on your server.
by AKREM.KHELIFI รขยย
www.merkago.net
โฑ The Problem This Module Solves
Accounting teams waste hours manually typing supplier invoices into Odoo. Smart OCR automates data capture from PDF and image files, reduces errors, and creates ready-to-review draft vendor bills with a clear validation workflow.
โจ Key Features
- ๐ฆ Batch ZIP import รขยย process dozens of invoices at once
- ๐ Multi-line extraction รขยย editable invoice lines before posting
- ๐ฅ Offline Tesseract OCR รขยย no IAP, no external API
- ๐ PDF, PNG, JPG, TIFF support
- ๐ข Vendor detection & duplicate check
- ๐ Kanban workflow with confidence alerts
- โ Split view: document preview + extracted fields
- ๐คฏ Draft vendor bill creation (
in_invoice)
๐ธ Screenshots
๐งญ Smart OCR Menu & Navigation
Access Smart OCR directly from Invoicing โ Vendors: import invoices, review documents, and manage providers.
๐ OCR Document Review
Split-screen view: source PDF on the left, extracted vendor, amounts, confidence score, and OCR summary on the right.
๐ค Import Invoice Wizard
Upload a PDF or image in one click. Enable Run OCR immediately to extract fields automatically after import.
๐ How It Works
- ๐ฅ Import a single file or a ZIP archive of supplier invoices.
- ๐ค Tesseract OCR extracts vendor, amounts, dates, and invoice lines.
- โ Review and edit fields in the Kanban / form view.
- โ Validate and create a draft vendor bill with one click.
๐ฆ Batch Import
Upload a ZIP file containing PDFs and images. Small batches are processed immediately; larger batches are queued and processed automatically by a scheduled job (3 documents/minute by default).
โ Configure batch limits in Accounting โ Settings โ Smart OCR.
๐ Multi-Line Invoices
When the OCR detects a table of line items, they are extracted into editable rows. If extraction is uncertain, a single global line is used as fallback. Coherence checks alert you when line totals do not match the header amount.
๐ Installation
- ๐ฒ Install the module from Apps (or copy the folder into your addons path).
- ๐ Install server dependencies on your host or Docker container.
- ๐ Update the Apps list and click Install.
- ๐ Go to Invoicing โ Vendors โ Smart OCR to import your first invoice.
โ Server Requirements
Not compatible with Odoo Online (SaaS).
Requires on-premise or Odoo.sh with system packages:
tesseract-ocr tesseract-ocr-fra tesseract-ocr-eng poppler-utils
pip install pytesseract pdf2image Pillow
๐ Why Choose Smart OCR?
- โ Odoo 19 Community
- ๐ Offline OCR รขยย privacy-friendly
- ๐ฆ Batch + multi-line support
- ๐ฏ Vendor detection, duplicate check & confidence alerts
๐ฌ Support & Contact
Need help with installation, configuration, or customization?
- ๐ง Email: akremkhelifi07@gmail.com
- ๐ฌ WhatsApp: +216 54 444 373
-
๐ Website:
www.merkago.net
Click the Website link at the top of this app page to visit www.merkago.net.
Author: AKREM.KHELIFI
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 2500 |
| Technical Name |
smart_ocr_vendor_bills |
| License | OPL-1 |
| Website | https://www.merkago.net/ |
Smart OCR Vendor Bills
Offline OCR for vendor bills on Odoo 19 Community.
Features
- Single file import (PDF, PNG, JPG, TIFF)
- Batch import via ZIP archive (up to 50 files)
- Multi-line invoice extraction with editable lines
- Local Tesseract OCR โ no cloud credits, data stays on your server
- Vendor detection, duplicate check, confidence alerts
- Draft vendor bill creation (account.move purchase invoice)
- Kanban workflow: Draft โ Verify โ Validated โ Invoiced
Requirements
Not compatible with Odoo Online (SaaS). Requires server-side packages:
apt install -y tesseract-ocr tesseract-ocr-fra tesseract-ocr-eng poppler-utils pip install pytesseract pdf2image Pillow
Installation
- Copy the module into your addons path.
- Install server dependencies (see above).
- Update the Apps list and install Smart OCR Vendor Bills.
- Go to Accounting โ Configuration โ Settings โ Smart OCR to configure.
Usage
Single import
- Invoicing โ Vendors โ Smart OCR โ Import invoice
- Upload a PDF or image.
- Review extracted fields and invoice lines.
- Validate and create the draft vendor bill.
Batch import (ZIP)
- Invoicing โ Vendors โ Smart OCR โ Batch import (ZIP)
- Upload a ZIP archive containing PDF/images.
- OCR runs synchronously for small batches; larger batches are queued via cron.
- Review documents in the Kanban view.
Configuration
- Confidence threshold โ manual review below this level
- Auto-run OCR on import
- Tesseract languages (e.g. fra+eng)
- Batch max files โ default 50
- Batch sync limit โ OCR runs immediately if โค 5 files
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