# Get an invoice (with line items)

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

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

## Path parameters

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

## Responses

### 200

The invoice.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "status": {
          "type": "string",
          "enum": [
            "draft",
            "finalized",
            "paid",
            "void",
            "uncollectible"
          ]
        },
        "sequentialNumber": {
          "type": "string"
        },
        "currency": {
          "type": "string",
          "enum": [
            "USD",
            "AUD",
            "CAD",
            "GBP",
            "EUR",
            "INR",
            "NPR"
          ],
          "example": "USD"
        },
        "subtotalCents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Line-item subtotal before discounts/tax, in minor units, serialized as a decimal string.",
          "example": "1999"
        },
        "discountCents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Discount applied, in minor units, serialized as a decimal string.",
          "example": "1999"
        },
        "creditAppliedCents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Account credit applied, in minor units, serialized as a decimal string.",
          "example": "1999"
        },
        "taxCents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Tax charged, in minor units, serialized as a decimal string.",
          "example": "1999"
        },
        "totalCents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Grand total, in minor units, serialized as a decimal string.",
          "example": "1999"
        },
        "amountPaidCents": {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Amount paid to date, in minor units, serialized as a decimal string.",
          "example": "1999"
        },
        "manualPayment": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "id": {
              "type": "string",
              "format": "uuid",
              "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
            },
            "method": {
              "type": "string",
              "enum": [
                "bank_transfer",
                "cash",
                "cheque",
                "other"
              ]
            },
            "reference": {
              "type": "string"
            },
            "amountCents": {
              "type": "string",
              "pattern": "^\\d+$",
              "description": "The amount recorded, in minor units, serialized as a decimal string.",
              "example": "1999"
            },
            "receivedOn": {
              "type": "string",
              "format": "date"
            }
          },
          "required": [
            "id",
            "method",
            "reference",
            "amountCents",
            "receivedOn"
          ],
          "description": "GET /invoices/{id} only: the offline payment recorded against the invoice, or null."
        }
      },
      "required": [
        "id",
        "status",
        "sequentialNumber",
        "currency",
        "subtotalCents",
        "discountCents",
        "creditAppliedCents",
        "taxCents",
        "totalCents",
        "amountPaidCents"
      ]
    },
    "_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"
  ]
}
```
