---
title: "Retrieve an invoice"
method: GET
path: "/billing/invoices/{invoiceId}"
---

# Retrieve an invoice

`GET /billing/invoices/{invoiceId}`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/billing/invoices/{invoiceId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

This API Endpoint is mostly used when an Ezypay Invoice UUID is provided. The result return by this API will focus only on the specific invoice requested. 

There will be a validation to ensure that the invoice UUID provided belongs to the Merchant provided in the API Header.

## Path parameters

- `invoiceId` string, required

## Headers

- `merchant` string, required

## Response `200`

200

- object
  - `id` string
  - `documentNumber` string
  - `date` string
  - `dueDate` string
  - `scheduledPaymentDate` unknown
  - `status` string
  - `memo` unknown
  - `items` object[]
    - `description` string
    - `amount` object
      - `currency` string
      - `value` number
      - `type` unknown
    - `tax` object
      - `rate` number
    - `id` string
    - `type` string
    - `discounted` object
      - `currency` string
      - `value` integer
      - `type` unknown
    - `accountingCode` string
  - `amount` object
    - `currency` string
    - `value` number
    - `type` unknown
  - `amountWithoutDiscount` object
    - `currency` string
    - `value` number
    - `type` unknown
  - `totalDiscounted` object
    - `currency` string
    - `value` integer
    - `type` unknown
  - `totalRefunded` object
    - `currency` string
    - `value` integer
    - `type` unknown
  - `totalTax` object
    - `currency` string
    - `value` number
    - `type` unknown
  - `customerId` string
  - `subscriptionId` string
  - `subscriptionName` string
  - `paymentMethodToken` string
  - `autoPayment` boolean
  - `processingModel` unknown
  - `createdOn` string
  - `failedPaymentReason` object
    - `code` string
    - `description` string
  - `paymentProviderResponse` object
    - `code` string
    - `description` string
  - `payNowUrl` string
  - `channel` unknown
  - `paymentMethodInvalid` boolean
  - `manualRetryPossible` boolean

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/billing/invoices/:invoiceId/get.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
