LogoLogo
CommunitySupport PortalYouTubeStart a free trial
  • Welcome
  • Commerce Engine
  • Orchestration Engine
  • API Documentation
  • Release Notes
  • Changelog
  • Commerce Engine
  • Getting Started
    • General Concepts of Emporix
    • Creating your first tenant
    • Developer Portal
      • Manage Users
      • Manage API Keys
      • Tenant List
      • My Account
      • Manage Showcase and Sample Data
  • Customer Use Cases
    • Commerce Use Cases
      • Quote Process
      • Orders
      • Coupons and Redeeming Rewards
      • Returns
      • Payments
      • User Management and Approvals
      • Customer Social Login
      • Personalized Commerce - Customer Segments
      • Company Shared Orders and Customer Groups
    • Automated Use Cases
      • First Registration Coupon
      • Availability and Warehouse Assignment
      • Quote and Order Entry Automation
  • System Management
    • Introduction
    • Authentication and Authorization
      • Identity and Access Management (IAM)
      • Auth0
      • Emporix Single Sign-On (SSO)
    • Webhook Event Publishing
      • HTTP Webhook Strategy - HMAC Configuration
      • HTTP Webhook Strategy - Integration with Azure Service Bus
      • HTTP Webhook Strategy - Integration with Amazon Simple Queue Service (SQS)
    • Search
      • Universal Search Connector
      • Search Configuration
      • Indexing Service
    • Optimistic Locking
  • Extensibility and Integrations
    • Extensibility Cases
      • External Products, Pricing and Fees
      • Enabling Custom Extensions
    • Integrations
      • SAP Integration
    • Payment Systems
      • PayPal
      • Saferpay
      • Spreedly Gateway
      • Unzer
    • Third Party Add-Ons
      • Emporix Contentful App
      • Emporix Builder.io Plugin
      • Magnolia Emporix Connector
      • Zendesk Emporix Connect
    • Powered by AI
      • AI Smart Config
      • AI Smart Import
  • Core Commerce
    • Introduction
    • AI Assistance
    • Carts
    • Catalogs
    • Categories
    • Coupons
    • Customer Management
      • Approvals
      • Assisted Buying
      • Customer Groups
      • Customer Segments
    • Data Localization
    • Delivery Cycle Management
    • Mixin Schemas
    • Media Management
    • Orders
      • Shared Orders
    • Pricing
      • Pricing (Legacy)
    • Products
      • Availability, location, and stock levels
      • Brands
      • Labels
    • Quotes
    • Returns
    • Reward Points Management
    • Sites
    • Tax Classes
      • Tax classes (Legacy)
    • Measurement Units
  • Management Dashboard
    • Introduction
    • Customer Management
      • Companies
      • Customers
      • Groups
      • Segments
      • Coupons
    • Quotes
      • Quotes
      • Status Codes
    • Orders
      • Orders
      • SEPA
      • Returns
    • Catalogs
      • Catalogs
      • Categories
    • Products
      • Products
      • Product Templates
      • Labels
      • Suppliers
      • Brands
      • AI for a Product Description
    • Pricing
      • Price Models
      • Price Lists
    • Settings
      • Sites
      • Shipping Zones and Methods
      • Delivery Times
      • Units
      • Tax
      • Countries
      • Currencies
      • Languages
      • System Preferences
      • Custom Entities
      • Mixin Schemas
    • Administration
      • Users and Groups
      • Extensions
      • API Statistics
      • Webhooks
    • Extensions
    • Custom Instances
  • Additional Resources
    • Glossary
    • Videos
    • Emporix Community
Powered by GitBook
LogoLogo

Resources

  • Emporix.com
  • Developer Policy
  • Terms of Use

Find us

  • LinkedIn

© 2025 Emporix. All Rights Reserved.

On this page
  • Purpose
  • Features
  • Overview

Was this helpful?

Export as PDF
  1. Core Commerce

Tax Classes

Depending on the countries where your business operates, you need to configure relevant tax classes.

PreviousSitesNextTax classes (Legacy)

