BeyondERP.Newsletter
Menu

Setup step on the Sales tax codes page · Tax

Set up Sales tax codes

Use this page to hold the tax rates and calculation rules for each sales tax, and to link the tax to a settlement period and a ledger posting group.

See how to set it up Back to Tax

Used by
Auditor, Chief executive officer, Accounts receivable manager and 5 more roles
Business process
Configure tax rates in Dynamics 365 Finance
Menu item
TaxTable
Main table
TaxTable
Data entity
TaxCodeEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
A ready-to-run test, “Sales tax code calculates and posts to the right account”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you create a sales tax code for each indirect tax or duty that the legal entity must calculate, collect and pay to sales tax authorities.
What you do hereUse this page to hold the tax rates and calculation rules for each sales tax, and to link the tax to a settlement period and a ledger posting group.
ExampleFor example, with a 25 percent sales tax code that uses Percentage of net amount, an invoice line of 10 items at 1.00 each with a 10 percent line discount has a net amount of 9.00 and sales tax of 2.25.
Sales tax codes page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Sales tax codes1 screen

Use this page to hold the tax rates and calculation rules for each sales tax, and to link the tax to a settlement period and a ledger posting group.

  1. Screen 1

    Create the sales tax code

    Go to Tax > Indirect taxes > Sales tax > Sales tax codes

    1. Select New, and enter the Sales tax code and Name
    2. On the General section, select the Settlement period and Ledger posting group, then save
    3. On the Action Pane, select Sales tax code > Values
    4. Enter the From date, To date and Value, then save and close
    1Sales tax codeBEAT-ST10
    2Settlement periodBEAT-QTR
    3Ledger posting groupBEAT-ST
    4Percentage/Amount10.00000
    Create the sales tax code (zoomed on the outlined fields)
    Show the full screenCreate the sales tax code
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Tax > Indirect taxes > Sales tax > Sales tax codes.
  2. Select New. In the Sales tax code field, enter a code, and in the Name field, enter a name.
  3. Select the Settlement period, which sets the sales tax authority and the intervals the tax is reported and paid for.
  4. Select the Ledger posting group that holds the main accounts the tax posts to.
  5. Expand the Calculation FastTab and check Origin and the other fields that control how the tax amount is calculated.
  6. On the Action Pane, select Sales tax code > Values, enter a line with From date, To date and the rate in Value, then save.
  7. Add the code to every sales tax group and item sales tax group it must apply to; a code that is in only one of them is never calculated.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Settlement periodSets which sales tax authority the tax is reported to and how often it is reported and paid.Microsoft Learn QUARTERLYTaxPeriod
Ledger posting groupSets the main accounts that the sales tax posts to in the general ledger.Microsoft Learn SALESTAXTaxAccountGroup
OriginThe calculation method applied to the tax base, such as a percentage of the net amount or an amount per unit.Microsoft Learn TaxBase
Sales tax on sales taxThe other sales tax code that this tax is calculated on, when Origin is Percentage of sales tax.Microsoft Learn TaxOnTax
Calculation methodWhether the rate applies to the whole taxable amount or to each amount interval separately.Microsoft Learn TaxCalcMethod
Marginal baseWhich amount is used to pick the right rate from the sales tax code values.Microsoft Learn TaxLimitBase
ValuesThe tax rate or amount per unit, by From date and To date and by minimum and upper limits. Both dates must be filled in on each line.Microsoft Learn 10/1/2026 to 12/31/2099, 10.00000
LimitsThe minimum and maximum sales tax that can be calculated on a sale.Microsoft Learn
Type of taxThe kind of tax, such as Standard VAT, Reduced VAT or VAT 0%, used with the Tax service and multiple VAT registration numbers.Microsoft Learn
Report setupThe sales tax reporting codes that each type of amount on this code is reported under.Microsoft Learn
Sales tax codeThe short code that identifies the sales tax. Sales tax groups and item sales tax groups list it, and posted sales tax transactions keep it.Microsoft Learn BEAT-ST10TaxCode
Percentage/AmountThe value on a Values line: a percentage of the Origin base, or an amount per unit when Origin is Amount per unit. No tax is calculated without a value for the transaction date.Microsoft Learn 10.00000

Common errors and fixes

MessageWhat to do
Both from and to date must be filled inOn the Values page, enter a To date as well as a From date on the line. Use a far To date, such as 12/31/2099, for a rate with no planned end, and add a new dated line when the rate changes. Checked in Dynamics 365
No sales tax is calculated on an order line that uses the code.Check that the code has a value line that covers the transaction date and that it is in both the sales tax group and the item sales tax group on the line. Microsoft Learn

