Table

FBLedgerJournalTrans_FiscalBooks_BR

Fiscal books journal lines

Holds fiscal books data for ledger journal lines in Brazil. It links a journal line to fiscal documents, fiscal establishments, adjustment codes, observation codes and credit types. It also holds tax amounts, base amounts, rates and details of tax adjustments. Used for Brazil.

Table name
FBLedgerJournalTrans_FiscalBooks_BR
Module
Fiscal books brazil
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdjustmentTypeKind of adjustment: blank, general or fiscal document.Enum
FBTaxAssessmentAdjustmentType_BR (enum)
YesNone
ComplementaryDescriptionExtra free text that gives more detail about the adjustment.String (255)
FBAdjustmentDescription_BR
NoNone
ContribAssessmentPeriodAssessment period date for the contribution.Date
FBContribAssessmentPeriod_BR
NoNone
ContribCreditBaseSourceSource of the credit base, such as goods for resale, rentals or leasing.Enum
FBNonFiscalOpCreditSourceCode_BR (enum)
NoNone
ContribTransferredCreditPercentagePercentage of credit that is transferred.Real
Percent
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductionCNPJCNPJ number linked to the deduction.String (20)
CNPJNum_BR
NoNone
FBContribCreditType_BRPoints to the credit type code record.Int64
FBContribCreditTypeRecId_BR
NoFBContribCreditType_BR.RecIdNone
FiscalDocument_BRPoints to the fiscal document header record.Int64
FiscalDocumentRecId_BR
NoFiscalDocument_BR.RecIdNone
FiscalDocumentAdjustmentCodeICMSPoints to the ICMS adjustment code record.Int64
FBFiscalDocumentAdjustmentCodeRecId_BR
NoFBFiscalDocumentAdjustmentCodeICMS_BR.RecIdNone
FiscalDocumentLine_BRPoints to the fiscal document line record.Int64
FiscalDocumentLineRecId_BR
NoFiscalDocumentLine_BR.RecIdNone
FiscalDocumentTaxTrans_BRPoints to the fiscal document tax transaction record.Int64
RefRecId
NoFiscalDocumentTaxTrans_BR.RecIdNone
FiscalEstablishment_BRPoints to the fiscal establishment record.Int64
FiscalEstablishmentRecId_BR
YesFiscalEstablishment_BR.RecIdNone
GeneralAdjustmentCodePoints to the general adjustment code record.Int64
FBGeneralAdjustmentCodeRecId_BR
NoFBGeneralAdjustmentCode_BR.RecIdNone
LedgerJournalTransPoints to the ledger journal line this record belongs to.Int64
LedgerJournalTransRefRecId
NoLedgerJournalTrans.RecIdNone
ObservationCodeTablePoints to the observation code record.Int64
FBObservationCodeRecId_BR
NoFBObservationCodeTable_BR.RecIdNone
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
StateCode of the state linked to the line.String
LogisticsAddressStateId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAdjustmentProcessNumNumber of the process connected to the tax adjustment.String (100)
FBTaxAdjustmentProcessNum_BR
NoNone
TaxAdjustmentSourceTypeType of source of the adjustment, such as judicial process, administration process, PER/DCOMP or fiscal document.Enum
FBTaxAdjustmentSourceType_BR (enum)
NoNone
TaxAmountTax amount of the line.Real
FBTaxAmount_BR
NoNone
TaxAmountOtherAmount of other tax on the line.Real
FBTaxAmount_BR
NoNone
TaxationCodeThree-character taxation code.String (3)
TaxationCode_BR
NoNone
TaxBaseAmountBase amount on which the tax is taken.Real
FBTaxBaseAmount_BR
NoNone
TaxTypeKind of tax, such as IPI, PIS, ICMS, COFINS, ISS, IRRF or INSS.Enum
TaxType_BR (enum)
YesNone
TaxValueSales tax rate for the line.Real
FBTaxValue_BR
NoNone

Indexes (1)

Relations (9)

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

  • FBContribCreditType_BR → FBContribCreditType_BR

    Join on FBContribCreditType_BR = FBContribCreditType_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → zero or one FBContribCreditType_BR record

  • FBFiscalDocumentAdjustmentCodeICMS → FBFiscalDocumentAdjustmentCodeICMS_BR

    Join on FiscalDocumentAdjustmentCodeICMS = FBFiscalDocumentAdjustmentCodeICMS_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FBFiscalDocumentAdjustmentCodeICMS_BR record

  • FBGeneralAdjustmentCode → FBGeneralAdjustmentCode_BR

    Join on GeneralAdjustmentCode = FBGeneralAdjustmentCode_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FBGeneralAdjustmentCode_BR record

  • FiscalDocument → FiscalDocument_BR

    Join on FiscalDocument_BR = FiscalDocument_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalDocument_BR record

  • FiscalDocumentLine_BR → FiscalDocumentLine_BR

    Join on FiscalDocumentLine_BR = FiscalDocumentLine_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalDocumentLine_BR record

  • FiscalDocumentTaxTrans_BR → FiscalDocumentTaxTrans_BR

    Join on FiscalDocumentTaxTrans_BR = FiscalDocumentTaxTrans_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalDocumentTaxTrans_BR record

  • FiscalEstablishment → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalEstablishment_BR record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on LedgerJournalTrans = LedgerJournalTrans.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one LedgerJournalTrans record

  • ObservationCodeTable → FBObservationCodeTable_BR

    Join on ObservationCodeTable = FBObservationCodeTable_BR.RecId

    Many FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FBObservationCodeTable_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk