Typically, the ERP can provide the VAT percent during a price request.
If that does not happen,
LocalVatService can be used as a fallback.
If the ERP does not provide the VAT percent, the VAT code stored in the product node can be used to determine the current VAT percent, based on configuration.
VAT configuration is SiteAccess-aware. It also considers the country code (of the buyer or the delivery destination).
If the country is not found in the SiteAccess configuration,
default is used as a fallback.
If no VAT value is found, an exception is thrown, because the default VAT rate cannot be displayed.
1 2 3 4 5 6 7 8 9 10 11
VatServiceInterface does VAT calculations and returns the VAT percent as float value.
||Returns the VAT percent value for
||Returns the VAT percent value for a given