Spinning Up New Companies in Business Central Online the Same Way Every Time

A company factory: a golden configuration package, creation through the automation API, dimensions fixed across the group, and a checklist that leaves month end and audit trails untouched.

Build a company factory instead of copying the last company by hand. Keep a golden configuration package in source control with the chart of accounts, posting groups, dimensions, number series, payment terms and templates the group has agreed. Create each company empty through the automation API or a scripted run, then upload and apply the package through the same API, so every company starts identical. Fix the dimension codes and global dimensions across the group and let only dimension values vary. Run it in a sandbox first, outside the close window, and follow a checklist for users, permissions, change log and banking, so live companies are untouched and each company's data stays separate for audit.

Why does creating a new company by hand go wrong?

Because each company ends up a little different. Someone copies the last company and deletes what looks like transactions, someone else starts from an empty company and keys the setup from memory, and after a few acquisitions the group has several charts of accounts that are almost the same, dimension codes that mean different things, and posting groups that send the same transaction to different accounts. Consolidation then needs mapping that nobody owns, and every new company takes longer than the last.

There is also a control problem. Copy Company on the Companies page copies the source company's data, so copying a live company carries its customers, vendors, open entries and history into the new one, which an auditor will not accept and which takes time to undo. A repeatable process starts from a clean source and leaves the live companies alone.

What does a company factory in Business Central consist of?

Four parts, each with an owner. The structure of the group itself, meaning companies versus environments, intercompany and consolidation, is covered on multi-entity and intercompany in Business Central; this page covers how each new company is created consistently inside that structure.

PartWhat it holdsOwner
Golden configuration packageChart of accounts, posting groups, dimensions and global dimension setup, number series, payment terms, VAT setup per country, configuration templatesGroup finance, with the package versioned in source control
Template companyThe same setup applied in a sandbox company that never holds transactions, used to build and test the packageThe Business Central administrator
Creation scriptCalls that create the company, upload, import and apply the package, and log the resultThe developer or administrator who runs the factory
Go-live checklistUsers, permissions, change log, job queue, banking, intercompany partner and consolidation setupGroup finance and the administrator together

What belongs in the golden configuration package?

Setup that should be identical in every company, and nothing that belongs to one entity. Configuration packages, also called RapidStart packages, export and import table data, and the configuration worksheet decides which tables and fields go in. Keep the package focused so applying it is predictable.

  • Include: G/L accounts and account categories, general, VAT, customer, vendor, inventory and bank account posting groups and their setups, dimensions and dimension values that are shared, number series patterns, payment terms and methods, units of measure, configuration templates for customers, vendors and items.
  • Include per country variants as separate packages layered on the group package, for VAT posting setup and statutory reporting setup where countries differ.
  • Exclude: company information, bank accounts, users, transactions, open entries and anything with a personal or entity specific value.
  • Exclude data that master data synchronization will bring from the source company, so the package and the sync do not fight over the same records.
  • Version the package file in source control and note what changed, so you know which companies were created from which version.

How do you create a company and apply the package through the API?

Business Central online exposes automation APIs for exactly this. The automationCompanies endpoint creates a new company in the environment, and the configurationPackages endpoint lets you create a package record in that company, upload the package file, then call import and apply actions and read the status and errors. A script in PowerShell, an Azure Function or a pipeline can run the sequence with a service principal that has the automation permissions, so the factory is one command with a log rather than an afternoon of clicks. Endpoint names and versions move between releases, so check them against the automation API documentation for your version.

Applying a large package can take time, and some tables depend on others, so apply in a sandbox first and read the package errors before running in production. Extensions are installed per environment and are already there for the new company, but their own setup pages and assisted setups still need running in the new company; include them in the checklist or in the package if their setup tables can be exported.

How should dimensions be fixed across the group?

Fix the codes and the global dimensions, and let only the values vary. Global dimensions and shortcut dimensions are set per company in General Ledger Setup, so the package and the checklist must set them the same way every time: for example DEPARTMENT and COSTCENTRE as global dimensions 1 and 2 in every company, PROJECT and REGION as shortcut dimensions. Dimension codes that mean the same thing everywhere make consolidation, intercompany dimension mapping and group reporting work without translation tables.

Shared dimension values, such as group departments, go in the package. Entity specific values, such as local cost centres, are added per company and named with a pattern the group agrees. Default dimensions on accounts and the rules for mandatory dimensions belong in the package too, so posting rules are identical. The design of the chart of accounts and dimensions themselves is covered on chart of accounts and dimensions design.

