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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FiscalDocument_BRFiscal document header that the letter relates to. | Int64FiscalDocumentRecId_BR | No | FiscalDocument_BR.RecId | None |
SequenceSequence number of the letter for the fiscal document. | IntegerEFDocCorrectionLetterSequence_BR | Yes | None | |
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 confidence | Int64RefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EventDateTimeDate and time when the letter was processed. | UtcDateTimeDateTimeExecuted | No | None | |
NoYesYes or no flag. Its exact meaning is not stated in the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProtocolNumberProtocol number given to the letter. | String (20)EFDocProtocolNumber_BR | 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 | |
ReturnCodeCode returned for the letter after it was submitted. | StringEFDocCorrectionLetterReturnCode_BR | No | None | |
ReturnCodeDescriptionText that explains the return code. | String (255)EFDocReturnCodeDescription_BR | No | None | |
StatusCurrent state of the letter: created, approved or rejected. | EnumEFDocCorrectionLetterStatus_BR (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateTransaction date of the letter. | DateTransDate | No | None | |
txtFree text of the correction letter. | String (-1)EFDocCorrectionLetterTXT_BR | No | None | |
TypeKind of event the letter covers, such as a correction, a cancellation or a delivery date update. | EnumEFDocCorrectionLetterType_BR (enum) | No | None | |
XmlDocReceivedXML document received in reply. | String (-1)EFDocXML_BR | No | None | |
XmlDocSentXML document sent with the letter. | String (-1)EFDocXML_BR | No | None |
Indexes (1)
FiscalDocumentIdxPrimary indexUnique.
Relations (1)
Each relation joins EFDocCorrectionLetter_BR to another table on the fields shown.
FiscalDocument_BR→FiscalDocument_BRJoin on
FiscalDocument_BR = FiscalDocument_BR.RecIdMany 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.