code change · featureFinanceofficial - Microsoftreviewed - checked by Opus

#9543 Support VAT return reporting frequencies in Denmark

Danish electronic VAT declaration now reads SKAT VAT return periods with their reporting frequency and calculates monthly, quarterly and semi-annual periods. A feature-flagged legacy quarterly fallback remains, and overlapping periods and invalid due dates are rejected.

Pull request · merged into main (BC30) on 2026-08-02 by djukicmilica (community contribution) · 7 files (+548 -12), 4 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New reporting frequency enum, and period parsing that handles monthly, quarterly and semi-annual periods
  • Prevents overlapping VAT return periods and rejects invalid SKAT due dates
  • Legacy quarterly calculation kept as a feature-flagged fallback; new key vault secret DKElecVAT-ReportingFrequencyEnabled
  • Legacy Q2 boundaries corrected; nested response periods processed regardless of frequency order
  • Invalid flag configuration logged as warning telemetry; tests added
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#644140
  • Labels: ADO: Sync, From Fork, Team: Finance
  • Systems: finance
  • From the description: “support monthly, quarterly, and semi-annual period calculations”

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