---
id: change/bcapps/11206
type: change
title: "#11206 [CH] When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount"
summary: In the Swiss (CH) localization, VAT G/L entries posted in a foreign currency now store the VAT amount in Source Currency Amount instead of the VAT base amount. Gen. Jnl.-Post Line no longer recalculates source currency amounts when it initializes a system-generated G/L entry.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit gen. jnl.-post line
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:35.391Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5d1d6a863dbc3d769fb44d8ff5c9724da432db8d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11206
    title: "microsoft/BCApps#11206: [CH] When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount"
    date: "2026-09-11"
    commit: 5d1d6a863dbc3d769fb44d8ff5c9724da432db8d
    t: null
    quote: When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount
links:
  learn: []
  objects:
    - object/codeunit/12
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11206
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11206
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-11T10:57:21Z"
author: dcenic
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 90
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/12
    page: codeunit/12
    type: codeunit
    id: 12
    name: Gen. Jnl.-Post Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 11269
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/11269
fixes_issues: []
work_items:
  - 649413
systems:
  - finance
quote: When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11206 [CH] When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount

> In the Swiss (CH) localization, VAT G/L entries posted in a foreign currency now store the VAT amount in Source Currency Amount instead of the VAT base amount. Gen. Jnl.-Post Line no longer recalculates source currency amounts when it initializes a system-generated G/L entry.

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

## What changed

- VAT G/L entries during foreign currency posting now use correct source currency amounts
- Fixes incorrect storage of VAT base amount instead of VAT amount in Source Currency Amount field
- Changes initialization logic in Gen. Jnl.-Post Line to avoid recalculating source currency amounts
- Test coverage added to verify the correct behavior with foreign currency VAT posting
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 12 "Gen. Jnl.-Post Line"](../../objects/codeunit/12.md), Base Application (CH layer): modified

## Also merged into

- [#11269](https://github.com/microsoft/BCApps/pull/11269) into `releases/29.x` on 2026-09-11

## Context

- Work items: AB#649413
- Labels: Team: Finance
- Systems: finance
- From the description: "When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount"

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