Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Accounting
  3. Invoice Pro v 19.0
  4. Sales Conditions FAQ

Invoice Pro

by Syntax & Sabotage https://praetorx.net , Lars Weiler https://praetorx.net
Odoo

$ 56.27

v 19.0 Third Party
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 18076
Technical Name praetorx_invoice_pro
LicenseOPL-1
Websitehttps://praetorx.net
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 18076
Technical Name praetorx_invoice_pro
LicenseOPL-1
Websitehttps://praetorx.net
  • Description
  • Documentation
  • License

Invoice Pro

AI-Powered Invoice OCR — PDF Data Extraction with GPT-4, Claude, Azure for Odoo 19

v19.0.1.0.17 Enterprise Odoo.sh Multi-Provider AI OPL-1 €49

Upload a PDF or image invoice, let AI extract vendor details, line items, amounts, and dates, then create a draft vendor bill in Odoo — all from a single queue inside the Accounting module. Supports OpenAI GPT-4 Vision, Anthropic Claude, and Azure Document Intelligence with automatic provider fallback, confidence scoring, and configurable approval workflows.

praetorx.net | Syntax & Sabotage

  • Features
  • Screenshots
  • Setup
  • FAQ
  • Releases

AI Extraction

Multi-Provider AI

Configure OpenAI GPT-4 Vision, Anthropic Claude, Azure Document Intelligence, or Google Cloud Vision. Each provider has its own API key, model selection, rate limits, and cost tracking. Switch providers per workflow or let the system auto-select by priority, cost, speed, or accuracy.

PDF & Image Processing

Upload PDF invoices or image files (PNG, JPG). The module renders pages via PyMuPDF and sends them to your chosen AI provider. Extracted fields include vendor name, VAT, invoice number, date, due date, line items with quantities and unit prices, subtotal, tax, and total.

Confidence Scoring

Every extraction returns a confidence score (0–100%). Documents above the configurable threshold are auto-approved; those below are flagged for manual review. Field-level confidence is tracked on vendor change proposals.

Provider Fallback & Circuit Breaker

If the primary provider fails, the system falls back to a secondary provider automatically. A circuit breaker pattern detects repeated failures and temporarily opens the circuit to prevent cascading errors.

Processing & Workflow

Processing Queue

Documents enter a priority queue with four levels (low, normal, high, urgent). A cron job processes pending items every 2 minutes. Retry logic handles transient failures with configurable max retries and delay between attempts.

Configurable Workflows

Define multi-step workflows with auto-process on upload, auto-validate, and auto-approve thresholds. Trigger workflows on document upload or email receipt. Each workflow can use a different AI provider and approval rules.

Review & Approval

Documents progress through draft → queued → processing → extracted → validated → approved (or rejected). Low-confidence results are routed to a review queue where reviewers can correct fields and approve or reject.

Extraction Templates

Ship with 4 default templates: Standard Invoice, Receipt, Utility Bill, and Purchase Order. Each template defines field mappings, system prompts, extraction prompts, and validation rules. Create custom templates for specialized document types.

Accounting Integration

Native Odoo Accounting

Approved documents create draft account.move vendor bills in your configured purchase journal. The processing queue, AI reports, and configuration live under the standard Accounting menus — no separate app menu required.

Vendor Auto-Creation & Enrichment

When the AI detects an unknown vendor, the module can auto-create the partner record with extracted name, VAT, address, email, and phone. Existing vendors are enriched with new data via field change proposals that track old value, new value, and confidence score.

Customer Portal

Portal users can view documents they uploaded or were shared with. The portal integration adds a “Documents” section to the customer portal with document list and detail views.

Multi-Company

Full data isolation via record rules on every model. Each company can have its own AI providers, workflows, extraction templates, and confidence thresholds. All record rules enforce company_id in company_ids.

Security & Monitoring

Four-Tier Security

User (upload and view), Reviewer (approve/reject, manage queue), Administrator (AI providers, workflows, API keys, templates), System Administrator (sensitive operations). Each tier inherits from the previous. Portal users get read-only access to own documents.

Encrypted Credentials & Audit Trail