Test checklist

  1. Create a code with a settlement period, a ledger posting group and a value line dated from today.
  2. Add the code to one sales tax group and one item sales tax group.
  3. Create a sales order line that uses both groups and open Sales tax: the code and amount appear.
  4. Post the invoice and open Posted sales tax on the voucher: the code is shown and the amount sits on the Sales tax payable account of the ledger posting group.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Sales tax codesOne sales tax code per tax and rate you must calculate and report, each with a Settlement period and a Ledger posting group; record rate changes as new dated lines under Values rather than editing the old rateLearn says a sales tax code is created for every indirect tax the legal entity must calculate, collect and pay, and every code must link to a settlement period (who and when you report) and a ledger posting group (which accounts it posts to). Rates are held as values with From date and To date, so dated lines keep history.How are rate changes recorded on a sales tax code?A code with a value of 0 or flagged Exempt in the sales tax group calculates zero tax, and a code that is not in both the sales tax group and the item sales tax group is never applied. Both show up as 'tax isn't calculated' on transactions.Test: Sales tax code calculates and posts to the right account

Feature management and licence

Feature to turn onSupport multiple VAT registration numbers (Optional)
Licence or add-inOn the live system, Accountant and Accounting supervisor maintain sales tax codes, and Accounting manager, Accounts receivable manager, Auditor, Financial controller and Chief executive officer can view them. No feature is needed to use the page; Support multiple VAT registration numbers adds the Type of tax field.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneHard to reverse: Rates and settings can be changed, but posted sales tax transactions keep the code and amounts they were posted with. Corrections after posting go through reversal or a sales tax adjustment in a general journal that names the code.
If you change it laterWhen advanced tax calculation is turned on in Tax calculation parameters, the rounding rules set on sales tax codes no longer apply. Microsoft Learn
Technical architect

6Technical

Menu itemTaxTable Checked in Dynamics 365
FormTaxTable Checked in Dynamics 365
TableTaxTableShown as “Sales tax codes” in Record infoKey field: TaxCodeChecked in Dynamics 365
Data entitiesTaxCodeEntitySales tax codes Microsoft data model
Who can open it

8 security roles. Select a role to see its duties and privileges.

  • RoleAuditorAuditPolicyManager
    • DutyReview EU sales list process performanceTaxEUSalesListProcessPerfReview
      • PrivilegeView sales tax codesTaxTableView
    • DutyInquire into sales tax policiesTaxSalesTaxPoliciesInquire
      • PrivilegeView sales tax codesTaxTableView
  • RoleChief executive officerCompanyChiefExecutiveOfficer
    • DutyReview EU sales list process performanceTaxEUSalesListProcessPerfReview
      • PrivilegeView sales tax codesTaxTableView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into sales tax policiesTaxSalesTaxPoliciesInquire
      • PrivilegeView sales tax codesTaxTableView
  • RolePayroll administratorHcmPayrollAdministrator
    • DutyEnable payroll processHcmPayrollProcessEnable
      • PrivilegeQuery other tax settingsRPayOtherTaxSettingsQuery
  • RoleAccountantLedgerAccountant
    • DutyEnable EU sales list processTaxEUSalesListProcessEnable
      • PrivilegeMaintain sales tax codesTaxTableMaintain
    • DutyEnable sales taxes processTaxSalesTaxesProcessEnable
      • PrivilegeMaintain sales tax codesTaxTableMaintain
  • RoleAccounting managerLedgerAccountingManager
    • DutyReview EU sales list process performanceTaxEUSalesListProcessPerfReview
      • PrivilegeView sales tax codesTaxTableView
    • DutyInquire into sales tax policiesTaxSalesTaxPoliciesInquire
      • PrivilegeView sales tax codesTaxTableView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyEnable EU sales list processTaxEUSalesListProcessEnable
      • PrivilegeMaintain sales tax codesTaxTableMaintain
    • DutyEnable sales taxes processTaxSalesTaxesProcessEnable
      • PrivilegeMaintain sales tax codesTaxTableMaintain
    • DutyInquire into sales tax policiesTaxSalesTaxPoliciesInquire
      • PrivilegeView sales tax codesTaxTableView
  • RoleFinancial controllerLedgerFinancialController
    • DutyInquire into sales tax policiesTaxSalesTaxPoliciesInquire
      • PrivilegeView sales tax codesTaxTableView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccountant LedgerAccountantAccounting supervisor LedgerAccountingSupervisorTo use itAccounting manager LedgerAccountingManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerAuditor AuditPolicyManagerFinancial controller LedgerFinancialControllerChief executive officer CompanyChiefExecutiveOfficerGive people one of these roles. On this system, 8 roles can open this page.Checked in Dynamics 365
Actions on the pageSales tax code: Sales tax code, Inquiries, Print, Recalculate taxOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=TaxTable
Integrate withTaxCodeEntity data entity Microsoft data model
Data migrationTaxCodeEntity (Sales tax codes): loaded for each company, in Microsoft's default template 130 - Tax.Load order: Microsoft's default template 130 - Tax loads Sales tax codes at execution unit 1, level 130, sequence 30. Lower levels load first, and entities at the same level load in sequence order.Load first: Sales tax reporting codes, Sales tax period setup, the default templates at lower levels (System setup to Accounts payable)Microsoft Learn
Table definitionTaxTable columns and relations Microsoft data model
Everyone

8Sources

To cite this step: TAX-INDIRECT-010, Set up Sales tax codes. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/TAX-INDIRECT-010