OdooWiki OCA HUB

Account Bill Line Distribution

account_bill_line_distribution folder_open OCA/multi-company open_in_new
Invoicing Management License: AGPL-3

Odoo Accounting allows to create vendor bills and 100% of the expense is accounted in the current company. Some holding needs to be able to distribute some vendor bills (like rent) across multiple children companies.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Lets you split a vendor bill line across several companies by percentage, and when the bill is validated Odoo automatically creates the inter-company accounting entries so each company carries its share of the expense.

When you enter a vendor bill, each bill line now has a Distribution table where you list the companies that should bear the cost and the percentage each one takes. The amount for each company is calculated automatically from the line's subtotal and its percentage, and the percentages on a line must add up to exactly 100% or Odoo blocks the entry with an error. If you leave the distribution empty, Odoo fills it in for you with 100% on the bill's own company.

When the bill is validated, Odoo posts extra journal entries: the bill's company records what is due from the other companies, and each other company gets its own entry for its share, using the due-from/due-to accounts and payment journals configured on the companies. If a company does not have an account with the same code as the expense account, validation stops with an error message.

The distribution columns appear in the vendor bill form and in the bill line form and list, and the bill lines become editable directly in the form. Only accounting managers can create, change or delete distribution lines; other accounting users can only read them.

Models and fields (3)
  • account.invoice · extends an existing model
  • account.invoice.line · extends an existing modeldistribution_ids (Distribution)
  • account.invoice.line.distribution · new modelamount (Amount), percent (Percentage), company_id (Company), invoice_line_id (Bill Line)

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

Sources · Odoo 12.0

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

terminal Installation and usage

OCA documentation · Odoo 12.0
  • Go to Settings > General Settings
  • Go to the section Multi-Companies to check Multi-companies
  • For each company
  • Go to Accounting > Configuration > Settings
  • Install the chart of accounts
  • Go to Accounting > Configuration > Accounting > Chart of Accounts
  • Create 2 accounts Due To (Current Liabilities) and Due From (Current Assets)
  • Go to Accounting > Configuration > Accounting > Journals
  • Create a bank journal Due To/Due From
  • Go to Settings > User & Companies > Companies
  • Select the current company
  • Go to the Inter-Company Payment Configuration tab
  • Set the fields with the accounts and journal previsouly created
  • Go to Accounting > Vendors > Bills
  • Create a new bill
  • Select the vendor
  • Add a line:
  • Select the product and set the quantity
  • Create the distribution by adding lines with a company and its percentage
  • Validate the invoice

In the current company, an additional journal entry is created in the Due To/Due From journal:

+---------------+-----------+--------+--------+ | Account | Partner | Debit | Credit | +===============+===========+========+========+ | Rent | Company 2 | | 180 | +---------------+-----------+--------+--------+ | Due From | Company 2 | 180 | | +---------------+-----------+--------+--------+

In the other company, a journal entry is created in the Due To/Due From journal:

+---------------+---------------+--------+--------+ | Account | Partner | Debit | Credit | +===============+===============+========+========+ | Due To | YourCompany | | 180 | +---------------+---------------+--------+--------+ | Rent | Company 2 | 180 | | +---------------+---------------+--------+--------+

No verified information in OCA: Installation.

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.