#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.
- 12files
- 11AL files
- 1objects
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
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
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.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- General Journal Post Line Overview — possibly related: touches Codeunit 12 “Gen. Jnl.-Post Line”
- Types of events for extensibility — possibly related: touches Codeunit 12 “Gen. Jnl.-Post Line”
- Czech local functionality - Reverse charge in setup and posting — possibly related: Documents reverse charge VAT setup and posting in Czech version, directly related to non-deductible reverse-charge VAT 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).