Table

TaxWithholdTable

Withholding tax codes

Holds withholding tax codes, identified by the code. Each code has a name, currency, rounding and ledger accounts, plus settings for several countries (India, Brazil, Thailand, Italy, Japan). It links to settlement periods, tax components and ledger posting groups.

Table name
TaxWithholdTable
Module
Tax
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicWithholdingTax
Primary index
TaxWithholdIdx
Replacement key
TaxWithholdIdx
Key fields
TaxWithholdCode
Model
Foundation

Fields (37)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxWithholdCodeCode that identifies the withholding tax code.String
TaxWithholdCode
YesTaxWithholdingTaxCodeEntity
ApplyThreshold_INYes/No setting for India that turns on the threshold hierarchy for the code.Enum
ApplyThreshold_IN
NoYes (enum)
NoTaxWithholdingTaxCodeEntity
CodeRevenueTypology_ITRevenue typology code for Italy, held as text.String
UniqueCertificationFieldCode_IT
NoNone
CurrencyCodePoints to the currency set for the withholding tax code.String (3)
CurrencyCode
YesCurrency.CurrencyCodeTaxWithholdingTaxCodeEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExcludeICMS_BRYes/No setting for Brazil. It leaves the ICMS tax amount out of the origin amount.Enum
NoYes (enum)
NoNone
ExcludeISS_BRYes/No setting for Brazil. It leaves the ISS tax amount out of the origin amount.Enum
NoYes (enum)
NoNone
InterimAccount_INPoints to the interim ledger account combination, used for India.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LedgerDimensionPoints to the main ledger account combination for the code.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdingTaxCodeEntity
LedgerDimension_INPoints to the receivable ledger account combination, used for India.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdingTaxCodeEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PanBasedAccumulation_INYes/No setting for India. It lets transactions of different parties add up when they share the same PAN.Enum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RevenueTypology_ITRevenue typology for Italy, chosen from a list of letters A to I.Enum
RevenueTypology_IT (enum)
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxCalcMethod_JPCalculation method used for Japan: whole amount or interval.Enum
TaxCalcMode (enum)
NoNone
TaxIncomingLedgerDimension_BRPoints to the main ledger account combination, used for Brazil.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdingTaxCodeEntity
TaxReportLedgerDimensionPoints to the ledger account combination used for settlement.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdingTaxCodeEntity
TaxType_INTax type for India: none, TDS or TCS.Enum
TaxWithholdCodeType_IN (enum)
NoTaxWithholdingTaxCodeEntity
TaxWithhold770FormTwo-character code for the 770 form.low confidenceString (2)
TaxWithhold770Form
NoNone
TaxWithholdBaseTypeBasis the tax is worked from, such as a percentage of net or gross amount.Enum
TaxWithholdBaseType (enum)
NoTaxWithholdingTaxCodeEntity
TaxWithholdComponent_INPoints to the withholding tax component linked to the code, used for India.Int64
RefRecId
NoTaxWithholdComponentTable_IN.RecIdTaxWithholdingTaxCodeEntity
TaxWithholdLedgerAccountGroup_THPoints to the ledger posting group linked to the code, used for Thailand.Int64
TaxWithholdAccountGroupId_TH
NoTaxWithholdLedgerAccountGroup_TH.RecIdTaxWithholdingTaxCodeEntity
TaxWithholdNameName of the withholding tax code.String (30)
TaxWithholdName
NoTaxWithholdingTaxCodeEntity
TaxWithholdPeriod_BRSettlement period code, used for Brazil.String
TaxWithholdPeriod
NoTaxWithholdingTaxCodeEntity
TaxWithholdPeriodHead_THPoints to the settlement period linked to the code, used for Thailand.Int64
TaxWithholdPeriodId_TH
NoTaxWithholdPeriodHead_TH.RecIdTaxWithholdingTaxCodeEntity
TaxWithholdReasonCodeFour-character reason code for the withholding tax.String (4)
TaxWithholdReasonCode
NoNone
TaxWithholdRecipientYes/No flag that shows whether the recipient may report the tax.Enum
NoYesId
NoYes (enum)
NoNone
TaxWithholdRoundOffRounding value for the withholding tax amount.Real
TaxWithholdRoundOff
NoTaxWithholdingTaxCodeEntity
TaxWithholdRoundOffTypeRounding form: normal, downward or rounding up.Enum
TaxWithholdRoundOffType
RoundOffType (enum)
NoTaxWithholdingTaxCodeEntity
TaxWithholdServiceTypeOne-character code for the service type.String (1)
TaxWithholdServiceType
NoNone
TaxWithholdSettlementPeriod_INPoints to the settlement period linked to the code, used for India.Int64
RefRecId
NoTaxWithholdHead_IN.RecIdNone
TaxWithholdSourceYes/No setting named Source. Its exact meaning is not given in the metadata.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
TaxWithholdType_BRBrazilian withholding tax type, such as PIS, COFINS, CSLL, PCC or IR.Enum
TaxWithholdType_BR (enum)
NoTaxWithholdingTaxCodeEntity

Indexes (4)

Relations (10)

Each relation joins TaxWithholdTable to another table on the fields shown.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TaxWithholdTable records → exactly one Currency record

  • DimensionAttributeAccountIncoming_IN → DimensionAttributeValueCombination

    Join on LedgerDimension_IN = DimensionAttributeValueCombination.RecId

    Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record

  • TaxIncomingLedgerDimension_BR → DimensionAttributeValueCombination

    Join on TaxIncomingLedgerDimension_BR = DimensionAttributeValueCombination.RecId

    Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record

  • TaxReportLedgerDimension → DimensionAttributeValueCombination

    Join on TaxReportLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record

  • TaxWithholdComponentTable_IN → TaxWithholdComponentTable_IN

    Join on TaxWithholdComponent_IN = TaxWithholdComponentTable_IN.RecId

    Many TaxWithholdTable records → zero or one TaxWithholdComponentTable_IN record

  • TaxWithholdHead_IN → TaxWithholdHead_IN

    Join on TaxWithholdSettlementPeriod_IN = TaxWithholdHead_IN.RecId

    Many TaxWithholdTable records → zero or one TaxWithholdHead_IN record

  • TaxWithholdLedgerAccountGroup_TH → TaxWithholdLedgerAccountGroup_TH

    Join on TaxWithholdLedgerAccountGroup_TH = TaxWithholdLedgerAccountGroup_TH.RecId

    Many TaxWithholdTable records → zero or one TaxWithholdLedgerAccountGroup_TH record

  • TaxWithholdPeriodHead_TH → TaxWithholdPeriodHead_TH

    Join on TaxWithholdPeriodHead_TH = TaxWithholdPeriodHead_TH.RecId

    Many TaxWithholdTable records → zero or one TaxWithholdPeriodHead_TH record

  • DimensionAttributeAccountInterim_IN → DimensionAttributeValueCombination

    Join on InterimAccount_IN = DimensionAttributeValueCombination.RecId

    Many TaxWithholdTable records → zero or one DimensionAttributeValueCombination record

Get this data out

Tables are not exposed directly. These public entities read from TaxWithholdTable; use one of them in Power BI, Power Platform or a data management project.

Need help with TaxWithholdTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk