---
id: change/bcapps/13805
type: change
title: "#13805 [29.x][all-e]Purchase Invoice Statistics Non-Deductible VAT Amount does not match VAT Entries and G/L Entries when Non-Deductible VAT is enabled. - CopyInitial commit"
summary: Fixed a mismatch between the Non-Deductible VAT Amount in Purchase Invoice Statistics and the VAT and G/L entries created on posting. Purchase posting now keeps the document's allocated non-deductible VAT amounts for its VAT entries, and recalculation is limited to automatic journal VAT entries.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit non-ded. vat impl.
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-11-11T00:57:28.137Z"
  flags: []
generated:
  at: "2026-11-30T00:15:18.424Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0a9b1247ccb87b5bc07df76f78d277a836c89123
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13805
    title: "microsoft/BCApps#13805: [29.x][all-e]Purchase Invoice Statistics Non-Deductible VAT Amount does not match VAT Entries and G/L Entries when Non-Deductible VAT is enabled. - CopyInitial commit"
    date: "2026-11-10"
    commit: 0a9b1247ccb87b5bc07df76f78d277a836c89123
    t: null
    quote: Preserve the document's allocated non-deductible VAT amounts for manual VAT entries generated by purchase posting.
links:
  learn: []
  objects:
    - object/codeunit/6201
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/finance-how-use-non-deductible-vat
      title: Use Nondeductible VAT in Business Central
      label: possibly related
      why: Documents nondeductible VAT on purchase invoices including VAT amount calculations and posting.
      by: model
number: 13805
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13805
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-10T09:46:00Z"
author: sanjmaurya
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 148
  deletions: 1
  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:
  - 658351
systems:
  - finance
quote: Preserve the document's allocated non-deductible VAT amounts for manual VAT entries generated by purchase posting.
joined_against:
  major: "29"
  commit: 2c932722a2917f4592f1541d4d85dc247c8942ac
---

# #13805 [29.x][all-e]Purchase Invoice Statistics Non-Deductible VAT Amount does not match VAT Entries and G/L Entries when Non-Deductible VAT is enabled. - CopyInitial commit

> Fixed a mismatch between the Non-Deductible VAT Amount in Purchase Invoice Statistics and the VAT and G/L entries created on posting. Purchase posting now keeps the document's allocated non-deductible VAT amounts for its VAT entries, and recalculation is limited to automatic journal VAT entries.

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

## What changed

- Manual VAT entries created by purchase posting now keep the document's allocated non-deductible VAT, including rounding remainders
- Recalculation is limited to automatic journal VAT entries, so existing journal behavior is kept
- Splitting posting lines by dimensions or descriptions no longer changes the non-deductible VAT total
- Credit memos already skipped this recalculation
- Regression tests cover invoices, prices including VAT, credit memos and automatic journal calculations
- 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#658351
- Labels: Team: Finance
- Systems: finance
- From the description: "Preserve the document's allocated non-deductible VAT amounts for manual VAT entries generated by purchase posting."

## Possibly related

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

- [Use Nondeductible VAT in Business Central](https://learn.microsoft.com/dynamics365/business-central/finance-how-use-non-deductible-vat) — possibly related: Documents nondeductible VAT on purchase invoices including VAT amount calculations and 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).
