Table

TaxRegistrationTypeApplicabilityRule

Tax registration types rules

Rules for each registration type and country or region. They set the number format, the tax authority, uniqueness and update options, and any restriction to persons or organisations. The key is the registration type plus the country or region.

Table name
TaxRegistrationTypeApplicabilityRule
Module
Tax
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
PrimaryIdx
Key fields
TaxRegistrationType, CountryRegionId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxRegistrationTypePoints to the registration type the rule is for.Int64
TaxRegistrationTypeId
YesTaxRegistrationType.RecIdTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntityRegistrationCategoriesAdvancedRulesEntityand 1 more
CountryRegionIdCountry or region the rule applies to.String
TaxRegistrationTypeCountryId
YesLogisticsAddressCountryRegion.CountryRegionIdTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntityRegistrationCategoriesAdvancedRulesEntityand 4 more
FormatPattern the registration number must follow.String (60)
TaxRegistrationFormat
NoTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntity
IsPrimaryAddressRestrictedYes/no option linked to the primary address for the country or region.low confidenceEnum
TaxRegistrationPrimaryAddressRestricted
NoYes (enum)
NoTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntity
IsRegistrationNumberUniqueYes/no option for whether each number must be unique.Enum
TaxRegistrationTypeUnique
NoYes (enum)
NoTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntity
IsRegistrationNumberUpdateableYes/no option for whether the number can be changed.Enum
TaxRegistrationTypeUpdateable
NoYes (enum)
NoTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyTypeRestrictionLimits the rule to persons or organisations, or to neither.Enum
PartyTypeRestriction (enum)
NoTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTaxRegistrationTypeApplicabilityRuleCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
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
TaxRegistrationAuthorityTax authority linked to this rule.String
TaxAuthority
NoTaxAuthorityAddress.TaxAuthorityTaxRegistrationTypeEntityTaxRegistrationTypeApplicabilityRuleCDREntity

Indexes (2)

Relations (3)

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

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many TaxRegistrationTypeApplicabilityRule records → exactly one LogisticsAddressCountryRegion record

  • TaxAuthorityAddress → TaxAuthorityAddress

    Join on TaxRegistrationAuthority = TaxAuthorityAddress.TaxAuthority

    Many TaxRegistrationTypeApplicabilityRule records → zero or one TaxAuthorityAddress record

  • TaxRegstrationType → TaxRegistrationType

    Join on TaxRegistrationType = TaxRegistrationType.RecId

    Many TaxRegistrationTypeApplicabilityRule records → exactly one TaxRegistrationType record

Get this data out

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

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

Email sales@drdynamics.co.uk