The Spanish version is the authoritative reference. View in Spanish
Brazil: AR — Issuance
This flow describes the sequence of steps when an electronic document is issued from Gosocket using NDD Space as fiscal middleware.
Process actors
Gosocket
Initial issuing platform for the XMLNDD Space
Middleware that validates, transforms and channels documents to the fiscal entitiesSEFAZ
Brazilian tax authority — national fiscal entity for NF-e, CT-e and MDF-ePrefeituras
Municipal governments responsible for validating NFS-eProcess flow
-
XML generation — Gosocket generates the XML file and sends it to NDD Space.
-
Validation and transformation — NDD Space validates the content and applies the De/Para rules to adapt the Gosocket format to the specifications of each municipality:
- DTE/GUF → integration format in generic Gosocket mapping
- RPS → XML transformed to the NDD standard
- De/Para rules → adaptation to the particularities of each municipality
- File sent to the tax authority → format required by the tax authority (national or municipal model)
-
Branching by document type:
- NFS-e → NDD communicates with the corresponding Prefeitura for municipal validation.
- NF-e, CT-e or MDF-e → NDD communicates with SEFAZ for national validation.
-
Response to Gosocket — NDD processes the tax authority's response and returns it to Gosocket.
💡 De/Para tables by municipality — equivalence between the NDD format and the fiscal format sent to each tax authority.
Expected response types
Authorized
Document approved by the tax authorityRejected
Document with errors that prevent its approvalError
Technical or connection problems during the process