Data entity
RetailZReport_BREntity
Holds Z reports for fiscal printers, used for Brazil. Each record is identified by the fiscal printer serial number, restart operation number, fiscal memory index, store, register and Z report number. It stores daily totals such as gross sales, net amount, PIS, COFINS and ISS discount, plus the first and last document numbers. It also shows whether the statement has been posted.
- Entity name
RetailZReport_BREntity- Public entity name
ZReport_BR- OData collection
ZReport_BR- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
FiscalPrinterSerialNumber, RestartOperationNumber, AdditionalFiscalMemoryIndex, StoreId, TerminalId, ZReportNumber- Staging table
RetailZReport_BRStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ZReport_BR- Dataverse virtual table
mserp_retailzreport_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
RetailZReport_BR· root
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountingDateAccounting date of the Z report. | DateTransDate | No | Yes | RetailZReport_BR.AccountingDate | |
AdditionalFiscalMemoryIndexIndex of the additional fiscal memory of the fiscal printer. | IntegerRetailFiscalMemoryIndex_BR | No | Yes | RetailZReport_BR.AdditionalFiscalMemoryIndex | |
COFINSAmountAmount of COFINS tax in the report. The currency is not stated in the metadata. | RealTaxAmount | No | Yes | RetailZReport_BR.COFINSAmount | |
FinalGrandTotalAmountGrand total at the end of the report period, in accounting currency. | RealAmountMST | No | Yes | RetailZReport_BR.FinalGrandTotalAmount | |
FirstReceiptNumberNumber of the first fiscal document covered by the report. | IntegerRetailDocumentNumber_BR | No | Yes | RetailZReport_BR.FirstReceiptNumber | |
FiscalEstablishmentFiscal establishment the report belongs to. Points to the fiscal establishment record. | StringFiscalEstablishmentId_BR | No | Yes | FiscalEstablishment_BR.FiscalEstablishmentId | RetailZReport_BR.FiscalEstablishment |
FiscalPrinterSerialNumberSerial number of the fiscal printer that issued the report. | String (20)RetailFiscalPrinterSerialNumber_BR | Yes | Yes | RetailZReport_BR.FiscalPrinterSerialNumber | |
FiscalReceiptModelModel code of the fiscal document. | String (3)FiscalDocumentModel_BR | No | Yes | RetailZReport_BR.FiscalReceiptModel | |
GrossDailySaleGross sales amount for the day, in accounting currency. | RealAmountMST | No | Yes | RetailZReport_BR.GrossDailySale | |
InitialGrandTotalAmountGrand total at the start of the report period, in accounting currency. | RealAmountMST | No | Yes | RetailZReport_BR.InitialGrandTotalAmount | |
ISSDiscountYes or no flag related to ISS. The meaning is not stated in the metadata.low confidence | EnumNoYesId
| No | Yes | RetailZReport_BR.ISSDiscount | |
LastReceiptNumberNumber of the last fiscal document covered by the report. | IntegerRetailDocumentNumber_BR | No | Yes | RetailZReport_BR.LastReceiptNumber | |
NetAmountNet amount of the report, in accounting currency. | RealAmountMST | No | Yes | RetailZReport_BR.NetAmount | |
OriginNumber of the location where the record originated. | String (50)RetailConnDistributionLocationId | No | Yes | RetailZReport_BR.Origin | |
PISAmountAmount of PIS tax in the report. The currency is not stated in the metadata. | RealTaxAmount | No | Yes | RetailZReport_BR.PISAmount | |
ReplicationCounterFromOriginCounter value used to track replication of the row from its origin. | IntegerRetailReplicationCounter | No | Yes | RetailZReport_BR.ReplicationCounterFromOrigin | |
RestartOperationNumberCounter of restart operations on the fiscal printer. | IntegerRetailDocumentNumber_BR | Yes | Yes | RetailZReport_BR.RestartOperationNumber | |
StoreIdNumber of the store the report belongs to. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailZReport_BR.StoreId |
TerminalIdNumber of the POS register the report belongs to. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailZReport_BR.TerminalId |
TerminalNumberNumber of the fiscal printer. | IntegerRetailTerminalNumber_BR | No | Yes | RetailZReport_BR.TerminalNumber | |
VersionVersion of the Z report: unknown, version 1 or version 2. | Enum
| No | Yes | RetailZReport_BR.Version | |
ZReportDateTimeDate and time when the Z report was issued. | UtcDateTimeTransDateTime | No | Yes | RetailZReport_BR.ZReportDateTime | |
ZReportNumberNumber of the Z report. | IntegerRetailDocumentNumber_BR | Yes | Yes | RetailZReport_BR.ZReportNumber | |
IsStatementPostedYes or no flag showing whether a statement has been posted for the report. | EnumNoYesId
| No | Yes | RetailZReport_BR.IsStatementPosted | |
TransactionIdNumber of the retail transaction linked to the report. | String (44)RetailTransactionId | No | Yes | RetailZReport_BR.TransactionId | |
VoucherVoucher number linked to the report. | String (20)Voucher | No | Yes | RetailZReport_BR.Voucher |
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.
FiscalEstablishment→FiscalEstablishment_BR.FiscalEstablishmentId(key of FiscalEstablishment_BR)Many RetailZReport_BR records → exactly one FiscalEstablishment_BR record
FiscalEstablishment_BR details: see FiscalEstablishmentEntity, FiscalOrganizationFiscalEstablishmentEntity, AssetFixedAssetEntity
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailZReport_BR records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailZReport_BR records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
Need help with RetailZReport_BREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.