Table

TaxData

Sales tax details

Holds the rates and values of a sales tax code for a date range and limit range. Each row links to a sales tax code. Many fields are for specific countries, such as India, Russia, Poland and Brazil.

Table name
TaxData
Module
Tax
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
FormSortIdx
Replacement key
None
Key fields
TaxCode, TaxFromDate, TaxToDate, TaxLimitMin, RecId
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxCodeThe sales tax code this row belongs to.String
TaxCode
YesTaxTable.TaxCodeTaxCodeValueV2EntityTaxDataCDREntity
TaxFromDateFirst date the row is valid.Date
TaxValidDate
NoTaxCodeValueV2EntityTaxDataCDREntity
TaxToDateLast date the row is valid.Date
TaxValidDate
NoTaxCodeValueV2EntityTaxDataCDREntity
TaxLimitMinLower limit of the base for this row.Real
TaxBaseMin
NoTaxCodeValueV2EntityTaxDataCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTaxDataCDREntity
ConcessionalValue_INConcessional value, used for India.Real
ConcessionalValue_IN
NoTaxDataCDREntity
CustomCalcQty_RUCalculated quantity for customs, used for Russia.Real
CustomCalcQty_RU
NoTaxDataCDREntity
CustomCurrencyCode_RUCurrency used for the customs amount, used for Russia.String (3)
CurrencyCode
NoCurrency.CurrencyCodeTaxDataCDREntity
CustomRateAmount_RUAmount rate for customs duty, used for Russia.Real
TaxValueDuty_RU
NoTaxDataCDREntity
CustomsTariffCodeTable_INThe customs tariff code, used for India.Int64
RefRecId
NoCustomsTariffCodeTable_IN.RecIdTaxDataCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoTaxDataCDREntity
DeferralRate_BRDeferred rate, used for Brazil.Real
TaxValue
NoNone
ExciseDuty_PLExcise duty value, used for Poland.Real
PlExciseDuty
NoTaxCodeValueV2EntityTaxDataCDREntity
ExciseTariffCodes_INThe excise tariff code, used for India.Int64
RefRecId
NoExciseTariffCodes_IN.RecIdTaxDataCDREntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoTaxDataCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PreferentialValue_INPreferential tax value, used for India.Real
TaxValue
NoTaxDataCDREntity
PrintCodeCode used when the tax is printed.String
TaxWriteCode
NoTaxDataCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReductionRate_BRReduction rate, used for Brazil.Real
TaxValue
NoNone
SalesTaxFormTypes_INThe sales tax form type, used for India.Int64
SalesTaxFormTypesRecId_IN
NoSalesTaxFormTypes_IN.RecIdTaxDataCDREntity
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
TaxLimitMaxUpper limit of the base for this row.Real
TaxBaseMax
NoTaxCodeValueV2EntityTaxDataCDREntity
TaxReductionPct_BRTax reduction percentage, used for Brazil.Real
TaxValue
NoTaxCodeValueV2EntityTaxDataCDREntity
TaxSubstitutionMarkupValueMarkup value for tax substitution.Real
TaxValue
NoTaxCodeValueV2EntityTaxDataCDREntity
TaxValueThe tax value or rate.Real
TaxValue
NoTaxCodeValueV2EntityTaxDataCDREntity
VATExemptPctPercentage of VAT that is non-deductible.Real
TaxValue
NoTaxCodeValueV2EntityTaxDataCDREntity

Indexes (5)

Relations (5)

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

  • CurrencyCustom → Currency

    Join on CustomCurrencyCode_RU = Currency.CurrencyCode

    Many TaxData records → exactly one Currency record

  • CustomsTariffCodeTable_IN → CustomsTariffCodeTable_IN

    Join on CustomsTariffCodeTable_IN = CustomsTariffCodeTable_IN.RecId

    Many TaxData records → zero or one CustomsTariffCodeTable_IN record

  • ExciseTariffCodes_IN → ExciseTariffCodes_IN

    Join on ExciseTariffCodes_IN = ExciseTariffCodes_IN.RecId

    Many TaxData records → zero or one ExciseTariffCodes_IN record

  • SalesTaxFormTypes_IN → SalesTaxFormTypes_IN

    Join on SalesTaxFormTypes_IN = SalesTaxFormTypes_IN.RecId

    Many TaxData records → zero or one SalesTaxFormTypes_IN record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxData records → exactly one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk