l10n_br_nfe_spec
Provide abstract Odoo data models mirroring the official SEFAZ NF-e/NFC-e 4.0 layout as a foundation for downstream issuance modules.
Key Features
- nfe_spec: Abstract NF-e/NFC-e data layer reused by downstream modules for fiscal emission workflows.
- spec.mixin.nfe: Base mixin adds default BRL currency and accepts XSD-specific field metadata to keep generated models schema-aligned.
- nfe.40.tnfe: NF-e document model captures header, issuer/recipient, item details with taxes, totals, transport, payment, and complementary information per SEFAZ 4.0 layout.
- nfe.40.tconssitnfe: Consultation and event models represent NF-e authorization status checks, protocol data, and cancellation event payloads.
- nfe.40.tinutnfe: Inutilization models handle requests and responses for voiding NF-e number ranges with associated receipts.
- technical: Models are generated from official NF-e 4.0 XSDs via xsdata-odoo with prefixed field names to prevent collisions between schema versions.