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 · root
  • TaxBookTaxCodes · OuterJoin to TaxBookTable
  • NumberSequenceTable · OuterJoin to TaxBookTable · read-only

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DescriptionDescription of the VAT book.String (60)
Description
NoYesTaxBookTable.Description
NumberSequenceTableThe number sequence code used by the book.Int64
RefRecId
NoNo (private)NumberSequenceTable.RecIdTaxBookTable.NumberSequenceTable
VATBookUnique code of the VAT book.String
TaxBookId_ES
YesYesTaxBookTable.TaxBook
VATBookTypeBook type: sales tax receivable, sales tax payable or all books.Enum
TaxBookType_ES
  • IncomingTax 0
  • OutgoingTax 1
  • AllTax 2
NoYesTaxBookTable.TaxBookType
NumberSequenceCodeCode that identifies the number sequence.String
NumberSequenceCode
NoYesNumberSequenceTable.NumberSequence
SalesTaxCodeThe sales tax code included in the book.String
TaxCode
NoYesTaxTable.TaxCodeTaxBookTaxCodes.TaxCode
EquivalenceChargeSalesTaxCodeThe sales tax code used as the equivalence charge code.String
TaxCode
NoYesTaxTable.TaxCodeTaxBookTaxCodes.TaxCodeEq
IsNonDeductibleVATShows whether the VAT is non-deductible.Enum
NonDeductible_ES
NoYes

Platform enum: values not in the metadata extract.

NoYesTaxBookTaxCodes.NonDeductible
IsReverseChargeShows whether reverse charge applies.Enum
ReverseCharge_ES
NoYes

Platform enum: values not in the metadata extract.

NoYesTaxBookTaxCodes.ReverseCharge
NumberSequenceScopeScope that the sequence belongs to.Int64
RefRecId
NoNo (private)NumberSequenceScope.RecIdNumberSequenceTable.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.

Need help with TaxSpanishVATBookEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk