Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Localizations
  3. Panama FE Contingency v 19.0
  4. Sales Conditions FAQ

Panama FE Contingency

by Baris Genc https://gencbaris.com/odoo_plugins/
Odoo

$ 69.40

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 1873
Technical Name l10n_pa_dgi_fe_contingency
LicenseOPL-1
Websitehttps://gencbaris.com/odoo_plugins/
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 1873
Technical Name l10n_pa_dgi_fe_contingency
LicenseOPL-1
Websitehttps://gencbaris.com/odoo_plugins/
Versions 18.0 19.0
  • Description
  • License

FE de la DGI de Panama — Contingencia y transmision diferida al PAC

Sigue facturando cuando el PAC esta caido. Almacena sin conexion, imprime el CAFE, reenvia en orden dentro de 72 horas.

Construido para el regimen de contingencia del SFEP

El sistema de factura electronica de Panama (SFEP) lo opera la Direccion General de Ingresos (DGI). Cuando la DGI o tu PAC (Proveedor de Autorizacion Calificado) es inalcanzable, la ley te permite seguir emitiendo bajo emision en contingencia (campo FE iTipEmis = 02). El cliente recibe de inmediato un CAFE (Comprobante Auxiliar de Factura Electronica), y cada documento almacenado en bufer debe enviarse a autorizacion dentro de las 72 horas tras la restauracion. Este modulo automatiza exactamente ese flujo dentro de la Contabilidad de Odoo.

Almacenamiento de contingencia sin conexion

Abre una ventana de contingencia y cada factura de cliente contabilizada cambia automaticamente a iTipEmis = 02, se valida y se almacena localmente — sin necesidad de red. Los campos obligatorios de la DGI B04 (fecha y hora de inicio) y B05 (causa) se capturan en la ventana y se estampan en cada documento.

CAFE para el cliente

Cada documento almacenado produce una carga util CAFE y un QR que apunta a la URL de consulta de la DGI, de modo que el cliente se va con un comprobante auxiliar valido mientras la autorizacion sigue pendiente.

Resecuenciacion determinista

Cuando vuelve la conectividad, los documentos almacenados se reenvian a tu PAC en su orden exacto de emision (hora de emision, punto de venta, numero de documento) para que la secuencia autorizada en la DGI coincida con los CAFE que ya estan en manos de los clientes.

Cadena de hash a prueba de manipulaciones

Cada documento almacenado se enlaza al SHA-256 del anterior. Una verificacion de un clic detecta cualquier hueco, reordenamiento o modificacion en la cadena de reenvio antes de la transmision.

Seguimiento del SLA de 72 horas

El modulo calcula la fecha limite de transmision (emision + 72h) para cada documento almacenado, marca los incumplimientos, y prioriza primero las autorizaciones mas criticas en el tiempo al vaciar el bufer.

Transmision al PAC BYOK

No somos un PAC y no incluimos ninguna acreditacion. Tu traes tu propio contrato, token y punto final de PAC; los documentos se transmiten unicamente al punto final que configures, con un registro de transporte completo de solicitud/respuesta.

Que genera

ElementoCampo FENotas
Tipo de emisioniTipEmis01 normal / 02 contingencia
AmbienteiAmb1 produccion / 2 pruebas
Identificador del documentodCufe (CUFE)Prefijo FE, componentes deterministas
Emisor / receptorgEmis / gDatRecRUC + DV + tipo de persona
ITBMS por lineadTasaITBMSCodigos de tasa 0% / 7% / 10% / 15%
Bloque de contingenciagContingenciaB04 fecha/hora + B05 motivo
TotalesgTotneto, ITBMS, total general, items

Validacion incorporada

Los documentos se comprueban contra las reglas estructurales y aritmeticas de la DGI antes de ser almacenados o transmitidos: estructura RUC/DV, campos obligatorios de contingencia, referencias de notas de credito/debito, coherencia del codigo de tasa ITBMS y conciliacion de lineas frente a totales. Los fallos se reportan con codigos estables para que nada llegue al PAC a medio formar.

Declaracion

Este modulo transmite los datos de la factura unicamente al punto final del PAC que configures. Tu token de PAC y tus identificadores RUC se almacenan unicamente en tu propia base de datos y nunca se envian a otro lugar. El modulo genera la carga util FE y el CAFE; la autorizacion legal la emite tu PAC acreditado / la DGI.


English version

Panama DGI FE — Contingency & Deferred PAC Transmission

When the DGI or your PAC is unreachable, Panama's SFEP lets you keep issuing under emision en contingencia (iTipEmis = 02). The customer gets a CAFE immediately and every buffered document must be authorised within 72 hours of restoration. This module automates that flow inside Odoo Accounting.

  • Offline contingency buffering with B04 (start datetime) and B05 (cause) stamped on each document.
  • CAFE payload + DGI consult QR for the customer.
  • Deterministic resequencing on reconnection (emission time, point of sale, number).
  • Tamper-evident SHA-256 hash chain with one-click verification.
  • 72-hour SLA tracking with breach flags and prioritised draining.
  • BYOK PAC transmission to your configured endpoint, full transport log. Not a PAC.

Screenshots

Buffered Documents

Buffered Documents

Contingency Windows

Contingency Windows

Open Close Contingency

Open Close Contingency

Pac Connections

Pac Connections

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with