Data entity
PayrollUSTaxTransactionHistoryEntity
Holds the history of payroll tax transactions for workers in the United States. Each record shows wages, subject wages, excess wages, rate, hours and the calculated tax. It also holds state, residency and prior state details. The key combines personnel number, tax code, date, country or region and sequence number.
- Entity name
PayrollUSTaxTransactionHistoryEntity- Public entity name
USTaxTransactionHistory- OData collection
USTaxTransactionHistories- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
PersonnelNumber, TaxCodeId, TransDate, CountryRegionId, SequenceNumber- Staging table
PayrollUSTaxTransactionHistoryStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/USTaxTransactionHistories- Dataverse virtual table
mserp_payrollustaxtransactionhistoryentity. 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
PayrollUSTaxTransactionHistory· rootHcmWorker· InnerJoin toPayrollUSTaxTransactionHistory· read-onlyPayrollPayStatement· OuterJoin toPayrollUSTaxTransactionHistory· read-onlyPayrollTaxCode· InnerJoin toPayrollUSTaxTransactionHistory· read-only
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CalculatedTaxAmountTax amount calculated by the system. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.CalculatedTaxAmount | |
TransDateTransaction date. | DateTransDate | No | Yes | PayrollUSTaxTransactionHistory.TransDate | |
DescriptionDescription of the transaction. | String (60)Description | No | Yes | PayrollUSTaxTransactionHistory.Description | |
ExcessWagesWages above the taxable limit. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.ExcessWages | |
GrossSubjectWagesGross wages that are subject to the tax. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.GrossSubjectWages | |
GrossWagesTotal gross wages. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.GrossWages | |
HoursNumber of hours. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.Hours | |
PayStatementPay statement the transaction belongs to. | Int64PayrollPayStatementRecId | No | No (private) | PayrollPayStatement.RecId | PayrollUSTaxTransactionHistory.PayStatement |
RateTax rate. | RealPrlTaxRate | No | Yes | PayrollUSTaxTransactionHistory.Rate | |
ResidencyResidency status: resident, non-resident or not applicable. | Enum
| Yes | Yes | PayrollUSTaxTransactionHistory.Residency | |
StateState or province code. | StringPrlStateId | No | Yes | PayrollUSTaxTransactionHistory.State | |
SubjectWagesWages that are subject to the tax. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.SubjectWages | |
TaxationStateState or province of taxation. | Enum
| No | Yes | PayrollUSTaxTransactionHistory.TaxationState | |
TaxCodeTax code of the transaction. | Int64PayrollTaxCodeRecId | Yes | No (private) | PayrollTaxCode.RecId | PayrollUSTaxTransactionHistory.TaxCode |
TaxPayTypeTax method: regular, supplemental or combined. | Enum
| Yes | Yes | PayrollUSTaxTransactionHistory.TaxPayType | |
UniqueTaxIdUnique ID of the tax. | String (50)String50 | No | Yes | PayrollUSTaxTransactionHistory.UniqueTaxId | |
WageBaseWage base for the tax. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.WageBase | |
WorkerWorker the transaction is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | PayrollUSTaxTransactionHistory.Worker |
PoliticalSubDivisionIdID of the political sub-division. | StringPayrollPoliticalSubdivisionId | No | Yes | PayrollUSTaxTransactionHistory.PoliticalSubDivisionId | |
PriorStatePrevious state of the worker. | Enum
| No | Yes | PayrollUSTaxTransactionHistory.PriorState | |
PriorStateWageAmountWages earned in the previous state. | RealAmount | No | Yes | PayrollUSTaxTransactionHistory.PriorStateWageAmount | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | Yes | Yes | HcmWorker.PersonnelNumber | |
PayStatementNumberUnique number of the pay statement. | String (20)PayrollPayStatementId | No | Yes | PayrollPayStatement.DocumentNumber | |
TaxCodeIdIdentifier of the payroll tax code. | String (70)PayrollTaxCodeId | Yes | Yes | PayrollTaxCode.Code | |
CountryRegionIdCountry or region that the tax code applies to. | StringLogisticsAddressCountryRegionId | Yes | Yes | LogisticsAddressCountryRegion.CountryRegionId | PayrollTaxCode.CountryRegionId |
SequenceNumberLine sequence number. | IntegerSequenceNumber | No | Yes | PayrollUSTaxTransactionHistory.SequenceNumber |
Foreign keys (4)
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.
PayStatement→PayrollPayStatement.RecId(key of PayrollPayStatement)Many PayrollUSTaxTransactionHistory records → zero or one PayrollPayStatement record
PayrollPayStatement details: see PayrollPayStatementHeaderEntity, PayrollPayStatementBenefitLineEntity, PayrollPayStatementEarningLineEntity
TaxCode→PayrollTaxCode.RecId(key of PayrollTaxCode)One or more PayrollUSTaxTransactionHistory records → exactly one PayrollTaxCode record
PayrollTaxCode details: see PayrollWorkerTaxCodeParameterEntity, PayrollUSTaxTransactionHistorySummaryEntity, HcmTotalCompStatementSectionTaxEntity
Worker→HcmWorker.RecId(key of HcmWorker)One or more PayrollUSTaxTransactionHistory records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many PayrollTaxCode records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
Need help with PayrollUSTaxTransactionHistoryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.