OdooWiki OCA HUB

Account Invoice Ocr Google

account_invoice_google_document_ai folder_open OCA/account-invoicing open_in_new
Uncategorised License: AGPL-3

This module allows to pass data directly to Google OCR in order to parse the Invoice

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you read supplier invoices automatically with Google Document AI: Odoo fills in dates, reference, supplier, currency, taxes and lines from the PDF, and warns you when the totals do not match.

This module connects Odoo to Google Document AI so that supplier invoices (purchase documents) can be read automatically from their PDF attachment.

Where it appears: - In Accounting settings, a new Google OCR section lets you choose the mode: do not send, send manually, or send automatically, and enter the Google project, location (Europe or United States), processor and authentication file. These settings are company-specific. - On a draft supplier invoice, a "Send to OCR" button appears in the header when the invoice can be processed.

What it does: - When you click the button (or automatically, if the company is set to send automatically), the PDF is sent to Google Document AI and the returned data is written on the invoice: invoice date, due date, supplier reference, currency, supplier details (name, address, email, phone, VAT, IBAN) and invoice lines with description, quantity and unit price. - The supplier is matched by VAT first, then by name; the company is matched by VAT. - Totals read from the document (total, untaxed, tax) are compared with the invoice amounts, and any difference is posted as a message on the invoice. - Only PDF attachments are processed, and only purchase documents in draft state.

Depends on

account
Models and fields (4)
  • res.company · extends an existing modelocr_google_enabled, ocr_google_project, ocr_google_location, ocr_google_processor, ocr_google_authentication, ocr_google_authentication_name
  • account.move · extends an existing modelcan_send_to_ocr
  • res.config.settings · extends an existing modelocr_google_enabled, ocr_google_project, ocr_google_location, ocr_google_processor, ocr_google_authentication, ocr_google_authentication_name
  • account.move.google.document.ai · new model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 16.0

In order to configure this functionality, it is necessary to create a Google Cloud Console account and App. Then, we need to active Document AI API to this App and finally create an OCR processor.

Also, a user for this App is necessary. We can use our own credential files created using gcloud auth login or create service account on Google Cloud Console. For the service account, we need to give it permissions to access Google Document AI API. We need to store the JSON File.

With all this information we can add the information on our Odoo instance on Invoicing \ Settings.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.