Skip to main content

Module complement

Module complement 

Source
Expand description

Functions for attaching SEFAZ authorization protocols to signed XML documents.

Functionsยง

attach_b2b
Attach a B2B financial tag to an authorized <nfeProc> XML, wrapping both in a <nfeProcB2B> element.
attach_event_protocol
Attach an event protocol response to the event request, producing the <procEventoNFe> wrapper.
attach_inutilizacao
Attach the SEFAZ inutilizacao response to the request, producing the <ProcInutNFe> wrapper.
attach_protocol
Attach the SEFAZ authorization protocol to a signed NFe XML, producing the <nfeProc> wrapper required for storage and DANFE.