> ## Documentation Index
> Fetch the complete documentation index at: https://developer.vetcove.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch an invoice refund

> Retrieves an invoice refund by its ID.

An invoice refund represents a reversal of a payment made on a clinic invoice. Refunds can be issued as store credit, a credit card reversal, or through an external payment processor. Each refund is tied to a specific invoice payment and records the amount returned to the client. Invoice refunds are never deleted.



## OpenAPI

````yaml get /ext/v2/invoice-refunds/{pk}/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/invoice-refunds/{pk}/:
    get:
      tags:
        - Invoices
      summary: Fetch an invoice refund
      description: >-
        Retrieves an invoice refund by its ID.


        An invoice refund represents a reversal of a payment made on a clinic
        invoice. Refunds can be issued as store credit, a credit card reversal,
        or through an external payment processor. Each refund is tied to a
        specific invoice payment and records the amount returned to the client.
        Invoice refunds are never deleted.
      operationId: invoiceRefunds_get
      parameters:
        - in: path
          name: pk
          required: true
          schema:
            title: Pk
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalInvoiceRefundTopLevelDetailSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalInvoiceRefundTopLevelDetailSchema:
      properties:
        amount:
          description: The amount refunded, in cents.
          title: Amount
          type: integer
        clinic_client_id:
          description: The ID of the client (pet parent) on the invoice.
          title: Clinic Client Id
          type: integer
        clinic_id:
          description: The ID of the clinic that issued the invoice.
          title: Clinic Id
          type: integer
        created:
          description: The datetime this object was created.
          format: date-time
          title: Created
          type: string
        currency:
          $ref: '#/components/schemas/Currency'
          description: The currency of the refund.
        id:
          description: The unique identifier for the invoice refund.
          title: Id
          type: integer
        invoice_id:
          description: The ID of the invoice this refund is associated with.
          title: Invoice Id
          type: integer
        invoice_payment_id:
          description: The ID of the invoice payment this refund is against.
          title: Invoice Payment Id
          type: integer
        modified:
          description: >-
            The datetime this object was last modified; changes to related
            entities will not update this field.
          format: date-time
          title: Modified
          type: string
        refund_type:
          $ref: '#/components/schemas/RefundType'
          description: The type of refund (e.g. credit card, store credit, external).
      required:
        - created
        - modified
        - id
        - invoice_payment_id
        - invoice_id
        - clinic_id
        - clinic_client_id
        - amount
        - refund_type
        - currency
      title: ExternalInvoiceRefundTopLevelDetailSchema
      type: object
    Currency:
      enum:
        - USD
        - CAD
      title: Currency
      type: string
    RefundType:
      enum:
        - CLIENT_CREDIT
        - STRIPE
        - EXTERNAL
      title: RefundType
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````