code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#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.

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

Also merged into

  • #12944 into releases/29.x on 2026-10-22

Context

  • Work items: AB#654780
  • Labels: Team: Finance
  • Systems: finance

No source states these links: they share an object, a model read them, or a person found the same subject.

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).