#10214 [Main]Posting Error with 50% Non-Deductible VAT when "Check Source Currency Consistency" is enabled in "General Ledger Setup" page
Fixed a posting error that occurred when posting purchase documents with 50% non-deductible VAT in a foreign currency while source currency consistency checking was enabled. The source currency VAT amount for deductible VAT entries now correctly excludes the non-deductible portion.
- 13files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-21 by sanjmaurya (community contribution) · 13 files (+185 -11), 11 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Posting with partial non-deductible VAT in a foreign currency now succeeds when Check Source Curr. Consistency is enabled
- The source currency VAT amount on the deductible VAT G/L entry now leaves out the non-deductible portion
- Fixes unbalanced G/L source currency totals that caused the consistency validation error
- Gen. Jnl.-Post Line changed in the W1, APAC, BE, CH, ES, FI, FR, IT, NA, NO and RU layers
- Tests added in the W1 and APAC layers
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
Context
- Work items: AB#646637
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: finance
- From the description: “Posting Error with 50% Non-Deductible VAT when “Check Source Currency Consistency” is enabled in “General Ledger Setup” page”
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).