#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
Also merged into
- #11723 into
releases/29.xon 2026-11-03
Context
- Work items: AB#649279
- Labels: Ownership: Manual, Team: Finance
- Systems: sales
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Extending G/L entry aggregations when posting invoices — possibly related: touches Codeunit 815 “Sales Post Invoice”
- Australian Tax overview — possibly related: Australian GST calculation affected by line discount application on sales invoices. (model-linked)
- GST on Advance Payment and Application with Sales Invoice — possibly related: GST calculation in India includes base and amount calculations in VAT entries with discounts. (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).