Data entity

LTMWithholdingTableEntity

Holds withholding tax codes for the LATAM localisation, one row per code. Each row has a name, a document class, a fiscal calendar and period interval. It also has amount settings such as minimum subject amount, minimum withholding and minimum accumulated amount, and options such as retroactive and calculate accumulated.

Entity name
LTMWithholdingTableEntity
Public entity name
WithholdingTable
OData collection
WithholdingTables
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
WithholdingCode
Staging table
LTMWithholdingTableStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/WithholdingTables
Dataverse virtual table
mserp_ltmwithholdingtableentity. 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

  • LTMWithholdingTable · root

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CalcAccumulatedChooses whether accumulated amounts are used. The values are: do not calculate, calculate on withholding, or calculate on invoices and credit notes.Enum
LTMCalcAccumulated
  • NoCalc 0
  • CalcOverWitholding 1
  • CalcOverInvoice 2
NoYesLTMWithholdingTable.CalcAccumulated
CalculateOverSets what the calculation is based on: the total payment or the document class.Enum
LTMCalculateOver
  • LTMTotalPayment 0
  • LTMVoucherPayment 1
NoYesLTMWithholdingTable.CalculateOver
CalFirstPaymentYes/no flag showing whether the calculation is done on the first payment.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLTMWithholdingTable.CalFirstPayment
DocNumA document number stored with the withholding code.low confidenceString (30)
String30
NoYesLTMWithholdingTable.DocNum
DocTypeIdThe country document type linked to this code. It points to a fiscal register record.String (15)
LTMDocTypeId
NoYesLTMFiscalRegisterV2.DocTypeIdLTMWithholdingTable.DocTypeId
FiscalCalendarShows whether the period follows the fiscal calendar or the normal calendar.Enum
LTMFiscalCalendar
  • Fiscal 0
  • Calendar 1
NoYesLTMWithholdingTable.FiscalCalendar
InterPeriodThe unit of the period used: days, months or years.Enum
LTMInterPeriod
  • Days 0
  • Months 1
  • Years 2
NoYesLTMWithholdingTable.InterPeriod
MinAccumAmntToWithholdThe smallest accumulated amount needed before withholding is calculated.Real
Amount
NoYesLTMWithholdingTable.MinAccumAmntToWithhold
MinAmountSRestaYes/no flag showing whether the minimum subject amount is subtracted.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLTMWithholdingTable.MinAmountSResta
MMinimunThe minimum amount that is subject to withholding.Real
Amount
NoYesLTMWithholdingTable.MMinimun
MWithholdingThe minimum withholding amount.Real
Amount
NoYesLTMWithholdingTable.MWithholding
NumberUnitsThe number of period units (days, months or years) that the setup covers.low confidenceInteger
Integer
NoYesLTMWithholdingTable.NumberUnits
RetroactiveYes/no flag showing whether the code is retroactive.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLTMWithholdingTable.Retroactive
DocumentClassificationIdThe document class this code relates to. It points to a document class record.String (15)
LTMDocumentClassificationId
YesYesLTMDocumentClassification.DocumentClassificationIdLTMWithholdingTable.DocumentClassificationId
WithholdingCodeThe unique code that identifies the withholding tax code.String (30)
LTMWithholdingCode
YesYesTaxWithholdTable.TaxWithholdCodeLTMWithholdingTable.WithholdingCode
WithholdingNameThe descriptive name of the withholding code.String (60)
Str60
NoYesLTMWithholdingTable.WithholdingName

Foreign keys (3)

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.

  • DocTypeId → LTMFiscalRegisterV2.DocTypeId (key of LTMFiscalRegisterV2)

    Many LTMWithholdingTable records → zero or one LTMFiscalRegisterV2 record

    LTMFiscalRegisterV2 details: see LTMFiscalRegisterV2Entity

  • DocumentClassificationId → LTMDocumentClassification.DocumentClassificationId (key of LTMDocumentClassification)

    Zero or one LTMWithholdingTable record → zero or one LTMDocumentClassification record

    LTMDocumentClassification details: see LTMDocumentClassificationEntity

  • WithholdingCode → TaxWithholdTable.TaxWithholdCode (key of TaxWithholdTable)

    Zero or one LTMWithholdingTable record → exactly one TaxWithholdTable record

    TaxWithholdTable details: see TaxWithholdingTaxCodeEntity

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

Email sales@drdynamics.co.uk