Invoice Object

{
  "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
}
AttributeTypeDescription
idstringUnique identifier for the Invoice.
objectstringAlways "invoice"
created_atstringISO 8601 creation timestamp
currencystringCurrency ISO code. Only CLP supported for the moment.
customerstringCustomer ID associated to this invoice
linesarrayList of line item objects
metadataobject | nullArbitrary key-value metadata
modestring"live" or "test"
paymentsarrayList of payment attempt objects
statusstring"draft", "open", "paid", or "void"
subscriptionstring | nullSubscription ID that generated this invoice, if any
totalintegerTotal 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

AttributeTypeDescription
idstringUnique identifier for the line item
objectstringAlways "line_item"
amountintegerAmount in cents
currencystringCurrency ISO code. Only CLP supported for the moment.
period_endstringISO 8601 end of the billing period
period_startstringISO 8601 start of the billing period
quantityintegerQuantity of items

Nested object: Invoice Payment

AttributeTypeDescription
amountintegerPayment amount in cents
currencystringCurrency ISO code. Only CLP supported for the moment.
payment_intentstringAssociated payment intent ID
statusstring"pending", "succeeded", or "failed"