Business Central Insights
Your bank, your factoring company, or your accounting software needs a specific file shape: one header record summarizing the batch, followed by a detail line for every transaction underneath it. You set up an export in Business Central expecting exactly that. What comes out instead is one flat list — no structure, no distinction between the summary and the detail. Renaming the file doesn't fix it. Neither does re-running the export five more times.
It's a common instinct: if the export looks like a text file but you need Excel, just rename it to .xlsx or .csv and see what happens. That doesn't work, because the extension only tells your computer how to open the file — it doesn't change what's actually written inside it. Business Central's Data Exchange framework, which most payment and statement exports run through, writes structured text based on how the export is configured. If the configuration only knows how to produce one flat structure, that's what you get regardless of what you name the file afterward.
A header-plus-detail export needs two separate structures defined, not one. One structure describes the header row — the batch total, the date, the account summary, whatever your target system expects at the top. A second, separate structure describes the repeating detail rows underneath it, each mapped to its own source data. When an export only has one structure defined, it can only ever produce one flat list — there's no mechanism for it to know where the header stops and the details begin.
This is a configuration change, not a code change, in most cases. But it does require someone who understands both the Data Exchange framework and the exact shape your target system needs — get the column mappings wrong on either the header or detail side and the file looks right but gets rejected by the bank or software on the other end.
Sometimes the requirement isn't actually a structured text file — it's a real Excel workbook, with formatting, multiple tabs, or formulas the receiving system expects. Business Central's built-in export framework writes text-based files; it was never meant to produce a styled workbook. If that's the real requirement, stop trying to bend the configuration into a shape it wasn't designed for. A small, purpose-built export — driven by the same underlying data, built directly against Excel — gets you the exact layout you need and is easier to maintain going forward than a configuration workaround that breaks the next time the target format changes slightly. This is the same category of work as the broader data export and integration builds we do — getting Business Central data into the exact shape another system needs, reliably.
Once it's set up correctly, the export just works — every time, without anyone manually reformatting a file before it goes out the door. That's the actual goal: a payment or statement export your finance team can run and trust, not one they have to babysit and clean up by hand each cycle.
If a Business Central export keeps coming out wrong no matter how you configure it — or you're not sure whether your requirement is a configuration fix or a small custom build — let's talk. Book a free discovery call at /contact and we'll figure out which one you're actually dealing with.
Book a Free Discovery Call