Data entity
TaxWithholdingTaxCodeEntity
Holds withholding tax codes, identified by the code. It joins several related tables, so one record carries the name, currency, rounding settings and settlement period. It also carries ledger posting group, dimension combinations, component and component group, and a Brazilian withholding type.
- Entity name
TaxWithholdingTaxCodeEntity- Public entity name
WithholdingTaxCode- OData collection
WithholdingTaxCodes- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasicWithholdingTax- Keys
WithholdingCode- Staging table
TaxWithholdingTaxCodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/WithholdingTaxCodes- Dataverse virtual table
mserp_taxwithholdingtaxcodeentity. 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
TaxWithholdTable· rootMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toTaxWithholdTable· read-onlyTaxWithholdLedgerAccountGroup_TH· OuterJoin toTaxWithholdTable· read-onlyTaxWithholdPeriodHead_TH· OuterJoin toTaxWithholdTable· read-onlyWithholdingTaxReceivableDAVC(tableDimensionCombinationEntity) · OuterJoin toTaxWithholdTable· read-onlySettlementAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toTaxWithholdTable· read-onlyReceivableAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toTaxWithholdTable· read-onlyTaxWithholdComponentTable_IN· OuterJoin toTaxWithholdTable· read-onlyTaxWithholdComponentGroupTable_IN· OuterJoin toTaxWithholdComponentTable_IN· read-onlyTaxWithholdHead_IN· OuterJoin toTaxWithholdTable· read-only
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CurrencyCodeIDPoints to the currency set for the withholding tax code. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | TaxWithholdTable.CurrencyCode |
MainAccountIdPoints to the main ledger account combination for the code. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TaxWithholdTable.LedgerDimension |
WithholdingTaxBaseBasis the tax is worked from, such as a percentage of net or gross amount. | Enum
| No | Yes | TaxWithholdTable.TaxWithholdBaseType | |
WithholdingCodeCode that identifies the withholding tax code. | StringTaxWithholdCode | Yes | Yes | TaxWithholdTable.TaxWithholdCode | |
WithholdingTaxNameName of the withholding tax code. | String (30)TaxWithholdName | No | Yes | TaxWithholdTable.TaxWithholdName | |
WithholdingTaxRoundOffRounding value for the withholding tax amount. | RealTaxWithholdRoundOff | No | Yes | TaxWithholdTable.TaxWithholdRoundOff | |
WithholdingTaxRoundOffTypeRounding form: normal, downward or rounding up. | EnumTaxWithholdRoundOffType
| No | Yes | TaxWithholdTable.TaxWithholdRoundOffType | |
MainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
TaxWithholdLedgerAccountGroupRecIdPoints to the ledger posting group linked to the code, used for Thailand. | Int64TaxWithholdAccountGroupId_TH | No | No (private) | TaxWithholdLedgerAccountGroup_TH.RecId | TaxWithholdTable.TaxWithholdLedgerAccountGroup_TH |
TaxWithholdPeriodHeadRecIdPoints to the settlement period linked to the code, used for Thailand. | Int64TaxWithholdPeriodId_TH | No | No (private) | TaxWithholdPeriodHead_TH.RecId | TaxWithholdTable.TaxWithholdPeriodHead_TH |
TaxWithholdAccountGroupCode that identifies the ledger posting group. | StringTaxWithholdAccountGroup_TH | Yes | Yes | TaxWithholdLedgerAccountGroup_TH.TaxWithholdAccountGroup | |
TaxWithholdPeriodCode that identifies the settlement period. | StringTaxWithholdPeriod_TH | Yes | Yes | TaxWithholdPeriodHead_TH.TaxWithholdPeriod | |
WithholdingTaxReceivablePoints to the main ledger account combination, used for Brazil. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TaxWithholdTable.TaxIncomingLedgerDimension_BR |
BrazilianTaxWithholdPeriodSettlement period code, used for Brazil. | StringTaxWithholdPeriod | No | Yes | TaxWithholdTable.TaxWithholdPeriod_BR | |
BrazilianTaxWithholdTypeBrazilian withholding tax type, such as PIS, COFINS, CSLL, PCC or IR. | Enum
| No | Yes | TaxWithholdTable.TaxWithholdType_BR | |
SettlementAccountPoints to the ledger account combination used for settlement. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TaxWithholdTable.TaxReportLedgerDimension |
WithholdingTaxReceivableDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
SettlementAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ApplyThresholdYes/No setting for India that turns on the threshold hierarchy for the code. | EnumApplyThreshold_IN
| No | Yes | TaxWithholdTable.ApplyThreshold_IN | |
TaxTypeTax type for India: none, TDS or TCS. | Enum
| No | Yes | TaxWithholdTable.TaxType_IN | |
TaxWithholdComponentPoints to the withholding tax component linked to the code, used for India. | Int64RefRecId | No | No (private) | TaxWithholdComponentTable_IN.RecId | TaxWithholdTable.TaxWithholdComponent_IN |
ReceivableAccountPoints to the receivable ledger account combination, used for India. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TaxWithholdTable.LedgerDimension_IN |
ReceivableAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
WithholdingTaxComponentCode of the component. | String (15)TaxWithholdComponent_IN | Yes | Yes | TaxWithholdComponentTable_IN.Component | |
WithholdingComponentGroupCode of the component group. | String (15)TaxWithholdComponentGroup_IN | Yes | Yes | TaxWithholdComponentGroupTable_IN.ComponentGroup | |
SettlementPeriodCode that identifies the settlement period. | String (20)TaxWithholdPeriod_IN | Yes | Yes | TaxWithholdHead_IN.Period |
Foreign keys (8)
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.
CurrencyCodeID→Currency.CurrencyCode(key of Currency)Many TaxWithholdTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
MainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
TaxWithholdLedgerAccountGroupRecId→TaxWithholdLedgerAccountGroup_TH.RecId(key of TaxWithholdLedgerAccountGroup_TH)Many TaxWithholdTable records → zero or one TaxWithholdLedgerAccountGroup_TH record
TaxWithholdLedgerAccountGroup_TH details: see TaxWithholdLedgerAccountGroupEntity
TaxWithholdPeriodHeadRecId→TaxWithholdPeriodHead_TH.RecId(key of TaxWithholdPeriodHead_TH)Many TaxWithholdTable records → zero or one TaxWithholdPeriodHead_TH record
TaxWithholdPeriodHead_TH details: see TaxWithholdSettlementPeriodEntity, TaxWithholdReportVoucherEntity
WithholdingTaxReceivable→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
SettlementAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
TaxWithholdComponent→TaxWithholdComponentTable_IN.RecId(key of TaxWithholdComponentTable_IN)Many TaxWithholdTable records → zero or one TaxWithholdComponentTable_IN record
TaxWithholdComponentTable_IN details: see TaxWithholdComponentEntity, TaxWithholdReportingCodesEntity
ReceivableAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with TaxWithholdingTaxCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.