Table

TaxGroupHeading

Sales tax group description

Holds the header of each sales tax group: its ID, description and settings. Settings include rounding, print detail and setup type. The table also has address fields and several country-specific fields. The key is the tax group.

Table name
TaxGroupHeading
Module
Tax
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
TaxGroupIdx
Replacement key
TaxGroupIdx
Key fields
TaxGroup
Model
Foundation

Fields (31)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxGroupID of the sales tax group. It is the key.String
TaxGroup
YesTaxGroupEntityTrvExpMobileTaxGroupEntityBusinessDocumentTaxGroupHeadingEntityand 1 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoBusinessDocumentTaxGroupHeadingEntity
EUTrade_WYes/no flag for EU trade.Enum
NoYes (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
FillSalesDate_WRule for filling the sales date, such as manually or from the posting date.Enum
FillSalesDate_W (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
FillVATDueDate_WRule for filling the date of the VAT register.Enum
FillVATDueDate_W (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
FillVATDueDateBasedOnWhether the VAT due date is based on the posting date or the document date.Enum
FillVATDueDateBasedOn (enum)
NoTrvExpMobileTaxGroupEntity
FillVATDueDatePeriodUnit for the period interval: day, month or year.Enum
FillVATDueDatePeriod (enum)
NoTrvExpMobileTaxGroupEntity
FillVATDueDatePeriodNumberNumber of period units used for the VAT due date.Integer
FillVATDueDatePeriodNumber
NoTrvExpMobileTaxGroupEntity
IsMandatoryServiceTariff_PLUsed for Poland. Yes/no flag showing whether a service tariff number is required.Enum
MandatoryServiceTariff
NoYes (enum)
NoTrvExpMobileTaxGroupEntity
MandatorySalesDate_WYes/no flag showing whether a sales date is required.Enum
MandatorySalesDate_W
NoYes (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
MCRCityCity name.String (60)
LogisticsAddressCityName
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
MCRCountryCountry or region. Points to a country/region record.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdTaxGroupEntityTrvExpMobileTaxGroupEntity
MCRCountyCounty code.String (30)
AddressCountyId
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
MCRStateState code.String
LogisticsAddressStateId
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
MCRZipCodeZIP or postal code.String
LogisticsAddressZipCodeId
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SearchField1Search text for country/region or state.String (60)
Name
NoTrvExpMobileTaxGroupEntity
SearchField2Search text for county or purpose.String (60)
Name
NoTrvExpMobileTaxGroupEntity
SourceWhere the record comes from: entered manually or from the tax calculation service.Enum
TaxMasterDataSource (enum)
NoTrvExpMobileTaxGroupEntity
SplitPayment_ITUsed for Italy. Yes/no flag for a split payment tax group.Enum
SplitPayment_IT
NoYes (enum)
NoTrvExpMobileTaxGroupEntity
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
TaxGroupDebtsTransit_RUUsed for Russia. Points to the transit tax group.String
TaxGroupDebtsTransit_RU
NoTaxGroupHeading.TaxGroupTrvExpMobileTaxGroupEntity
TaxGroupNameDescription of the sales tax group.String (60)
TaxGroupName
NoTaxGroupEntityTrvExpMobileTaxGroupEntityBusinessDocumentTaxGroupHeadingEntityand 1 more
TaxGroupRoundingWhether rounding is done by sales tax codes or by combinations of codes.Enum
TaxGroupRounding (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
TaxGroupSetupWhether the group is set up with sales tax codes or sales tax jurisdictions.Enum
TaxGroupSetup (enum)
NoTrvExpMobileTaxGroupEntity
TaxPrintDetailHow much tax detail is printed: by code, by group or none.Enum
TaxPrintDetail (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity
TaxReverseOnCashDiscYes/no flag to reverse sales tax on a cash discount.Enum
TaxReverseOnCashDisc
NoYes (enum)
NoTaxGroupEntityTrvExpMobileTaxGroupEntity

Indexes (6)

Relations (4)

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

  • County → LogisticsAddressCounty

    Join on MCRCounty = LogisticsAddressCounty.CountyId

    Many TaxGroupHeading records → zero or one LogisticsAddressCounty record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on MCRCountry = LogisticsAddressCountryRegion.CountryRegionId

    Many TaxGroupHeading records → exactly one LogisticsAddressCountryRegion record

  • State → LogisticsAddressState

    Join on MCRState = LogisticsAddressState.StateId

    Many TaxGroupHeading records → zero or one LogisticsAddressState record

  • TaxGroupDebtsTransit → TaxGroupHeading

    Join on TaxGroupDebtsTransit_RU = TaxGroupHeading.TaxGroup

    Many TaxGroupHeading records → exactly one TaxGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk