---
id: change/bcapps/9543
type: change
title: "#9543 Support VAT return reporting frequencies in Denmark"
summary: 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.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit elec. vat decl. az. key vault
  - codeunit elec. vat decl. get periods
  - enum elec. vat decl. rep. frequency
  - codeunit elec. vat decl. xml
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:10:40.148Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ce682266afc6d3f8df4690fd98154315f4f28346
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9543
    title: "microsoft/BCApps#9543: Support VAT return reporting frequencies in Denmark"
    date: "2026-08-02"
    commit: ce682266afc6d3f8df4690fd98154315f4f28346
    t: null
    quote: support monthly, quarterly, and semi-annual period calculations
links:
  learn: []
  objects:
    - object/codeunit/13668-dk
    - object/codeunit/13610-dk
    - object/enum/13605-dk
    - object/codeunit/13618-dk
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9543
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9543
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-02T20:48:38Z"
author: djukicmilica
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 7
  additions: 548
  deletions: 12
  al: 4
apps:
  - ElectronicVATDeclarationDK
objects_touched:
  - key: codeunit/13668
    page: codeunit/13668-dk
    type: codeunit
    id: 13668
    name: Elec. VAT Decl. Az. Key Vault
    app: ElectronicVATDeclarationDK
    status: modified
  - key: codeunit/13610
    page: codeunit/13610-dk
    type: codeunit
    id: 13610
    name: Elec. VAT Decl. Get Periods
    app: ElectronicVATDeclarationDK
    status: modified
  - key: enum/13605
    page: enum/13605-dk
    type: enum
    id: 13605
    name: Elec. VAT Decl. Rep. Frequency
    app: ElectronicVATDeclarationDK
    status: added
  - key: codeunit/13618
    page: codeunit/13618-dk
    type: codeunit
    id: 13618
    name: Elec. VAT Decl. Xml
    app: ElectronicVATDeclarationDK
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 644140
systems:
  - finance
quote: support monthly, quarterly, and semi-annual period calculations
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #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](https://github.com/microsoft/BCApps/pull/9543) · 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

- [Codeunit 13668 "Elec. VAT Decl. Az. Key Vault"](../../objects/codeunit/13668-dk.md), ElectronicVATDeclarationDK (DK layer): modified
- [Codeunit 13610 "Elec. VAT Decl. Get Periods"](../../objects/codeunit/13610-dk.md), ElectronicVATDeclarationDK (DK layer): modified
- [Enum 13605 "Elec. VAT Decl. Rep. Frequency"](../../objects/enum/13605-dk.md), ElectronicVATDeclarationDK (DK layer): added
- [Codeunit 13618 "Elec. VAT Decl. Xml"](../../objects/codeunit/13618-dk.md), ElectronicVATDeclarationDK (DK layer): modified

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