Table

TaxBook

Posting journals register

Holds sales tax books, which are registers of posting journals. Each book has a type (not included, sales or purchase) and a settlement period. It also has fields for Italy and a link to another book for EU sales.

Table name
TaxBook
Module
Tax
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
TaxBookIdx
Key fields
TaxBookId
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxBookIdUnique ID of the sales tax book.String
TaxBookId
YesTaxItalianSalesTaxBookEntityTaxItalianSalesTaxBookSectionEntityTaxItalianSalesTaxBookStatusEntity
ATECOFINCode_ITATECOFIN code, used for Italy.String (8)
ATECOFINCode_IT
YesTaxItalianSalesTaxBookEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IncludeReverseTrans_ITShows whether reverse documents are included, used for Italy.Enum
IncludeReverseTrans_IT
NoYes (enum)
NoTaxItalianSalesTaxBookEntity
IncludeZeroLines_ITShows whether documents with zero amounts are included, used for Italy.Enum
IncludeZeroLines_IT
NoYes (enum)
NoTaxItalianSalesTaxBookEntity
NameName of the tax book.String (60)
Name
NoTaxItalianSalesTaxBookEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintEndSectionsShows whether the summary and payment sections are printed.Enum
NoYes (enum)
NoTaxItalianSalesTaxBookEntity
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
SalesTaxBookIdAnother tax book used for EU sales.String
TaxBookId
NoTaxBook.TaxBookIdTaxItalianSalesTaxBookEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxBookTypeType of book: not included, sales or purchase.Enum
TaxBookType (enum)
NoTaxItalianSalesTaxBookEntity
TaxPeriodThe sales tax settlement period used by this book.String
TaxPeriod
YesTaxPeriodHead.TaxPeriodTaxItalianSalesTaxBookEntity

Indexes (1)

  • TaxBookIdxReplacement key

    TaxBookId

    Unique, alternate key.

Relations (2)

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

  • SalesTaxBook → TaxBook

    Join on TaxBook.TaxBookType = TaxBookType::Sales, SalesTaxBookId = TaxBook.TaxBookId, TaxBookType = TaxBookType::Purchase

    One or more TaxBook records → zero or one TaxBook record

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxPeriod = TaxPeriodHead.TaxPeriod

    Many TaxBook records → exactly one TaxPeriodHead record

Get this data out

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

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

Email sales@drdynamics.co.uk