API keys are restricted to admin groups via field-level security. A dedicated audit log tracks every action — uploads, API calls, extractions, approvals, config changes, and security events — with IP address, session ID, and user attribution.

Statistics Dashboard

Track provider health, success rates, response times, token usage, and API costs in real-time. A statistics queue batches metric updates to avoid transaction conflicts during high-throughput processing.

11 Scheduled Actions

Cron jobs handle queue processing (2 min), document queue (5 min), batch processing (30 min), provider health checks (15 min), timeout handling (10 min), rate limit resets, audit log cleanup, cost tracking updates, workflow sync, cache cleanup, and performance metrics collection.

Technical Reference

ComponentDetails
invoice.pro.documentCore document model — file upload, state machine (draft → approved/rejected), extracted fields, confidence score, review workflow, mail thread, portal mixin
invoice.pro.ai.providerAI provider config — OpenAI / Claude / Azure / Google / Custom, API key (admin-only), model selection, rate limits, cost tracking, fallback chain, prompt caching
invoice.pro.workflowMulti-step workflow — triggers (upload, email), auto-process, auto-validate, auto-approve threshold, provider selection, notifications
invoice.pro.queueProcessing queue — priority levels, retry logic, worker heartbeat, batch processing, scheduling
invoice.pro.extraction.templateField mapping templates — 7 types (invoice, receipt, utility, PO, credit note, statement, custom), system/extraction/validation prompts
invoice.pro.audit.logAudit trail — 20 action types, IP address, user agent, session ID, API cost/tokens/response time, performance metrics
invoice.pro.field.changeVendor enrichment proposals — old/new value, confidence score, status (pending/approved/rejected/auto-applied/skipped), review tracking
invoice.pro.cacheAI response cache — key/value store with TTL, configurable cache size, automatic cleanup cron
account.moveExtended with AI fields — extraction data, confidence, provider, processing time, status
res.partnerExtended with review fields — needs_review, ai_created, confidence score, creation source

Screenshots

AI Provider Statistics Dashboard

Statistics Dashboard — provider health, success rates, response times, and API cost tracking

AI Extraction in Action

AI Extraction — real-time processing with confidence scores, extracted fields, and processing logs

Vendor Review Dashboard

Vendor Review — AI-detected vendor data with confidence scores and one-click approval

Settings and Accounting Integration

Settings — AI provider configuration, processing mode, fallback strategy, and accounting integration

Setup Guide

Prerequisites
  • Odoo 19.0 Enterprise (requires account_accountant)
  • Python 3.10+
  • Odoo modules: base, mail, account, web, portal, account_accountant
  • Python packages: openai, anthropic, azure-ai-formrecognizer, azure-ai-textanalytics, cryptography, bleach, Pillow, PyMuPDF, psutil
  • At least one AI provider API key (OpenAI, Anthropic, or Azure)

Requires Enterprise. The account_accountant dependency is an Enterprise-only module. This module does not work on Odoo Community Edition.

Installation
  1. Install the Python dependencies: pip install openai anthropic azure-ai-formrecognizer azure-ai-textanalytics cryptography bleach Pillow PyMuPDF psutil
  2. Install from the Odoo Apps menu — search for “Invoice Pro”
  3. The module registers under Settings → Invoice Pro and integrates into the Accounting menu
Configure an AI Provider
  1. Go to Accounting → Configuration → InvoicePro → AI Providers
  2. Click New, select a provider type (OpenAI, Claude, Azure, Google, or Custom)
  3. Enter your API key and select a model
  4. Set rate limits, daily quota, and cost per 1K tokens
  5. Optionally configure a fallback provider and prompt caching
  6. Use the Test Connection wizard to verify the API key
Process Your First Invoice
  1. Go to Accounting → Vendors → Processing Queue
  2. Upload a PDF or image invoice
  3. The document enters the queue and is processed automatically (or manually trigger extraction)
  4. Review extracted data, correct if needed, and approve
  5. An approved document creates a draft vendor bill in Odoo Accounting
Security Groups

User: Upload documents, view processing status, view providers and workflows (read-only).