Last updated 1 month ago

Was this helpful?

Here you can find an overview of the Emporix API Tax Service, along with its features and benefits.

  • Looking for code tutorials? Check out the .

  • Looking for API reference? Check out the in the Emporix API Reference.

Purpose

Based on where your business operates and what types of products you sell, the rates of sales tax may differ. The Emporix Tax Service provides the APIs to help your business cover diverse tax scenarios.

Tax classes are required to set product prices. In order to define a price for an item, you need to have a tax class configured first. You have to define a tax class for each tax rate and for each country you operate in to determine correct tax calculation according to the given country's regulations. Then, when setting a price for a product, you need to select the correct tax class for a given country and apply the price for a given site. The system calculates the due tax based on the defined tax classes for the countries you sell in.

For example, on your site you sell books worldwide. In Germany, books are taxable according to REDUCED tax class of 7% tax rate. In Ireland, the biding IE-ZERO tax class for books is with 0% tax rate. So the gross price for a book in each country is calculated according to the chosen tax classes for the product.

Similarly, tax classes are used in calculating shipping costs or fees, so you need to define a tax class designated to the shipping and other fees your charge, for each country you deliver your goods to. In other words, you need to define the tax classes to properly manage prices, display them on the storefront and to enable proper calculations in the cart and checkout.

Features

The Tax Service API introduces a set of features that make tax management easier:

Feature
Description

Automatic calculation of prices

Customizable tax configurations

Overview

Tax class modeling

To minimize data redundancy, tax classes are defined in separate, country-specific configurations and then referenced in applicable products.

You can create as many tax configurations as you need. Each configuration can be described with the following attributes:

Mandatory
Optional

Country code Tax class:

  • Code

  • Rate

Tax class:

  • Description

  • Name

  • Order on the tax class list

Based on the defined tax classes, here's the example pricing:

Product
Base Price
Country
Tax Class
Final Price

Book A

EUR 20.00

Germany (DE)

Reduced:

  • Tax Code: REDUCED

  • Tax Rate: 7%

EUR 21.40

Book A

EUR 20.00

Ireland (IE)

Zero:

  • Tax Code: IE-ZERO

  • Tax Rate: 0%

EUR 20.00

Explanation:

  • Base Price: Price of the product before tax.

  • Tax Class: A category that groups products with similar tax treatments

  • Tax Code: A unique identifier for the tax class in each country.

  • Tax Rate: Percentage of tax applied to the base price.

  • Final Price: Calculated as Base Price + (Base Price × Tax Rate).

Automated operations

To facilitate your custom implementations of additional B2B workflows, the Tax Service API supports conversion operations for prices. For that purpose, you can use the Tax calculation endpoint. As an input in the request, you can provide a specific price value, specify the includesTax parameter, and provide a source and target tax class. Based on these, in the response you get the calculations of gross, and net price values, tax value, or a price calculated for another country (using a different tax class). The calculations might be helpful in your custom implementations.

Note that the Tax Service allows for calculations that are based on specific values you provide. If you want to make calculations based on the Price object, you should use the price matching mechanism of the Price Service.

Refer to these resources for more information:

You can automatically calculate net and gross values for prices. See more in the section.

You can create your own tax configurations and adjust them to your business's needs. See more in the section.

You can manage your tax configurations through the or you can also define them directly in the Management Dashboard, in the Settings -> Tax module. Learn more in the Tax documentation.

Decide how the product prices are displayed on your storefront. Specify whether all the product prices are shown as gross or net values by updating the given site's includesTax parameter. The true value means that the site displays gross prices, while the false value means the net prices are visible. If the includesTax parameter for a site is not defined, the system defaults to the includesTax value specified at the given price model level. Learn more in the and in the documentation.

API guide -

Price matching -

Cart calculations -

Automated operations
Tax class modeling
Tax Service guide
Tax Service
Emporix Tax Service
Site Settings API
Price Service API
Tax Service API Tutorial
Price Service Tutorial
Cart Service Tutorial