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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxBookIdUnique ID of the sales tax book. | StringTaxBookId | Yes | TaxItalianSalesTaxBookEntityTaxItalianSalesTaxBookSectionEntityTaxItalianSalesTaxBookStatusEntity | |
ATECOFINCode_ITATECOFIN code, used for Italy. | String (8)ATECOFINCode_IT | Yes | TaxItalianSalesTaxBookEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IncludeReverseTrans_ITShows whether reverse documents are included, used for Italy. | EnumIncludeReverseTrans_ITNoYes (enum) | No | TaxItalianSalesTaxBookEntity | |
IncludeZeroLines_ITShows whether documents with zero amounts are included, used for Italy. | EnumIncludeZeroLines_ITNoYes (enum) | No | TaxItalianSalesTaxBookEntity | |
NameName of the tax book. | String (60)Name | No | TaxItalianSalesTaxBookEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintEndSectionsShows whether the summary and payment sections are printed. | EnumNoYes (enum) | No | TaxItalianSalesTaxBookEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SalesTaxBookIdAnother tax book used for EU sales. | StringTaxBookId | No | TaxBook.TaxBookId | TaxItalianSalesTaxBookEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxBookTypeType of book: not included, sales or purchase. | EnumTaxBookType (enum) | No | TaxItalianSalesTaxBookEntity | |
TaxPeriodThe sales tax settlement period used by this book. | StringTaxPeriod | Yes | TaxPeriodHead.TaxPeriod | TaxItalianSalesTaxBookEntity |
Indexes (1)
TaxBookIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins TaxBook to another table on the fields shown.
SalesTaxBook→TaxBookJoin on
TaxBook.TaxBookType = TaxBookType::Sales,SalesTaxBookId = TaxBook.TaxBookId,TaxBookType = TaxBookType::PurchaseOne or more TaxBook records → zero or one TaxBook record
TaxPeriodHead→TaxPeriodHeadJoin on
TaxPeriod = TaxPeriodHead.TaxPeriodMany 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.
TaxItalianSalesTaxBookEntity· 9 fields from this tableTaxItalianSalesTaxBookSectionEntity· 1 field from this tableTaxItalianSalesTaxBookStatusEntity· 1 field from this table
Need help with TaxBook in a report, an integration or a migration? Talk to Dr Dynamics.