---
id: change/bcapps/13315
type: change
title: "#13315 [Main]Incorrect Country/Region Code in VAT Entry after applying Alternative Customer VAT Registration on a Sales Invoice in the Belgian version."
summary: VAT Entry country/region code is now correctly assigned when applying alternative customer VAT registration on Belgian sales invoices.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-11-12T00:55:49.544Z"
  flags: []
generated:
  at: "2026-11-30T13:33:07.232Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4689885b0d4953511d0fbd781c2473679901481d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13315
    title: "microsoft/BCApps#13315: [Main]Incorrect Country/Region Code in VAT Entry after applying Alternative Customer VAT Registration on a Sales Invoice in the Belgian version."
    date: "2026-11-10"
    commit: 4689885b0d4953511d0fbd781c2473679901481d
    t: null
    quote: Incorrect Country/Region Code in VAT Entry after applying Alternative Customer VAT Registration on a Sales Invoice in the Belgian version
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 13315
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13315
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-10T05:31:44Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 124
  deletions: 6
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: src/Layers/BE/BaseApp/Sales/Posting/SalesPostInvoice.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 656881
systems:
  - finance
  - localization
quote: Incorrect Country/Region Code in VAT Entry after applying Alternative Customer VAT Registration on a Sales Invoice in the Belgian version
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #13315 [Main]Incorrect Country/Region Code in VAT Entry after applying Alternative Customer VAT Registration on a Sales Invoice in the Belgian version.

> VAT Entry country/region code is now correctly assigned when applying alternative customer VAT registration on Belgian sales invoices.

[Pull request](https://github.com/microsoft/BCApps/pull/13315) · merged into `main` (BC30) on 2026-11-10 by Shikhverma · 2 files (+124 -6), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixed incorrect country/region code in VAT entries for Belgian invoices
- Applied alternative customer VAT registration now properly assigns the correct country/region code
- Includes test coverage for the alternative customer VAT document behavior
- Behaviour changes for users or extensions.

## AL objects touched

- `src/Layers/BE/BaseApp/Sales/Posting/SalesPostInvoice.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#656881
- Labels: Team: Finance
- Systems: finance, localization
- From the description: "Incorrect Country/Region Code in VAT Entry after applying Alternative Customer VAT Registration on a Sales Invoice in the Belgian version"

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