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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AdjustmentTypeKind of adjustment: blank, general or fiscal document. | EnumFBTaxAssessmentAdjustmentType_BR (enum) | Yes | None | |
ComplementaryDescriptionExtra free text that gives more detail about the adjustment. | String (255)FBAdjustmentDescription_BR | No | None | |
ContribAssessmentPeriodAssessment period date for the contribution. | DateFBContribAssessmentPeriod_BR | No | None | |
ContribCreditBaseSourceSource of the credit base, such as goods for resale, rentals or leasing. | EnumFBNonFiscalOpCreditSourceCode_BR (enum) | No | None | |
ContribTransferredCreditPercentagePercentage of credit that is transferred. | RealPercent | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductionCNPJCNPJ number linked to the deduction. | String (20)CNPJNum_BR | No | None | |
FBContribCreditType_BRPoints to the credit type code record. | Int64FBContribCreditTypeRecId_BR | No | FBContribCreditType_BR.RecId | None |
FiscalDocument_BRPoints to the fiscal document header record. | Int64FiscalDocumentRecId_BR | No | FiscalDocument_BR.RecId | None |
FiscalDocumentAdjustmentCodeICMSPoints to the ICMS adjustment code record. | Int64FBFiscalDocumentAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | None |
FiscalDocumentLine_BRPoints to the fiscal document line record. | Int64FiscalDocumentLineRecId_BR | No | FiscalDocumentLine_BR.RecId | None |
FiscalDocumentTaxTrans_BRPoints to the fiscal document tax transaction record. | Int64RefRecId | No | FiscalDocumentTaxTrans_BR.RecId | None |
FiscalEstablishment_BRPoints to the fiscal establishment record. | Int64FiscalEstablishmentRecId_BR | Yes | FiscalEstablishment_BR.RecId | None |
GeneralAdjustmentCodePoints to the general adjustment code record. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCode_BR.RecId | None |
LedgerJournalTransPoints to the ledger journal line this record belongs to. | Int64LedgerJournalTransRefRecId | No | LedgerJournalTrans.RecId | None |
ObservationCodeTablePoints to the observation code record. | Int64FBObservationCodeRecId_BR | No | FBObservationCodeTable_BR.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StateCode of the state linked to the line. | StringLogisticsAddressStateId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAdjustmentProcessNumNumber of the process connected to the tax adjustment. | String (100)FBTaxAdjustmentProcessNum_BR | No | None | |
TaxAdjustmentSourceTypeType of source of the adjustment, such as judicial process, administration process, PER/DCOMP or fiscal document. | EnumFBTaxAdjustmentSourceType_BR (enum) | No | None | |
TaxAmountTax amount of the line. | RealFBTaxAmount_BR | No | None | |
TaxAmountOtherAmount of other tax on the line. | RealFBTaxAmount_BR | No | None | |
TaxationCodeThree-character taxation code. | String (3)TaxationCode_BR | No | None | |
TaxBaseAmountBase amount on which the tax is taken. | RealFBTaxBaseAmount_BR | No | None | |
TaxTypeKind of tax, such as IPI, PIS, ICMS, COFINS, ISS, IRRF or INSS. | EnumTaxType_BR (enum) | Yes | None | |
TaxValueSales tax rate for the line. | RealFBTaxValue_BR | No | None |
Indexes (1)
LedgerJournalTransIdxNot unique.
Relations (9)
Each relation joins FBLedgerJournalTrans_FiscalBooks_BR to another table on the fields shown.
FBContribCreditType_BR→FBContribCreditType_BRJoin on
FBContribCreditType_BR = FBContribCreditType_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → zero or one FBContribCreditType_BR record
FBFiscalDocumentAdjustmentCodeICMS→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
FiscalDocumentAdjustmentCodeICMS = FBFiscalDocumentAdjustmentCodeICMS_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FBFiscalDocumentAdjustmentCodeICMS_BR record
FBGeneralAdjustmentCode→FBGeneralAdjustmentCode_BRJoin on
GeneralAdjustmentCode = FBGeneralAdjustmentCode_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FBGeneralAdjustmentCode_BR record
FiscalDocument→FiscalDocument_BRJoin on
FiscalDocument_BR = FiscalDocument_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalDocument_BR record
FiscalDocumentLine_BR→FiscalDocumentLine_BRJoin on
FiscalDocumentLine_BR = FiscalDocumentLine_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalDocumentLine_BR record
FiscalDocumentTaxTrans_BR→FiscalDocumentTaxTrans_BRJoin on
FiscalDocumentTaxTrans_BR = FiscalDocumentTaxTrans_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalDocumentTaxTrans_BR record
FiscalEstablishment→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one FiscalEstablishment_BR record
LedgerJournalTrans→LedgerJournalTransJoin on
LedgerJournalTrans = LedgerJournalTrans.RecIdMany FBLedgerJournalTrans_FiscalBooks_BR records → exactly one LedgerJournalTrans record
ObservationCodeTable→FBObservationCodeTable_BRJoin on
ObservationCodeTable = FBObservationCodeTable_BR.RecIdMany 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.