Modules
SEFAZ NF-e transport (modelo 55).
A1 (PKCS#12) handle.
PKCS#12 (RFC 7292) reader for ICP-Brasil A1 files. Internal to
SefazNfe.Certificate.
One breaker per UF, so a SEFAZ that is down cannot drag the others with it.
Page returned by NFeDistribuicaoDFe (Ambiente Nacional).
One distributed document, already decompressed.
One process per tax ID (CNPJ or CPF) for NFeDistribuicaoDFe.
Resolves {uf, environment, service} to a SOAP URL.
Builders for the MOC's post-authorization events and for inutilização.
Parsed SEFAZ business outcome. A SOAP envelope that we understood is
{:ok, t} even when c_stat != 100 — that is a rejection, not a crash.
HTTP+mTLS POST of a SOAP envelope.
Builds the SOAP 1.2 envelope the 4.00 webservices expect.
Detects a SOAP fault in a 200 response.
Default SefazNfe.SOAP client: an mTLS POST over :httpc.
Optional XSD validation against the official NF-e schemas.
Enveloped XMLDSig, as the MOC 4.00 defines it for NF-e.
Reading side of the SEFAZ XML, on :xmerl.
Canonical XML 1.0 without comments, the form XMLDSig digests.
Mix Tasks
Audits priv/endpoints/nfe_4.00.json.