Table

FBBookingPeriodPrepFiscalDocument_BR

Prepared fiscal documents for booking periods

Holds fiscal documents prepared for booking periods. It stores the fiscal situation, flags for the taxes present and SPED record codes. Keyed by fiscal document and Z report. Used for Brazil.

Table name
FBBookingPeriodPrepFiscalDocument_BR
Module
Fiscal books brazil
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
BookingPeriodFiscalDocumentIdx
Key fields
FiscalDocument_BR, RetailZReport_BR
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FiscalDocument_BRPoints to the fiscal document header.Int64
FiscalDocumentRecId_BR
YesFiscalDocument_BR.RecIdNone
RetailZReport_BRPoints to the Z report record, where one applies.Int64
RefRecId
NoRetailZReport_BR.RecIdNone
FiscalSituationFiscal situation of the document, such as regular, canceled or denied.Enum
FBFiscalDocumentSituation_BR (enum)
NoNone
HasCBSYes/No flag: the document has a CBS tax transaction.Enum
NoYes (enum)
NoNone
HasCofinsYes/No flag: the document has a COFINS tax transaction.Enum
NoYes (enum)
NoNone
HasIBSCityYes/No flag: the document has an IBS city tax transaction.Enum
NoYes (enum)
NoNone
HasIBSStateYes/No flag: the document has an IBS state tax transaction.Enum
NoYes (enum)
NoNone
HasIcmsYes/No flag: the document has an ICMS tax transaction.Enum
NoYes (enum)
NoNone
HasIcmsDiffYes/No flag: the document has an ICMS-DIFF tax transaction.Enum
NoYes (enum)
NoNone
HasIcmsStYes/No flag: the document has an ICMS-ST tax transaction.Enum
NoYes (enum)
NoNone
HasInssYes/No flag: the document has an INSS tax transaction.Enum
NoYes (enum)
NoNone
HasInssRetYes/No flag: the document has a retained INSS tax transaction.Enum
NoYes (enum)
NoNone
HasIpiYes/No flag: the document has an IPI tax transaction.Enum
NoYes (enum)
NoNone
HasISYes/No flag: the document has an IS tax transaction.Enum
NoYes (enum)
NoNone
HasIssYes/No flag: the document has an ISS tax transaction.Enum
NoYes (enum)
NoNone
HasPisYes/No flag: the document has a PIS tax transaction.Enum
NoYes (enum)
NoNone
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
SpedContribRecordSPED contributions record identifier.String (5)
FBSpedFileRecordIdentification_BR
NoNone
SpedFiscalRecordSPED fiscal record identifier.String (5)
FBSpedFileRecordIdentification_BR
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThirdPartyTypeType of the third party, such as person or organization.Enum
DirPartyType (enum)
NoNone

Indexes (2)

Relations (2)

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

  • FiscalDocument_BR → FiscalDocument_BR

    Join on FiscalDocument_BR = FiscalDocument_BR.RecId

    Zero or one FBBookingPeriodPrepFiscalDocument_BR record → exactly one FiscalDocument_BR record

  • RetailZReport_BR → RetailZReport_BR

    Join on RetailZReport_BR = RetailZReport_BR.RecId

    Many FBBookingPeriodPrepFiscalDocument_BR records → zero or one RetailZReport_BR record

Get this data out

No public entity reads from FBBookingPeriodPrepFiscalDocument_BR. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk