code change · fixPurchasing & Payablesofficial - Microsoftreviewed - checked by Opus

#13613 [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

Fixes incorrect Additional Currency Base and Additional Currency Amount in VAT/GST entries in the Australian version by changing purchase invoice posting. The change brings additional fixes and regression tests from the 29.x branch into main.

Pull request · merged into main (BC30) on 2026-11-24 by Shikhverma · 2 files (+439 -5), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Corrects Additional Currency Base and Additional Currency Amount calculations when line discounts are applied
  • Addresses VAT/GST entry calculations in purchase posting for APAC/Australian localization
  • Includes regression tests to prevent similar issues in the future
  • Aligns main branch with fixes from 29.x branch after review feedback
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #11723 into releases/29.x on 2026-11-03

Context

  • Work items: AB#649279
  • Labels: Team: Finance
  • Systems: purchasing
  • From the description: “Brings the differences between 29.x PR #11723 and main PR #11434 into main, following review comments on the 29.x PR.”

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

  • Australian Tax overview — possibly related: Documents Australian tax including GST calculations on sales invoices 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).