Table
TaxGroupData
Sales tax group
Links sales tax codes to sales tax groups. The key is the group and the code together. Each row has flags such as exempt, use tax and reverse charge. It can also hold an exempt code and country-specific references for Brazil and India.
- Table name
TaxGroupData- Module
Tax- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
TaxGroupIdx- Replacement key
None- Key fields
TaxGroup, TaxCode- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxGroupThe sales tax group. It is part of the key. | StringTaxGroup | Yes | TaxGroupHeading.TaxGroup | TaxGroupDataEntityTaxGroupDataCDREntity |
TaxCodeThe sales tax code in the group. It is part of the key. | StringTaxCode | Yes | TaxTable.TaxCode | TaxGroupDataEntityTaxGroupDataCDREntity |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | TaxGroupDataCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | TaxGroupDataCDREntity | |
ExemptTaxYes/no flag showing whether the tax code is exempt in this group. | EnumTaxExemptTaxNoYes (enum) | No | TaxGroupDataEntityTaxGroupDataCDREntity | |
IntracomVATYes/no flag for intra-community VAT. | EnumNoYes (enum) | No | TaxGroupDataEntityTaxGroupDataCDREntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | TaxGroupDataCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | TaxGroupDataCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReverseChargeYes/no flag for reverse charge. | EnumTaxReverseChargeNoYes (enum) | No | None | |
ReverseCharge_WYes/no flag for reverse charge. It is a second flag next to ReverseCharge.low confidence | EnumTaxReverseChargeNoYes (enum) | No | TaxGroupDataEntityTaxGroupDataCDREntity | |
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 | |
TaxationCodeTable_BRUsed for Brazil. Points to a taxation code. | Int64RefRecId | No | TaxationCodeTable_BR.RecId | TaxGroupDataEntityTaxGroupDataCDREntity |
TaxExemptCodeThe exempt code that applies to this row. | StringTaxExemptCode | No | TaxExemptCodeTable.ExemptCode | TaxGroupDataEntityTaxGroupDataCDREntityVRMPendingVendorInvoiceSalesTaxUncommittedEntity |
UseTaxYes/no flag for use tax. | EnumTaxUseTaxNoYes (enum) | No | TaxGroupDataEntityTaxGroupDataCDREntity | |
VATScheduleName_INUsed for India. Points to a VAT schedule. | Int64VATScheduleRecId_IN | No | VATSchedule_IN.RecId | TaxGroupDataCDREntity |
Indexes (4)
TaxGroupIdxPrimary indexUnique, alternate key.
TaxCodeIdxUnique, alternate key.
VATScheduleName_INIdxNot unique.
TaxationCodeTable_BRIdxNot unique.
Relations (6)
Each relation joins TaxGroupData to another table on the fields shown.
TaxationCodeTable_BR→TaxationCodeTable_BRJoin on
TaxationCodeTable_BR = TaxationCodeTable_BR.RecIdMany TaxGroupData records → zero or one TaxationCodeTable_BR record
TaxExemptCodeTable→TaxExemptCodeTableJoin on
TaxExemptCode = TaxExemptCodeTable.ExemptCodeMany TaxGroupData records → zero or one TaxExemptCodeTable record
TaxGroupCodeIdx→TaxGroupDataJoin on
TaxCode = TaxGroupData.TaxCode,TaxGroup = TaxGroupData.TaxGroupExactly one TaxGroupData record → exactly one TaxGroupData record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany TaxGroupData records → exactly one TaxGroupHeading record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany TaxGroupData records → exactly one TaxTable record
VATScheduleName_IN→VATSchedule_INJoin on
VATScheduleName_IN = VATSchedule_IN.RecIdMany TaxGroupData records → zero or one VATSchedule_IN record
Get this data out
Tables are not exposed directly. These public entities read from TaxGroupData; use one of them in Power BI, Power Platform or a data management project.
TaxGroupDataEntity· 8 fields from this tableTaxGroupDataCDREntity· 13 fields from this tableVRMPendingVendorInvoiceSalesTaxUncommittedEntity· 1 field from this table
Need help with TaxGroupData in a report, an integration or a migration? Talk to Dr Dynamics.