Insight AX
Back to Featured Insights

Tax Calculation Service in Dynamics 365 Finance and Operations

3 October 20223 min read
Dynamics 365 Finance & OperationsD365Tax CalculationSales TaxVATRegulatory Configuration ServiceRCSGlobalization Features

The Tax Calculation Service for Dynamics 365 Finance and Operations provides an alternative to the built-in tax engine, managed through the Regulatory Configuration Service (RCS). Before using the service, significant technical configuration is required — follow the environment setup guide carefully, and refer to the detailed setup and usage documentation.

Creating a New Tax Feature

The service is managed in the Regulatory Configuration Service (RCS). Once configured, a Globalization features tile appears on the RCS dashboard. Click this tile, then select Tax calculation.

Tax calculation tile in RCS

This opens the landing page for tax calculation feature configuration.

Tax features landing page

Create a new tax feature by clicking Add. You can create from scratch or base it on an existing feature.

Create new tax feature from scratch

The system creates a new draft version. Click Edit and select the configuration version (the electronic reporting model imported during basic configuration).

Configuration version selected

Select the applicable legal entities (multi-select supported). In this example, only the "DEMF" legal entity is configured.

Setting Up Tax Codes

Create a new tax code (e.g. "DE-STD") for the standard German VAT rate of 19%.

Tax code set up

After saving, additional fields appear. Use the Add button to add the 19% rate.

Tax rate set up

Setting Up Tax Groups with Determination Rules

Create a tax group (e.g. "DE-STD"). Notably, you can use the Manage Columns button to add additional data fields from the source document — such as Delivery terms — to drive tax determination. In this example, tax is calculated only when the order header delivery terms are "EXW".

Tax group set up with delivery terms

Create a corresponding tax item group to complete the setup.

Tax item group set up

Publishing the Tax Feature

Once setup is complete, publish the feature by clicking Change status on the version. First complete the feature, then publish it.

Change tax feature status

Configuring the Legal Entity in D365 F&O

Navigate to Tax > Tax configuration > Tax calculation parameters.

Tax calculation parameters

  1. Enable the integration by ticking Enable tax calculation service.
  2. Link the feature to the legal entity by selecting it in the Feature setup name field.
  3. Select which business processes the tax calculation applies to. Unselected processes fall back to the built-in logic.

Business processes using tax calculation

When selecting the feature, a dialogue prompts for missing information such as settlement period and ledger posting group (not recorded in the RCS configuration). After entering the required information, data synchronises and a log is generated.

Tax data synchronisation is successful

The "DE-STD" tax code is now visible in Tax > Indirect taxes > Sales tax > Sales tax codes within D365 F&O.

End-to-End Test: Sales Order

Create a sales order in the "DEMF" legal entity for customer "DE-011 Northwind Traders". Initially, the delivery terms are set to "CIF".

Create sales order dialogue

Add a sales order line — the sales tax group and item tax group are automatically set to "DE-STD".

Sales order line with tax groups

Clicking Financials > Sales tax on the line ribbon shows an empty tax calculation — because the tax determination rule requires "EXW" delivery terms at header level, not "CIF".

Empty tax calculation

After changing the header delivery terms from "CIF" to "EXW", the tax calculation shows 19% VAT on the line as expected.

Tax calculation complete

This demonstrates how the Tax Calculation Service uses configurable determination rules based on source document fields to drive tax calculation in D365 F&O.

Source: Tax Calculation Service in Dynamics 365 Finance and Operations – Henrik Larsen, Dynamics 365 Community