Reviewer: Approve/reject documents, manage queue, edit workflows and extraction templates.

Administrator: Full access to AI providers, API keys, workflows, templates, audit logs, and system configuration.

System Administrator: Sensitive operations, encrypted credential access, and internal system controls.

Portal users see only documents they created or were shared with (read-only).

Menu Paths
  • Accounting → Vendors → Processing Queue — upload and process documents
  • Accounting → Reporting → InvoicePro Reports → AI Processing Reports — processing analytics
  • Accounting → Configuration → InvoicePro → AI Providers — provider management
  • Accounting → Configuration → InvoicePro → Extraction Templates — template management
  • Accounting → Configuration → InvoicePro → AI Audit Logs — audit trail
  • Settings → Invoice Pro — global configuration (providers, processing mode, caching, circuit breaker)

FAQ

Does this work with Odoo Community Edition?
No. Invoice Pro depends on account_accountant, which is an Enterprise-only module. You need Odoo 19 Enterprise or an Odoo.sh subscription.
Which AI providers are supported?
OpenAI (GPT-4 Vision), Anthropic (Claude), Azure Cognitive Services (Document Intelligence + Text Analytics), Google Cloud Vision, and a “Custom” provider type for self-hosted or alternative endpoints. You need an API key from at least one provider.
What file formats are supported?
PDF documents and image files (PNG, JPG). PDFs are rendered page-by-page via PyMuPDF before being sent to the AI provider. The extraction templates can be scoped to “PDF Only”, “Images Only”, “Email Attachments”, or “All Document Types”.
How much does AI processing cost?
AI costs depend on your provider and model. The module tracks tokens used and cost per request in the audit log and provider statistics. You configure the cost-per-1K-tokens rate per provider. Claude prompt caching can reduce costs by up to 90% on repeated extractions. Rate limiting and daily quotas help control spend.
What happens when a provider fails?
If the primary provider fails, the system automatically retries using the configured fallback provider. A circuit breaker pattern opens after a configurable number of consecutive failures (default: 5), preventing cascading errors. The queue re-processes failed items with configurable retry delay and max retries (default: 3). Provider health checks run every 15 minutes.
Can I process invoices in languages other than English?
Yes. The AI providers handle invoice content in any language they support (GPT-4 and Claude handle most languages well). The extraction templates include field alias lists that cover common English and German terms. The module UI ships with German (de.po) and French (fr.po) translations.
Is my invoice data sent to third-party servers?
Yes — invoice content is sent to the AI provider you configure (OpenAI, Anthropic, Azure, or Google) for data extraction. The module does not store data on any intermediary server. API keys are protected by field-level security (admin group only). The audit log records every API call with provider, model, tokens, and cost for full transparency. Review your AI provider’s data processing agreement for GDPR compliance.

Release History

v19.0.1.0.17 — October 2025

Current Release

  • Multi-provider AI support (OpenAI GPT-4 Vision, Claude, Azure Document Intelligence, Google Cloud Vision)
  • PDF and image invoice extraction with PyMuPDF rendering
  • Configurable workflows with auto-process, auto-validate, and auto-approve thresholds
  • Queue-based processing with priority levels and retry logic
  • Confidence scoring with configurable manual review thresholds
  • Vendor auto-creation and enrichment via field change proposals
  • Four-tier security (User, Reviewer, Administrator, System Administrator)
  • Portal access for document viewing
  • Audit trail with 20 action types, IP/session tracking, and API cost logging
  • 4 default extraction templates (Standard Invoice, Receipt, Utility Bill, Purchase Order)
  • Circuit breaker pattern and provider fallback
  • Response caching with configurable TTL
  • Statistics dashboard and AI processing reports
  • Multi-company support with data isolation
  • 11 scheduled actions for automated processing and maintenance
  • 24 automated tests (8 enhancement + 16 security)
  • German and French UI translations
  • Integration into standard Accounting menus (no separate app)

You May Also Like

PraetorX Base

Reusable technical patterns, shared security groups, and menus for PraetorX modules.

Free
PraetorX Shell

Branded backend theme with sidebar, home tiles, activity dashboard, and per-role color theming.

