Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
TransactionLibrary.GetBasket(true).PurchaseOrder.Basket.DiscountTotal.Value is the discount exclusive vat, is there another way to show it inclusive vat, wihtout making the calculation my self?
Hi Kim,
There isn't a method that does the calculation for you.
You can get the vat value from the orderlines.
Hope it helps,
Lars
Solution found:
discount * SiteContext.Current.CatalogContext.CurrentCatalog.PriceGroup.VATRate
I think the correct version is to make a sum of the orderline vat property, to take different VAT rate per item into account.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Discount shows exclusive vat
TransactionLibrary.GetBasket(true).PurchaseOrder.Basket.DiscountTotal.Value is the discount exclusive vat, is there another way to show it inclusive vat, wihtout making the calculation my self?
Hi Kim,
There isn't a method that does the calculation for you.
You can get the vat value from the orderlines.
Hope it helps,
Lars
Solution found:
discount * SiteContext.Current.CatalogContext.CurrentCatalog.PriceGroup.VATRate
I think the correct version is to make a sum of the orderline vat property, to take different VAT rate per item into account.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.