> ## 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.

# List invoice refunds

> Returns a list of payment-level refunds associated with a specific invoice. The refunds are sorted by creation date, with the most recent entries appearing first.



## OpenAPI

````yaml get /ext/v2/invoices/{invoice_id}/invoice-refunds/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/invoices/{invoice_id}/invoice-refunds/:
    get:
      tags:
        - Invoices
      summary: List invoice refunds
      description: >-
        Returns a list of payment-level refunds associated with a specific
        invoice. The refunds are sorted by creation date, with the most recent
        entries appearing first.
      operationId: invoices_get_invoice_refunds
      parameters:
        - description: The ID of the invoice to fetch refunds for
          in: path
          name: invoice_id
          required: true
          schema:
            description: The ID of the invoice to fetch refunds for
            title: Invoice Id
            type: integer
        - description: When provided, filters to objects with these IDs.
          in: query
          name: ids
          required: false
          schema:
            anyOf:
              - items:
                  type: integer
                type: array
              - type: 'null'
            description: When provided, filters to objects with these IDs.
            title: Ids
        - description: >-
            A cursor used for pagination. Fetches the page of results ending
            immediately before the object with the given ID. Cannot be used at
            the same time as `starting_after`.
          in: query
          name: ending_before
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results ending
              immediately before the object with the given ID. Cannot be used at
              the same time as `starting_after`.
            title: Ending Before
        - description: >-
            A cursor used for pagination. Fetches the page of results starting
            immediately after the given ID. Cannot be used at the same time as
            `ending_before`.
          in: query
          name: starting_after
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results starting
              immediately after the given ID. Cannot be used at the same time as
              `ending_before`.
            title: Starting After
        - description: The maximum number of items to return per page.
          in: query
          name: limit
          required: false
          schema:
            default: 10
            description: The maximum number of items to return per page.
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceRefundList'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    InvoiceRefundList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ExternalInvoiceRefundSchema'
          title: Data
          type: array
        has_more:
          default: false
          description: Whether there are more pages or data in this list.
          title: Has More
          type: boolean
        next_page:
          description: A URL linking to the next page of this list.
          title: Next Page
          type: string
        type:
          default: list
          description: Type of this object. Always `list`.
          title: Type
          type: string
      required:
        - data
        - next_page
      title: InvoiceRefundList
      type: object
    ExternalInvoiceRefundSchema:
      description: Invoice refunds represents all refunds for a given invoice.
      properties:
        amount:
          description: The amount refunded, in cents
          title: Amount
          type: integer
        created:
          description: The time at which this refund was created
          format: date-time
          title: Created
          type: string
        currency:
          anyOf:
            - $ref: '#/components/schemas/Currency'
            - const: ''
              type: string
          description: The currency of the refund
          title: Currency
        id:
          description: The unique identifier for the refund
          title: Id
          type: integer
      required:
        - id
        - created
        - amount
        - currency
      title: InvoiceRefund
      type: object
    Currency:
      enum:
        - USD
        - CAD
      title: Currency
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````