Free
Cockpit

Role-based tile dashboard — counters, queues, charts, actions, and real-time updates.

Free
PraetorX Roles

Role-based user group management with date-gated assignments and additive sync.

39 EUR

Made with ♥ by Syntax & Sabotage

© 2026 Syntax & Sabotage, Lars Weiler. All rights reserved. OPL-1.

Impressum · support@syntaxandsabotage.io

Invoice Pro Documentation

AI-powered invoice processing with multi-provider support for automated data extraction from PDF and image invoices.

Table of Contents

  • Overview
  • Key Features
    • AI-Powered Extraction
    • Automated Workflow
    • Vendor Enrichment
    • Accounting Integration
    • Cost Management
  • Prerequisites
    • System Requirements
    • Python Dependencies
  • Installation
    • Step 1: Install Python Dependencies
    • Step 2: Install Module in Odoo
    • Step 3: Obtain AI Provider Credentials
  • Configuration
    • Step 1: Configure AI Provider
    • Step 2: Configure Accounting Integration
    • Step 3: Review Extraction Templates
    • Step 4: Process Your First Invoice
  • Features Guide
    • AI Processing Workflow
    • Vendor Enrichment Workflow
    • Email-to-Invoice Processing
    • Processing Dashboard
  • Troubleshooting
    • Authentication Issues
    • Processing Issues
    • Vendor Matching Issues
    • Invoice Creation Issues
    • API Cost Management
  • API Reference
    • For Developers
  • Best Practices
    • Security
    • Performance
    • Accuracy
    • Cost Optimization
    • Maintenance
  • Support
    • Professional Support
    • Documentation & Resources
    • Frequently Asked Questions
  • License
  • Version History
    • Version 19.0.1.0 (October 2025)
  • About

Overview

Invoice Pro transforms invoice processing by leveraging artificial intelligence to automatically extract vendor details, line items, amounts, dates, and other key information from PDF and image invoice files. The module integrates seamlessly with Odoo's accounting system to create draft vendor bills with minimal manual intervention.

Key Features

AI-Powered Extraction

  • Multi-Provider Support: OpenAI GPT-4 Vision, Claude 3.5 Sonnet, Azure Document Intelligence, Google Cloud Vision
  • Intelligent Field Detection: Automatic extraction of vendor info, invoice numbers, dates, amounts, line items, and taxes
  • Confidence Scoring: AI provides confidence levels for each extracted field
  • Template-Based Extraction: Customizable extraction templates for different invoice types
  • Real-Time Processing: Extract invoice data in seconds with detailed processing logs

Automated Workflow

  • Confidence-Based Routing: Auto-process high-confidence invoices, flag uncertain data for review
  • Queue Management: Priority-based processing with automatic retry mechanisms
  • Email-to-Invoice: Automatically process invoices received via email attachments
  • Workflow Engine: Configurable rules for routing based on confidence scores and document types
  • Batch Processing: Handle multiple invoices simultaneously

Vendor Enrichment

  • Auto-Create Vendors: AI creates new vendor records from extracted data
  • Vendor Matching: Smart matching to existing vendors using AI confidence scoring
  • Field Updates: Propose updates to existing vendor records with review workflow
  • Data Validation: Review AI-detected vendor information before applying changes

Accounting Integration

  • Default Journals: Configure default purchase journals for AI-created invoices
  • Expense Accounts: Set default expense accounts for line items
  • Smart Notifications: Email alerts for processing completion, failures, or low confidence
  • Invoice Creation: Automatically create draft vendor bills in Odoo Accounting

Cost Management

  • API Cost Tracking: Monitor AI processing costs by provider, document, and time period
  • Rate Limiting: Built-in API rate limiting to control costs and comply with provider limits
  • Provider Statistics: Track success rates, response times, and API usage per provider
  • Cost Analytics Dashboard: Visualize AI spending trends and optimize provider selection

Prerequisites

System Requirements

  • Odoo 19.0 Enterprise Edition with Account Accountant module
  • Python 3.11 or higher
  • AI Provider Account (at least one):
    • OpenAI API key (GPT-4 Vision)
    • Anthropic API key (Claude 3.5)
    • Azure subscription (Document Intelligence)
    • Google Cloud project (Vision API)

