Data entity

RetailFiscalReceiptTaxTrans_BREntity

Holds tax transactions for fiscal receipt lines, used for Brazil. Each record is keyed by store, terminal, transaction ID, line number and tax type. It stores the sales tax code, rate, taxable and base amounts, taxation code and origin, and totalizer details.

Entity name
RetailFiscalReceiptTaxTrans_BREntity
Public entity name
FiscalReceiptTaxTrans_BR
OData collection
FiscalReceiptTaxTrans_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
RetailFiscalReceiptTaxTrans_BRStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FiscalReceiptTaxTrans_BR
Dataverse virtual table
mserp_retailfiscalreceipttaxtrans_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

  • RetailFiscalReceiptTaxTrans_BR · root

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
FiscalValueFiscal value category, such as with credit/debit or without credit/debit.Enum
TaxFiscalValue_BR
  • Blank 0
  • WithCreditDebit 1
  • WithoutCreditDebitExempt 2
  • WithoutCreditDebitOther 3
NoYesRetailFiscalReceiptTaxTrans_BR.FiscalValue
LineNumNumber of the receipt line that the tax applies to.Real
LineNum
YesYesRetailFiscalReceiptLine_BR.LineNumRetailFiscalReceiptTaxTrans_BR.LineNum
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailFiscalReceiptTaxTrans_BR.Origin
ReplicationCounterFromOriginCounter used when the record is replicated from its origin.Integer
RetailReplicationCounter
NoYesRetailFiscalReceiptTaxTrans_BR.ReplicationCounterFromOrigin
StoreIdStore where the sale was made. It points to a store.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailFiscalReceiptTaxTrans_BR.StoreId
TaxAmountTax amount for the line. The label calls it the taxable amount, which seems unclear.low confidenceReal
TaxAmount
NoYesRetailFiscalReceiptTaxTrans_BR.TaxAmount
TaxationCodeTaxation code for the line.String (3)
TaxationCode_BR
NoYesRetailFiscalReceiptTaxTrans_BR.TaxationCode
TaxBaseAmountBase amount that the tax is worked out on.Real
TaxBaseCur
NoYesRetailFiscalReceiptTaxTrans_BR.TaxBaseAmount
TaxCodeSales tax code applied. It points to a sales tax code.String
TaxCode
NoYesTaxTable.TaxCodeRetailFiscalReceiptTaxTrans_BR.TaxCode
TaxTypeType of Brazilian 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
YesYesRetailFiscalReceiptTaxTrans_BR.TaxType
TaxValueSales tax rate.Real
TaxValue
NoYesRetailFiscalReceiptTaxTrans_BR.TaxValue
TerminalIdRegister where the sale was made. It points to a register.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailFiscalReceiptTaxTrans_BR.TerminalId
TotalizerIndexIndex of the fiscal printer totalizer.Integer
RetailTotalizerIndex_BR
NoYesRetailFiscalReceiptTaxTrans_BR.TotalizerIndex
TotalizerNameName of the fiscal printer totalizer.String
RetailTotalizerName_BR
NoYesRetailFiscalReceiptTaxTrans_BR.TotalizerName
TransactionIdTransaction number of the receipt and line that the tax belongs to.String (44)
RetailTransactionId
YesYesRetailFiscalReceipt_BR.TransactionIdRetailFiscalReceiptTaxTrans_BR.TransactionId
TaxationOriginOrigin of the goods for taxation, 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
NoYesRetailFiscalReceiptTaxTrans_BR.TaxationOrigin

Foreign keys (5)

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.

  • LineNum → RetailFiscalReceiptLine_BR.LineNum (key of RetailFiscalReceiptLine_BR)

    Join on all of: LineNum = RetailFiscalReceiptLine_BR.LineNum, StoreId = RetailFiscalReceiptLine_BR.StoreId, TerminalId = RetailFiscalReceiptLine_BR.TerminalId, TransactionId = RetailFiscalReceiptLine_BR.TransactionId

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailFiscalReceiptLine_BR record

    RetailFiscalReceiptLine_BR details: see RetailFiscalReceiptLine_BREntity

  • StoreId → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • TaxCode → TaxTable.TaxCode (key of TaxTable)

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one TaxTable record

    TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity

  • TerminalId → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • TransactionId → RetailFiscalReceipt_BR.TransactionId (key of RetailFiscalReceipt_BR)

    Join on all of: TransactionId = RetailFiscalReceipt_BR.TransactionId, StoreId = RetailFiscalReceipt_BR.StoreId, TerminalId = RetailFiscalReceipt_BR.TerminalId

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailFiscalReceipt_BR record

    RetailFiscalReceipt_BR details: see RetailFiscalReceipt_BREntity

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

Email sales@drdynamics.co.uk