code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

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

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

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