How do you keep month end undisturbed and data separate for audit?

Company creation touches only the new company, but the run around it can still disturb live work. A few rules keep it clean.

  • Never copy a live company. Create empty and apply the package, or copy only the template company that has never held transactions.
  • Run the factory in a sandbox copy first, and in production outside the close window, so long package imports do not compete with the close jobs.
  • Give users access to the new company through company specific permissions, so nobody posts there by accident and auditors can see who had access from day one.
  • Turn on the change log in the new company before any data is loaded, for the setup tables your auditor cares about.
  • Check the opening trial balance is zero before migration or opening balances are posted, and keep the factory run log with the package version as evidence.
  • Set up the new company as an intercompany partner and a consolidation business unit only after its own setup is checked.

What does the factory look like step by step?

A sequence that a group can run for every new entity, with the same result each time.

StepWhat to do
1. Agree the group standardDecide what every company shares: chart of accounts, posting groups, dimension codes and global dimensions, number series patterns, payment terms, VAT setup per country and templates for customers, vendors and items.
2. Build a clean template companySet the standard up once in a sandbox company that never holds transactions, and use it only as the source of the configuration package.
3. Export the golden packageUse the configuration worksheet to define the tables and fields in the package, export it, and keep the package file in source control with a version and a change log.
4. Script the creationCreate the new company empty through the automation API, upload the package to it, import and apply it, and record the result and any package errors in the run log.
5. Apply the local layerAdd only what differs by company: name, address, registration numbers, bank accounts, local VAT and the dimension values for that entity.
6. Run the checklistAssign users and company specific permissions, turn on the change log, set up job queue entries, connect banking and intercompany, and check the opening trial balance is zero before data is loaded.
7. Prove it in a sandbox, then productionRun the whole factory in a sandbox copy first, compare the new company against the template, then run it in production outside the month end close window.

When should the factory be maintained, and by whom?

Every time the group standard changes. A new posting group, a renamed dimension value or a new VAT rate goes into the template company and the package first, then to the existing companies through a planned change, so new and old companies do not drift apart. Keep one owner in group finance who approves changes to the standard, and one technical owner who maintains the package and the script. For groups rolling out across countries, the governance around that core is described on a core team for a multi-country rollout.

What does Solzet build for repeatable company setup in Business Central?

Solzet agrees the group standard with your finance team, builds the template company and the golden configuration package, writes the creation script against the automation APIs with a run log, fixes the dimension setup across the group, and hands over the checklist for users, permissions, change log, banking and intercompany. We run the first new company with you in a sandbox and then in production, and train your administrator to run the next ones. Our own senior consultants and AL developers do the work. The service line is Dynamics 365 Business Central.

Where each new entity also needs a CRM, organisations that would rather not carry Microsoft licensing for it can choose a custom CRM. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.

What do people ask us?

How do I create a new company in Business Central with the same setup as the others?

Keep a golden configuration package built from a clean template company, create the new company empty, then import and apply the package, by hand or through the automation API. Add only entity specific data such as company information, bank accounts and local dimension values.

Should I use Copy Company to create a new company?

Only from a template company that has never held transactions. Copy Company copies the source company data, so copying a live company brings its customers, vendors, entries and history into the new one.

Can I automate company creation in Business Central online?

Yes. The automation APIs let a script create a company and then upload, import and apply a configuration package in it, with status and errors returned. Check endpoint names and versions against the documentation for your version.

What should a configuration package for a new company contain?

Shared setup: chart of accounts, posting groups, dimensions, number series, payment terms, VAT setup per country and templates. Leave out company information, bank accounts, users, transactions and anything entity specific.

How do I keep dimensions consistent across Business Central companies?

Use the same dimension codes and the same global and shortcut dimension setup in every company, put shared values and default dimension rules in the package, and let only entity specific values vary under an agreed naming pattern.

Will creating a new company affect the other companies?

Not their data, because each company holds its own. Run large package imports outside the close window, give users company specific permissions and never copy a live company, so the live companies are undisturbed.

Can Solzet set up a company factory for our group?

Yes. We build the template company, golden package and creation script, fix dimensions across the group, and hand over the checklist and the run log, then run the first company with you.

Which solution is right for your business?

Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.