Skip to main content

TaxRate

A TaxRate defines the rate of tax to apply to a ProductVariant based on three factors:

  1. the ProductVariant's TaxCategory
  2. the applicable Zone ("applicable" being defined by the configured TaxZoneStrategy)
  3. the CustomerGroup of the current Customer
Signature

constructor

method(input?: DeepPartial<TaxRate>) => TaxRate

name

propertystring

enabled

propertyboolean

value

propertynumber

category

propertyTaxCategory

categoryId

propertyID

zone

propertyZone

zoneId

propertyID

customerGroup

customFields

propertyCustomTaxRateFields

taxComponentOf

method(grossPrice: number) => number

netPriceOf

method(grossPrice: number) => number

taxPayableOn

method(netPrice: number) => number

grossPriceOf

method(netPrice: number) => number

apply

method(price: number) => TaxLine

test

method(zone: Zone | ID, taxCategory: TaxCategory | ID) => boolean
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page