| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Point of Sale (point_of_sale) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 2127 |
| Technical Name |
l10n_hn_sar_cai_pos |
| License | OPL-1 |
| Website | https://pokutsoft.com/ |
| Versions | 18.0 19.0 |
Punto de Venta con CAI de la SAR de Honduras
Numeracion correlativa conforme de 16 digitos en cada venta — con el C.A.I., el rango autorizado y la fecha limite impresos en el ticket del cliente (Acuerdo 481-2017)
Lleva la numeracion fiscal CAI al Punto de Venta. Cada orden pagada toma el siguiente correlativo NNN-NNN-NN-NNNNNNNN de un rango CAI activo reutilizando el motor de numeracion ya probado del modulo de facturacion, e imprime el C.A.I., el rango autorizado y la fecha limite de emision directamente en el recibo del cliente — algo legalmente exigido en el comercio hondureno.
Que hace
Numeracion CAI en cada venta
Al cobrar una orden, el punto de venta asigna en el servidor el siguiente correlativo conforme de 16 digitos desde la autorizacion CAI activa de la tienda. La numeracion es del lado del servidor, por lo que es continua y sin huecos aun con varias cajas vendiendo a la vez.
C.A.I. en el ticket del cliente
El recibo en vivo del cliente muestra el C.A.I., el
numero NNN-NNN-NN-NNNNNNNN, el rango autorizado y la
fecha limite de emision. Tambien se incluye un ticket fiscal
reimprimible (QWeb) como respaldo robusto.
Factura desde el POS sin doble numero
Si la orden se factura para un cliente con RTN, el
account.move lleva el CAI estampado por el modulo de
facturacion y el POS no vuelve a numerar la orden
como ticket: nunca se consume un correlativo dos veces.
Politica cuando no hay rango
Configura por tienda el comportamiento ante un rango agotado, caducado o ausente: bloquear la venta (cada ticket impreso queda numerado) o finalizar y numerar despues con un trabajo de reintento. Nunca se emite fuera de rango en silencio.
Funciones destacadas
- Asignacion del correlativo CAI del lado del servidor en cada orden pagada (sin huecos, sin reuso, con bloqueo de concurrencia).
- Devoluciones numeradas como Nota de Credito (codigo 03) desde su propio rango, con referencia al documento original.
- Desglose del ISV en el ticket: gravado 15% y 18%, exento, exonerado e ISV por tasa, con el total en letras.
- RTN del cliente en la factura para ventas a clientes registrados; marca de exonerado por contacto.
- Bloque fiscal con C.A.I., numero, rango autorizado y fecha limite en el recibo en vivo del cliente.
- Ticket fiscal reimprimible (QWeb) con encabezado de empresa, RTN y bloque CAI.
- Guarda anti doble-numero para ordenes facturadas (el CAI vive en la factura).
- Ajustes por tienda: activacion, tipo de documento SAR, punto de emision (caja) y politica de fallo.
- Estado del rango CAI visible antes de abrir sesion (correlativos restantes y fecha limite).
- Trabajo planificado que reintenta numerar ordenes diferidas.
- Reutiliza el motor CAI probado del modulo de facturacion; compatible con Odoo 18 y 19.
El correlativo de 16 digitos
| Segmento | Ancho | Significado (Acuerdo 481-2017) |
|---|---|---|
NNN | 3 | Establecimiento — establecimiento emisor autorizado |
NNN | 3 | Punto de emision — punto de emision / caja |
NN | 2 | Tipo de documento — codigo de tipo de documento (01 Factura) |
NNNNNNNN | 8 | Correlativo — secuencia 00000001 … 99999999 |
Ejemplo: 000-001-01-00000001
Como funciona
- Registra y activa una autorizacion CAI (modulo de facturacion) para el tipo de documento Factura.
- En la tienda del POS, activa Honduras SAR CAI on POS, elige el tipo de documento y, opcionalmente, el punto de emision de la caja.
- Vende normalmente: al cobrar, la orden recibe el numero conforme de 16 digitos y el ticket imprime el C.A.I., el rango y la fecha limite.
- Para clientes con RTN, factura la orden y el CAI viajara en la factura sin numerar el ticket dos veces.
Nota de cumplimiento
Autoridad: Servicio de Administracion de Rentas (SAR), Honduras — Reglamento del Regimen de Facturacion, Acuerdo No. 481-2017. Este modulo asigna la numeracion correlativa de los rangos CAI que te fueron concedidos; el CAI en si es emitido por la SAR a tu nombre (trae tu propia autorizacion). El CAI es una autorizacion de impresion, no un regimen de transmision en tiempo real: el modulo no envia datos a ningun servicio externo. Requiere el modulo Honduras SAR CAI Invoicing.
English version
Honduras SAR CAI Point of Sale
Bring compliant CAI numbering to the
Point of Sale. Every paid order draws the next
NNN-NNN-NN-NNNNNNNN correlative from an active CAI range
(reusing the proven invoice-module engine) and prints the
C.A.I., authorized range and emission deadline on the
customer receipt — legally required in Honduran retail
(Acuerdo 481-2017).
- Server-side, gapless CAI allocation on every paid POS order, with a row lock for safe concurrent cashiers.
- Refunds numbered as a Nota de Credito (codigo 03) from their own range, referencing the original document.
- ISV breakdown on the ticket: taxable 15% and 18%, exempt, exonerado and ISV per rate, plus the total in words.
- Customer RTN on the factura for registered buyers; per-contact exonerado (tax-exempt) flag.
- CAI, number, authorized range and deadline on the live customer receipt.
- Reprintable QWeb fiscal ticket with company header, RTN and CAI block.
- No-double-number guard for invoiced orders (the invoice carries the CAI).
- Per-shop settings: enable, SAR document type, emission point (caja), failure policy.
- CAI range status before opening a session; scheduled retry of deferred orders.
- Reuses the tested invoice-module CAI engine; no external transmission.
- Odoo 18 and 19; requires Honduras SAR CAI Invoicing.
Screenshots
Per-shop Honduras SAR CAI settings with live range status.
CAI authorization ranges granted by the SAR — each row tracks its prefix, correlatives remaining and emission deadline.
An active CAI authorization: the CAI key, the (establecimiento, punto de emision, tipo de documento) tuple, the inclusive correlative range, next correlative, capacity/used/remaining and the emission deadline.
Paid POS order with the allocated 16-digit number, CAI, range and deadline, plus the ISV breakdown (gravado 15%, ISV 15%, exento/exonerado and the total in words).
Reprintable SAR-compliant Factura ticket: ISV breakdown by rate, amount in words and the full CAI block (C.A.I., authorized range and emission deadline).
Refund printed as a Nota de Credito (codigo 03) from its own range, referencing the original document and carrying its own CAI block.
Update date: 2026-07-02
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Point of Sale (point_of_sale) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 2127 |
| Technical Name |
l10n_hn_sar_cai_pos |
| License | OPL-1 |
| Website | https://pokutsoft.com/ |
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