Table
PayrollTaxCode
Tax code
Holds payroll tax codes, identified by code and country or region. Each code has a description, a tax type such as Medicare or Federal income tax, and flags for employer tax and locked pay statement lines.
- Table name
PayrollTaxCode- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
PayrollAdministration- Primary index
None- Replacement key
PayrollTaxCode_AK1- Key fields
Code, CountryRegionId- Model
PersonnelManagement
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CodeIdentifier of the payroll tax code. | String (70)PayrollTaxCodeId | Yes | PayrollWorkerTaxCodeV2EntityHcmTotalCompStatementSectionTaxEntityPayrollPayStatementTaxLineEntityand 6 more | |
CountryRegionIdCountry or region that the tax code applies to. | StringLogisticsAddressCountryRegionId | Yes | LogisticsAddressCountryRegion.CountryRegionId | PayrollWorkerTaxCodeV2EntityHcmTotalCompStatementSectionTaxEntityPayrollPayStatementTaxLineEntityand 4 more |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DescriptionText describing the tax code. | String (70)PayrollTaxCodeId | Yes | PayrollUSTaxTransactionHistorySummaryEntityPayrollEssPayStatementLineEntityPayrollUSTaxTransactionHistoryDetailEntity | |
IsEmployerTaxYes or No flag showing whether the tax is an employer tax. | EnumNoYesIdNoYes (enum) | No | None | |
IsPayStatementLineLockedYes or No flag for locking the pay statement line. | EnumNoYesIdNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeKind of tax, for example city tax, Medicare or Federal income tax. | EnumPayrollTaxCodeType (enum) | Yes | PayrollUSTaxTransactionHistorySummaryEntityPayrollUSTaxTransactionHistoryDetailEntity |
Indexes (1)
PayrollTaxCode_AK1Replacement keyUnique, alternate key.
Relations (1)
Each relation joins PayrollTaxCode to another table on the fields shown.
CountryRegion_FK→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany PayrollTaxCode records → exactly one LogisticsAddressCountryRegion record
Get this data out
Tables are not exposed directly. These public entities read from PayrollTaxCode; use one of them in Power BI, Power Platform or a data management project.
PayrollWorkerTaxCodeV2Entity· 2 fields from this tableHcmTotalCompStatementSectionTaxEntity· 2 fields from this tablePayrollPayStatementTaxLineEntity· 2 fields from this tablePayrollTaxGroupCodeEntity· 2 fields from this tablePayrollUSTaxTransactionHistoryEntity· 2 fields from this tablePayrollWorkerTaxCodeParameterEntity· 4 fields from this tablePayrollUSTaxTransactionHistorySummaryEntity· 3 fields from this tablePayrollEssPayStatementLineEntity· 1 field from this tablePayrollUSTaxTransactionHistoryDetailEntity· 3 fields from this table
Need help with PayrollTaxCode in a report, an integration or a migration? Talk to Dr Dynamics.