Type of work
ERP connector, snapshots and reconciliation
Whose work
Our founder’s earlier engineering work
Status
Developed and validated
Stack
Dynamics 365 Business Central, Python, Model Context Protocol (MCP), Parquet, Exact-decimal arithmetic

In brief

  • Problem. Finance data copied out of an ERP drifts from the ledger unless something checks it. A report that is a few cents out at month-end stops being used.
  • Work. Our founder developed an integration that reads ledger entries and accounts from Dynamics 365 Business Central, keeps every amount as an exact decimal and stores both transaction detail and monthly balances.
  • Check. The transaction and monthly snapshots were reconciled to the source ledger, so a reviewer could compare an account total with Business Central for the same period.

Why does finance data drift after it leaves the ERP?

The copy and the ledger stop agreeing for ordinary reasons. An entry is posted or reversed after the extract ran. An amount passes through a floating-point number and picks up a rounding error. A month boundary is drawn in a different time zone. None of these is dramatic, and each one is enough to make an accountant distrust the report.

Our guide explains why Business Central data drifts from warehouse reports in more detail.

What did our founder build?

  • A Business Central connector. It reads general ledger entries and the chart of accounts.
  • Exact-decimal transformations. Amounts are handled as decimals from extraction to storage and are never converted to floating-point numbers.
  • Transaction snapshots. The full detail of each entry, kept so that any balance can be traced to the entries behind it.
  • Monthly snapshots. A balance per account per month, built from those entries.
  • Read-only access for AI tools. The reconciled data was exposed through Model Context Protocol (MCP) tools, so an assistant could answer finance questions from checked figures.

Why insist on exact decimals?

Most programming languages store ordinary numbers in binary floating point, which cannot represent many decimal fractions exactly. The standard illustration is small.

The same sum in floating point and in exact decimals
CalculationFloating pointExact decimal
0.10 + 0.200.300000000000000040.30

One sum like this does no harm. Thousands of ledger entries, added and rounded in a different order on each side of a comparison, can end up a cent apart, and a reconciliation that is out by a cent has failed. Keeping amounts as decimals removes that whole class of difference, so any remaining difference is a real one.

How was the integration checked?

The reconciliation compared the same account and period in three places: the entries in Business Central, the transaction snapshot and the monthly snapshot. A reviewer could take an account total, compare it with the ledger for that period and investigate a difference before relying on a dashboard built on top.

What would this look like for your team?

Start with one company and one closed month. We extract ledger entries and accounts, build the two snapshots and reconcile them to your trial balance. When that month agrees, we add the open periods, then subledgers such as vendors and customers. Reporting automation and data engineering describe how we scope it.

Frequently asked questions

How do you get data out of Dynamics 365 Business Central?

Through its APIs. Business Central provides standard REST APIs and OData web services, and custom API pages can expose fields the standard ones leave out. We read with a dedicated identity that has read-only permissions.

Why do warehouse totals differ from Business Central?

The usual causes are entries posted or reversed after the extract ran, amounts stored as floating-point numbers, currency converted at a different rate or date, and month boundaries drawn differently. Reconciling each account and period against the ledger shows which one applies.

Can an AI assistant answer questions from Business Central data?

Yes, if it reads reconciled data through read-only tools and each answer names the period and the source. We would not let a model query the ERP directly or add up amounts itself. The totals should come from the server.

Bring one closed month

Tell us which Business Central company and period to start with, and which report has to agree with it. Describe the reconciliation you want, or read the worked example on reconciling a supplier statement in Business Central.

This example describes engineering work our founder, Meet Vaghasia, carried out in an earlier role. The organization is not named and project figures are left out. On a call we can walk through the approach in more detail.