---
title: "List customer invoices"
method: GET
path: "/api/portal/customers/{externalId}/invoices"
tags: ["Customer Portal"]
---

# List customer invoices

`GET /api/portal/customers/{externalId}/invoices`

## Request

- Base URL: `https://api.novabilling.one`
- URL: `https://api.novabilling.one/api/portal/customers/{externalId}/invoices`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/novabilling/apis/novabilling-api/docs/api/portal/customers/:externalId/invoices/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a paginated list of invoices. Filter by status to show only pending invoices.

## Path parameters

- `externalId` string, required

## Query parameters

- `status` 'PENDING' | 'PAID' | 'FAILED' | 'CANCELED'
- `page` number
- `limit` number

## Response `200`

Paginated invoices

- PaginatedInvoiceResponse
  - `data` InvoiceResponse[], required
    - `id` string, required
    - `invoiceNumber` string, required
    - `subscriptionId` string
    - `customerId` string, required
    - `amount` string, required: Decimal amount as string
    - `currency` string, required
    - `status` 'DRAFT' | 'PENDING' | 'PAID' | 'FAILED' | 'CANCELED', required
    - `dueDate` string, required
    - `paidAt` string
    - `pdfUrl` string
    - `metadata` object: Line items, plan info, discounts
    - `customer` InvoiceCustomerResponse
      - `id` string, required
      - `name` string, required
      - `email` string, required
    - `createdAt` string, required
    - `updatedAt` string, required
  - `meta` PaginationMeta, required
    - `total` number, required
    - `page` number, required
    - `limit` number, required
    - `totalPages` number, required

## Changes

- **2026-02-16** `0e449a4e0dc8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/novabilling/apis/novabilling-api/changes/api/portal/customers/:externalId/invoices/get.md)

---

[API](https://skmtc.dev/novabilling/apis/novabilling-api.md) - [All operations](https://skmtc.dev/novabilling/apis/novabilling-api/llms.txt) - [OpenAPI document](https://skmtc.dev/novabilling/apis/novabilling-api/revisions/0e449a4e0dc8?raw)
