---
title: "List Vendor Credits"
method: GET
path: "/v1/platform/businesses/{business_id}/vendor-credits/"
tags: ["Vendor Credits"]
---

# List Vendor Credits

`GET /v1/platform/businesses/{business_id}/vendor-credits/`

## Request

- Base URL: `https://docs.thredfi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.thredfi.com/v1/platform/businesses/{business_id}/vendor-credits/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP basic
  - HTTP bearer
  - HTTP bearer

List all vendor credits for a business with optional filtering and pagination. Supports filtering by status, vendor, and date ranges.

## Path parameters

- `business_id` string, required

## Query parameters

- `page` integer
- `page_size` integer
- `received_at_end` string
- `received_at_start` string
- `search` string
- `source_bill_id` string, uuid
- `status` string
- `vendor_external_id` string
- `vendor_id` string

## Response `200`

- PaginatedVendorCreditList
  - `count` integer, required: Total number of items
  - `page_info` object, required
    - `total_count` integer, required: Total number of items (same as count)
    - `current_page` integer, required: Current page number (1-indexed)
    - `total_pages` integer, required: Total number of pages
    - `page_size` integer, required: Number of items per page
  - `results` VendorCredit[], required
    - `id` string, uuid, required: Unique vendor credit identifier
    - `external_id` string: Your external system identifier for this credit (used for idempotency)
    - `status` string, required: Credit status: draft, received, partially_applied, applied, void (computed from allocations)
    - `received_at` string, date-time, required: When the credit was received
    - `vendor` VendorEmbedded, required: Vendor details embedded in credit note and other response objects.
      - `id` string, uuid, required: Vendor UUID
      - `external_id` string, required: External vendor identifier
      - `display_name` string, required: Vendor display name
    - `source_bill_id` string, uuid, nullable, required: Bill ID this credit was created from (origin tracking, not allocation)
    - `line_items` VendorCreditLineItemResponse[], required: Array of credit line items
      - `amount` integer, required: Credit amount in cents
      - `expense_account_identifier` AccountIdentifier, required: Standard account identifier format used across the API.
        - `type` string: Account identifier type (always 'AccountId')
        - `id` string, uuid, required: Account UUID
      - `memo` string
      - `metadata` unknown
      - `tags` string[], required: Line item transaction tags
    - `allocations` VendorCreditBillAllocationResponse[], required: Array of bill allocations
      - `bill_id` string, uuid, required: UUID of the bill this credit is allocated to
      - `bill_number` string, required: Bill number (e.g., BILL-00019)
      - `amount_cents` integer, required: Amount allocated to this bill in cents
      - `bill_outstanding_balance_cents` integer, required: Current outstanding balance on the bill in cents (after all allocations)
      - `applied_at` string, date-time, required: When the allocation was applied
    - `tags` object[], required: Transaction tags for the credit
    - `total_amount` integer, required: Total credit amount in cents
    - `applied_amount` integer, required: Applied credit amount in cents
    - `currency` 'EUR' | 'GBP' | 'USD' | 'SEK' | 'NOK' | 'DKK' | 'ISK' | 'MYR' | 'SGD': Credit currency (e.g., GBP, EUR, USD) * `EUR` - Euro * `GBP` - British Pound * `USD` - US Dollar * `SEK` - Swedish Krona * `NOK` - Norwegian Krone * `DKK` - Danish Krone * `ISK` - Icelandic Króna * `MYR` - Malaysian Ringgit * `SGD` - Singapore Dollar
    - `document` DocumentFileUrl, required: Serializer for document file URL with metadata.
      - `url` string, uri, required: Presigned URL for document download
      - `expires_in` integer, required: Seconds until URL expires
      - `document_id` string, uuid, required: Document UUID
      - `file_name` string, required: Original document filename
      - `file_size` integer, required: File size in bytes
      - `mime_type` string, required: MIME type of the document
    - `created_at` string, date-time, required: Credit creation timestamp
    - `updated_at` string, date-time, required: Last update timestamp

## Other responses

- `400`: Validation errors in request data
- `401`: Authentication required - missing or invalid API key
- `403`: Permission denied - insufficient privileges
- `404`: Resource not found
- `409`: Conflict - resource already exists or invalid state transition
- `422`: Unprocessable entity - business logic validation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api.md) - [All operations](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api/revisions/0c1918254db3?raw)
