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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxPeriodCode that identifies the settlement period. | StringTaxPeriod | Yes | TaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity | |
AttachReportToSalesTaxBookStatus_ITYes or no setting to attach the report to the sales tax book status, used for Italy. | EnumAttachReportToSalesTaxBookStatus_ITNoYes (enum) | No | TaxPeriodHeadEntity | |
BatchJobActivePeriodActive period that limits when the tax report can run in batch. Points to a batch job active period. | StringBatchJobActivePeriodId | No | BatchJobActivePeriod.Id | TaxPeriodHeadCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | TaxPeriodHeadCDREntity | |
IncludeReverseTrans_ITYes or no setting to include reversed transactions, used for Italy. | EnumIncludeReverseTrans_ITNoYes (enum) | No | TaxPeriodHeadEntity | |
IncludeZeroLines_ITYes or no setting to include zero-amount lines, used for Italy. | EnumIncludeZeroLines_ITNoYes (enum) | No | TaxPeriodHeadEntity | |
LaterReg_HUYes or no setting for transfer, used for Hungary.low confidence | EnumNoYes (enum) | No | TaxPeriodHeadCDREntity | |
NameDescription of the settlement period. | String (60)Description | No | TaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity | |
NotGenerateOffsetTaxTransYes or no setting that stops offset tax transactions being created. | EnumNoYes (enum) | No | TaxPeriodHeadCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentCodePayment terms for the period. Points to a payment term record. | String (100)PaymTermId | No | PaymTerm.PaymTermId | TaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity |
PeriodUnitUnit of the period interval: days, months, years or all. | EnumPeriodUnit (enum) | No | TaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity | |
QtyUnitLength of the period, counted in the chosen unit. | IntegerDays | No | TaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | TaxPeriodHeadCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReportAdjustmentYes or no setting to include corrections in the report. | EnumNoYes (enum) | No | TaxPeriodHeadCDREntity | |
ReportInTaxCurrency_ITYes or no setting to report in tax currency, used for Italy. | EnumReportInTaxCurrency_ITNoYes (enum) | No | TaxPeriodHeadEntity | |
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 | |
TaxAuthorityTax authority for the period. Points to a tax authority address record. | StringTaxAuthority | Yes | TaxAuthorityAddress.TaxAuthority | TaxPeriodEntityTaxPeriodHeadEntityTaxPeriodHeadCDREntity |
TaxCodeSales tax code linked to the period. | StringTaxCode | No | TaxPeriodHeadCDREntity | |
TaxIDTax registration number for the period. Points to a tax registration record. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | TaxPeriodHeadCDREntity |
UseBatchYes or no setting to run the tax settlement as a batch process. | EnumNoYes (enum) | No | TaxPeriodHeadCDREntity |
Indexes (1)
TaxPeriodIdxPrimary indexUnique, alternate key.
Relations (4)
Each relation joins TaxPeriodHead to another table on the fields shown.
PaymTerm→PaymTermJoin on
PaymentCode = PaymTerm.PaymTermIdMany TaxPeriodHead records → zero or one PaymTerm record
TaxRegistration→TaxRegistrationJoin on
TaxID = TaxRegistration.RecIdMany TaxPeriodHead records → zero or one TaxRegistration record
BatchJobActivePeriod→BatchJobActivePeriodJoin on
BatchJobActivePeriod = BatchJobActivePeriod.IdMany 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.
TaxPeriodEntity· 6 fields from this tableTaxPeriodHeadEntity· 10 fields from this tableTaxPeriodHeadCDREntity· 15 fields from this table
Need help with TaxPeriodHead in a report, an integration or a migration? Talk to Dr Dynamics.