Operations · 11 min read

Published

The corporate group's AI problem

Why a workflow that runs seven different ways across the group should not get seven agents, and what needs to be in place before anything is built.

A group that has grown through acquisitions rarely has one workflow for supplier invoices. It has one per company, and the same often goes for reconciliation, purchasing and accounts receivable. Each acquired company brought its own way of working with it, and in many cases integration stopped at the consolidated accounts.

That works as long as each company looks after its own. The problem starts the day someone says "we want AI on the invoices" and means the whole group. In practice that request contains one build per company, and the builds only look alike from a distance.

Below we go through why one agent per company ends up expensive and fragile, and the order of work that holds up better. At the end comes a Swedish detail that groups easily miss: how subsidiaries are counted under the Swedish Cybersecurity Act.

1. One workflow, seven variants

Take supplier invoices. Every company in the group receives them, checks them, codes them, approves them and pays them. At that level the workflow is identical. One level down, it differs.

What differsCommon variants
How the invoice arrivesE-invoice, PDF to a shared mailbox, paper that gets scanned, a supplier portal
Finance systemA cloud system in one company, an older ERP system in another, a third in the acquired company that nobody has dared to replace
Approval policyAmount and cost centre in one company, project and the person responsible in another, two approvers above a certain limit in a third
Chart of accounts and dimensionsIts own chart of accounts, the group chart of accounts, or the group's with local additions
What counts as an exceptionDeviation from the order, missing order number, new supplier, changed bank details, a different currency
Who handles the exceptionsThe accounts assistant, the buyer, the site manager, someone at group level

Each row is a small difference. Together they turn one workflow into as many workflows as you have companies, and almost none of the differences are written down. They live with the person who does the work.

2. Why one agent per company ends up expensive and fragile

The simple route is one agent per company. It is easy to decide on, since each build is small and nobody has to reach agreement with another company. The cost comes later, in maintenance.

Each agent has its own rules, its own test cases, its own exceptions and its own connection to a system. When a company changes its approval policy, the group switches models or the ERP system changes an interface, the change has to be made once per agent, and that goes on for as long as the agents are in production.

The agent also becomes a copy of a process nobody has documented. If it is built directly on how the company happens to work today, every exception gets baked in, including the ones that only exist for historical reasons. When the person who knew why leaves, the answer exists only in the agent, and nobody dares touch it. It is the same problem we describe in Don't put AI on a broken process, multiplied by the number of companies.

Security work grows at the same rate, since each agent has its own permissions to keep to a minimum and its own log to review. We work on the assumption that an agent can be tricked by content it reads, and that an agent that has read untrusted text should therefore not be able to trigger payments or pass data on. That can be designed into one solution you can oversee. In seven solutions that grew up separately, it is considerably harder.

Nor do the agents learn from each other. The exception one company solved in March turns up in another in September and gets solved all over again.

3. Give each company a documented process

Merging systems or choosing an AI platform can wait. For a workflow like supplier invoices, a documented process with an owner means:

  • One way of receiving the invoice, or a small number of ways with clear rules for which one applies when.
  • A written approval policy that the system can enforce, so that it does not live in email threads.
  • A list of what counts as an exception and who owns each type.
  • A sorting of every step into rules that ordinary code can handle, judgements where a model is needed, and decisions that should rest with a human because they are ambiguous, carry accountability or cannot be undone.

Most of a finance workflow needs no AI model at all. Duplicate checks, checking bank account numbers against the supplier register, VAT logic, account coding against a rule and the approval itself are handled by ordinary code. The model is needed where something has to be interpreted: an invoice without an order number that has to be matched to a delivery, or free text that decides whether it is a complaint. The rest should not go through a model, for reasons of both cost and security. "No model" is always an option.

Nothing on the list requires the companies to have the same finance system. Two companies can have the same approval policy and the same exception list in two different systems. Replacing a system is as a rule a large and slow project, while a process decision can be made without replacing any system.

We cover how to decide whether a workflow is worth building on at all in Automating a process: do the maths first. Do that calculation for each company separately, and you will see where starting makes the biggest difference.

4. Sort the companies by how the workflow works

Only once each company has a documented process can you see how large the variation really is. Seven companies with six different systems may well turn out to have two ways of receiving invoices, two sets of approval logic and one shared exception list.

Sort the companies by that similarity: same intake, same approval logic, same exceptions and, where applicable, same system. Business area, country and reporting lines say little about how the workflow works in practice.

The result is a few patterns instead of a long list of builds, and the pattern is what you build the agent for.

The agent is built once per pattern and configured once per company.

Take the pattern "PDF in, approval on amount and cost centre, exceptions to finance". The chart of accounts, the approval limits, the supplier register and the system connection are configuration, one set per company. The business rules sit outside the code, so the process owner in each company can change an approval limit without anyone having to rewrite anything. If a company wants to depart from the pattern, that should be a deliberate decision made with the cost known.

An exception that turns up in one company is then handled in the pattern and applies to every company that shares it.

Where the agent runs does not change the principle. It can be built in your own Microsoft or Google environment, in other systems you already have, or run by us. Wherever it runs, the installation should be isolated and yours alone, the permissions as narrow as possible per company, and every action logged so it can be traced afterwards. For the Cybersecurity Act, however, the placement can matter. See the next section.

5. The subsidiary counts under the Cybersecurity Act

