#12943 DK VAT Return Periods regression fix for frequency-aware parsing
The Danish VAT Return Periods parser now correctly handles the official SKAT API XML structure, enabling proper parsing of VAT reporting periods instead of failing with zero records inserted.
- 12files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-20 by mynjj · 12 files (+620 -108), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Fixed the Get VAT Periods parser, which expected the wrong XML shape and inserted 0 records even when SKAT returned valid periods
- XML shape now follows SKAT’s official documentation and sample client schema
- Filing deadline now comes from AngivelseFristKalenderFristDato instead of the optional BetalingDato
- Added test XML resources for quarterly periods, frequency changes, differing filing and payment dates, missing data and unsupported frequencies
- Expanded the tests to check the parser against these expected shapes
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 13610 “Elec. VAT Decl. Get Periods”, ElectronicVATDeclarationDK (DK layer): modified
- Codeunit 13618 “Elec. VAT Decl. Xml”, ElectronicVATDeclarationDK (DK layer): modified
Also merged into
- #12944 into
releases/29.xon 2026-10-22
Context
- Work items: AB#654780
- Labels: Team: Finance
- Systems: finance
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- VAT Return Periods in the Czech version — possibly related: VAT Return Periods in Czech version documents VAT period functionality and parsing requirements. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).