code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

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