l10n_br_nfse_focus
Integrates Odoo NFSe handling with FocusNFe so service invoices can be created, transmitted, tracked, and canceled through the provider.
Key Features
- res.company: Adds FocusNFe as an NFSe provider with production/homologation tokens, field mapping choices, authorized-status check toggle, DANFSE source selection, and tax rate format option.
- l10n_br_fiscal.document: Serializes NFSe RPS, service, and recipient data to FocusNFe payload conventions and submits authorization requests with the RPS reference.
- l10n_br_fiscal.document: Polls FocusNFe for NFSe status by RPS, updates verification code/number/protocol dates, stores authorization XML, and retrieves provider or Odoo-generated DANFSE PDFs.
- l10n_br_fiscal.document: Sends cancellation requests to FocusNFe, records cancellation events, and attaches returned XML or PDF confirmation.
- l10n_br_fiscal.document: Scheduled cron checks recently sent FocusNFe NFSe documents to refresh their processing status automatically.