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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...