---
search:
  tags:
    - invoices
    - GET
seo:
  description: >-
    Reference for the GET /v1/invoices/{invoiceId} endpoint in the Vortex
    Payments API.
sidebar:
  label: GET /v1/invoices/{invoiceId}
  badge: GET
title: GET /v1/invoices/{invoiceId}
type: openapi-operation
---
`GET /v1/invoices/{invoiceId}`

**curl**

```bash
curl "https://api.vortex.nyc/v1/invoices/{invoiceId}?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
```

**TypeScript**

```ts
import { getInvoice, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await getInvoice({
  client: vortex,
  path: { invoiceId: "..." },
  query: { environment: "sandbox", merchantAccountId: "..." },
});
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "invoice": {
      "invoiceId": "string",
      "customerId": "string",
      "billingAccountId": "string",
      "status": "draft",
      "currency": "string",
      "subtotal": 0,
      "discountTotal": 0,
      "taxTotal": 0,
      "total": 0,
      "amountPaid": 0,
      "amountRemaining": 0,
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "subscriptionId": "string",
      "creditNoteTotal": 0,
      "customerBalanceAppliedTotal": 0,
      "periodStartAt": "string",
      "periodEndAt": "string",
      "issuedAt": "string",
      "dueAt": "string",
      "finalizedAt": "string",
      "voidedAt": "string",
      "createdAt": "string",
      "updatedAt": "string"
    },
    "lines": [
      {
        "invoiceLineId": "string",
        "invoiceId": "string",
        "lineType": "fixed",
        "description": "string",
        "quantity": 0,
        "unitAmount": 0,
        "subtotal": 0,
        "priceSnapshot": {
          "property1": "string",
          "property2": "string"
        },
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "sortOrder": 0,
        "priceId": "string",
        "meterId": "string",
        "periodStartAt": "string",
        "periodEndAt": "string"
      }
    ],
    "customerDetail": {},
    "billingAccountDetail": {}
  },
  "requestId": "string"
}
```
