Data entity

EFDocReturnCodeEntity

Lists the rejection and return codes for NF-e documents, used for Brazil. Each code has a message type, a description and a fiscal document status. The key is the return code and the message type.

Entity name
EFDocReturnCodeEntity
Public entity name
EFDocReturnCode
OData collection
EFDocReturnCodes
Category
Not set
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
ReturnCode, MessageType
Staging table
EFDocReturnCodeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/EFDocReturnCodes
Dataverse virtual table
mserp_efdocreturncodeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • EFDReturnCode_BR · root

Fields (4)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DescriptionText describing the code.String (60)
Description
NoYesEFDReturnCode_BR.Description
MessageTypeKind of message the code belongs to: NF-e, Discard, Cancel or Cancel by substitution.Enum
EFDocMessageType_BR
  • Submit 1
  • Discard 2
  • Cancel 3
  • CancelBySubstitution 5
YesYesEFDReturnCode_BR.MessageType
ReturnCodeRejection or return code.String
EFDocReturnCode_BR
YesYesEFDReturnCode_BR.ReturnCode
FiscalDocumentStatusFiscal document status linked to the code.Enum
FiscalDocumentStatus_BR
  • Blank 0
  • Approved 1
  • Cancelled 2
  • Created 3
  • Denied 4
  • Discarded 5
  • Rejected 6
  • RejectedNoFix 7
  • Reversed 8
  • CancelledBySubstitution 9
YesYesEFDReturnCode_BR.Status

Need help with EFDocReturnCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk