
The custom code that became an accounting policy
Somewhere in the extension layer there is a rounding rule, an allocation basis or a cut off convention that nobody has looked at since it was written.
- Customisations frequently encode accounting judgements such as allocation bases, rounding conventions and revenue cut off rules.
- Those judgements are policies in substance, and they are usually absent from the accounting policy documentation.
- A migration forces the question, because the code has to be rebuilt, replaced or dropped and somebody has to say what it should do.
- The reconstruction is expensive when the original author has left, which is the usual case after a decade.
- Documenting the intent behind each customisation is more valuable than documenting the code, and it can be done before any migration starts.
There is a specific conversation that happens in every ERP migration, usually about eight months in. Someone finds a customisation, asks what it does, and nobody in the room can answer with confidence.
The code is readable. What it does is discoverable. Why it does that is the part that has been lost, and why is the part that matters, because it is an accounting decision.
Rounding conventions, allocation bases, cut off rules and margin calculations all end up in extension layers, and they end up there without ever being written down as policy.
How a judgement ends up in code
The sequence is always reasonable. A requirement arises, standard functionality does not quite fit, and a developer implements the behaviour finance describes.
At that moment the decision is understood by everyone involved. It is a conversation, a specification and a piece of code, and the accounting reasoning sits in the conversation.
Five years later the conversation is gone, the specification is in a decommissioned document repository and the code is still running.
The result is a reported number produced by a rule nobody can source, which is a harder version of attributes nobody maintains.

Four places these rules hide
In our experience the same four areas account for most of what is found during a migration.
Why a migration forces the issue
During normal operation nobody has to explain the rule. The system produces a number, the number is consistent with the prior period, and the review focuses on the movement.
A migration removes that comfort. The customisation cannot simply be carried across, so a decision is required: rebuild it, replace it with standard functionality, or drop it.
Each of those requires knowing what the rule is meant to achieve. Rebuilding code you do not understand replicates an unexamined decision into a system that will run for another decade.
This is the argument for doing the documentation before the programme rather than during it, in the way the interface inventory is best built early.
Standard functionality is not the risk. Rebuilding a rule nobody can explain is.
Three outcomes for each customisation
Every customisation ends in one of three places, and naming which one early is what keeps the decision with finance.
| Outcome | When it applies | What finance has to supply |
|---|---|---|
| Retire | The requirement no longer exists or was never material. | Confirmation that no reported number depends on it, which requires understanding the rule. |
| Adopt standard | The successor platform handles the requirement natively, perhaps differently. | A decision on whether the difference in treatment is acceptable and disclosable. |
| Rebuild | The requirement is genuine and not covered by standard functionality. | A written statement of the accounting intent, which becomes the specification. |
Where a customisation affects recognition, measurement or presentation, discuss any change in treatment with your auditors before it is implemented.
If the code decides the number, the code is the policy.
ChatFinDocumenting intent before the programme
This is a finance exercise that can start now and pays back whether or not a migration follows.
List the customisations that touch the ledger
IT can produce the list. Finance decides which ones affect a reported number, which is a much shorter list.
Write one paragraph per rule
What it does, why it exists and which number it affects. A paragraph is enough and it is far more useful than technical documentation.
Flag anything that looks like a policy
Allocation, rounding, cut off and thresholds. Each of these should appear in your accounting policy documentation if it drives a reported figure.
Confirm the ones that surprise you
Where nobody can explain a rule, that is a finding rather than an inconvenience, and it belongs in the same conversation as the chart of accounts.

Two ways this is handled badly
Both are common in programmes under time pressure and both create a decade of consequences.
Lift and shift the logic
The customisation is rebuilt faithfully because rebuilding is faster than deciding. The unexamined judgement carries into the new system with a new implementation date.
Drop it silently
The customisation is not carried across, the standard behaviour applies and nobody tells finance that a treatment changed. The difference appears as an unexplained movement.
Where ChatFin can help before a migration
We do not read your ERP source code. What we can do is show where the numbers behave in ways the standard rules do not explain.
Deciding what a rule should be remains an accounting judgement for your team and your auditors, and it is worth making that decision deliberately rather than inheriting it, which is the point of treating the deadline as a finance one.
AI Cost Estimator for the CFO Office
Four inputs. A first year range, a timeline, and three delivery models compared. No login required.
Frequently Asked Questions
Is this really an accounting policy question?
If a customisation determines how a reported figure is calculated, then in substance it is a policy, whatever it is called internally. Allocation bases, rounding conventions and cut off rules all fall into that category, and they generally belong in your accounting policy documentation.
Who should own this exercise?
Finance, with IT supplying the inventory. IT can list what customisations exist. Only finance can say which ones affect a reported number and what the intent behind each one should be, which is the part that determines whether it is rebuilt, replaced or retired.
What if nobody knows why a rule exists?
Treat that as a finding. A rule that determines a reported number and cannot be explained should be examined before it is replicated into a new system for another decade. In several cases the answer is that the requirement no longer exists.
Can we not just replicate the existing behaviour?
You can, and it is often the fastest path through a programme. It also carries an unexamined judgement forward with a fresh implementation date, and it removes the one opportunity you get to look at these rules with the whole finance team paying attention.
The code decides the number. Somebody should be able to say why.
Listing the customisations that touch the ledger and writing a paragraph of intent for each is useful immediately and essential before any platform change.
If you want a first year range for consistent preparation that makes unexplained behaviour visible, the estimator gives one in about a minute.
Open the estimatorBook a Demo
See what this looks like in your ERP.
We will walk through the workflow behind this article on the system you already run, using your own data, and show what a first phase would actually cover.
This article is general information for finance and accounting teams. It is not legal, tax, accounting or investment advice. Dates and thresholds are given as published at the time of writing and several of these timelines have moved before, so confirm the current position with your advisers and with the relevant authority before acting.