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 description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
FiscalValueFiscal value category, such as with credit/debit or without credit/debit. | Enum
| No | Yes | RetailFiscalReceiptTaxTrans_BR.FiscalValue | |
LineNumNumber of the receipt line that the tax applies to. | RealLineNum | Yes | Yes | RetailFiscalReceiptLine_BR.LineNum | RetailFiscalReceiptTaxTrans_BR.LineNum |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | No | Yes | RetailFiscalReceiptTaxTrans_BR.Origin | |
ReplicationCounterFromOriginCounter used when the record is replicated from its origin. | IntegerRetailReplicationCounter | No | Yes | RetailFiscalReceiptTaxTrans_BR.ReplicationCounterFromOrigin | |
StoreIdStore where the sale was made. It points to a store. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailFiscalReceiptTaxTrans_BR.StoreId |
TaxAmountTax amount for the line. The label calls it the taxable amount, which seems unclear.low confidence | RealTaxAmount | No | Yes | RetailFiscalReceiptTaxTrans_BR.TaxAmount | |
TaxationCodeTaxation code for the line. | String (3)TaxationCode_BR | No | Yes | RetailFiscalReceiptTaxTrans_BR.TaxationCode | |
TaxBaseAmountBase amount that the tax is worked out on. | RealTaxBaseCur | No | Yes | RetailFiscalReceiptTaxTrans_BR.TaxBaseAmount | |
TaxCodeSales tax code applied. It points to a sales tax code. | StringTaxCode | No | Yes | TaxTable.TaxCode | RetailFiscalReceiptTaxTrans_BR.TaxCode |
TaxTypeType of Brazilian tax, such as IPI, PIS, ICMS or COFINS. | Enum
| Yes | Yes | RetailFiscalReceiptTaxTrans_BR.TaxType | |
TaxValueSales tax rate. | RealTaxValue | No | Yes | RetailFiscalReceiptTaxTrans_BR.TaxValue | |
TerminalIdRegister where the sale was made. It points to a register. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailFiscalReceiptTaxTrans_BR.TerminalId |
TotalizerIndexIndex of the fiscal printer totalizer. | IntegerRetailTotalizerIndex_BR | No | Yes | RetailFiscalReceiptTaxTrans_BR.TotalizerIndex | |
TotalizerNameName of the fiscal printer totalizer. | StringRetailTotalizerName_BR | No | Yes | RetailFiscalReceiptTaxTrans_BR.TotalizerName | |
TransactionIdTransaction number of the receipt and line that the tax belongs to. | String (44)RetailTransactionId | Yes | Yes | RetailFiscalReceipt_BR.TransactionId | RetailFiscalReceiptTaxTrans_BR.TransactionId |
TaxationOriginOrigin of the goods for taxation, such as national or imported. | Enum
| No | Yes | RetailFiscalReceiptTaxTrans_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.TransactionIdMany 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.TerminalIdMany 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.