Table

FBFiscalDocumentAdjustment_BR

Fiscal document adjust/benefit/incentive

Holds adjustment, benefit and incentive lines linked to Brazilian fiscal documents. Each line can point to an ICMS adjustment code, a general adjustment code, an observation code, a tax assessment or a fiscal document tax transaction. It also stores amounts, tax type, state and cancellation details. Used for Brazil.

Table name
FBFiscalDocumentAdjustment_BR
Module
Fiscal books brazil
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
FiscalBooks

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CancelTransDateDate on which the adjustment was cancelled.Date
TransDate
NoNone
CancelVoucherVoucher number linked to the cancellation.String (20)
Voucher
NoNone
ComplementaryDescriptionExtra free text that gives more detail about the adjustment.String (255)
FBComplementaryDescription_BR
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatePaymentYes/No flag labelled "Other debit". The metadata does not state what it triggers.low confidenceEnum
FBAdjustmentCreatePayment_BR
NoYes (enum)
NoNone
FBFiscalDocumentAdjustmentCodeICMS_BRPoints to the ICMS adjustment code record used for this line.Int64
FBFiscalDocumentAdjustmentCodeRecId_BR
NoFBFiscalDocumentAdjustmentCodeICMS_BR.RecIdNone
FBGeneralAdjustmentCode_BRPoints to the general adjustment code record used for this line.Int64
FBGeneralAdjustmentCodeRecId_BR
NoFBGeneralAdjustmentCode_BR.RecIdNone
FBObservationCodeTable_BRPoints to the observation code record linked to this line.Int64
FBObservationCodeRecId_BR
YesFBObservationCodeTable_BR.RecIdNone
FBTaxAssessment_BRPoints to the tax assessment record this adjustment refers to.Int64
RefRecId
YesFBTaxAssessment_BR.RecIdNone
FiscalDocumentTaxTrans_BRPoints to the fiscal document tax transaction this adjustment refers to.Int64
RefRecId
NoFiscalDocumentTaxTrans_BR.RecIdNone
FiscalEstablishmentIdID of the fiscal establishment the adjustment belongs to.String
FBFiscalEstablishmentId_BR
NoNone
IsCancelledYes/No flag showing whether the adjustment has been cancelled.Enum
NoYesId
NoYes (enum)
NoNone
IsPovertyFundYes/No flag showing whether the adjustment relates to FCP, the poverty fund.Enum
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
StateCode of the state linked to the adjustment.String
LogisticsAddressStateId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountTax amount of the adjustment.Real
FBTaxAmount_BR
YesNone
TaxAmountOtherAmount of other tax related to the adjustment.Real
FBTaxAmount_BR
NoNone
TaxBaseAmountBase amount on which the tax is taken.Real
FBTaxBaseAmount_BR
NoNone
TaxType_BRKind of tax, such as IPI, PIS, ICMS, COFINS, ISS, IRRF or INSS.Enum
TaxType_BR (enum)
NoNone
TaxValueSales tax rate for the adjustment.Real
FBTaxValue_BR
NoNone
TransDateDate of the adjustment transaction.Date
TransDate
NoNone
VoucherVoucher number of the adjustment.String (20)
Voucher
NoNone
VoucherDataAreaCompany (legal entity) that the voucher belongs to.String
DataAreaId
NoNone

Indexes (1)

Relations (6)

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

  • FBFiscalDocumentAdjustmentCodeICMS_BR → FBFiscalDocumentAdjustmentCodeICMS_BR

    Join on FBFiscalDocumentAdjustmentCodeICMS_BR = FBFiscalDocumentAdjustmentCodeICMS_BR.RecId

    Zero or one FBFiscalDocumentAdjustment_BR record → exactly one FBFiscalDocumentAdjustmentCodeICMS_BR record

  • FBObservationCodeTable_BR → FBObservationCodeTable_BR

    Join on FBObservationCodeTable_BR = FBObservationCodeTable_BR.RecId

    Exactly one FBFiscalDocumentAdjustment_BR record → exactly one FBObservationCodeTable_BR record

  • FBTaxAssessment_BR → FBTaxAssessment_BR

    Join on FBTaxAssessment_BR = FBTaxAssessment_BR.RecId

    Exactly one FBFiscalDocumentAdjustment_BR record → exactly one FBTaxAssessment_BR record

  • FiscalDocumentTaxTrans_BR → FiscalDocumentTaxTrans_BR

    Join on FiscalDocumentTaxTrans_BR = FiscalDocumentTaxTrans_BR.RecId

    Zero or one FBFiscalDocumentAdjustment_BR record → zero or one FiscalDocumentTaxTrans_BR record

  • FBGeneralAdjustmentCode_BR → FBGeneralAdjustmentCode_BR

    Join on FBGeneralAdjustmentCode_BR = FBGeneralAdjustmentCode_BR.RecId

    Zero or one FBFiscalDocumentAdjustment_BR record → exactly one FBGeneralAdjustmentCode_BR record

  • FBFiscalDocumentAdjustmentCodeView_BR → FBFiscalDocumentAdjustmentCodeView_BR

    Join on FBFiscalDocumentAdjustmentCodeICMS_BR = FBFiscalDocumentAdjustmentCodeView_BR.FBFiscalDocumentAdjustmentCodeICMS_BR, FBGeneralAdjustmentCode_BR = FBFiscalDocumentAdjustmentCodeView_BR.FBGeneralAdjustmentCode_BR

    Many FBFiscalDocumentAdjustment_BR records → exactly one FBFiscalDocumentAdjustmentCodeView_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk