Data entity

RetailFiscalDocumentModel2TaxTrans_BREntity

Tax transactions for model 2 fiscal document lines, used for Brazil. Each record shows the tax type, sales tax code, taxation code and origin, fiscal value and sales tax amount. It is identified by store, terminal, transaction, line number and tax type.

Entity name
RetailFiscalDocumentModel2TaxTrans_BREntity
Public entity name
FiscalDocumentModel2TaxTrans_BR
OData collection
FiscalDocumentModel2TaxTrans_BR
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
StoreId, TerminalId, TransactionId, LineNum, TaxType
Staging table
RetailFiscalDocumentModel2TaxTrans_BRStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FiscalDocumentModel2TaxTrans_BR
Dataverse virtual table
mserp_retailfiscaldocumentmodel2taxtrans_brentity. 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

  • RetailFiscalDocumentModel2TaxTrans_BR · root

Fields (15)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
FiscalValueFiscal value, which shows if the tax gives credit or debit, or is exempt or other.Enum
TaxFiscalValue_BR
  • Blank 0
  • WithCreditDebit 1
  • WithoutCreditDebitExempt 2
  • WithoutCreditDebitOther 3
NoYesRetailFiscalDocumentModel2TaxTrans_BR.FiscalValue
LineNumLine number within the transaction.Real
LineNum
YesYesRetailFiscalDocumentModel2TaxTrans_BR.LineNum
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailFiscalDocumentModel2TaxTrans_BR.Origin
ReplicationCounterFromOriginCounter used when data is replicated from its origin.Integer
RetailReplicationCounter
NoYesRetailFiscalDocumentModel2TaxTrans_BR.ReplicationCounterFromOrigin
StoreIdStore number.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailFiscalDocumentModel2TaxTrans_BR.StoreId
TaxAmountSales tax amount.Real
TaxAmount
NoYesRetailFiscalDocumentModel2TaxTrans_BR.TaxAmount
TaxationCodeThree-character taxation code.String (3)
TaxationCode_BR
NoYesRetailFiscalDocumentModel2TaxTrans_BR.TaxationCode
TaxationOriginTaxation origin of the goods, such as national or imported.Enum
FITaxationOrigin_BR
  • National 0
  • DirectImport 1
  • Import 2
  • NationalImportContent 3
  • LegalAdjusts 4
  • NationalLessThan40ImportContent 5
  • ImportNoSimilar 6
  • ImportAcquiredInRegion 7
  • NationalGreaterThan70ImportContent 8
NoYesRetailFiscalDocumentModel2TaxTrans_BR.TaxationOrigin
TaxBaseAmountBase amount for the tax.Real
TaxBaseCur
NoYesRetailFiscalDocumentModel2TaxTrans_BR.TaxBaseAmount
TaxCodePoints to the sales tax code.String
TaxCode
NoYesTaxTable.TaxCodeRetailFiscalDocumentModel2TaxTrans_BR.TaxCode
TaxReductionPctTax reduction value. Its label is Value.low confidenceReal
TaxValue
NoYesRetailFiscalDocumentModel2TaxTrans_BR.TaxReductionPct
TaxTypeKind of tax, such as IPI, PIS, ICMS or COFINS.Enum
TaxType_BR
  • Blank 0
  • IPI 8
  • PIS 1
  • ICMS 2
  • COFINS 3
  • ISS 4
  • IRRF 5
  • INSS 6
  • ImportTax 10
  • OtherTax 11
  • INSSRetained 12
  • CSLL 13
  • ICMSST 14
  • ICMSDiff 15
  • INSSCPRB 16
  • CBS 17
  • IBSCity 18
  • IBSState 19
  • IS 20
YesYesRetailFiscalDocumentModel2TaxTrans_BR.TaxType
TaxValueTax rate or value.Real
TaxValue
NoYesRetailFiscalDocumentModel2TaxTrans_BR.TaxValue
TerminalIdRegister (POS) number.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailFiscalDocumentModel2TaxTrans_BR.TerminalId
TransactionIdRetail transaction number.String (44)
RetailTransactionId
YesYesRetailFiscalDocumentModel2TaxTrans_BR.TransactionId

Foreign keys (3)

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 RetailFiscalDocumentModel2TaxTrans_BREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk