What problem does it solve? Brazilian electronic invoicing (NF-e) requires exact compliance with SEFAZ's MOC 7.0 specification and its amending Notas Técnicas — thousands of PDF pages covering XML layout, XMLDSig signing, SOAP transmission, sync/async response handling, contingency modes, and hundreds of rejection codes. This Skill distills that specification into actionable references so NF-e code can be implemented, debugged, and reviewed without re-reading the source documents. ## Core Features & Use Cases - End-to-end lifecycle guidance: Covers the full NF-e flow — building infNFe XML via the XSD-codegen serializer, computing the 44-digit chave de acesso, enveloped XMLDSig signing with A1 certificates, SOAP transmission, and protocol processing. - Current regulatory coverage: Tracks NT 2025.001 (mandatory sync mode for lote=1, 7-day emission window), NT 2025.002 (Reforma Tributária — IBS/CBS/IS groups, 4-digit cStat), and NT 2026.007 (LCC-RFB cadastral validation, cStat 178–186). - Production failure recovery: Documents duplicidade handling (cStat 204/539/218/205/635), consumo indevido (656) avoidance, contingency modes (EPEC, SVC-AN/RS), and the pendente-de-retorno recovery loop. - Use Case: When a homologação test suddenly fails with cStat=181, consult the Skill to learn that NT 2026.007 now requires every CNPJ in the document to exist in the LCC-RFB, and that a CPF recipient bypasses the rule. ## Quick Start Ask the agent to implement or debug an NF-e feature — for example, 'implement the cancelamento event for an authorized NF-e' — and it will load the relevant reference files automatically.