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
| Cause | What it looks like | How to check |
|---|---|---|
| Different date | one report counts by invoice date, the other by sale or posting date | compare documents from the first and last days of the month |
| Document statuses | one report also includes draft, pro forma or cancelled documents | split the total by status |
| Credit notes | counted in the month of the original invoice or in the month the credit note was issued | list credit notes for the period with their original dates |
| Currencies | rate on the document date, on the report date, or the accounting rate | compare totals for foreign-currency documents only |
| Net, gross, discounts | retrospective rebates, shipping charges, deposits treated differently | check the definition of "sales" in both reports |
| Extraction time | a Monday and a Thursday report for the same closed month | compare the last-modified date of the documents |
| Table joins | an invoice with three payments counted three times | count distinct document numbers |
| Intercompany sales | one report excludes subsidiaries, the other does not | split the total by customer |
| Manual adjustments | a spreadsheet where someone "fixed" a figure before the board meeting | ask 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
- Write down both figures and their definitions. Which table, which date, which statuses, which currency. Often the cause is visible at this stage.
- 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.
- 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.
- 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.
- 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.
- 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:
| Component | Amount | Cause |
|---|---|---|
| Invoices issued March 1–3 for February deliveries | +42,000 PLN | the sales report counts by invoice date, the board report by sale date |
| March deliveries invoiced in April | −11,000 PLN | the same cause, the other way round |
| Q1 rebate credit note dated March 28 | +14,000 PLN | the sales report ignores credit notes |
| Sales to a subsidiary | +5,000 PLN | the 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.