Table

RetailTaxFilters

Destination based tax configurations table

Holds destination-based tax settings for retail. Each row links a sales tax group to a place, defined by country or region, state, county, city, district or postal code. It has no defined key. Retail tax filter entities for tax groups use it.

Table name
RetailTaxFilters
Module
Commerce transactions and orders
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CityPoints to the city record.Int64
LogisticsAddressCityRecId
NoLogisticsAddressCity.RecIdTaxGroupRetailTaxFilterEntity
CountryRegionIdCountry or region code.String
LogisticsAddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdTaxGroupRetailTaxFilterEntity
CountyIdCounty code.String (30)
LogisticsAddressCountyId
NoLogisticsAddressCounty.CountyIdTaxGroupRetailTaxFilterEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DistrictPoints to the district record.Int64
LogisticsAddressDistrictRecId
NoLogisticsAddressDistrict.RecIdTaxGroupRetailTaxFilterEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StateIdState code.String
LogisticsAddressStateId
NoLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdTaxGroupRetailTaxFilterEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupHeadingSales tax group applied to this destination.String
TaxGroup
YesTaxGroupHeading.TaxGroupTaxGroupRetailTaxFilterEntity
ZipcodePoints to the ZIP or postal code record.Int64
LogisticsAddressZipCodeRecId
NoLogisticsAddressZipCode.RecIdTaxGroupRetailTaxFilterEntity

Indexes (2)

Relations (7)

Each relation joins RetailTaxFilters to another table on the fields shown.

  • City → LogisticsAddressCity

    Join on City = LogisticsAddressCity.RecId

    Many RetailTaxFilters records → exactly one LogisticsAddressCity record

  • CountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many RetailTaxFilters records → exactly one LogisticsAddressCountryRegion record

  • County → LogisticsAddressCounty

    Join on CountyId = LogisticsAddressCounty.CountyId, StateId = LogisticsAddressCounty.StateId, CountryRegionId = LogisticsAddressCounty.CountryRegionId

    Many RetailTaxFilters records → exactly one LogisticsAddressCounty record

  • District → LogisticsAddressDistrict

    Join on District = LogisticsAddressDistrict.RecId

    Many RetailTaxFilters records → zero or one LogisticsAddressDistrict record

  • State → LogisticsAddressState

    Join on StateId = LogisticsAddressState.StateId, CountryRegionId = LogisticsAddressState.CountryRegionId

    Many RetailTaxFilters records → exactly one LogisticsAddressState record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupHeading = TaxGroupHeading.TaxGroup

    Many RetailTaxFilters records → exactly one TaxGroupHeading record

  • Zipcode → LogisticsAddressZipCode

    Join on Zipcode = LogisticsAddressZipCode.RecId

    Many RetailTaxFilters records → zero or one LogisticsAddressZipCode record

Get this data out

Tables are not exposed directly. These public entities read from RetailTaxFilters; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailTaxFilters in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk