# A subscription’s invoices with their lines

`GET /api/v1/subscriptions/{id}/invoices`

Needs the `subscriptions:read` scope, or a full-access key.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required |  |

## Responses

### 200

Oldest first.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
              },
              "sequential_number": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "finalized",
                  "paid",
                  "void",
                  "uncollectible"
                ]
              },
              "currency": {
                "type": "string",
                "enum": [
                  "USD",
                  "AUD",
                  "CAD",
                  "GBP",
                  "EUR",
                  "INR",
                  "NPR"
                ],
                "example": "USD"
              },
              "subtotal_cents": {
                "type": "string",
                "pattern": "^-?\\d+$",
                "description": "Charge lines before discount and tax.",
                "example": "-1500"
              },
              "discount_cents": {
                "type": "string",
                "pattern": "^\\d+$",
                "description": "Total discount taken off (positive magnitude), applied before tax.",
                "example": "1999"
              },
              "tax_cents": {
                "type": "string",
                "pattern": "^\\d+$",
                "description": "All tax, inclusive and exclusive.",
                "example": "1999"
              },
              "total_cents": {
                "type": "string",
                "pattern": "^-?\\d+$",
                "description": "subtotal − discount + EXCLUSIVE tax (inclusive tax is already inside the subtotal).",
                "example": "-1500"
              },
              "credit_applied_cents": {
                "type": "string",
                "pattern": "^-?\\d+$",
                "description": "Customer balance applied at finalize (+ = credit consumed).",
                "example": "-1500"
              },
              "amount_due_cents": {
                "type": "string",
                "pattern": "^-?\\d+$",
                "description": "total − credit applied: what is collected.",
                "example": "-1500"
              },
              "period_start": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "period_end": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "created_at": {
                "type": "string",
                "format": "date-time"
              },
              "lines": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "description": {
                      "type": "string"
                    },
                    "line_type": {
                      "type": "string",
                      "enum": [
                        "subscription",
                        "usage",
                        "proration_credit",
                        "proration_charge",
                        "addon",
                        "one_time",
                        "discount",
                        "tax"
                      ]
                    },
                    "quantity": {
                      "type": "string"
                    },
                    "unit_amount_cents": {
                      "type": "string",
                      "pattern": "^-?\\d+$",
                      "description": "Minor units as a decimal string.",
                      "example": "-1500"
                    },
                    "amount_cents": {
                      "type": "string",
                      "pattern": "^-?\\d+$",
                      "description": "Signed minor units; discounts and credits are negative.",
                      "example": "-1500"
                    },
                    "currency": {
                      "type": "string",
                      "enum": [
                        "USD",
                        "AUD",
                        "CAD",
                        "GBP",
                        "EUR",
                        "INR",
                        "NPR"
                      ],
                      "example": "USD"
                    }
                  },
                  "required": [
                    "description",
                    "line_type",
                    "quantity",
                    "unit_amount_cents",
                    "amount_cents",
                    "currency"
                  ]
                }
              }
            },
            "required": [
              "id",
              "sequential_number",
              "status",
              "currency",
              "subtotal_cents",
              "discount_cents",
              "tax_cents",
              "total_cents",
              "credit_applied_cents",
              "amount_due_cents",
              "period_start",
              "period_end",
              "created_at",
              "lines"
            ]
          }
        }
      },
      "required": [
        "items"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
