[Skip to content](#main)

[→](/)

[![Avunu](/brand/avunu-logo.svg)![Avunu](/brand/avunu-logo-light.svg)](/)[Services](/services/)[Consulting](/services/consulting/)[ERP](/services/erp/)[Odoo](/services/erp/odoo/)[ERPNext](/services/erp/erpnext/)[Custom software](/services/custom-software/)[Devices & IoT](/services/devices-iot/)[Websites](/services/websites/)[Infrastructure](/services/infrastructure/)[Partners](/partners/)

[Work](/work/)[Open source](/open-source/)[Knowledge base](/kb/)[About](/about/)

[About Avunu](/about/)[Team](/about/team/)[Insights](/insights/)[Contact](/contact/)

[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

- [Services](/services/)[Consulting](/services/consulting/)
- [ERP](/services/erp/)
- [Odoo](/services/erp/odoo/)
- [ERPNext](/services/erp/erpnext/)
- [Custom software](/services/custom-software/)
- [Devices & IoT](/services/devices-iot/)
- [Websites](/services/websites/)
- [Infrastructure](/services/infrastructure/)
- [Partners](/partners/)

[Work](/work/)[Open source](/open-source/)[Knowledge base](/kb/)[About](/about/)

- [About Avunu](/about/)
- [Team](/about/team/)
- [Insights](/insights/)
- [Contact](/contact/)

[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

Odoo Document Import

Odoo 18 modules that turn vendor emails, PDFs, and printed documents into Odoo records, with templates, structured extraction, previews, and routing.

[Open source](/open-source/)

Odoo Document Import

Odoo
Active
AGPL-3.0-or-later

[View on GitHub (opens in a new tab)](https://github.com/Avunu/edi-addons)[Documentation (opens in a new tab)](https://docs.avunu.net/edi-addons/)

PlatformOdoo

LicenseAGPL-3.0-or-later

StatusActive&#xA;

Repository[Avunu/edi-addons](https://github.com/Avunu/edi-addons)

Part of

Used in[Auto & heavy-truck repair](/work/heavy-truck-repair-shop/)

Order confirmations, quotes, and invoices arrive as emails and PDFs, and someone usually re-types them into the ERP. These eight modules build on the OCA's PDF-import-by-template and EDI frameworks so Odoo 18 Community can read those documents itself. You describe a document once as a template, and every matching email or PDF after that becomes a record, with a review queue for anything uncertain.

## Features

**`base_import_pdf_by_template_engine`
:**
&#x20;extension points that let other pattern engines and tools plug into the OCA import module, plus fixes for two table-extraction bugs.

**`import_from_email`
:**
&#x20;plain-text and HTML extraction modes, and a mail alias that files each inbound email as a tracked, retryable EDI exchange record.

**`edi_import_router`
:**
&#x20;one inbox for emailed and printed documents. A TypeSafe classifier picks the document type, confident matches are filed automatically, and the rest wait for review.

**`import_via_xberg`
:**
&#x20;an extraction mode backed by the&#x20;
`xberg`
&#x20;library that parses PDFs into structured tables, with JSONPath to narrow each field before its pattern runs.

**`import_preview`
:**
&#x20;a saved sample per template and a live preview of each line's match while you write it.

**`import_create_missing`
:**
&#x20;creates the linked record (a product, say) when a lookup misses, prefilled with the required fields.

**`import_create_missing_xberg`
:**
&#x20;JSONPath support for those new-record values, installed automatically when both modules are present.

**`edi_purchase_order_import`
:**
&#x20;confirms a purchase order as soon as it is imported from an inbound document and notifies the group you choose.

## Getting started

Add the repository's&#x20;
`18.0`
&#x20;branch to your addons path along with OCA's&#x20;
`edi`
,&#x20;
`edi-framework`
, and&#x20;
`queue`
&#x20;repositories. The&#x20;
[documentation](https://docs.avunu.net/edi-addons/)
&#x20;explains how the pieces fit and how to build your first template. With&#x20;
[odoo-nix](/open-source/odoo-nix/)
:&#x20;
`odoo module add Avunu/edi-addons 18.0`
.

Highlights

Import from email bodies as well as PDFsOne inbox that classifies each document and picks its templateStructured table extraction with JSONPath selectionLive preview of what each pattern matchesMissing products or partners created on the fly

Related projects

[All open-source projects](/open-source/)

[Odoo Auto Repair Vertical](/open-source/vertical-auto-repair-addons/)

Active&#xA;

A repair-shop system for Odoo 18 Community, from digital vehicle inspections and portal estimates to technician scheduling and an iPad app for the bay.

AGPL-3.0-or-later[GitHub](https://github.com/Avunu/vertical-auto-repair-addons)

[Odoo Repair Extensions](/open-source/repair-addons/)

Active&#xA;

Odoo 18 modules for the Repairs app, extending OCA/repair with kanban stages, customer vehicles, service lines on templates, a work timer, and parts from purchase orders.

AGPL-3.0-or-later[GitHub](https://github.com/Avunu/repair-addons)

[Odoo Vehicle Catalog and VIN Decoding](/open-source/fleet-addons/)

Active&#xA;

Odoo 18 Fleet modules with a catalog of US makes and models, a Year/Make/Model picker, and VIN decoding through the free NHTSA vPIC API.

AGPL-3.0-or-later[GitHub](https://github.com/Avunu/fleet-addons)

Need help with it?

Need this implemented? Our Odoo implementation team can build your import templates and routing rules.

[Explore Odoo implementation](/services/erp/odoo/)[Start a project](/start/)

Services

- [ERP implementation](/services/erp/)
- [Odoo](/services/erp/odoo/)
- [ERPNext](/services/erp/erpnext/)
- [Custom software](/services/custom-software/)
- [Devices & IoT](/services/devices-iot/)
- [Websites](/services/websites/)
- [Infrastructure](/services/infrastructure/)

Resources

- [Our work](/work/)
- [Open source](/open-source/)
- [Knowledge base](/kb/)
- [Insights](/insights/)

Company

- [About](/about/)
- [Team](/about/team/)
- [Partners](/partners/)
- [Contact](/contact/)

Clients

- [Project portal](https://erp.avunu.net/projects)
- [Invoices](https://erp.avunu.net/)
- [Support](https://erp.avunu.net/)

[![Avunu](/brand/avunu-logo-light.svg)](/)[\<av-icon data-jx-static>\<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" stroke="none" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">\<path d="M20.400 20.500h-3.600v-5.600c0-1.300 0-3-1.800-3s-2.100 1.400-2.100 2.900v5.700H9.400V9h3.400v1.600c.5-.9 1.600-1.900 3.400-1.900 3.600 0 4.300 2.400 4.300 5.500v6.300zM5.300 7.400a2.100 2.100 0 1 1 0-4.100 2.100 2.100 0 0 1 0 4.100zm1.800 13.100H3.600V9h3.500v11.500zM22.200 0H1.800C.8 0 0 .8 0 1.700v20.600c0 .9.800 1.700 1.800 1.700h20.400c1 0 1.800-.8 1.800-1.700V1.700C24 .8 23.200 0 22.200 0z">\</path>\</svg>\</av-icon>](https://www.linkedin.com/company/avunu)[\<av-icon data-jx-static>\<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" stroke="none" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">\<path d="M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.7-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2a11.500 11.500 0 0 1 6 0c2.300-1.500 3.300-1.200 3.300-1.200.6 1.700.2 2.900.1 3.200.8.8 1.200 1.900 1.200 3.200 0 4.600-2.800 5.600-5.500 5.900.4.400.8 1.100.8 2.200v3.300c0 .3.2.7.8.6A12 12 0 0 0 12 .3">\</path>\</svg>\</av-icon>](https://github.com/Avunu)[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

Avunu LLC · 948 East Philadelphia Street, York, PA 17403 · (717) 814-8540Knowledge base articles are in the public domain[Privacy](/privacy/)[Terms](/terms/)
