[CL] Issuing

In this section you'll find everything related to issuing electronic documents (DTE) in Chile through the Brinta API.

Document types

document_typeinvoice_typeSII codeName
invoicedebit33Factura Electrónica
invoice exemptdebit34Factura No Afecta o Exenta
ticketdebit39Boleta Electrónica
ticket exemptdebit41Boleta Exenta Electrónica
purchase invoicepurchase46Factura de Compra Electrónica
debit notedebit56Nota de Débito Electrónica
debit note ticketdebit56Nota de Débito Electrónica
credit notecredit61Nota de Crédito Electrónica
credit note ticketcredit61Nota de Crédito Electrónica
exportdebit110Factura de Exportación
debit note exportsdebit111Nota de Débito de Exportación
credit note exportscredit112Nota de Crédito de Exportación

Related pages:


Invoice (Factura Electrónica, 33)

{
  "e_invoice": true,
  "currency": "CLP",
  "supplier_company_id": "{{supplier_company_id}}",
  "invoice_date": "2026-10-21",
  "invoice_due_date": "2026-11-20",
  "document_type": "invoice",
  "invoice_type": "debit",
  "invoice_external_id": "{{invoice_external_id}}",
  "buyer": {
    "company": {
      "legal_name": "Buyer Company SpA",
      "category_code": "{{giro}}",
      "type": "business",
      "address": {
        "address_line_1": "Av. Apoquindo 1234",
        "neighborhood": "Las Condes",
        "city": "Santiago",
        "country": "CL"
      },
      "tax_registrations": [
        {
          "number": "77000000-0",
          "type": "RUT",
          "level": "country",
          "location": "CL"
        }
      ]
    }
  },
  "items": [
    {
      "name": "Test Service",
      "description": "Servicio de prueba",
      "quantity": 1,
      "amount": 100000,
      "item_external_id": "{{item_external_id}}",
      "taxes": [
        {
          "name": "IVA",
          "type": "VAT",
          "rate": 0.19,
          "rate_type": "percentage",
          "amount": 19000
        }
      ]
    }
  ]
}

Notes:

  • items[].amount is the net amount (without IVA). When quantity is greater than 1, also send items[].unit_amount (net unit price).
  • buyer.company.category_code is the buyer's business activity (Giro).
  • buyer.company.address.neighborhood is the comuna.
  • invoice_due_date sets the payment method: Cash when empty or equal to invoice_date, Credit otherwise.
  • The buyer RUT is required for invoice, invoice exempt and purchase invoice.

Ticket (Boleta Electrónica, 39)

Same structure as the invoice, with document_type: "ticket". The buyer can be a person without a RUT: Brinta then uses the SII generic RUT (66666666-6).

{
  "e_invoice": true,
  "currency": "CLP",
  "supplier_company_id": "{{supplier_company_id}}",
  "invoice_date": "2026-10-21",
  "document_type": "ticket",
  "invoice_type": "debit",
  "invoice_external_id": "{{invoice_external_id}}",
  "buyer": {
    "company": {
      "legal_name": "Final Consumer",
      "type": "person",
      "address": {
        "country": "CL"
      }
    }
  },
  "items": [
    {
      "name": "Test Product",
      "quantity": 1,
      "amount": 10000,
      "taxes": [
        {
          "name": "IVA",
          "type": "VAT",
          "rate": 0.19,
          "rate_type": "percentage",
          "amount": 1900
        }
      ]
    }
  ]
}

Credit Note (Nota de Crédito Electrónica, 61)

Reference the original document with original_invoice_id or original_invoice_external_id. Brinta builds the SII reference (document type, folio and date) from the original document. See API Credit Notes Creation for the general rules.

{
  "e_invoice": true,
  "currency": "CLP",
  "supplier_company_id": "{{supplier_company_id}}",
  "invoice_date": "2026-10-25",
  "document_type": "credit note",
  "invoice_type": "credit",
  "reason": "void",
  "original_invoice_external_id": "{{original_invoice_external_id}}",
  "invoice_external_id": "{{invoice_external_id}}",
  "buyer": {
    "company": {
      "legal_name": "Buyer Company SpA",
      "type": "business",
      "address": {
        "country": "CL"
      },
      "tax_registrations": [
        {
          "number": "77000000-0",
          "type": "RUT",
          "level": "country",
          "location": "CL"
        }
      ]
    }
  },
  "items": [
    {
      "name": "Test Service",
      "quantity": 1,
      "amount": 100000,
      "taxes": [
        {
          "name": "IVA",
          "type": "VAT",
          "rate": 0.19,
          "rate_type": "percentage",
          "amount": 19000
        }
      ]
    }
  ]
}

reason sets the reference reason sent to the SII:

reasonReference reason
void (or not sent)Anulacion
returnCambio en items
discount, debit noteCambio en montos

The original document must already be issued (have its SII folio) before the note is sent.

Debit notes work the same way, with document_type: "debit note" and invoice_type: "debit".

Export (Factura de Exportación, 110)

Use document_type: "export", a foreign buyer and the required export_reason. If the buyer has no RUT, Brinta uses the SII generic foreign RUT. See Export Reason.

Referencing a purchase order, HES or other documents

Many large buyers match each invoice against their purchase order (OC) or service entry sheet (HES) before paying it. To include those references in the DTE, use relations[]. See Related Documents (relations).


Did this page help you?