Odoo 19 app

Honduras SAR CAI Invoicing

Honduras CAI ranges and 16-digit SAR numbering on every invoice

What it does

Register the CAI (Clave de Autorizacion de Impresion) ranges the SAR grants you and let Odoo number invoices, credit notes and debit notes NNN-NNN-NN-NNNNNNNN, inside the authorized range and before the fecha limite de emision.

Each CAI authorization holds the key, establishment, emission point, document type, the authorized range and the fecha limite de emision. When an invoice is posted it takes the next correlative of the matching active range, and the CAI, range and deadline are stored on the invoice.

A range that is used up or past its deadline (evaluated in Honduras local time) cannot issue numbers any more; overlapping ranges for the same prefix are refused. A daily scheduled action updates the states and creates one activity when a range is running low.

The printed invoice carries the CAI, the authorized range, the deadline, the RTN of both parties, the exonerated buyer papers and the article 11 breakdown: exento, exonerado, gravado 15% and 18%, ISV 15% and 18%, amount in words and the exchange rate.

Who it is for

  • Honduran businesses issuing facturas. Companies in Honduras print invoices under a CAI granted by the SAR. The app numbers invoices, credit notes and debit notes in the 16-digit NNN-NNN-NN-NNNNNNNN format from the range you registered.
  • Shops with several cajas or branches. Each sales journal can carry its own establishment, emission point and document type, so every till or branch draws from its own authorized range.
  • Sellers with exonerated customers. For buyers flagged as ISV exonerated, the invoice applies the ISV Exonerado fiscal position and shows the Orden de Compra Exenta, Constancia de Registro de Exonerados and Registro SAG.
  • Accounting firms managing client ranges. The CAI list shows prefix, next correlative, remaining numbers and deadline for each range, and a daily job flags ranges that are exhausted, expired or running low.

Features

CAI authorizations
CAI detail and usage
16-digit invoice number
Printed factura
Exonerated buyers
Credit notes
Import the SAR letter

Setting it up

  1. Make sure the company has its 14-digit RTN and uses the Honduran chart of accounts (l10n_hn).
  2. Go to Settings > Invoicing (or Accounting), find the Honduras SAR (CAI) block, check Default establishment, Default emission point and CAI responsible, and press Add ISV taxes if you need the extra ISV taxes.
  3. Open Accounting > Configuration > Honduras SAR > CAI authorizations and press New, or use Import SAR authorization to paste the text of your authorization.
  4. Fill in the CAI, Establishment, Emission point, Document type, the From and To range and the Emission deadline, then press Activate.
  5. On each sales journal, set the Establishment, Emission point and document type under the Honduras SAR (CAI) group if it differs from the company default.
  6. Post an invoice and check that it received a number from the active range along with the CAI, authorized range and deadline.

Honduras SAR CAI Invoicing: questions

Does it send invoices to the SAR?

No. The SAR grants the CAI and you enter it in Odoo. The app controls numbering and printing on your side and nothing is transmitted. Please confirm your exact obligations with your accountant or the SAR.

What happens when a range runs out or the deadline passes?

Odoo stops issuing numbers from that range. The deadline is checked in Honduras local time, and a daily scheduled action marks ranges as Exhausted or Expired and creates one activity for the CAI responsible when a range drops below its Alert below % remaining level (10% by default).

Can two ranges overlap by mistake?

No. Overlapping ranges for the same prefix are refused when you save, so the same number can't be handed out twice.

How are customer IDs checked?

The partner tax ID is validated as a 14-digit RTN. A 13-digit Tarjeta de Identidad is accepted only for an individual consumidor final; companies and exonerated buyers still need the RTN.

Which editions and languages are supported?

It runs on Community and Enterprise. It depends on the core l10n_hn localization and the Debit Notes module, and ships with English and Spanish translations.

Are the SAR document codes fixed?

No. The two-digit codes such as 01 Factura, 06 Nota de Credito and 07 Nota de Debito are loaded as editable data under SAR document types. If the SAR changes a code, you can update it there, ideally after checking with your accountant.