---
title: "Get an invoice"
method: GET
path: "/invoices/{code}"
tags: ["Invoices"]
---

# Get an invoice

`GET /invoices/{code}`

## Path parameters

- `code` string, required

## Response `200`

OK

- object
  - `message` string, required
  - `status` boolean, required
  - `error` boolean, required
  - `data` object
    - `invoice` Invoice — Customer invoice
      - `code` string
      - `invoiceId` string, nullable
      - `title` string, nullable
      - `description` string, nullable
      - `amount` integer — Minor units
      - `currency` string
      - `status` string
      - `due_date` string, date-time, nullable
      - `paidOn` string, date-time, nullable
      - `sent_at` string, date-time, nullable
      - `vat` number, nullable
      - `vatAmount` integer, nullable
      - `discount` integer, nullable
      - `discount_type` string, nullable
      - `customer` Customer
        - `code` string
        - `name` string
        - `email` string, email, nullable
        - `type` string, nullable
        - `status` string
      - `budget` CodeRef — code + name
        - `code` string
        - `name` string
      - `created_at` string, date-time
      - `updated_at` string, date-time

## Other responses

- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.dev/bujeti/apis/bujeti-public-api.md) · [All operations](https://skmtc.dev/bujeti/apis/bujeti-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bujeti/bujeti-public-api/revisions/d2850fc5f576/schema)
