Hi everyone,
I’m sharing two MIT-licensed apps for Chilean ERPNext v16 sites.
They do not issue electronic invoices (no XML, CAF, or SII Track ID). They store Chilean tax identity and SII document data inside ERPNext so other apps — or a future e-invoicing integration — can use it.
rut_chileno
Validates the Chilean RUT (modulo-11 check digit) and saves it as 12.345.678-5.
- Customer / Supplier / Company: native
tax_id, labelled RUT - Employee: custom
rutfield - Required on Company when the country is Chile
- Accepts
12.345.678-5,12345678-5, or123456785 - Rejects a wrong check digit and duplicate RUTs
GitHub - joil/rut_chileno: Custom Field for Chilieand DNI as RUT in ERPNext · GitHub
bench get-app https://github.com/joil/rut_chileno
bench --site $SITE install-app rut_chileno
sii_doctype
Official SII DTE catalog (33, 34, 39, 41, 43, 46, 48 honorarios, 52, 56, 61, 110–112) plus DTE reference types (801 Purchase Order, 802, 803, etc.).
Adds an SII Chile section on Sales Invoice, Purchase Invoice, Delivery Note, and Purchase Receipt: document type, folio, and references. It checks folio uniqueness, credit/debit notes, and Chile-company rules.
bench get-app https://github.com/joil/sii_doctype
bench --site $SITE install-app sii_doctype
Requires ERPNext v16. Feedback, issues, and PRs are welcome.