topic hubLocalizationsofficial - Microsoftreviewed - checked by Opus

Tax engine

The Tax engine section covers the configuration-driven tax engine in the India localization of Business Central. It answers questions about tax types, rates, use cases, lookups, scripting, design choices, and JSON import/export of tax configuration.

Path: Business functionality > Local functionality > India > Tax engine · tier official · system localization · narrative reviewed (checked by Opus)

Overview

The tax engine manages tax rules and calculations through configuration rather than fixed code. The overview page describes its six modules: core, tax type handler, use case handler, scripting, posting handler, and JSON exchange. Start there to see how the parts relate.

The other pages follow the setup flow. The design consideration page covers choices for tax types, attributes, rate setup, and use case sequencing. The tax type and tax rate page covers tax types, components, attributes, and rates used to calculate and post taxes to G/L accounts. The use case page defines when and how tax is calculated, using conditions, attribute mapping, rate parameters, computation scripts, and posting setup.

Lookup and Script Activity pages are references for building use case logic. Lookup fetches values from sources such as the current record, variables, tables, and tax attributes. Script Activity covers string, number, date, condition, and loop activities. The Import/Export page explains moving tax type configuration and use cases as JSON, and using the Tax Engine Setup wizard.

Key points

  • The tax engine has six modules: core, tax type handler, use case handler, scripting, posting handler, and JSON exchange.
  • Tax types are configured with components, attributes, entity mapping, and rate setup so taxes can be calculated and posted to G/L accounts.
  • Design guidance covers generic attributes, mapping attributes to table fields, rate column setup, and use case execution order.
  • Use cases define conditions, attribute mapping, rate parameter mapping, variables, computation scripts, component formulas, and posting setup.
  • Lookups fetch values from the current record, variables, tables, database, system, tax attributes, and components.
  • Script activities include string operations, number calculations, date manipulation, conditions, and loops.
  • Tax type configuration and use cases can be exported and imported as JSON, and the Tax Engine Setup wizard supports assisted setup.

Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 7 Learn pages