cx-composer--for=liferay

Commerce Tax Engine

Custom tax-calculation provider for Liferay Commerce.

type: commerceTaxEngine·Commerce

# description

Registers a tax-calculation service — Avalara, TaxJar, a custom rate matrix. Commerce calls out to your service for tax during checkout.

Payment, shipping, tax, and checkout integrations for Liferay Commerce.

# when to use

  • You have complex or regional tax rules Commerce doesn't handle out of the box.
  • You're integrating with a specialised tax service.

# how to use

  1. 01Ship a paired oAuthApplicationUserAgent.
  2. 02Return tax breakdowns at your endpoint.

# optional fields

fieldtypedescription
namestringDisplay name.
keystringInternal Commerce reference code.
oAuth2ApplicationExternalReferenceCodestringRef code of the paired oAuthApplicationUserAgent.
taxEngineTypeSettingsmapProvider-specific settings.

# example

client-extension.yaml
avalara-tax:
    type: commerceTaxEngine
    name: Avalara
    key: avalara-tax
    oAuth2ApplicationExternalReferenceCode: tax-oauth
    taxEngineTypeSettings:
        apiKey: ...

# related types

Usually shipped alongside Commerce Tax Engine:

# more in commerce