#9746 [main] bug 644148 - Use VAT base amount (after discounts) for reverse charge limit check
Reverse Charge VAT commodity limit check for Czech invoices now evaluates the amount after discounts (VAT base) instead of the gross unit price amount to align with Czech GFR regulation.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-06 by DavidHolusa · 2 files (+146 -15), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Limit calculation changed from gross unit price × quantity to line amount after discounts
- Affects Czech Reverse Charge VAT determination on sales invoices with line or invoice discounts
- Invoices where gross exceeds limit but net falls below it now correctly use Normal VAT
- Test coverage added for scenarios above and below limit after discount application
- Regulatory compliance fix for Czech tax requirements
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 31038 “Sales Posting Handler CZL”, CoreLocalizationPack (CZ layer): modified
Context
- Work items: AB#644148
- Labels: Team: SCM
- Systems: sales
- From the description: “The decisive amount should be the total VAT base stated on the tax document, i.e. the amount after line discounts and invoice discounts.”
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).