SefazNfe.MDFe.Pending (sefaz_nfe v0.5.0)

Copy Markdown View Source

retConsMDFeNaoEnc: the MDF-e of an emitter that were authorized and not yet closed (encerrados), from SefazNfe.MDFe.pending/1.

:documents is [%{ch_mdfe: key, n_prot: protocol}], empty when SEFAZ lists none (or rejected the request: read :c_stat and :x_motivo, as with every answer SEFAZ gave).

Summary

Types

document()

@type document() :: %{ch_mdfe: String.t(), n_prot: String.t() | nil}

t()

@type t() :: %SefazNfe.MDFe.Pending{
  c_stat: pos_integer(),
  documents: [document()],
  x_motivo: String.t()
}