Skip to Content
Menu

AI OCR Provider - Azure Document Intelligence

by
Odoo

87.59

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Invoicing (account)
Community Apps Dependencies
Lines of code 977
Technical Name az_invoice_provider_ai_ocr_azure
LicenseOPL-1
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Invoicing (account)
Community Apps Dependencies
Lines of code 977
Technical Name az_invoice_provider_ai_ocr_azure
LicenseOPL-1
Versions 16.0 17.0 18.0

Azure Document Intelligence provider

This add-on brings the Azure Document Intelligence integration to the AZ AI OCR Vendor Bills ecosystem. It uses Microsoft's prebuilt-invoice model to parse PDFs and return supplier details, invoice number, dates, currency, line items, and totals.

Pricing: this provider module costs 15.00 €, if you have purchased the base module ( AZ AI OCR Vendor Bills ) first.

Key features

  • Native Azure v3.1 REST integration with the prebuilt-invoice model
  • Asynchronous processing with robust polling and timeouts
  • High-quality invoice parsing (vendor, number, dates, currency, taxes, totals, lines)
  • International: works across many locales and formats
  • Timeout & polling controls (HTTP timeout, poll interval, max wait)
  • Clear, structured logging in Odoo for troubleshooting
  • Seamless with the base module's Import vendor bill (AI) wizard

Requirements

This provider relies on the following (installation details are not included here):

  • Azure Document Intelligence resource in a supported region
  • Azure endpoint (e.g., https://<resource>.cognitiveservices.azure.com)
  • Azure API key (Ocp-Apim-Subscription-Key)
  • API version (default 2023-07-31)
  • Model ID (default prebuilt-invoice)

Notes: API usage is subject to your Azure subscription and service limits (throughput/quotas). Ensure your endpoint, key, region, and API version match your Azure resource configuration.

Configuration

  1. Install AZ AI OCR Vendor Bills (base module) and this provider: az_invoice_provider_ai_ocr_azure.
  2. Go to:
    Accounting → Configuration → Settings → AI OCR for Vendor Bills
    Select Azure Document Intelligence as the active provider.
  3. In the Azure Document Intelligence settings block:
    • Azure endpoint - paste your resource endpoint (no trailing slash)
    • Azure API key - primary or secondary key from your resource
    • API version - e.g., 2023-07-31
    • Model ID - usually prebuilt-invoice
    • HTTP timeout (sec), Poll interval (sec), Max poll seconds
Azure provider settings: select provider and configure fields

How to use

  1. Open Accounting → Vendors → Bills, click New. In the bill form, press Import vendor bill (AI), upload the PDF, and choose between a single 'totals' line or full line items.
  2. The provider sends the PDF to Azure, polls the asynchronous operation until it completes, maps the returned fields, and attaches the original PDF to the draft bill.

Tips & troubleshooting

  • For 401/403 errors, verify the endpoint region and API key (primary/secondary) are correct.
  • For 429 (rate limit) or long files, increase Poll seconds and/or HTTP timeout.
  • Keep Model ID as prebuilt-invoice unless you use a custom model.
  • Ensure the endpoint URL has no trailing slash and matches your Azure resource region.
  • Check Odoo logs for detailed request/polling status (no sensitive data is logged).

Privacy & data

This provider sends documents to Microsoft Azure for processing. Ensure your use complies with your organization's data policies and Azure's terms. API usage may incur costs according to your Azure subscription.

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.