The Swedish Cybersecurity Act (2025:1506) as a rule applies to organisations with at least 50 employees, or with both turnover and a balance sheet total above EUR 10 million, in the designated sectors. Energy, transport, food and parts of manufacturing are among them. Size is calculated using the EU definition of small and medium-sized enterprises. On its page about who is covered, the National Cyber Security Centre (NCSC) at the National Defence Radio Establishment (FRA) says that you must take linked enterprises and partner enterprises into account when calculating size, for example if you belong to a group. As support, the NCSC recommends the EU user guide to the definition of small and medium-sized enterprises.

A subsidiary in one of the sectors that falls below the threshold on its own can therefore be covered through the group.

There is an exemption. Under the regulations on notification and identification (MCFFS 2026:1, Chapter 3, Section 1), an entity is to be exempted from the scope of the Act if all three conditions below are met:

  1. The company is a partner enterprise or a linked enterprise and meets the size requirement only through its links to other enterprises.
  2. Operation and management of its own production environment are carried out in all essential respects independently of the production environments of the other enterprises.
  3. The company otherwise has such a high degree of independence that it would be disproportionate to have it covered by the Act.

By production environment, the regulations (Chapter 1, Section 3) mean the part of the digital environment that the entity uses for its production or to carry out its mandate.

Read that against sections 3 and 4. A subsidiary that runs its own ERP system and its own operations may have an argument for the exemption, if the other conditions are also met. If the same company is moved into the group's shared system, or has its workflows run by an agent that the group operates, then on our reading of the wording it becomes harder to show that its own production environment is run in all essential respects independently. The regulations do not say how much can be shared before the condition fails, and we will not claim more than that. At the time of writing we have not seen any guidance on how the exemption is to be interpreted. The assessment of whether you are covered is yours to make.

That is no reason not to standardise, but the question belongs in the plan before you move anything. Building once per pattern does not require the agent to run in a shared environment. The same solution can be installed separately in each company, and that choice is best made with the exemption in mind. It is better to know that a subsidiary is covered while the agent is still on the drawing board than when the supervisory authority asks.

For the companies that are covered, the supplier requirements also apply. Since 1 October 2026 they have been required to ensure that suppliers meet the security requirements of the regulations on security measures, in the parts the supplier is responsible for, unless they operate solely in the five sectors that are exempt from those requirements (MCFFS 2026:11, Chapter 1, Section 1 and Chapter 4, Section 1). That includes whoever builds the agent. We go through what that means in What the Swedish Cybersecurity Act requires of your suppliers.

This text is a summary and does not constitute legal advice.

6. Where to start

Six steps, in this order. The first three need no technology at all.

  1. Lay out the workflow in each company: who does what, in which system, and what happens when something does not add up. Sit next to the person doing the work, since the written procedure rarely matches how the work actually gets done.
  2. Count the variants. Use the table in section 1 as a template, and you get a figure for how many workflows you actually have.
  3. Sort the steps in each company into rule, judgement and human, and give each company a process owner with authority over its own rules.
  4. Sort the companies by how the workflow works and count the patterns. The number of patterns is the number of builds.
  5. Decide which data may reach a model. Business data, personal data and accounting records have different requirements, and the data class decides which model may see them, or whether any model is needed at all.
  6. Check the Cybersecurity Act company by company: which are covered on their own, which are covered through the group, and what a shared environment does to the exemption in Chapter 3, Section 1 of MCFFS 2026:1.

Then start with the largest pattern, in one company, in shadow mode: the agent runs alongside, a human makes the decisions and every discrepancy is logged. Once the pattern holds there, it is rolled out to the next company that shares it.

Three questions to ask before any supplier is invited in:

  • How many versions of the invoice workflow do we really have, and who knows?
  • Which company has the clearest process today, and could it become the template for others?
  • Which of our subsidiaries are covered by the Cybersecurity Act, and on what grounds?

Sources

  1. Swedish Cybersecurity Act (Cybersäkerhetslag (2025:1506)) Chapter 1, Section 2, points 2, 13 and 18 (linked enterprise, medium-sized enterprise, partner enterprise), Chapter 1, Section 4, point 3 (the size requirement), Chapter 2, Section 2 (the organisation registers itself)
  2. MCFFS 2026:1, regulations on notification and identification of essential and important entities (föreskrifter om anmälan och identifiering av väsentliga och viktiga verksamhetsutövare) Chapter 1, Section 3 (the definition of production environment) and Chapter 3, Section 1, points 1 to 3 (exemption for partner enterprises and linked enterprises), in force from 2 February 2026
  3. MCFFS 2026:11, regulations and general advice on security measures and management training for essential and important entities (föreskrifter och allmänna råd om säkerhetsåtgärder och ledningens utbildning för väsentliga och viktiga verksamhetsutövare) Chapter 4, Section 1, second paragraph (requirements on suppliers), in force from 1 October 2026
  4. National Cyber Security Centre (NCSC) at the National Defence Radio Establishment (FRA), Is the organisation covered by the Cybersecurity Act (Omfattas verksamheten av cybersäkerhetslagen) The size assessment section, Storleksbedömning (linked enterprises and partner enterprises, groups, the EU user guide to the SME definition), and the sector list (which parts of manufacturing are covered)
  5. Commission Recommendation 2003/361/EC concerning the definition of micro, small and medium-sized enterprises The Annex, Article 2 (the size thresholds) and Article 3 (linked enterprises and partner enterprises), which the Cybersecurity Act refers to

Would you rather have someone do the maths on your own workflow than read about it?

Book 20 minutes

More articles.

See all articles
Operations

Nobody wants another tool

11 min read

Why AI belongs in the systems you already have, what the process owner needs to be able to control, and what applies when the agent works with your permissions.