l10n_br_cte_spec
Provide abstract Odoo models that mirror the official CT-e 4.0 schemas to serve as the foundation for CT-e implementation modules.
Key Features
- technical: Abstract CT-e 4.0 data structures are auto-generated from the official XSD layouts to keep the schema aligned with SEFAZ requirements.
- spec.mixin.cte: Shared mixin sets the CT-e field prefixing and binding metadata, defaults currency to BRL, and allows XSD-specific field parameters on Odoo fields.
- cte.40.rodo: Captures road transport registration data including RNTRC and linked collection orders with their issuer details.
- cte.40.aereo: Handles air transport attributes such as minute number, IATA operational number, delivery date, cargo nature, tariffs, and dangerous goods information.
- cte.40.aquav: Covers waterway transport with AFRMM calculation values, vessel and barge details, voyage direction, IRIN requirement, and container breakdowns.
- cte.40.ferrov: Records rail transport data including traffic type selection, mutual traffic specifics, and contracted railway flow identification.
- cte.40.duto: Describes pipeline transport with tariff amounts, service start and end dates, and classification or contracting type options.
- cte.40.multimodal: Stores multimodal operator certificate details, negotiability indicator, and linked insurance information with insurer, policy, and averbação numbers.
- cte.40.rodoos: Supports road CT-e OS flows with ANTT/State registration options, vehicle identification, and passenger chartering or freight data.
- cte.40.tevento: Structures CT-e event envelopes with receiving authority codes, environment indicator, modal type, and event metadata required for SEFAZ event handling.