code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#14575 [Main][All-e]Sales Invoice created from Customer Subscription Contract adds VAT/GST on top of the Contract Amount if Customer has Prices Incl. VAT selected in version

Fixed a bug where sales invoices created from customer subscription contracts incorrectly added VAT on top of the contract amount when the customer had prices including VAT enabled. The fix ensures VAT conversion is only applied to subscriptions originating from sales orders, not manually entered contract prices.

Pull request · merged into main (BC30) on 2026-12-01 by sanjmaurya · 2 files (+101 -10), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Invoices from manually entered subscription contracts now correctly treat VAT-inclusive prices as final amounts
  • Sales-order-created subscriptions continue to convert net prices to VAT-inclusive as before
  • The fix applies VAT conversion logic only when both Prices Including VAT is enabled and the subscription came from a sales order
  • Addresses a regression that occurred between versions 28.5 and 29.1
  • Test coverage expanded to verify correct VAT handling for both subscription types
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#660772
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: sales

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

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).