---
title: "Create a project revenue adjustment"
method: POST
path: "/project-revenue-adjustments"
tags: ["Project Revenue Adjustments"]
---

# Create a project revenue adjustment

`POST /project-revenue-adjustments`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/project-revenue-adjustments`
- Auth: HTTP bearer

## Request body

- object
  - `date` string, date, required: The date (`YYYY-MM-DD`) of the adjustment.
  - `revenueType` 'services' | 'expenses' | 'products' | 'other_items', required: The category of earned revenue this adjustment applies to.
  - `amount` number, required: The adjustment amount. Positive values increase earned revenue and negative values decrease it.
  - `notes` string, nullable: Any notes about the adjustment (max 255 chars).
  - `projectId` string, required: The project ID (`uuid`) for this adjustment.

## Response `200`

200

- ProjectRevenueAdjustment
  - `id` string: The unique identifier for the object.
  - `date` string, date: The date of the adjustment. Will be in the form YYYY-MM-DD.
  - `revenueType` 'services' | 'expenses' | 'products' | 'other_items': The category of earned revenue this adjustment applies to.
  - `amount` number: The adjustment amount. Positive values increase earned revenue and negative values decrease it.
  - `notes` string, nullable: Any notes about the adjustment.
  - `creditNoteId` string, nullable: The ID (`uuid`) of the credit note that created this adjustment when it was published, if any. Adjustments created by a credit note are read-only.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `project` object: The project this adjustment 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.

## Other responses

- `400`: 400

---

[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)
