OdooWiki OCA HUB

Inter Company Invoices

account_invoice_inter_company folder_open OCA/multi-company open_in_new
Accounting & Finance License: AGPL-3

This module is usefull if there are multiple companies in the same Odoo database and those companies sell goods or services among themselves. It allow to create an invoice in company A from an invoice in company B.

Imagine you have company A and company B in the same Odoo database. First scenario: company B create an invoice with company A as customer. The module will automate the generation of the supplier invoice in company A. Second scenario: company A create an invoice with company B as supplier. The module will automate the generation of the customer invoice in company B.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When two companies in the same database trade with each other, posting an invoice or bill automatically creates the mirror document in the other company, so both sides stay in sync without manual entry.

This module links the companies that share one Odoo database so that invoices between them are created automatically.

  • When you post a customer invoice or a vendor bill whose partner is another company of the database, Odoo creates the counterpart document in that company: a customer invoice becomes a vendor bill and vice versa, and credit notes are mirrored the same way.
  • The generated document is marked as auto generated and keeps a link to its source invoice, so you can trace both sides. The source invoice number is copied into the reference and origin fields.
  • A PDF copy of the original invoice is attached to the counterpart document.
  • If the totals of the two documents differ, a warning message is posted on the generated invoice.
  • You cannot reset an invoice to draft while its counterpart is still posted, and cancelling the source invoice cancels the generated one too.
  • On an auto generated invoice, changing the untaxed amount is blocked because it would no longer match the source.
  • Every invoice line must have a product, and the product must be readable by a user of the destination company, otherwise an error stops the process.
  • The destination company must have a sale or purchase journal, otherwise an error is raised.

Settings appear in the general settings under a multi-company section: switch intercompany invoicing on or off, choose a responsible user for the generated documents, and decide whether they are validated automatically (on by default).

Depends on

accountbase_setup
Models and fields (4)
  • res.company · extends an existing modelintercompany_invoicing (Generate Inter company Invoices), invoice_auto_validation, intercompany_invoice_user_id (Inter Company Invoice User)
  • account.move · extends an existing modelauto_generated (Auto Generated Document), auto_invoice_id (Source Invoice)
  • account.move.line · extends an existing modelauto_invoice_line_id (Source Invoice Line)
  • res.config.settings · extends an existing modelintercompany_invoicing (Generate Inter company Invoices), invoice_auto_validation (Invoices Auto Validation), intercompany_invoice_user_id

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/multi-company.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to go to the menu Settings \> General Settings, go to the tab Companies / Inter Company OCA features

You now have access to other options Intercompany user for invoices and Invoice Auto Validation.

To customize products sharing don't hesitate to override _compute_share_product() in res.company model.

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.