{
"id": "inv_456789abcdef",
"object": "invoice",
"created_at": "2025-08-01T12:00:00Z",
"currency": "CLP",
"customer": "cus_asdlfknmuy",
"lines": [
{
"id": "il_348nasdfsdf",
"object": "line_item",
"amount": 15000,
"currency": "CLP",
"period_end": "2025-09-01T00:00:00Z",
"period_start": "2025-08-01T00:00:00Z",
"quantity": 1
}
],
"metadata": {},
"mode": "live",
"payments": [
{
"amount": 15000,
"currency": "CLP",
"payment_intent": "pi_duinkasdfb",
"status": "succeeded"
}
],
"status": "paid",
"subscription": "sub_123489rnas",
"total": 15000
}| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier for the Invoice. |
object | string | Always "invoice" |
created_at | string | ISO 8601 creation timestamp |
currency | string | Currency ISO code. Only CLP supported for the moment. |
customer | string | Customer ID associated to this invoice |
lines | array | List of line item objects |
metadata | object | null | Arbitrary key-value metadata |
mode | string | "live" or "test" |
payments | array | List of payment attempt objects |
status | string | "draft", "open", "paid", or "void" |
subscription | string | null | Subscription ID that generated this invoice, if any |
total | integer | Total amount in the smallest currency unit (i.e 1000 cents for 10.00 MXN, or 1.000 for CLP, Chilean Peso being a zero-decimal currency) |
Nested object: Line Item
| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier for the line item |
object | string | Always "line_item" |
amount | integer | Amount in cents |
currency | string | Currency ISO code. Only CLP supported for the moment. |
period_end | string | ISO 8601 end of the billing period |
period_start | string | ISO 8601 start of the billing period |
quantity | integer | Quantity of items |
Nested object: Invoice Payment
| Attribute | Type | Description |
|---|---|---|
amount | integer | Payment amount in cents |
currency | string | Currency ISO code. Only CLP supported for the moment. |
payment_intent | string | Associated payment intent ID |
status | string | "pending", "succeeded", or "failed" |