#11434 [main] Incorrect Additional Currency Base and Additional Currency Amount calculation in VAT/GST Entries when Line Discount is applied on Sales Invoice in the Australian version.
Fixed incorrect additional currency base and amount calculations in VAT entries for sales invoices with line discounts in the Australian version.
- 3files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-21 by Shikhverma · 3 files (+203 -6), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- VAT entries now derive additional currency amounts from their own record’s local currency amounts instead of inheriting a single line-level value
- Additional currency fields recalculated per posting record using proper exchange rate conversion with ACY rounding precision
- Discount VAT entries now receive correct sign and amount instead of duplicating the sales VAT entry values
- Amount including VAT (ACY) computed by addition to maintain exact consistency between base and VAT amounts
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 815 “Sales Post Invoice”, Base Application (AU layer): modified
Context
- Work items: AB#649279
- Labels: Ownership: Manual, Team: Finance
- Systems: sales
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).