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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxCodeThe sales tax code this row belongs to. | StringTaxCode | Yes | TaxTable.TaxCode | TaxCodeValueV2EntityTaxDataCDREntity |
TaxFromDateFirst date the row is valid. | DateTaxValidDate | No | TaxCodeValueV2EntityTaxDataCDREntity | |
TaxToDateLast date the row is valid. | DateTaxValidDate | No | TaxCodeValueV2EntityTaxDataCDREntity | |
TaxLimitMinLower limit of the base for this row. | RealTaxBaseMin | No | TaxCodeValueV2EntityTaxDataCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | TaxDataCDREntity | |
ConcessionalValue_INConcessional value, used for India. | RealConcessionalValue_IN | No | TaxDataCDREntity | |
CustomCalcQty_RUCalculated quantity for customs, used for Russia. | RealCustomCalcQty_RU | No | TaxDataCDREntity | |
CustomCurrencyCode_RUCurrency used for the customs amount, used for Russia. | String (3)CurrencyCode | No | Currency.CurrencyCode | TaxDataCDREntity |
CustomRateAmount_RUAmount rate for customs duty, used for Russia. | RealTaxValueDuty_RU | No | TaxDataCDREntity | |
CustomsTariffCodeTable_INThe customs tariff code, used for India. | Int64RefRecId | No | CustomsTariffCodeTable_IN.RecId | TaxDataCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | TaxDataCDREntity | |
DeferralRate_BRDeferred rate, used for Brazil. | RealTaxValue | No | None | |
ExciseDuty_PLExcise duty value, used for Poland. | RealPlExciseDuty | No | TaxCodeValueV2EntityTaxDataCDREntity | |
ExciseTariffCodes_INThe excise tariff code, used for India. | Int64RefRecId | No | ExciseTariffCodes_IN.RecId | TaxDataCDREntity |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | TaxDataCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PreferentialValue_INPreferential tax value, used for India. | RealTaxValue | No | TaxDataCDREntity | |
PrintCodeCode used when the tax is printed. | StringTaxWriteCode | No | TaxDataCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReductionRate_BRReduction rate, used for Brazil. | RealTaxValue | No | None | |
SalesTaxFormTypes_INThe sales tax form type, used for India. | Int64SalesTaxFormTypesRecId_IN | No | SalesTaxFormTypes_IN.RecId | TaxDataCDREntity |
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 | |
TaxLimitMaxUpper limit of the base for this row. | RealTaxBaseMax | No | TaxCodeValueV2EntityTaxDataCDREntity | |
TaxReductionPct_BRTax reduction percentage, used for Brazil. | RealTaxValue | No | TaxCodeValueV2EntityTaxDataCDREntity | |
TaxSubstitutionMarkupValueMarkup value for tax substitution. | RealTaxValue | No | TaxCodeValueV2EntityTaxDataCDREntity | |
TaxValueThe tax value or rate. | RealTaxValue | No | TaxCodeValueV2EntityTaxDataCDREntity | |
VATExemptPctPercentage of VAT that is non-deductible. | RealTaxValue | No | TaxCodeValueV2EntityTaxDataCDREntity |
Indexes (5)
FormSortIdxPrimary indexTaxCode,TaxFromDate,TaxToDate,TaxLimitMin,RecIdUnique.
ExciseTariffCodes_INIdxNot unique.
CustomsTariffCodeTable_INIdxNot unique.
SalesTaxFormTypes_INIdxNot unique.
CurrencyIdxNot unique.
Relations (5)
Each relation joins TaxData to another table on the fields shown.
CurrencyCustom→CurrencyJoin on
CustomCurrencyCode_RU = Currency.CurrencyCodeMany TaxData records → exactly one Currency record
CustomsTariffCodeTable_IN→CustomsTariffCodeTable_INJoin on
CustomsTariffCodeTable_IN = CustomsTariffCodeTable_IN.RecIdMany TaxData records → zero or one CustomsTariffCodeTable_IN record
ExciseTariffCodes_IN→ExciseTariffCodes_INJoin on
ExciseTariffCodes_IN = ExciseTariffCodes_IN.RecIdMany TaxData records → zero or one ExciseTariffCodes_IN record
SalesTaxFormTypes_IN→SalesTaxFormTypes_INJoin on
SalesTaxFormTypes_IN = SalesTaxFormTypes_IN.RecIdMany TaxData records → zero or one SalesTaxFormTypes_IN record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany 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.
TaxCodeValueV2Entity· 10 fields from this tableTaxDataCDREntity· 22 fields from this table
Need help with TaxData in a report, an integration or a migration? Talk to Dr Dynamics.