OdooWiki OCA HUB

Electronic Invoicing for Chile

l10n_cl_sii_folio folder_open OCA/l10n-chile open_in_new
Localization/Chile License: AGPL-3

This module allows you to upload CAF files from (https://sii.cl) and keep track of your folios.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Upload Chilean SII CAF files to Odoo and control the folio (document number) ranges used for electronic invoices. Odoo warns you when folios run low or expire and blocks posting when no valid folio is available.

This module lets you load the CAF XML files you download from the Chilean tax authority (SII) into Odoo, so the system knows which invoice numbers (folios) you are authorised to use.

  • On a journal, a new "Documents" tab lets you link each SII document class to a numbering sequence, with one sequence per journal and document class.
  • On a numbering sequence, a "CAF Files" tab appears for DTE sequences. There you upload the CAF file; Odoo reads it and fills in the document type, start and end numbers, issue date, expiry date and the company VAT.
  • Each CAF shows a status (Draft, In Use, Spent) and a use-level progress bar, so you can see how much of the range is left.
  • A dedicated "SII CAF Files for DTE" screen lists all uploaded CAF files.

Automatic behaviour: when posting an invoice, Odoo picks the right sequence for the document class and takes the next folio from the CAF range. If no folio is available, or the CAF has expired, posting is blocked with an error asking you to request a new CAF from SII. When the remaining folios fall below the minimum you set, a notification alert is sent to the user. The module also checks that the document class on the journal line matches the one on the sequence, and that the company VAT matches the CAF.

Required by other modules

Models and fields (5)
  • ir.sequence · extends an existing modelis_dte (Is DTE?), class_id (Document Type), folio_ids (DTE Caf), forced_by_caf (Forced By CAF), qty_available (Quantity Available)
  • account.move · extends an existing model
  • account.journal · extends an existing modeljournal_document_class_ids (Documents)
  • ir.sequence.folio · new modelname (Name), rut_n (VAT), status (Status), caf_file (CAF XML File), filename (File Name), final_nm (End Number), start_nm (Start Number), use_level (Use Level), company_id (Company), issued_date (Issued Date), sequence_id (Sequence), nivel_minimo (Nivel Mínimo de Folios), expiration_date (Expiration Date), sii_document_class (SII Document Class)
  • account.journal.document · new modelname, class_id (Document Class), sequence (Sequence), journal_id (Journal), sequence_id (Entry Sequence)

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/l10n-chile.

terminal Installation and usage

OCA documentation · Odoo 12.0
  • Go to Settings > User & Companies > Companies
  • Create or select a company
  • Go to the Activities tab to set them

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.