Python Dependencies

The module requires the following Python packages (automatically declared in manifest):

  • openai - OpenAI GPT-4 Vision API
  • anthropic - Claude 3.5 API
  • azure-ai-formrecognizer - Azure Document Intelligence
  • azure-ai-textanalytics - Azure Text Analytics
  • cryptography - Encrypted credential storage
  • bleach - HTML sanitization
  • Pillow - Image processing
  • PyMuPDF - PDF processing
  • psutil - System monitoring

Installation

Step 1: Install Python Dependencies

Install the required Python packages:

pip install openai anthropic azure-ai-formrecognizer azure-ai-textanalytics cryptography bleach Pillow PyMuPDF psutil

Note

These dependencies are declared in the module manifest but must be installed manually in your Odoo environment.

Step 2: Install Module in Odoo

  1. Download Invoice Pro from the Odoo App Store
  2. Navigate to Apps in Odoo
  3. Click Update Apps List
  4. Search for "Invoice Pro"
  5. Click Install

The module will automatically install with Account and Account Accountant modules as dependencies.

Step 3: Obtain AI Provider Credentials

OpenAI (GPT-4 Vision):

  1. Sign up at https://platform.openai.com
  2. Navigate to API Keys
  3. Create new secret key
  4. Copy the API key (starts with sk-)

Anthropic (Claude 3.5):

  1. Sign up at https://console.anthropic.com
  2. Navigate to API Keys
  3. Create new API key
  4. Copy the API key (starts with sk-ant-)

Azure Document Intelligence:

  1. Create Azure account at https://portal.azure.com
  2. Create "Document Intelligence" resource
  3. Record the endpoint URL and API key
  4. Note your Azure region

Google Cloud Vision:

  1. Create project at https://console.cloud.google.com
  2. Enable Cloud Vision API
  3. Create service account and download JSON key file
  4. Upload JSON key to Odoo file system

Configuration

Step 1: Configure AI Provider

  1. In Odoo, go to Settings → Invoice Pro → AI Providers
  2. Click Create and fill in:
    • Provider Name: Descriptive name (e.g., "OpenAI GPT-4")
    • Provider Type: Select your AI provider
    • API Key or Endpoint: Provider credentials
    • Priority: Higher numbers process first (default: 10)
    • Active: Enable the provider
  3. Click Test Connection to verify credentials
  4. Click Save

Tip

Configure multiple providers for fallback. If the primary provider fails, the system will try the next priority provider.

Step 2: Configure Accounting Integration

  1. Go to Settings → Invoice Pro → Accounting Integration
  2. Configure:
    • Default Purchase Journal: Journal for AI-created vendor bills
    • Default Expense Account: Fallback account when line items lack specific accounts
    • Email Notifications: Enable processing status notifications
    • Notification Recipients: Email addresses for alerts
  3. Enable Email-to-Invoice Processing (optional):
    • Automatically extracts PDF/image attachments from incoming emails
    • Creates InvoicePro documents and queues them for AI processing
    • Auto-creates vendor partners from sender email addresses
    • Validates file types and sizes before processing
  4. Click Save

Step 3: Review Extraction Templates

Default templates are provided for common invoice types:

  1. Go to Settings → Invoice Pro → Extraction Templates
  2. Review templates for:
    • Vendor Invoices
    • Credit Notes
    • Purchase Orders
    • Receipts
  3. Customize field mappings if needed
  4. Create new templates for specialized document types

Step 4: Process Your First Invoice

  1. Go to Accounting → Invoice Pro → Documents
  2. Click Create or Upload
  3. Attach an invoice PDF or image file
  4. Click Process with AI
  5. Select your AI provider (or use default)
  6. Monitor the AI Processing tab for real-time extraction
  7. Review extracted data and confidence scores
  8. Click Create Invoice to generate draft vendor bill

Features Guide

AI Processing Workflow

Upload and Queue:

  1. Invoice documents are uploaded via UI or email
  2. Documents are automatically queued for processing
  3. Queue prioritizes based on document type and configuration

