l10n_br_fiscal_edi
Provide common EDI infrastructure for Brazilian fiscal documents, managing electronic document lifecycles, events, and state changes shared across fiscal modules.
Key Features
- l10n_br_fiscal.document: Adds EDI status, event tracking, authorization/cancellation/invalidation attachments, and actions to view generated XML or PDF for fiscal documents.
- l10n_br_fiscal.document.workflow: Controls allowed electronic and non-electronic document state transitions, populating dates/numbers/keys and routing confirm, send, cancel, invalidate, and correction actions through the workflow hooks.
- l10n_br_fiscal.event: Stores fiscal events with numbering, environment, and protocol metadata, validates justifications, persists request/response XML as attachments or disk files, and offers a printable event report.
- l10n_br_fiscal.invalidate.number: Links number invalidation records to their events and authorization files for traceability of voided fiscal numbers.
- l10n_br_fiscal.base.wizard.mixin: Extends fiscal wizards to carry the related event reference for downstream processing.
- l10n_br_fiscal.document.cancel.wizard: Cancels a fiscal document via the workflow using a provided justification.
- l10n_br_fiscal.document.correction.wizard: Registers a correction justification to create correction events for a fiscal document.
- l10n_br_fiscal.invalidate.number.wizard: Builds an invalidation request from the document data, executes the invalidation, and cancels related accounting moves when available.
- ui: Provides menus and views to manage fiscal events and number invalidations, including event lists, forms, and embedded event tabs on documents.