Table

RetailFiscalReceiptTaxTrans_BR

Fiscal receipt tax transactions

Holds tax details for lines of fiscal receipts, used for Brazil. Each record is one tax type on one receipt line. It links to the receipt line, the receipt and the sales tax code.

Table name
RetailFiscalReceiptTaxTrans_BR
Module
Commerce stores
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
TaxLineIdx
Replacement key
TaxLineIdx
Key fields
StoreId, TerminalId, TransactionId, LineNum, TaxType
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
StoreIdStore where the sale was made. It points to a store.String
RetailStoreId
YesRetailStoreTable.StoreNumberRetailFiscalReceiptTaxTrans_BREntity
TerminalIdRegister where the sale was made. It points to a register.String
RetailTerminalId
YesRetailTerminalTable.terminalIdRetailFiscalReceiptTaxTrans_BREntity
TransactionIdTransaction number of the receipt and line that the tax belongs to.String (44)
RetailTransactionId
YesRetailFiscalReceiptLine_BR.TransactionIdRetailFiscalReceipt_BR.TransactionIdRetailFiscalReceiptTaxTrans_BREntity
LineNumNumber of the receipt line that the tax applies to.Real
LineNum
YesRetailFiscalReceiptLine_BR.LineNumRetailFiscalReceiptTaxTrans_BREntity
TaxTypeType of Brazilian tax, such as IPI, PIS, ICMS or COFINS.Enum
TaxType_BR (enum)
YesRetailFiscalReceiptTaxTrans_BREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FiscalValueFiscal value category, such as with credit/debit or without credit/debit.Enum
TaxFiscalValue_BR (enum)
NoRetailFiscalReceiptTaxTrans_BREntity
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoRetailFiscalReceiptTaxTrans_BREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter used when the record is replicated from its origin.Integer
RetailReplicationCounter
NoRetailFiscalReceiptTaxTrans_BREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountTax amount for the line. The label calls it the taxable amount, which seems unclear.low confidenceReal
TaxAmount
NoRetailFiscalReceiptTaxTrans_BREntity
TaxationCodeTaxation code for the line.String (3)
TaxationCode_BR
NoRetailFiscalReceiptTaxTrans_BREntity
TaxationOriginOrigin of the goods for taxation, such as national or imported.Enum
FITaxationOrigin_BR (enum)
NoRetailFiscalReceiptTaxTrans_BREntity
TaxBaseAmountBase amount that the tax is worked out on.Real
TaxBaseCur
NoRetailFiscalReceiptTaxTrans_BREntity
TaxCodeSales tax code applied. It points to a sales tax code.String
TaxCode
NoTaxTable.TaxCodeRetailFiscalReceiptTaxTrans_BREntity
TaxValueSales tax rate.Real
TaxValue
NoRetailFiscalReceiptTaxTrans_BREntity
TotalizerIndexIndex of the fiscal printer totalizer.Integer
RetailTotalizerIndex_BR
NoRetailFiscalReceiptTaxTrans_BREntity
TotalizerNameName of the fiscal printer totalizer.String
RetailTotalizerName_BR
NoRetailFiscalReceiptTaxTrans_BREntity

Indexes (2)

Relations (6)

Each relation joins RetailFiscalReceiptTaxTrans_BR to another table on the fields shown.

  • RetailFiscalReceipt → RetailFiscalReceipt_BR

    Join on StoreId = RetailFiscalReceipt_BR.StoreId, TerminalId = RetailFiscalReceipt_BR.TerminalId, TransactionId = RetailFiscalReceipt_BR.TransactionId

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailFiscalReceipt_BR record

  • RetailFiscalReceiptLine → RetailFiscalReceiptLine_BR

    Join on StoreId = RetailFiscalReceiptLine_BR.StoreId, TerminalId = RetailFiscalReceiptLine_BR.TerminalId, TransactionId = RetailFiscalReceiptLine_BR.TransactionId, LineNum = RetailFiscalReceiptLine_BR.LineNum

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailFiscalReceiptLine_BR record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one RetailTransactionTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many RetailFiscalReceiptTaxTrans_BR records → exactly one TaxTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailFiscalReceiptTaxTrans_BR; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailFiscalReceiptTaxTrans_BR in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk