Table
TaxWithholdTrans
Withholding tax transaction
Holds withholding tax transactions for vendor and customer invoices and payments. Amounts are stored in default, invoice, payment and withholding tax currencies. It links to vendor and customer transactions, journals and withholding tax codes and groups. It also has fields used for Brazil, India, Thailand and Italy.
- Table name
TaxWithholdTrans- Module
Tax- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicWithholdingTax- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (78)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CanBeReversed_BRShows whether the transaction can be reversed; used for Brazil. | EnumNoYes (enum) | No | None | |
CompetenceDateCompetence date of the transaction. | DateTransDate | Yes | None | |
CustAccountCustomer account the transaction relates to. | String (20)CustAccount | No | CustTable.AccountNum | None |
CustTransInvoiceIdPoints to the customer transaction of the invoice. | Int64CustTransRefRecId | No | CustTrans.RecId | None |
CustTransPaymIdPoints to the customer transaction of the payment. | Int64CustTransRefRecId | No | CustTrans.RecId | None |
CustVendTransOpenRecId_BRPoints to the open vendor transaction; used for Brazil. | Int64RefRecId | No | VendTransOpen.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExemptedAmountAmount exempt from withholding, in the default currency. | RealTaxWithholdAmount | No | None | |
HideInReport_ITShows whether the record is hidden in the certification report; used for Italy. | EnumNoYes (enum) | No | None | |
IntersectionWithholdBaseAmount_BRBasis for the withholding tax calculation, in the invoice currency; used for Brazil. | RealTaxWithholdBaseCur | No | None | |
InvoiceInvoice number. | String (50)InvoiceId | Yes | None | |
InvoiceAmountInvoice amount to be paid, in the invoice currency. | RealAmountCur | No | None | |
InvoiceAmountInTaxWithholdCurInvoice amount to be paid, in the withholding tax currency. | RealAmountCur | No | None | |
InvoiceBaseAmountBase amount in the invoice currency. | RealAmountCur | No | None | |
InvoiceCurrencyCurrency code of the invoice. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
InvoiceExemptedAmountAmount exempt from withholding, in the invoice currency. | RealTaxWithholdAmountCur | No | None | |
InvoiceNotTaxableByTreatyAmount not subject to withholding tax because of a treaty, in the invoice currency. | RealTaxWithholdAmountCur | No | None | |
InvoiceNotTaxableExpensesExpenses that are not taxable, in the invoice currency. | RealTaxWithholdAmountCur | No | None | |
InvoiceTaxAmountSales tax amount in the invoice currency. | RealAmountCur | No | None | |
InvoiceTaxWithholdAmountWithholding tax amount in the invoice currency. | RealTaxWithholdAmountCur | No | None | |
InvoiceWithholdBaseAmountBasis for the withholding tax calculation, in the invoice currency. | RealTaxWithholdBaseCur | No | None | |
JournalNumNumber of the ledger journal batch. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | None |
LedgerDimensionMain account, as a ledger dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LedgerJourTransRecId_BRPoints to the journal line; used for Brazil. | Int64RefRecId | No | LedgerJournalTrans.RecId | None |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NotTaxableByTreatyAmount not subject to withholding tax because of a treaty, in the default currency. | RealTaxWithholdAmount | No | None | |
NotTaxableExpensesExpenses that are not taxable, in the default currency. | RealTaxWithholdAmount | No | None | |
PackedExtensionsPacked data container for extension values. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyId_BRParty ID of the counterparty; used for Brazil. | String (40)DirPartyNumber | No | None | |
PaymCompanyCompany whose accounts are used for the payment. | StringCompanyId | No | None | |
PaymCurrencyCurrency code of the payment. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
PaymExemptedAmountAmount exempt from withholding, in the payment currency. | RealTaxWithholdAmountCur | No | None | |
PaymNotTaxableByTreatyAmount not subject to withholding tax because of a treaty, in the payment currency. | RealTaxWithholdAmountCur | No | None | |
PaymNotTaxableExpensesExpenses that are not taxable, in the payment currency. | RealTaxWithholdAmountCur | No | None | |
PaymTaxWithholdAmountWithholding tax amount in the payment currency. | RealTaxWithholdAmountCur | No | None | |
PaymVendorVendor account used for the payment. | String (20)VendAccount | No | VendTable.AccountNum | None |
PaymWithholdBaseAmountBasis for the withholding tax calculation, in the payment currency. | RealTaxWithholdBaseCur | No | None | |
PostedShows whether the transaction has been posted. | EnumPostedNoYes (enum) | 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 | |
RefCustVendTransRecId_BRReference to a customer or vendor transaction; used for Brazil.low confidence | Int64RefRecId | No | None | |
SettledShows whether the transaction has been settled. | EnumNoYesIdNoYes (enum) | No | None | |
SettlementVoucherVoucher number of the settlement. | String (20)Voucher | No | None | |
Source_BRSource of the transaction: Vendor payment, Withholding tax or Customer payment; used for Brazil. | EnumTaxWithholdSource (enum) | No | None | |
SpecTransIdPoints to the settlement specification record. | Int64RefRecId | No | SpecTrans.RecId | 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 | |
TaxExemptedAmountAmount exempt from withholding, in the withholding tax currency. | RealTaxWithholdAmountCur | No | None | |
TaxNotTaxableByTreatyAmount not subject to withholding tax because of a treaty, in the withholding tax currency. | RealTaxWithholdAmountCur | No | None | |
TaxNotTaxableExpensesExpenses that are not taxable, in the withholding tax currency. | RealTaxWithholdAmountCur | No | None | |
TaxReimbursement_ITReimbursement amount in the withholding tax currency, a part of the withholding base that is not taxable; used for Italy. | RealTaxWithholdAmount | No | None | |
TaxRepCounter_BRVersion number of the tax report; used for Brazil. | IntegerTaxVersion | No | None | |
TaxTaxWithholdAmountWithholding tax amount in the withholding tax currency. | RealTaxWithholdAmountCur | No | None | |
TaxType_INTax type: None, TDS or TCS; used for India. | EnumTaxWithholdCodeType_IN (enum) | No | None | |
TaxWithholdAccumulatedBaseAmountAccumulated base amount for withholding tax. | RealTaxWithholdBaseCur | No | None | |
TaxWithholdAmountWithholding tax amount in the default currency. | RealTaxWithholdAmount | No | None | |
TaxWithholdBaseAmountBasis for the withholding tax calculation, in the withholding tax currency. | RealTaxWithholdBaseCur | No | None | |
TaxWithholdCodeWithholding tax code applied. | StringTaxWithholdCode | Yes | TaxWithholdTable.TaxWithholdCode | None |
TaxWithholdComponentGroupTable_INPoints to the withholding tax component group; used for India. | Int64RefRecId | No | TaxWithholdComponentGroupTable_IN.RecId | None |
TaxWithholdComponentTable_INPoints to the withholding tax component; used for India. | Int64RefRecId | No | TaxWithholdComponentTable_IN.RecId | None |
TaxWithholdCurrencyCurrency code of the withholding tax. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
TaxWithholdExchRateExchange rate between the withholding tax currency and the payment currency. | RealExchRate | No | None | |
TaxWithholdExchRateDateDate of the withholding tax exchange rate. | DateTransDate | No | None | |
TaxWithholdGroupWithholding tax group applied. | StringTaxWithholdGroup | Yes | TaxWithholdGroupHeading.TaxWithholdGroup | None |
TaxWithholdIsSelected_BRShows whether withholding tax is selected; used for Brazil. | EnumNoYes (enum) | No | None | |
TaxWithholdItemGroupHeading_THPoints to the item withholding tax group; used for Thailand. | Int64TaxWithholdItemGroupId_TH | No | TaxWithholdItemGroupHeading_TH.RecId | None |
TaxWithholdPeriod_BRSettlement period for the tax; used for Brazil. | StringTaxWithholdPeriod | No | None | |
TaxWithholdPeriodHead_THPoints to the withholding tax settlement period; used for Thailand. | Int64TaxWithholdPeriodId_TH | No | TaxWithholdPeriodHead_TH.RecId | None |
TaxWithholdSlipNum_THWithholding tax slip number; used for Thailand. | StringTaxWithholdSlipNum_TH | No | None | |
TransDateDate of the transaction. | DateTransDate | Yes | None | |
VendAccountVendor account the transaction relates to. | String (20)VendAccount | No | VendTable.AccountNum | None |
VendorType_THVendor type: Blank, Domestic, Foreign or Individual; used for Thailand. | EnumTaxWithholdVendorType_TH (enum) | No | None | |
VendTransInvoiceIdPoints to the vendor transaction of the invoice. | Int64VendTransRefRecId | No | VendTrans.RecId | None |
VendTransPaymIdPoints to the vendor transaction of the payment. | Int64VendTransRefRecId | No | VendTrans.RecId | None |
VoucherVoucher number of the payment. | String (20)Voucher | Yes | None | |
VoucherInvoiceVoucher number of the invoice. | String (20)Voucher | Yes | None | |
WithholdBaseAmountBasis for the withholding tax calculation, in the default currency. | RealTaxWithholdBase | No | None |
Indexes (8)
VoucherDateIdxPaymCompany,Voucher,TransDateNot unique.
SpecTransIdxNot unique.
JournalNumIdxNot unique.
FK_DimensionAttributeValueCombination_TaNot unique.
TaxWithholdItemGroupHeading_THIdxTaxWithholdItemGroupHeading_THNot unique.
SettledIdxTaxWithholdPeriodHead_TH,TransDate,SettledNot unique.
TaxWithholdComponentGroupTable_INIdxTaxWithholdComponentGroupTable_INNot unique.
TaxWithholdComponentTable_INIdxNot unique.
Relations (22)
Each relation joins TaxWithholdTrans to another table on the fields shown.
Currency_InvoiceCurrency→CurrencyJoin on
InvoiceCurrency = Currency.CurrencyCodeMany TaxWithholdTrans records → exactly one Currency record
Currency_PaymCurrency→CurrencyJoin on
PaymCurrency = Currency.CurrencyCodeMany TaxWithholdTrans records → zero or one Currency record
Currency_TaxWithholdCurrency→CurrencyJoin on
TaxWithholdCurrency = Currency.CurrencyCodeMany TaxWithholdTrans records → zero or one Currency record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany TaxWithholdTrans records → zero or one CustTable record
CustTrans_CustTransInvoiceId→CustTransJoin on
CustTransInvoiceId = CustTrans.RecIdMany TaxWithholdTrans records → zero or one CustTrans record
CustTrans_CustTransPaymId→CustTransJoin on
CustTransPaymId = CustTrans.RecIdMany TaxWithholdTrans records → zero or one CustTrans record
DataArea→DataAreaJoin on
PaymCompany = DataArea.id,DataArea.isVirtual = nullMany TaxWithholdTrans records → zero or one DataArea record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxWithholdTrans records → zero or one DimensionAttributeValueCombination record
LedgerJournalTable→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumMany TaxWithholdTrans records → zero or one LedgerJournalTable record
LedgerJournalTrans→LedgerJournalTransJoin on
LedgerJourTransRecId_BR = LedgerJournalTrans.RecIdMany TaxWithholdTrans records → zero or one LedgerJournalTrans record
SpecTrans→SpecTransJoin on
SpecTransId = SpecTrans.RecIdMany TaxWithholdTrans records → zero or one SpecTrans record
TaxWithholdComponentGroupTable_INFK→TaxWithholdComponentGroupTable_INJoin on
TaxWithholdComponentGroupTable_IN = TaxWithholdComponentGroupTable_IN.RecIdMany TaxWithholdTrans records → zero or one TaxWithholdComponentGroupTable_IN record
TaxWithholdComponentTable_INFK→TaxWithholdComponentTable_INJoin on
TaxWithholdComponentTable_IN = TaxWithholdComponentTable_IN.RecIdMany TaxWithholdTrans records → zero or one TaxWithholdComponentTable_IN record
TaxWithholdGroupHeading→TaxWithholdGroupHeadingJoin on
TaxWithholdGroup = TaxWithholdGroupHeading.TaxWithholdGroupMany TaxWithholdTrans records → exactly one TaxWithholdGroupHeading record
TaxWithholdItemGroupHeading_TH→TaxWithholdItemGroupHeading_THJoin on
TaxWithholdItemGroupHeading_TH = TaxWithholdItemGroupHeading_TH.RecIdMany TaxWithholdTrans records → zero or one TaxWithholdItemGroupHeading_TH record
TaxWithholdPeriodHead_TH→TaxWithholdPeriodHead_THJoin on
TaxWithholdPeriodHead_TH = TaxWithholdPeriodHead_TH.RecIdMany TaxWithholdTrans records → zero or one TaxWithholdPeriodHead_TH record
TaxWithholdTable→TaxWithholdTableJoin on
TaxWithholdCode = TaxWithholdTable.TaxWithholdCodeMany TaxWithholdTrans records → exactly one TaxWithholdTable record
VendTable_PaymVendor→VendTableJoin on
PaymVendor = VendTable.AccountNumMany TaxWithholdTrans records → zero or one VendTable record
VendTable_VendAccount→VendTableJoin on
VendAccount = VendTable.AccountNumMany TaxWithholdTrans records → zero or one VendTable record
VendTransInvoice→VendTransJoin on
VendTransInvoiceId = VendTrans.RecIdMany TaxWithholdTrans records → zero or one VendTrans record
VendTransOpen→VendTransOpenJoin on
CustVendTransOpenRecId_BR = VendTransOpen.RecIdZero or one TaxWithholdTrans record → zero or one VendTransOpen record
VendTransPaym→VendTransJoin on
VendTransPaymId = VendTrans.RecIdMany TaxWithholdTrans records → zero or one VendTrans record
Get this data out
No public entity reads from TaxWithholdTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxWithholdTrans in a report, an integration or a migration? Talk to Dr Dynamics.