AI Extraction:

  1. Selected AI provider receives the document
  2. Provider extracts structured data:
    • Invoice number and date
    • Vendor name and details
    • Due date and payment terms
    • Line items with descriptions, quantities, unit prices
    • Tax amounts and totals
    • Currency information
  3. Each field includes confidence score (0-100%)
  4. Processing logs show AI reasoning and field extraction

Confidence-Based Routing:

  • High Confidence (>90%): Automatically approve for invoice creation
  • Medium Confidence (70-90%): Flag for manual review
  • Low Confidence (<70%): Require user validation

Manual Review:

  1. Review Dashboard shows documents needing attention
  2. Users can validate, correct, or reject extracted data
  3. Side-by-side view of source document and extracted data
  4. One-click approval for accurate extractions

Vendor Enrichment Workflow

When AI processes an invoice:

New Vendor Detection:

  1. AI extracts vendor information (name, address, VAT, contact details)
  2. System searches for matching existing vendors
  3. If no match found with high confidence:
    • Creates new vendor record with AI-extracted data
    • Flags vendor for review if confidence is low
    • Logs creation in vendor enrichment log

Vendor Matching:

  1. AI extracts vendor details from invoice
  2. System compares to existing vendor database:
    • Exact name match (100% confidence)
    • Fuzzy name matching (70-99% confidence)
    • VAT number matching (90-100% confidence)
    • Address similarity scoring
  3. High-confidence matches auto-link to invoice
  4. Low-confidence matches require manual vendor selection

Vendor Field Updates:

  1. AI detects differences between invoice data and vendor record
  2. Proposes updates for fields like:
    • Address changes
    • Contact information
    • VAT number updates
    • Payment terms
  3. Updates with >90% confidence auto-apply to empty fields
  4. Updates to existing fields require user approval
  5. "AI Review" tab on vendor form shows pending updates

Note

All vendor enrichment actions are logged in the Vendor Field Updates section for audit purposes.

Email-to-Invoice Processing

When enabled, the system automatically processes invoice emails:

Automated Flow:

  1. Incoming email arrives at configured address
  2. System extracts PDF/image attachments
  3. Validates file type (PDF, JPEG, PNG) and size (<10 MB)
  4. Creates InvoicePro document for each attachment
  5. Auto-creates vendor partner from sender email
  6. Queues document for AI processing
  7. Sends confirmation email to sender when processing completes

Configuration:

  1. Go to Settings → Invoice Pro → Email-to-Invoice Processing
  2. Enable Automated Email Invoice Import
  3. Configure:
    • Which email addresses trigger automatic processing
    • File size and type validation rules
    • Whether to send confirmation emails
    • Auto-create vendor behavior

Warning

Ensure your email fetchmail account is properly configured to avoid processing spam or unintended emails.

Processing Dashboard

The dashboard provides real-time monitoring of AI processing:

Key Metrics:

  • Total documents processed
  • Success rate by provider
  • Average processing time
  • Total AI API costs
  • Documents awaiting review

Activity Log:

  • Detailed processing history
  • Error messages with stack traces
  • Filter by date, provider, or status
  • Export logs for analysis

Provider Statistics:

  • Health status per provider
  • Success rates and response times
  • API cost tracking
  • Usage trends over time

Troubleshooting

Authentication Issues

Error: "Invalid API key"

  • Verify the API key in AI Provider configuration
  • Ensure you copied the full key including prefix (sk- for OpenAI, sk-ant- for Anthropic)
  • Check if the key has expired or been revoked
  • Test connection using the Test Connection button

Error: "Insufficient credits" (OpenAI)

  • Check your OpenAI account billing status
  • Add credits or update payment method
  • Monitor usage at https://platform.openai.com/usage

Processing Issues

AI extraction returns empty results

  1. Check the document quality:
    • Ensure PDF is not password-protected
    • Verify images are not too low resolution (<300 DPI recommended)
    • Check if document is in a supported language
  2. Review processing logs in the AI Processing tab
  3. Try a different AI provider
  4. Check extraction template matches document type

Low confidence scores

  • Use a different AI provider (Claude and GPT-4 Vision typically perform better on complex invoices)
  • Improve document quality (rescan at higher resolution)
  • Create custom extraction template for this invoice format
  • Manually validate and save - system learns from corrections

Processing timeout

  • Check network connectivity to AI provider
  • Verify API rate limits haven't been exceeded
  • Reduce document file size
  • Try processing during off-peak hours

Vendor Matching Issues

Wrong vendor matched to invoice

  1. Go to the vendor record
  2. Click the AI Review tab
  3. Review the confidence score for the match
  4. Manually select the correct vendor
  5. Save - this improves future matching

Duplicate vendors created

  • Use the Vendor Merge feature in Odoo Contacts
  • Improve vendor matching by adding VAT numbers to vendor records
  • Review AI confidence thresholds in Settings
  • Consider using stricter matching rules

Invoice Creation Issues

Error: "Missing default journal"

  • Go to Settings → Invoice Pro → Accounting Integration
  • Set a default purchase journal
  • Save and retry invoice creation

Wrong expense account assigned

  • Configure default expense account in Settings
  • Create custom extraction template with account mapping
  • Update product categories with correct expense accounts

API Cost Management

Unexpected high costs

  • Review API usage in Provider Statistics
  • Check if multiple providers are being used unnecessarily
  • Implement rate limiting in provider configuration
  • Consider using Azure or Google Vision for high-volume processing (often lower cost)
  • Filter out low-quality or non-invoice documents before processing

Rate limit exceeded

  • Reduce automatic processing frequency
  • Spread processing across multiple providers
  • Implement queue priority to process critical invoices first
  • Contact provider to increase rate limits

API Reference

For Developers

Key Models:

  • invoice_pro.document - Main document model with AI processing
  • invoice_pro.ai.provider - AI provider configuration
  • invoice_pro.extraction.template - Extraction templates
  • invoice_pro.queue - Processing queue management
  • invoice_pro.field.change - Vendor field update tracking
  • invoice_pro.audit.log - Complete audit trail

Key Methods:

# Trigger AI processing
document.action_process_with_ai(provider_id=None)

# Create invoice from extracted data
document.action_create_invoice()

# Get extraction results
extraction_data = document.extraction_data

# Manual field correction
document.update_extracted_field('invoice_number', 'INV-2025-001')

# Vendor matching
vendor = document._match_vendor(extracted_name, extracted_vat)

AI Provider Integration:

The module uses provider-specific services in services/providers/:

# Get provider service
from odoo.addons.invoice_pro.services.ai_service_factory import AIServiceFactory

service = AIServiceFactory.get_service(provider)

# Process document
result = service.extract_invoice_data(document_binary, template)

# Result includes:
# - extracted_data: Dict of field values
# - confidence_scores: Dict of confidence per field
# - processing_log: Detailed extraction log
# - api_cost: Cost of this API call

Best Practices

Security

  • Never share AI API keys - they provide access to your account and incur charges
  • Rotate API keys regularly (recommended: every 6 months)
  • Use separate API keys for development and production
  • Enable audit logging to track all AI processing
  • Restrict Invoice Pro access to accounting team members only
  • Review vendor enrichment logs for suspicious changes

Performance

  • Set appropriate queue processing intervals (default: every 5 minutes)
  • Use file filtering to exclude non-invoice documents
  • Monitor API usage to avoid throttling and unexpected costs
  • Process large batches during off-hours
  • Consider multiple AI providers for load distribution
  • Archive old processed documents to maintain performance

Accuracy

  • Always review low-confidence extractions (<90%)
  • Create custom extraction templates for frequent vendor formats
  • Validate vendor enrichment changes before applying
  • Manually correct extraction errors - system learns from corrections
  • Use high-resolution scans (300 DPI minimum) for best results
  • Test new AI providers with sample documents before production use

Cost Optimization

  • Start with Azure Document Intelligence or Google Vision (often lower cost for invoices)
  • Use OpenAI or Claude for complex, multi-language, or poorly formatted invoices
  • Implement confidence thresholds to reduce manual review workload
  • Monitor daily costs and set budget alerts
  • Process similar invoices in batches with the same provider
  • Consider pre-filtering documents to exclude non-invoices

