---
title: "Get an invoice billed to the merchant"
method: GET
path: "/api/v1/merchants/{merchantId}/invoices/{invoiceId}"
tags: ["Invoice"]
---

# Get an invoice billed to the merchant

`GET /api/v1/merchants/{merchantId}/invoices/{invoiceId}`

## Request

- Base URL: `https://core.quidkey.com`
- URL: `https://core.quidkey.com/api/v1/merchants/{merchantId}/invoices/{invoiceId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/banqzinc/apis/quidkey-api/docs/api/v1/merchants/:merchantId/invoices/:invoiceId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get an invoice billed to the merchant

## Path parameters

- `merchantId` string, uuid, required
- `invoiceId` string, uuid, required

## Response `200`

Success

- InvoiceCustomerResponse
  - `success` boolean, required: Indicates if the request was successful
  - `data` object, required: Invoice visible to a merchant customer
    - `id` string, uuid, required
    - `invoice_number` string, required
    - `payment_reference` string, required
    - `merchant_id` string, uuid, required
    - `status` union, required: Lifecycle status of the invoice
      - 'draft'
      - 'issued'
      - 'paid'
      - 'void'
    - `currency` string, required: Currency of the invoice
    - `period_start` string, date, required
    - `period_end` string, date, required
    - `total_amount` string, required: Gross billable fees in invoice currency
    - `amount_paid` string, required: Sum of recorded invoice payments
    - `outstanding_amount` string, required: Server-computed total_amount − amount_paid.
    - `transaction_count` number, required
    - `due_date` string, date, nullable, required
    - `issued_at` string, date-time, nullable, required
    - `paid_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
    - `payments` object[], required
      - `id` string, uuid, required
      - `amount` string, required: Payment amount in the invoice currency
      - `currency` string, required: Currency of the payment
      - `payment_method` union, required: How a payment against an invoice was recorded
        - 'manual_bank_transfer'
        - 'immediately_settled'
        - 'issue_credit'
      - `external_reference` string, nullable, required: Bank statement reference or similar correlation key; null for system-inserted
      - `paid_at` string, date-time, required
      - `recorded_by_user_id` string, uuid, nullable, required
      - `recorded_at` string, date-time, required
      - `notes` string, nullable, required
    - `fx_rates` object[], required: FX rate snapshot captured at issue time, one row per source currency
      - `source_currency` string, required: The fee currency the rate converts FROM
      - `rate` string, required: Multiplier applied to convert from source_currency to the invoice currency
      - `captured_at` string, date-time, required: Provider's data-freshness timestamp (rate age)
      - `fetched_at` string, date-time, nullable, required: When our service called the FX provider to lock this rate. Null for rows created before this column existed.
      - `provider` string, required

## Other responses

- `401`: Unauthorized
- `404`: Not Found

## Changes

- **2026-06-17** `b372e7d5563d`: 1 info
  - endpoint added
- **2025-11-02** `919eb7a392aa`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/banqzinc/apis/quidkey-api/changes/api/v1/merchants/:merchantId/invoices/:invoiceId/get.md)

---

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