[PE] Standard Invoice - Payload Example

{
    "supplier_company_id": "{{company_id}}",
    "invoice_type": "debit",//mandatory
    "invoice_date": "2025-09-16",//mandatory
    "invoice_due_date": "2025-09-30",
    "document_type": "invoice",//mandatory
    "exchange_rate": 1, //for currency <> PEN
    "reason": "0101",//Operation type
    "currency": "PEN",//mandatory
    "e_invoice": true,//if not send, default value = true
    "invoice_external_id": "",
    "buyer": {//mandatory
        "company": {
            "name": "DEMO COMP",//mandatory
            "legal_name": "DEMO COMPANY 1",//mandatory
            "external_id": "123456789",
            "email": "",
            "type": "business",//mandatory
            "address": {//mandatory
                "address_line_1": "Las Gaviotas Avenue 2110",
                "address_line_2": "AV. DEL EJERCITO 1180, URB. MAGDALENA DEL MAR",
                "city": "LIMA",
                "state": "PE-LIM",
                "country": "PE",//mandatory
                "postal_code": "3500"
            },
            "tax_registrations": [//mandatory
                {
                    "number": "20123456678",//mandatory
                    "type": "RUC",//mandatory
                    "level": "country",//mandatory
                    "location": "PE"//mandatory
                }
            ]
        }
    },
    "items": [
        {
            "name": "Item Service 1",//mandatory
            "description": "Item description",
            "amount": 1000,//mandatory
            "unit_amount": 1000, //mandatory
            "quantity": 1,//mandatory
            "item_external_id": "ctb-dhlhjx0qn861qs0st7fwxss1_2",
            "taxes": [
                {
                    "name": "IGV",
                    "type": "IGV",
                    "rate": 0.18,
                    "rate_type": "percentage",
                    "amount": 180,
                    "level": "country",
                    "location": "PE",
                    "adds_to_final_amount": true
                }
            ],
            "categories": [
                {
                    "code": "ZZ",//this means "Unidad/Unit" for services
                    "list": "unit"//mandatory (list = unit)
                }
            ]
        }
    ]
}

Did this page help you?