code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#12474 [Master]-Non-Deductible Reverse-Charge VAT Correction Is Posted to Purchase VAT Account Instead of Payment Discount Account.

When posting non-deductible reverse-charge VAT corrections with payment discounts, the system now correctly retrieves the GL account from General Posting Setup instead of posting to the purchase VAT account.

Pull request · merged into main (BC30) on 2026-10-26 by neeleshsinghal · 12 files (+161 -18), 11 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixed GL account selection for non-deductible VAT corrections when payment discounts are involved
  • GL account is now sourced from General Posting Setup configuration
  • Prevents incorrect posting to purchase VAT account
  • Affects multiple localizations including W1, BE, CH, ES, FI, FR, IT, NA, NO, RU, and APAC
  • Includes updated test case for non-deductible VAT payment discount scenario
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#653327
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “GL Account is now called from the General Posting Setup instead when Pmt Discount is Involved.”

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

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