Data entity
TaxSpanishVATBookEntity
Holds Spanish VAT books and the sales tax codes assigned to them. Each record has a book type and number sequence code. It also has an equivalence charge code and non-deductible VAT and reverse charge settings. The key is VAT book, sales tax code and equivalence charge code.
- Entity name
TaxSpanishVATBookEntity- Public entity name
SpanishVATBook- OData collection
SpanishVATBooks- Category
Reference- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasicSalesTax- Keys
VATBook, SalesTaxCode, EquivalenceChargeSalesTaxCode- Staging table
TaxSpanishVATBookStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SpanishVATBooks- Dataverse virtual table
mserp_taxspanishvatbookentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
TaxBookTable· rootTaxBookTaxCodes· OuterJoin toTaxBookTableNumberSequenceTable· OuterJoin toTaxBookTable· read-only
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DescriptionDescription of the VAT book. | String (60)Description | No | Yes | TaxBookTable.Description | |
NumberSequenceTableThe number sequence code used by the book. | Int64RefRecId | No | No (private) | NumberSequenceTable.RecId | TaxBookTable.NumberSequenceTable |
VATBookUnique code of the VAT book. | StringTaxBookId_ES | Yes | Yes | TaxBookTable.TaxBook | |
VATBookTypeBook type: sales tax receivable, sales tax payable or all books. | Enum
| No | Yes | TaxBookTable.TaxBookType | |
NumberSequenceCodeCode that identifies the number sequence. | StringNumberSequenceCode | No | Yes | NumberSequenceTable.NumberSequence | |
SalesTaxCodeThe sales tax code included in the book. | StringTaxCode | No | Yes | TaxTable.TaxCode | TaxBookTaxCodes.TaxCode |
EquivalenceChargeSalesTaxCodeThe sales tax code used as the equivalence charge code. | StringTaxCode | No | Yes | TaxTable.TaxCode | TaxBookTaxCodes.TaxCodeEq |
IsNonDeductibleVATShows whether the VAT is non-deductible. | EnumNonDeductible_ES
| No | Yes | TaxBookTaxCodes.NonDeductible | |
IsReverseChargeShows whether reverse charge applies. | EnumReverseCharge_ES
| No | Yes | TaxBookTaxCodes.ReverseCharge | |
NumberSequenceScopeScope that the sequence belongs to. | Int64RefRecId | No | No (private) | NumberSequenceScope.RecId | NumberSequenceTable.NumberSequenceScope |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
NumberSequenceTable→NumberSequenceTable.RecId(key of NumberSequenceTable)Many TaxBookTable records → zero or one NumberSequenceTable record
NumberSequenceTable details: see NumberSequenceTableEntity, NumberSequenceTableV2Entity, MCRReqPlanContinuityEntity
SalesTaxCode→TaxTable.TaxCode(key of TaxTable)Many TaxBookTaxCodes records → exactly one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
EquivalenceChargeSalesTaxCode→TaxTable.TaxCode(key of TaxTable)Many TaxBookTaxCodes records → zero or one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
NumberSequenceScope→NumberSequenceScope.RecId(key of NumberSequenceScope)Many NumberSequenceTable records → zero or one NumberSequenceScope record
NumberSequenceScope details: see MCRReqPlanContinuityEntity, WHSNumberSequenceExtReferenceEntity, LedgerAccrualSchemesEntity
Need help with TaxSpanishVATBookEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.