This module allows you to set SII references on invoices.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Adds a References section to customer and supplier invoices so users can record SII document references (with code, class, motive and date) directly on the invoice, and links each reference to the invoice it belongs to.
This module extends the Chilean SII reference feature so that references are attached to invoices. On both customer and supplier invoice forms, a new "References" section appears where users can add one or more reference lines. Each line shows the document name, its SII code, the reference class, the motive and the date; the name and class are required.
The module also adds an Invoice field on the reference records themselves, so from a reference you can see which invoice it belongs to.
Automatic behaviour: - When an invoice is saved in draft, the system tries to build references automatically. For a credit note, it references the original invoice being refunded. For a normal invoice, it looks at the sales order lines behind the invoice and creates references from the related sales order, blanket order and outgoing delivery pickings that have a reference class. - Duplicate protection: the same document name and class cannot be added twice to the same invoice; a database rule blocks it and a check in code silently skips duplicates.
References are read-only once the invoice leaves draft, so they can only be edited while the invoice is still a draft. Deleting an invoice also deletes its references.
Depends on
Required by other modules
Models and fields (2)
- sii.reference · extends an existing modelinvoice_id (Invoice)
- account.invoice · extends an existing modelreference_ids
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-03Confirmation 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.0Usage
Source · Odoo 12.0- Go to Accounting > Customers > Invoices
- Create or select a draft invoice
- Go to the Other Info tab
- Create the references
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.