---
title: "Fetch an invoice"
method: GET
path: "/ext/v2/invoices/{invoice_id}/"
tags: ["Invoices"]
---

# Fetch an invoice

`GET /ext/v2/invoices/{invoice_id}/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/invoices/{invoice_id}/`
- Auth: HTTP bearer

Fetches an invoice by its ID.

An **invoice** represents a bill for services rendered to a clinic patient during a visit. Each invoice is associated with a clinic, a client (pet parent), and contains line items for the services and products provided. Invoices track totals, discounts, payments, and remaining balance.

## Path parameters

- `invoice_id` integer, required: The ID of the invoice to fetch

## Response `200`

OK

- ExternalInvoiceDetailSchema: An invoice represents a bill issued by a clinic to a client (pet parent) for services rendered, products sold, or other charges. Invoices track the total amount, payments made, discounts applied, and remaining balance.
  - `amount_paid` integer, required: The amount paid so far for this invoice
  - `clinic_client_id` integer, required: The ID of the client this invoice is for
  - `clinic_id` integer, required: The ID of the clinic which issued this invoice
  - `created` string, date-time, required: The datetime this object was created.
  - `date_posted` string, date-time, required: The datetime this invoice was posted
  - `deleted` string, date-time, nullable, required: The datetime this record was soft deleted.
  - `discount` integer, required: The discount given to the client for this invoice, if any
  - `finalized_at` string, date-time, nullable, required: The datetime at which this invoice was marked as finalized and became due
  - `id` integer, required: The unique identifier for the invoice
  - `is_deleted` boolean, required: Whether this record is soft deleted or not.
  - `locked_at` string, date-time, nullable, required: The datetime at which this invoice was marked as locked
  - `marked_as_collections_at` string, date-time, nullable, required: The datetime at which this invoice was marked as collections (a.k.a. written off)
  - `marked_not_rendered_at` string, date-time, nullable, required: The datetime at which this invoice was marked as not-rendered
  - `modified` string, date-time, required: The datetime this object was last modified; changes to related entities will not update this field.
  - `remaining_balance` integer, required: The remaining balance for this invoice
  - `status` union, required: The status of the invoice
    - 'IN_PROGRESS' | 'READY_FOR_PAYMENT' | 'FINALIZED' | 'LOCKED' | 'IMPORTED'
    - ''
  - `subtotal` integer, required: The subtotal due for this invoice
  - `tax` integer, required: The amount of tax charged to the client for this invoice
  - `total` integer, required: The total amount billed to the client for this invoice

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
