[CL] API Invoice POST & GET Example
POST Example
{
"supplier_company_id": "{{company_id}}", //mandatory
// "supplier_external_company_id": "{{supplier_external_company_id}}", //can be used instead of supplier_company_id
"invoice_type": "debit", //mandatory
"invoice_date": "2025-09-03", //mandatory
"invoice_due_date": "2025-10-03",
"document_type": "invoice", //mandatory
"e_invoice": true,
"currency": "CLP",
//"exchange_rate": "", //only use when currency is not CLP.
"buyer": {
"company": {
"name": "DEMO COMP CL",
"legal_name": "DEMO COMPANY CL",//mandatory info of Buyer
"type": "business",
"category_code": "123456", //Giro (for document_type "invoice")
"email": "[email protected]",
"address": {
"address_line_1": "Address Test CL",
"city": "SANTIAGO",
"state": "CL-RM",
"postal_code": "1000000", //mandatory info of Buyer
"country": "CL" //mandatory info of Buyer
},
"tax_registrations": [
{
"type": "RUT",
"number": "12345678-1", //mandatory info of Buyer
"level": "country",
"location": "CL"
}
]
}
},
"items": [
{
"name": "Item Service 1", //mandatory
"description": "Full description of the item",
"quantity": 1,
"unit_amount": 10000,
"amount": 10000, //mandatory: Quantity * unit_amount
"external_item_id": "{{external_item_id}}",
"taxes": [
{
"amount": 1900,
"name": "VAT",
"rate": 0.19,
"rate_type": "percentage",
"description": "Impuesto sobre el valor agregado",
"adds_to_final_amount": true
}
],
"categories": [
{
"code": "item_code"
}
]
}
]
}GET Example
{
"supplier_company_id": "{{company_id}}",
"invoice_type": "debit",
"invoice_date": "2026-07-31",
"document_type": "ticket",
"e_invoice": true,
"currency": "CLP",
"buyer": {
"person": {
"name": "{{buyer_name}}",
"legal_name": "{{buyer_legal_name}}",
"type": "person",
"address": {
"address_line_1": "{{buyer_address_line_1}}",
"city": "{{buyer_city}}",
"state": "{{buyer_state}}",
"postal_code": "",
"country": "CL"
},
"tax_registrations": [
{
"type": "RUT",
"number": "{{buyer_rut}}",
"level": "country",
"location": "CL"
}
]
}
},
"items": [
{
"name": "{{item_name}}",
"description": "{{item_description}}",
"quantity": 0,
"unit_amount": 3,
"amount": 3,
"taxes": [
{
"amount": 1,
"name": "IVA",
"rate": 0.19,
"rate_type": "percentage",
"description": "Impuesto sobre el valor agregado",
"adds_to_final_amount": true
}
]
}
]
}Updated 3 days ago
Did this page help you?
