Table

EFDocCorrectionLetter_BR

Correction letter

Holds correction letters sent for Brazilian electronic fiscal documents (NF-e). Each record is identified by the fiscal document and a sequence number. It stores the letter text, the XML sent and received, the authority's protocol and return details, and the status.

Table name
EFDocCorrectionLetter_BR
Module
Fiscal books brazil
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
FiscalDocumentIdx
Replacement key
None
Key fields
FiscalDocument_BR, Sequence
Model
FiscalBooks

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FiscalDocument_BRFiscal document header that the letter relates to.Int64
FiscalDocumentRecId_BR
NoFiscalDocument_BR.RecIdNone
SequenceSequence number of the letter for the fiscal document.Integer
EFDocCorrectionLetterSequence_BR
YesNone
CorrectionLetterCancelledReference to another record by its system record ID. It probably links a letter to the one it cancels, but the metadata does not say.low confidenceInt64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EventDateTimeDate and time when the letter was processed.UtcDateTime
DateTimeExecuted
NoNone
NoYesYes or no flag. Its exact meaning is not stated in the metadata.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProtocolNumberProtocol number given to the letter.String (20)
EFDocProtocolNumber_BR
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
ReturnCodeCode returned for the letter after it was submitted.String
EFDocCorrectionLetterReturnCode_BR
NoNone
ReturnCodeDescriptionText that explains the return code.String (255)
EFDocReturnCodeDescription_BR
NoNone
StatusCurrent state of the letter: created, approved or rejected.Enum
EFDocCorrectionLetterStatus_BR (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateTransaction date of the letter.Date
TransDate
NoNone
txtFree text of the correction letter.String (-1)
EFDocCorrectionLetterTXT_BR
NoNone
TypeKind of event the letter covers, such as a correction, a cancellation or a delivery date update.Enum
EFDocCorrectionLetterType_BR (enum)
NoNone
XmlDocReceivedXML document received in reply.String (-1)
EFDocXML_BR
NoNone
XmlDocSentXML document sent with the letter.String (-1)
EFDocXML_BR
NoNone

Indexes (1)

Relations (1)

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

  • FiscalDocument_BR → FiscalDocument_BR

    Join on FiscalDocument_BR = FiscalDocument_BR.RecId

    Many EFDocCorrectionLetter_BR records → zero or one FiscalDocument_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk