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 · root
  • MainAccountIdDAVC (table DimensionCombinationEntity) · OuterJoin to TaxWithholdTable · read-only
  • TaxWithholdLedgerAccountGroup_TH · OuterJoin to TaxWithholdTable · read-only
  • TaxWithholdPeriodHead_TH · OuterJoin to TaxWithholdTable · read-only
  • WithholdingTaxReceivableDAVC (table DimensionCombinationEntity) · OuterJoin to TaxWithholdTable · read-only
  • SettlementAccountDAVC (table DimensionCombinationEntity) · OuterJoin to TaxWithholdTable · read-only
  • ReceivableAccountDAVC (table DimensionCombinationEntity) · OuterJoin to TaxWithholdTable · read-only
  • TaxWithholdComponentTable_IN · OuterJoin to TaxWithholdTable · read-only
  • TaxWithholdComponentGroupTable_IN · OuterJoin to TaxWithholdComponentTable_IN · read-only
  • TaxWithholdHead_IN · OuterJoin to TaxWithholdTable · read-only

Fields (26)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CurrencyCodeIDPoints to the currency set for the withholding tax code.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeTaxWithholdTable.CurrencyCode
MainAccountIdPoints to the main ledger account combination for the code.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTaxWithholdTable.LedgerDimension
WithholdingTaxBaseBasis the tax is worked from, such as a percentage of net or gross amount.Enum
TaxWithholdBaseType
  • PctPerNet 0
  • PctPerGross 1
  • PctGrsAmtMonth 2
NoYesTaxWithholdTable.TaxWithholdBaseType
WithholdingCodeCode that identifies the withholding tax code.String
TaxWithholdCode
YesYesTaxWithholdTable.TaxWithholdCode
WithholdingTaxNameName of the withholding tax code.String (30)
TaxWithholdName
NoYesTaxWithholdTable.TaxWithholdName
WithholdingTaxRoundOffRounding value for the withholding tax amount.Real
TaxWithholdRoundOff
NoYesTaxWithholdTable.TaxWithholdRoundOff
WithholdingTaxRoundOffTypeRounding form: normal, downward or rounding up.Enum
TaxWithholdRoundOffType
RoundOffType
  • Ordinary 0
  • RoundDown 1
  • RoundUp 2
NoYesTaxWithholdTable.TaxWithholdRoundOffType
MainAccountIdDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
TaxWithholdLedgerAccountGroupRecIdPoints to the ledger posting group linked to the code, used for Thailand.Int64
TaxWithholdAccountGroupId_TH
NoNo (private)TaxWithholdLedgerAccountGroup_TH.RecIdTaxWithholdTable.TaxWithholdLedgerAccountGroup_TH
TaxWithholdPeriodHeadRecIdPoints to the settlement period linked to the code, used for Thailand.Int64
TaxWithholdPeriodId_TH
NoNo (private)TaxWithholdPeriodHead_TH.RecIdTaxWithholdTable.TaxWithholdPeriodHead_TH
TaxWithholdAccountGroupCode that identifies the ledger posting group.String
TaxWithholdAccountGroup_TH
YesYesTaxWithholdLedgerAccountGroup_TH.TaxWithholdAccountGroup
TaxWithholdPeriodCode that identifies the settlement period.String
TaxWithholdPeriod_TH
YesYesTaxWithholdPeriodHead_TH.TaxWithholdPeriod
WithholdingTaxReceivablePoints to the main ledger account combination, used for Brazil.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTaxWithholdTable.TaxIncomingLedgerDimension_BR
BrazilianTaxWithholdPeriodSettlement period code, used for Brazil.String
TaxWithholdPeriod
NoYesTaxWithholdTable.TaxWithholdPeriod_BR
BrazilianTaxWithholdTypeBrazilian withholding tax type, such as PIS, COFINS, CSLL, PCC or IR.Enum
TaxWithholdType_BR
  • Unknown 0
  • PIS 1
  • COFINS 2
  • CSLL 3
  • PCC 4
  • IR 5
NoYesTaxWithholdTable.TaxWithholdType_BR
SettlementAccountPoints to the ledger account combination used for settlement.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTaxWithholdTable.TaxReportLedgerDimension
WithholdingTaxReceivableDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
SettlementAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ApplyThresholdYes/No setting for India that turns on the threshold hierarchy for the code.Enum
ApplyThreshold_IN
NoYes

Platform enum: values not in the metadata extract.

NoYesTaxWithholdTable.ApplyThreshold_IN
TaxTypeTax type for India: none, TDS or TCS.Enum
TaxWithholdCodeType_IN
  • None 0
  • TDS 1
  • TCS 2
NoYesTaxWithholdTable.TaxType_IN
TaxWithholdComponentPoints to the withholding tax component linked to the code, used for India.Int64
RefRecId
NoNo (private)TaxWithholdComponentTable_IN.RecIdTaxWithholdTable.TaxWithholdComponent_IN
ReceivableAccountPoints to the receivable ledger account combination, used for India.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTaxWithholdTable.LedgerDimension_IN
ReceivableAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
WithholdingTaxComponentCode of the component.String (15)
TaxWithholdComponent_IN
YesYesTaxWithholdComponentTable_IN.Component
WithholdingComponentGroupCode of the component group.String (15)
TaxWithholdComponentGroup_IN
YesYesTaxWithholdComponentGroupTable_IN.ComponentGroup
SettlementPeriodCode that identifies the settlement period.String (20)
TaxWithholdPeriod_IN
YesYesTaxWithholdHead_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.

Need help with TaxWithholdingTaxCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk