Table

TaxPeriodHead

Sales tax period description

Defines sales tax settlement periods, keyed by the TaxPeriod code. Each period has a name, an interval length and unit, and links to the tax authority, payment terms and tax registration. It also holds options for batch processing and some Italy-specific reporting.

Table name
TaxPeriodHead
Module
Tax
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
TaxPeriodIdx
Replacement key
None
Key fields
TaxPeriod
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPeriodCode that identifies the settlement period.String
TaxPeriod
YesTaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity
AttachReportToSalesTaxBookStatus_ITYes or no setting to attach the report to the sales tax book status, used for Italy.Enum
AttachReportToSalesTaxBookStatus_IT
NoYes (enum)
NoTaxPeriodHeadEntity
BatchJobActivePeriodActive period that limits when the tax report can run in batch. Points to a batch job active period.String
BatchJobActivePeriodId
NoBatchJobActivePeriod.IdTaxPeriodHeadCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoTaxPeriodHeadCDREntity
IncludeReverseTrans_ITYes or no setting to include reversed transactions, used for Italy.Enum
IncludeReverseTrans_IT
NoYes (enum)
NoTaxPeriodHeadEntity
IncludeZeroLines_ITYes or no setting to include zero-amount lines, used for Italy.Enum
IncludeZeroLines_IT
NoYes (enum)
NoTaxPeriodHeadEntity
LaterReg_HUYes or no setting for transfer, used for Hungary.low confidenceEnum
NoYes (enum)
NoTaxPeriodHeadCDREntity
NameDescription of the settlement period.String (60)
Description
NoTaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity
NotGenerateOffsetTaxTransYes or no setting that stops offset tax transactions being created.Enum
NoYes (enum)
NoTaxPeriodHeadCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentCodePayment terms for the period. Points to a payment term record.String (100)
PaymTermId
NoPaymTerm.PaymTermIdTaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity
PeriodUnitUnit of the period interval: days, months, years or all.Enum
PeriodUnit (enum)
NoTaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity
QtyUnitLength of the period, counted in the chosen unit.Integer
Days
NoTaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTaxPeriodHeadCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportAdjustmentYes or no setting to include corrections in the report.Enum
NoYes (enum)
NoTaxPeriodHeadCDREntity
ReportInTaxCurrency_ITYes or no setting to report in tax currency, used for Italy.Enum
ReportInTaxCurrency_IT
NoYes (enum)
NoTaxPeriodHeadEntity
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
TaxAuthorityTax authority for the period. Points to a tax authority address record.String
TaxAuthority
YesTaxAuthorityAddress.TaxAuthorityTaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity
TaxCodeSales tax code linked to the period.String
TaxCode
NoTaxPeriodHeadCDREntity
TaxIDTax registration number for the period. Points to a tax registration record.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdTaxPeriodHeadCDREntity
UseBatchYes or no setting to run the tax settlement as a batch process.Enum
NoYes (enum)
NoTaxPeriodHeadCDREntity

Indexes (1)

  • TaxPeriodIdxPrimary index

    TaxPeriod

    Unique, alternate key.

Relations (4)

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

  • PaymTerm → PaymTerm

    Join on PaymentCode = PaymTerm.PaymTermId

    Many TaxPeriodHead records → zero or one PaymTerm record

  • TaxAuthorityAddress → TaxAuthorityAddress

    Join on TaxAuthority = TaxAuthorityAddress.TaxAuthority

    Many TaxPeriodHead records → exactly one TaxAuthorityAddress record

  • TaxRegistration → TaxRegistration

    Join on TaxID = TaxRegistration.RecId

    Many TaxPeriodHead records → zero or one TaxRegistration record

  • BatchJobActivePeriod → BatchJobActivePeriod

    Join on BatchJobActivePeriod = BatchJobActivePeriod.Id

    Many TaxPeriodHead records → zero or one BatchJobActivePeriod record

Get this data out

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

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

Email sales@drdynamics.co.uk