---
title: "Get invoices for an order"
method: GET
path: "/orders/{orderId}/invoices"
tags: ["orders"]
---

# Get invoices for an order

`GET /orders/{orderId}/invoices`

## Request

- Base URL: `https://api.agentpaid.io/api/v1`
- URL: `https://api.agentpaid.io/api/v1/orders/{orderId}/invoices`
- Auth: HTTP bearer

Retrieves all invoices associated with a specific order.

## Path parameters

- `orderId` string, required

## Response `200`

Success response

- Invoice[]
  - `id` string, uuid
  - `displayId` string: Human-readable invoice number
  - `organizationId` string, uuid
  - `customerId` string, uuid
  - `orderId` string, uuid
  - `status` 'draft' | 'open' | 'paid' | 'void' | 'uncollectible'
  - `currency` string
  - `subtotal` number, double: Total before tax (in smallest currency unit)
  - `tax` number, double: Tax amount (in smallest currency unit)
  - `total` number, double: Total amount including tax (in smallest currency unit)
  - `amountPaid` number, double: Amount already paid (in smallest currency unit)
  - `amountDue` number, double: Amount still due (in smallest currency unit)
  - `dueDate` string, date-time
  - `paidAt` string, date-time, nullable
  - `voidedAt` string, date-time, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `customer` Customer
    - `id` string, required
    - `organizationId` string, required
    - `name` string, required
    - `externalId` string
    - `phone` string
    - `employeeCount` number, double
    - `annualRevenue` number, double
    - `taxExemptStatus` 'none' | 'exempt' | 'reverse'
    - `creationSource` 'manual' | 'api' | 'crm' | 'other'
    - `creationState` 'active' | 'draft'
    - `website` string
    - `billingAddress` Address
      - `line1` string, required
      - `line2` string
      - `city` string, required
      - `state` string, required
      - `zipCode` string, required
      - `country` string, required
    - `metadata` CustomerMetadata: Flexible JSON field for storing custom metadata about the customer

## Other responses

- `403`: Forbidden - Invalid or missing API key
- `404`: Order not found

---

[API](https://skmtc.dev/paid/apis/paid-2.md) - [All operations](https://skmtc.dev/paid/apis/paid-2/llms.txt) - [OpenAPI document](https://skmtc.dev/paid/apis/paid-2/revisions/dbdf4a60ed27?raw)
