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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxGroupThe sales tax group. It is part of the key.String
TaxGroup
YesTaxGroupHeading.TaxGroupTaxGroupDataEntityTaxGroupDataCDREntity
TaxCodeThe sales tax code in the group. It is part of the key.String
TaxCode
YesTaxTable.TaxCodeTaxGroupDataEntityTaxGroupDataCDREntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoTaxGroupDataCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoTaxGroupDataCDREntity
ExemptTaxYes/no flag showing whether the tax code is exempt in this group.Enum
TaxExemptTax
NoYes (enum)
NoTaxGroupDataEntityTaxGroupDataCDREntity
IntracomVATYes/no flag for intra-community VAT.Enum
NoYes (enum)
NoTaxGroupDataEntityTaxGroupDataCDREntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoTaxGroupDataCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTaxGroupDataCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReverseChargeYes/no flag for reverse charge.Enum
TaxReverseCharge
NoYes (enum)
NoNone
ReverseCharge_WYes/no flag for reverse charge. It is a second flag next to ReverseCharge.low confidenceEnum
TaxReverseCharge
NoYes (enum)
NoTaxGroupDataEntityTaxGroupDataCDREntity
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
TaxationCodeTable_BRUsed for Brazil. Points to a taxation code.Int64
RefRecId
NoTaxationCodeTable_BR.RecIdTaxGroupDataEntityTaxGroupDataCDREntity
TaxExemptCodeThe exempt code that applies to this row.String
TaxExemptCode
NoTaxExemptCodeTable.ExemptCodeTaxGroupDataEntityTaxGroupDataCDREntityVRMPendingVendorInvoiceSalesTaxUncommittedEntity
UseTaxYes/no flag for use tax.Enum
TaxUseTax
NoYes (enum)
NoTaxGroupDataEntityTaxGroupDataCDREntity
VATScheduleName_INUsed for India. Points to a VAT schedule.Int64
VATScheduleRecId_IN
NoVATSchedule_IN.RecIdTaxGroupDataCDREntity

Indexes (4)

Relations (6)

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

  • TaxationCodeTable_BR → TaxationCodeTable_BR

    Join on TaxationCodeTable_BR = TaxationCodeTable_BR.RecId

    Many TaxGroupData records → zero or one TaxationCodeTable_BR record

  • TaxExemptCodeTable → TaxExemptCodeTable

    Join on TaxExemptCode = TaxExemptCodeTable.ExemptCode

    Many TaxGroupData records → zero or one TaxExemptCodeTable record

  • TaxGroupCodeIdx → TaxGroupData

    Join on TaxCode = TaxGroupData.TaxCode, TaxGroup = TaxGroupData.TaxGroup

    Exactly one TaxGroupData record → exactly one TaxGroupData record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many TaxGroupData records → exactly one TaxGroupHeading record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxGroupData records → exactly one TaxTable record

  • VATScheduleName_IN → VATSchedule_IN

    Join on VATScheduleName_IN = VATSchedule_IN.RecId

    Many 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.

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

Email sales@drdynamics.co.uk