Skip to content

Why ERP reports don't match: where differences come from and how to fix them

B2Bnetwork team · · 6 min

Integrations, data and cloud

In brief

ERP reports usually disagree because they calculate the same metric name with different rules: by a different date (issue, sale or posting), with different document statuses, with or without credit notes, at a different exchange rate, or with rows duplicated by a table join. Bad data is the cause less often. You find the difference by narrowing the comparison to one day and a list of documents, and you remove it with one written metric definition, one data model and a daily reconciliation test.

Nine causes that come up in every company

CauseWhat it looks likeHow to check
Different dateone report counts by invoice date, the other by sale or posting datecompare documents from the first and last days of the month
Document statusesone report also includes draft, pro forma or cancelled documentssplit the total by status
Credit notescounted in the month of the original invoice or in the month the credit note was issuedlist credit notes for the period with their original dates
Currenciesrate on the document date, on the report date, or the accounting ratecompare totals for foreign-currency documents only
Net, gross, discountsretrospective rebates, shipping charges, deposits treated differentlycheck the definition of "sales" in both reports
Extraction timea Monday and a Thursday report for the same closed monthcompare the last-modified date of the documents
Table joinsan invoice with three payments counted three timescount distinct document numbers
Intercompany salesone report excludes subsidiaries, the other does notsplit the total by customer
Manual adjustmentsa spreadsheet where someone "fixed" a figure before the board meetingask for the source file and compare it with the export

With currencies, remember that accounting does not pick the rate freely. For VAT, Polish law requires conversion at the National Bank of Poland (NBP) average rate from the last business day before the tax point. A sales report that converts at the report-date rate will always differ from the VAT register, and that is not an error but a different definition.

The method: find the difference in an hour, not a week

  1. Write down both figures and their definitions. Which table, which date, which statuses, which currency. Often the cause is visible at this stage.
  2. Narrow the period. Instead of the month, compare each day. A difference concentrated in the first and last days points to dates; one spread evenly points to status or a join.
  3. Narrow to documents. List the document numbers from both reports for a day with a difference and compare them: which are only in A, which only in B, which are in both with a different amount.
  4. Name the class of difference. Documents only in A are usually date or status. The same invoice with a different amount is currency, discount or a join. The same invoice twice is a join.
  5. Record the rule and the owner. The decision about which report is right is made by the metric owner, for example the CFO for net sales, not by the report author.
  6. Add a test. A rule that explained a difference once goes into the daily reconciliation test, so the difference does not come back after the next report change.

In SQL, step 3 is a plain comparison of two sets:

-- dokumenty z marca, które są w raporcie A, a nie ma ich w raporcie B
select a.nr_dokumentu, a.data_wystawienia, a.data_sprzedazy, a.status, a.netto
from raport_a a
left join raport_b b on b.nr_dokumentu = a.nr_dokumentu
where b.nr_dokumentu is null
order by a.data_wystawienia;

Example: March in two reports

A worked example. The sales team's ERP report shows net sales for March of 1,240,000 PLN, and the board's Power BI report shows 1,190,000 PLN. The 50,000 PLN difference breaks down like this:

ComponentAmountCause
Invoices issued March 1–3 for February deliveries+42,000 PLNthe sales report counts by invoice date, the board report by sale date
March deliveries invoiced in April−11,000 PLNthe same cause, the other way round
Q1 rebate credit note dated March 28+14,000 PLNthe sales report ignores credit notes
Sales to a subsidiary+5,000 PLNthe board report excludes intercompany sales
Total+50,000 PLN

Neither report was "wrong". Both calculated correctly under different definitions. The problem was that both were called "Net sales".

How to keep differences from coming back

  • A metric glossary. Each metric has one definition (date, statuses, credit notes, currency, customer scope), an owner and a last-changed date. Metrics with a different definition get different names, for example "Net sales by invoice date".
  • One data layer. Reports use one model, not each its own query against the ERP. How to build it in Power BI is covered in Power BI implementation.
  • The grain rule. A fact table has a clearly stated level of detail, for example one row per invoice line. Payments and deliveries are linked through separate tables rather than attached to invoices, because then amounts multiply.
  • A daily reconciliation test. The sales total in the model is compared with the ERP register; a difference above a threshold raises an alert.
  • A closed period stays closed. After the month is closed in the ERP, the report for that month uses a snapshot, and later changes appear as adjustments, not as a new figure for March.

When the difference comes from the data rather than the definition (the same customer in two records, a product with two units), you need data quality checks and clean master data, as described in Data quality and Master data management (MDM).

Who does this work every month

Until a shared model exists, someone in finance explains the differences by hand every month. Part of that work can be taken over by the Management report analyst, an AI Worker from DYNAMINDS Labs: it pulls data from the ERP using fixed definitions, compares periods and describes the largest changes with links to the documents. It leaves changing a metric definition and sending the report to the board to a person. The lasting fix, though, is a data model with one definition. B2Bnetwork engineers build such models, with reconciliation rules against the source, as part of our Data and reporting service.

Questions and answers

Which report is correct when two show different numbers?

Often both, each under its own definition. The metric owner, for example the CFO, decides which definition the company adopts for a given metric. Reports with a different definition should get different names, so nobody compares them as if they were the same figure.

Why does the figure for a closed month change in the report?

Because the report reads the current state of documents, and after the close someone issued a credit note dated in that month or changed a document's status. The fix is a data snapshot after the period close, with later changes shown as adjustments, and a posting lock for closed periods in the ERP.

Does a difference of a few cents matter?

A single one does not, but a recurring cent-level difference usually means a different rounding method, for example VAT calculated per line in one system and on the total in the other. Explain it once and set a tolerance threshold in the reconciliation test, so it does not hide larger differences.

How long does it take to fix reports that don't match?

Explaining a specific difference with the method above usually takes hours. Cleaning up a whole area (metric glossary, one model, reconciliation tests) takes a few weeks, and most of that time goes into agreeing definitions with metric owners, not into technical work.

What it looks like in a project

Connecting systems or moving them to the cloud? Talk to an architect.

Let's talk

Read more: Integrations, data and cloud

All in Integrations, data and cloud →