---
title: "Get a project prepayment"
method: GET
path: "/project-prepayments/{id}"
tags: ["Project Prepayments"]
---

# Get a project prepayment

`GET /project-prepayments/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/project-prepayments/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

200

- ProjectPrepayment
  - `id` string: The unique identifier for the object.
  - `type` 'services' | 'expenses' | 'products' | 'other_items': The category of fees this prepayment is applied against.
  - `date` string, date: The date of the prepayment. Will be in the form YYYY-MM-DD.
  - `details` string: A description of the prepayment.
  - `quantity` number, nullable: The quantity used to calculate the `fee`. `null` when the `fee` was entered directly.
  - `rate` number, nullable: The rate used to calculate the `fee`. `null` when the `fee` was entered directly.
  - `fee` number: The total prepaid amount available to offset future fees.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `project` object: The project this prepayment belongs to.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the project.
    - `client` object: The client associated with the project.
      - `id` string: The unique identifier for the object.
      - `name` string: The name of the client.
  - `invoiceItem` object: The invoice item the prepayment is billed and offset against.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the invoice item.
  - `amountUsed` number: The portion of the `fee` already consumed to offset fees on issued invoices. This is a calculated value.
  - `invoiced` boolean: Whether the prepayment has been added to an invoice.
  - `locked` boolean: Whether the prepayment can no longer be modified because it is on an invoice or has been used to offset fees.

## Other responses

- `400`: 400
- `404`: 404

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