Maintenance

  • Review API cost reports monthly
  • Archive old extraction logs to maintain database performance
  • Test AI provider connections before API key expiration
  • Keep module updated to latest version for improved AI accuracy
  • Monitor vendor enrichment quality and adjust confidence thresholds
  • Review and update extraction templates quarterly

Support

Professional Support

Get help from our team of Odoo and AI integration experts:

  • Email: support@syntaxandsabotage.io
  • Response time: Within 24 hours
  • Includes: Configuration assistance, troubleshooting, custom AI provider integration

Documentation & Resources

  • Module Documentation: Included with module
  • GitHub Repository: https://github.com/syntax-sabotage/odoo-enterprise-apps
  • Website: https://syntaxandsabotage.io

Frequently Asked Questions

Q: Which AI provider is most accurate for invoices?

A: Claude 3.5 Sonnet and OpenAI GPT-4 Vision typically provide the best accuracy (>95%) for complex invoices. Azure Document Intelligence is excellent for standard invoice formats and often the most cost-effective. Google Cloud Vision offers good multilingual support.

Q: What happens if an invoice is processed incorrectly?

A: You can manually correct extracted fields before creating the invoice. The system learns from corrections to improve future accuracy. All processing is logged for audit purposes.

Q: Can I use multiple AI providers simultaneously?

A: Yes, configure multiple providers with different priorities. The system will try the highest priority provider first and fall back to others if needed.

Q: How are API costs calculated?

A: Each AI provider has different pricing models. The module tracks API usage and estimates costs based on provider pricing. You'll be billed directly by the AI provider.

Q: Can I process invoices in languages other than English?

A: Yes, all supported AI providers handle multiple languages. Claude and GPT-4 Vision support 95+ languages. Specify the language in extraction templates for best results.

Q: What's the maximum file size for processing?

A: The module supports documents up to 10 MB by default. Larger files can be processed by adjusting settings, but may incur higher API costs.

Q: Does the module work with Odoo Community Edition?

A: No, Invoice Pro requires Odoo 19.0 Enterprise Edition with the Account Accountant module.

Q: Can I customize the extraction fields?

A: Yes, create custom extraction templates to add or modify fields. You can also extend the module to add custom field processing logic.

Q: How long does processing take?

A: Typically 5-30 seconds per invoice depending on document complexity, file size, and AI provider. Processing happens in the background queue.

Q: Is my invoice data sent to AI providers?

A: Yes, invoice documents are sent to the selected AI provider for processing. Ensure you comply with your organization's data privacy policies. All providers have enterprise-level security and privacy commitments.

License

This module is licensed under the Odoo Proprietary License v1.0 (OPL-1).

  • One-time purchase: €49
  • Includes: Lifetime updates for Odoo 19
  • No recurring fees
  • 30-day support included

For commercial licensing inquiries, contact info@syntaxandsabotage.io.

Note

AI API costs are billed separately by providers (OpenAI, Anthropic, Azure, Google) based on your usage.

Version History

Version 19.0.1.0 (October 2025)

Initial Release for Odoo 19:

  • Multi-provider AI support (OpenAI, Claude, Azure, Google Vision)
  • Automated invoice data extraction
  • Confidence-based workflow routing
  • Vendor enrichment with smart matching
  • Email-to-invoice automation
  • Accounting integration with default journals
  • API cost tracking and analytics
  • Processing dashboard with provider statistics
  • Customizable extraction templates
  • Complete audit trail and change tracking
  • Queue-based asynchronous processing
  • Multi-company support with data isolation

Testing:

  • Comprehensive functional testing completed
  • All AI providers verified for invoice extraction
  • Security and encryption validated
  • Performance benchmarks established

About

Developer: Syntax & Sabotage

Professional Odoo Development & AI Integration Services

We specialize in creating enterprise-grade Odoo modules with artificial intelligence integrations, custom workflows, and third-party system connectivity.

Contact: info@syntaxandsabotage.io

Website: https://syntaxandsabotage.io

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with