Data entity
PayrollTaxGroupCodeEntity
Links tax codes to tax groups. Each record is keyed by tax group, tax code and the tax code's country or region.
- Entity name
PayrollTaxGroupCodeEntity- Public entity name
PayrollTaxGroupCode- OData collection
PayrollTaxGroupCodes- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
TaxGroupId, TaxCodeId, TaxCodeCountryRegionId- Staging table
PayrollTaxGroupCodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PayrollTaxGroupCodes- Dataverse virtual table
mserp_payrolltaxgroupcodeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PayrollTaxGroupCode· rootPayrollTaxCode· InnerJoin toPayrollTaxGroupCode· read-onlyPayrollTaxGroup· InnerJoin toPayrollTaxGroupCode· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TaxCodeTax code that belongs to the group. | Int64PayrollTaxCodeRecId | Yes | No (private) | PayrollTaxCode.RecId | PayrollTaxGroupCode.TaxCode |
TaxGroupTax group that the tax code is placed in. | Int64PayrollTaxGroupRecId | Yes | No (private) | PayrollTaxGroup.RecId | PayrollTaxGroupCode.TaxGroup |
TaxCodeIdIdentifier of the payroll tax code. | String (70)PayrollTaxCodeId | Yes | Yes | PayrollTaxCode.Code | |
TaxCodeCountryRegionIdCountry or region that the tax code applies to. | StringLogisticsAddressCountryRegionId | Yes | Yes | LogisticsAddressCountryRegion.CountryRegionId | PayrollTaxCode.CountryRegionId |
TaxGroupIdID of the tax group. | String (70)PayrollTaxGroupId | Yes | Yes | PayrollTaxGroup.GroupId |
Foreign keys (3)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
TaxCode→PayrollTaxCode.RecId(key of PayrollTaxCode)Many PayrollTaxGroupCode records → exactly one PayrollTaxCode record
PayrollTaxCode details: see PayrollWorkerTaxCodeParameterEntity, PayrollUSTaxTransactionHistorySummaryEntity, HcmTotalCompStatementSectionTaxEntity
TaxGroup→PayrollTaxGroup.RecId(key of PayrollTaxGroup)Many PayrollTaxGroupCode records → exactly one PayrollTaxGroup record
PayrollTaxGroup details: see PayrollTaxGroupEntity, HcmTotalCompStatementSectionTaxEntity, PayrollBenefitTaxRuleUSEntity
TaxCodeCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many PayrollTaxCode records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
Need help with PayrollTaxGroupCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.