---
id: change/bcapps/12201
type: change
title: "#12201 [29.X]- Incorrect project ledger costs when non-deductible VAT is posted to a foreign-currency project"
summary: Fixed incorrect project ledger costs when non-deductible VAT is posted to foreign-currency projects by correctly mapping currency amounts in the VAT-to-job conversion process.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit non-ded. vat impl.
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-23T01:11:44.824Z"
  flags: []
generated:
  at: "2026-10-24T01:02:25.817Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4e62872568d0a1bf1f050445f3cac1f7586aa1a5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12201
    title: "microsoft/BCApps#12201: [29.X]- Incorrect project ledger costs when non-deductible VAT is posted to a foreign-currency project"
    date: "2026-10-22"
    commit: 4e62872568d0a1bf1f050445f3cac1f7586aa1a5
    t: null
    quote: The current code adds a project-currency amount to LCY cost and an LCY amount to project cost.
links:
  learn: []
  objects:
    - object/codeunit/6201
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/design-details-nondeductible-vat
      title: Design details - Non-deductible VAT
      label: possibly related
      why: Documents non-deductible VAT design details including foreign currency project posting
      by: model
number: 12201
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12201
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-10-22T10:41:46Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 39
  deletions: 20
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/6201
    page: codeunit/6201
    type: codeunit
    id: 6201
    name: Non-Ded. VAT Impl.
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652547
systems:
  - finance
quote: The current code adds a project-currency amount to LCY cost and an LCY amount to project cost.
joined_against:
  major: "29"
  commit: af1b860dae5aeeb1369d4ed450c2c980e372a161
---

# #12201 [29.X]- Incorrect project ledger costs when non-deductible VAT is posted to a foreign-currency project

> Fixed incorrect project ledger costs when non-deductible VAT is posted to foreign-currency projects by correctly mapping currency amounts in the VAT-to-job conversion process.

[Pull request](https://github.com/microsoft/BCApps/pull/12201) · merged into `releases/29.x` (BC29) on 2026-10-22 by neeleshsinghal · 3 files (+39 -20), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- CopyNonDedVATFromGenJnlLineToJobJnlLine had swapped currency paths: a project-currency amount went into LCY cost and an LCY amount into project cost
- LCY unit and total costs now use the non-deductible VAT LCY amount
- Project-currency unit and total costs now use the source VAT amount converted into the project currency
- Tests updated in W1 and IT layers
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6201 "Non-Ded. VAT Impl."](../../objects/codeunit/6201.md), Base Application: modified

## Context

- Work items: AB#652547
- Labels: Team: Finance
- Systems: finance
- From the description: "The current code adds a project-currency amount to LCY cost and an LCY amount to project cost."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Design details - Non-deductible VAT](https://learn.microsoft.com/dynamics365/business-central/design-details-nondeductible-vat) — possibly related: Documents non-deductible VAT design details including foreign currency project posting (model-linked)

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