Intercompany invoicing: group sales mirrored as purchases
Flag a customer as a group company so a sales invoice to it is booked automatically as a purchase in the other company and eliminated on consolidation.
On this page
Process at a glance
- Flag the group customer and map its ledgersFinance managerCustomer ledger, group company, vendor ledger, purchases ledger (and input-tax ledger) are saved as a link.
- Post a sales invoice to that customerAccountantThe invoice posts as usual.
- Check the intercompany entryFinance managerA matched sale entry shows the counterparty purchase booking; an unmatched one shows why it was not mirrored.
#Purpose and scope
When company A posts a sales invoice (record type SI) to a customer that is flagged as a group company, BSuit posts the matching purchase booking in company B and records a matched intercompany entry of type sale. Consolidation then drops both sides automatically. Draft status: this guide has not been reviewed by a named human reviewer. First slice only: invoices are mirrored as a journal (not as a stock-receiving purchase invoice), no goods or stock move between the companies, and credit notes and sales returns are not mirrored. Both companies must be in the same BSuit database. The feature is controlled by the finance_intercompany feature flag. Customers that are not flagged are not affected.
#Before you start
- Open Intercompany, section Group-company customers. Choose the customer ledger of the invoicing company and the group company it represents.
- Choose the vendor ledger in the group company that represents the invoicing company, and the purchases or expense ledger to debit. If the invoices carry tax, also choose the group company’s input-tax ledger. Nothing is guessed across charts of accounts.
- Save the link. Only a superuser or FINANCE-MANAGER can create, change or remove a link; remove the flag to stop mirroring new invoices (invoices already mirrored keep their pair).
#What posting creates
| Record | Detail |
|---|---|
| Group company journal | One journal in the group company (voucher type JV): Dr purchases or expense ledger for the net amount, Dr input tax if the invoice has tax, Cr the vendor ledger for the invoice total. Currency and rate are copied from the invoice. Every row of the journal is shown. |
| Intercompany entry | One entry of type sale with status matched, linking the invoice and the journal, flagged for elimination so consolidation removes both sides. |
#When the mirror is not posted
- If the link is incomplete or a mapped ledger was deleted or belongs to the wrong company, or the invoice has tax but no input-tax ledger is mapped, or the group company’s period is closed, nothing is posted. An unmatched intercompany entry is kept with the reason in its description.
- Fix the link or the period, then use Retry mirror on that entry in the Intercompany list.
#Cancelling
Cancelling the sales invoice posts a reversing journal in the group company and sets the intercompany entry to cancelled. Cancelling the group company’s journal instead sets the entry back to unmatched, so the invoice can be mirrored again with Retry mirror. If the reversal cannot be posted automatically, the cancellation response carries a warning and you reverse the group company’s journal yourself.
#Not supported yet
- Goods and stock movement between the companies.
- Sales returns and credit notes mirrored as purchase returns and debit notes.
- The reverse direction (a purchase invoice creating the sale in the other company).
- Companies in separate databases.
- Mirroring invoices posted before the customer was flagged (use Retry mirror per invoice).
About this guide
- Status
- Partially reviewed
- Application
- BSuit ERP
- Audience
- Group accountants and finance managers
- Owner
- BSuit documentation team
- Reviewer
- Editorial review pending
- Last verified
- 2026-10-18
- Checked against
- 37804578e
- Seen on a running system
- Not yet
- Help version
- 2026.0.0-preview
- Guide ID
erp:article/guide/intercompany-invoicing
Known limits: Drafted by an agent from the implementation; the screen was not walked through on a running system and the unit tests use an in-memory database. A named human reviewer is still required before this can be marked verified.