How-to
Odoo Transfer Pricing: Factory and Branch P&L in One Company
How to show a factory margin and separate branch profits in Odoo when all locations are one legal entity, without internal sales inflating company revenue.
Kalvyai Engineering · · 7 min read

On this page
Many manufacturers run one legal entity with a factory and several sales branches. Management wants each location's profit: the factory sells to branches at a transfer price, and each branch sells to customers. The statutory P&L must still show only external revenue and true manufacturing cost.
This guide shows how to do that with standard Odoo. No custom module is needed.
Which Odoo versions and editions this covers
- Analytic plans have existed since Odoo 16. Branches (child companies that share the parent's legal and fiscal data) have existed since Odoo 17.
- The steps were written against Odoo 17 to 19 behaviour. Menus and labels in Odoo 20 may differ.
- Enterprise includes the full Profit and Loss report, analytic filters on financial reports, and editable report layouts.
- Community lets you record everything below. Reporting relies on analytic item pivot views or a reporting add-on, because the full financial reports are Enterprise only.
The core idea: one ledger, internal margin as management data
The factory and the branches are one legal entity, so there is no real sale between them. No invoice, no receivable and no tax. The transfer price is a management number.
The approach works because of one rule:
Every internal entry is posted so that it nets to zero at company level, but lands on different profit centers through analytic distribution.
The factory gets the credit, the branch gets the charge, and the company total does not change. The consolidated P&L then shows only what actually happened: external revenue and real cost.
Branches, analytic accounting, or both?
Analytic accounting is the tool for profit center P&Ls. It tags each journal item to a profit center (Factory, Branch 1, and so on) without splitting the ledger. It works in Community and Enterprise.
Branches are optional. They help with operational separation:
- separate journals and document sequences per location
- user access limited to one location
- filtering reports by branch
Branches do not create internal sales or eliminations for you. Inter-company rules apply to separate companies, not to internal transfer pricing inside one entity.
Recommendation: use an analytic plan for profitability in every case. Add branches only if you also need separate journals, sequences or access control per location. If you use both, keep them in line: a Branch 1 journal entry should carry the Branch 1 analytic account.
Step 1: Create a profit center analytic plan
- Enable analytic accounting: Accounting > Configuration > Settings > Analytic Accounting.
- Go to Accounting > Configuration > Analytic Plans and create a plan named
Profit Center. - Make the plan mandatory on the journal items where it matters, such as income, cost of goods sold and expenses. The applicability settings on the plan control this.
- Create one analytic account per profit center:
Profit Center plan
├── HQ (head office / administration)
├── Factory
├── Branch 1
├── Branch 2
├── Branch 3
├── Branch 4
├── Branch 5
└── Branch 6An HQ account gives head office costs a home instead of forcing them onto a branch. You can allocate them later if management wants fully loaded branch profits.
Step 2: Make analytic tagging automatic
Manual tagging gets forgotten. Set defaults so most entries carry the right profit center without anyone choosing it.
- Analytic distribution models (Accounting > Configuration > Analytic Distribution Models): define rules by account, product, partner or company that fill in the distribution.
- Sales teams or branches: if each branch sells through its own sales team, journal or branch company, use that as a criterion so branch sales get the branch analytic account.
- Manufacturing: set the Factory analytic account on work centers and manufacturing orders, so labour and overhead costs go to the Factory.
- Expenses and vendor bills: factory utilities, maintenance and salaries go to
Factory. Branch rent and staff go to the branch.
Step 3: Add one internal transfer account
Create a single P&L account for transfer pricing:
Code | Name | Type |
|---|---|---|
Your choice | Internal Transfer Price | Income or Other Income |
One account is enough. The factory side is posted as a credit and the branch side as a debit to the same account, so its company-level balance is always zero. The standard P&L stays clean. In the analytic view, the Factory shows positive internal revenue and the branch shows the same amount as a cost.
If management wants separate "Internal Revenue" and "Internal Cost" lines, you can use two accounts. You then have to make sure the company-level P&L nets them, as covered in Step 6.
Do not create a customer record for each branch and issue internal invoices. That creates receivables and payables against yourself, can trigger tax on documents, and adds reconciliation work for no benefit.
Step 4: Decide when the internal sale is recognised
This decision prevents most of the reporting problems.
Recommended: recognise the transfer price when the branch sells to the customer. For each unit sold externally in the period, the factory earns the transfer price and the branch pays it. The factory's margin and the real cost of goods sold always refer to the same units.
Alternative: recognise it when goods leave the factory. The factory books profit on goods still sitting unsold in branch stock. Stock valuation inside one company stays at cost, so the branch's inventory does not carry the $1.50 price. You end up tracking unrealised internal margin outside Odoo. Use this method only if management really needs it and accepts the extra reconciliation.
The rest of this guide uses the at-sale method.
Step 5: Post the monthly transfer pricing entry
Check where cost of goods sold lands
With perpetual (automated) inventory valuation, Odoo posts cost of goods sold when the customer invoice or delivery is validated. The COGS line usually takes the analytic distribution of the sales line, so the $1.00 manufacturing cost lands on the branch.
Management wants that $1.00 on the factory, so the monthly entry also reclassifies COGS between profit centers.
The entry
Take the example of a product made for $1.00, transferred at $1.50 and sold by Branch 1 for $2.00. Suppose Branch 1 sold 1 unit this month. Create a miscellaneous journal entry:
Journal: Miscellaneous Operations (or a dedicated "Transfer Pricing" journal)
Date: last day of the month
Ref: Transfer pricing - Branch 1 - [month]
Account Analytic Debit Credit
Internal Transfer Price Branch 1 1.50
Internal Transfer Price Factory 1.50
Cost of Goods Sold Factory 1.00
Cost of Goods Sold Branch 1 1.00Both accounts net to zero at company level. Only the profit center view changes.
Calculate the amounts
- Keep a transfer price list per product. An Odoo pricelist named "Internal Transfer" works well as a reference, or a maintained spreadsheet.
- At month end, open the sales or invoice analysis, filter on posted customer invoices for the month, and group by profit center and product to get quantities sold.
- Pull COGS per branch from the general ledger, filtered by the Cost of Goods Sold account and grouped by analytic account.
- Multiply quantities by the transfer price and post one entry per branch, or one entry with lines for all branches.
For many products, prepare the lines in a spreadsheet and import them into a draft journal entry. Review the draft before posting.
Account,Analytic,Debit,Credit,Label
Internal Transfer Price,Branch 1,1500.00,0,Transfer pricing Branch 1
Internal Transfer Price,Factory,0,1500.00,Transfer pricing Branch 1
Cost of Goods Sold,Factory,1000.00,0,COGS reclass Branch 1
Cost of Goods Sold,Branch 1,0,1000.00,COGS reclass Branch 1Once the process is stable, a scheduled server action can create the draft entry automatically. That is a small automation, not a custom module, and an accountant still reviews and posts.
Step 6: Build the three reports
Using the example figures, with 1 unit sold:
Line | Factory | Branch 1 | Company |
|---|---|---|---|
External revenue | 0.00 | 2.00 | 2.00 |
Internal transfer price | 1.50 | -1.50 | 0.00 |
Cost of goods sold | -1.00 | 0.00 | -1.00 |
Gross profit | 0.50 | 0.50 | 1.00 |
Factory P&L
In Enterprise, open the Profit and Loss report and filter on the Factory analytic account. Internal transfer revenue, manufacturing cost of goods sold, and factory expenses appear together.
Branch P&Ls
Run the same report filtered on each branch's analytic account. You can also show all profit centers as columns, if your version supports analytic columns on the P&L.
In Community, use the analytic items list in pivot view: analytic accounts as columns, financial accounts as rows.
Company P&L
Run the standard P&L with no analytic filter. With the single-account method, the Internal Transfer Price account and the COGS reclassification both net to zero. Revenue shows $2.00 and cost of goods sold shows $1.00.
If you used two internal accounts, revenue and cost would each show $1.50 extra, even though profit is correct. In Enterprise, fix this by changing the report layout: remove both accounts from the Revenue and Cost lines and place them on one line such as "Internal transfers (eliminated)" that nets to zero.
Common pitfalls
- Untagged entries. Anything without a profit center falls out of every location report. Make the plan mandatory and review untagged journal items each month.
- Returns and credit notes. Reverse the transfer price for returned units in the same month's entry.
- Manufacturing variances. With standard costing, variances and cost revaluations should be tagged
Factory, or the factory margin will be wrong. - Head office costs. Leave them on
HQ, or allocate them with distribution percentages if management wants fully loaded profits. Agree the allocation keys before go-live. - Changing transfer prices. Date your price list and use the price that was valid during the month.
- Tax. Internal entries carry no tax. Confirm with your tax advisor that local rules do not require anything else for movements between locations of one entity.
Dashboards for management
Some managers want a one-page view of profit per location rather than accounting reports. Our Odoo Dashboard (InsightBoard) app builds KPI dashboards and charts inside Odoo. It can sit on top of the analytic data set up above.
How Kalvyai can help
We implement and customise Odoo for manufacturers with several branches. We can set up analytic plans, distribution models, branch structure, transfer pricing entries and reports, and automate the monthly entry with an approval step before anything posts. If you want a second opinion on your structure before go-live, contact us.
- Odoo
- Odoo Accounting
- Analytic Accounting
- Transfer Pricing
- Manufacturing
- Multi-Branch
Kalvyai Engineering · Engineering team
The engineers who build, connect and fix business systems at Kalvyai: Odoo, ERPNext, Shopify and AI agents that work inside them with approvals, budgets and an audit trail.



Comments
No comments yet. Questions and corrections are welcome.
Rate this post or leave a comment