---
title: "Create expense"
method: POST
path: "/v1/expenses"
tags: ["Pay & Compensation", "Expenses"]
---

# Create expense

`POST /v1/expenses`

## Request

- Base URL: `https://gateway.remote.com`
- URL: `https://gateway.remote.com/v1/expenses`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `https://gateway.remote.com/company.manage`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `expense:write`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `expense:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - HTTP bearer

Creates an **approved** expense

## Authentication

This endpoint accepts any one of the following token types:

- **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).
- **Company-scoped access token (assertion)** (`OAuth2CompanyManagerAssertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant for a company manager. See [OAuth Assertion](https://developer.remote.com/docs/authorization-method-oauth-assertion).
- **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page, with the scopes they choose there. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).

## Scopes

Any one of the scopes in a token type's row is enough. `all:write` works too.

| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Company-scoped access token | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |
| Company-scoped access token (assertion) | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |
| Customer API token | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |

## Headers

- `Authorization` string, required

## Request body

- ParamsToCreateExpense: All the params needed to create an expense. An expense can be created using the `receipt` or `receipts` fields; however, these fields are not allowed together within the same object. For category selection, you can use either: - `category` (legacy enum values, deprecated but supported) - `expense_category_slug` (new hierarchical categories, recommended) If both are provided, `expense_category_slug` takes precedence.
  - `amount` integer, required: The expense amount in the specified currency, in cents.
  - `category` 'car_rental' | 'coworking_office' | 'education_training' | 'entertainment' | 'flight' | 'fuel' | 'gifts' | 'insurance' | 'lodging' | 'meals' | 'other' | 'parking_toll' | 'subscription' | 'tech_equipment' | 'telecommunication' | 'transport' | 'utilities' | 'vaccination_testing' | 'visa' | 'wellness' | 'coworking' | 'home_office' | 'phone_utilities' | 'travel', nullable: Categories allowed for an expense (legacy, deprecated).<br/> Note: `coworking`, `home_office`, `phone_utilities`, `travel` are deprecated and will be removed in the future.
  - `currency` string, required: The three-letter code for the expense currency.<br/> Examples: `"USD"`, `"EUR"`, `"CAD"`
  - `employment_id` string, required: The ID for the employment to which this expense relates.
  - `expense_category_slug` string, nullable: Slug of the expense category from the hierarchical categories system (recommended). Takes precedence over legacy category field.
  - `expense_date` string, required: Date of the purchase, which must be in the past
  - `receipt` Base64File: All the params needed upload a base64 file.
    - `content` string, binary, required: The content in base64 encoding.
    - `name` string, required: The file name.
  - `receipts` Base64File[]
    - `content` string, binary, required: The content in base64 encoding.
    - `name` string, required: The file name.
  - `reviewed_at` string, date-time: The date and time that the expense was reviewed in ISO8601 format. If not provided, it defaults to the current datetime.
  - `reviewer_id` string: If the person reviewing the expense is a user in Remote, you can provide its user id for this field. If a value is not provided, defaults to the user that generated the API token.
  - `tax_amount` integer: The tax portion of the expense amount, in cents. Use 0 if no tax applies.
  - `timezone` string: [TZ identifier](https://www.iana.org/time-zones)
  - `title` string, required: A short description of the expense (e.g., "New keyboard", "Team dinner").

## Response `201`

Success

- ExpenseResponse: Response containing a single expense record.
  - `data` object, required
    - `expense` union, required: An expense or a draft object, depending on the status. Drafts (status `draft` or `archived`) may have incomplete(null) data. The expense status `draft` occurs when users want to save expenses but don't want them to be considered for approval just yet. Only expenses in `pending` status can be approved or declined. It is possible to update a pending expense to status draft, or vice versa. There are no flows that change the status of an expense to `draft` automatically. This is purely a manual action by the employee.
      - intersection
        - required: `status`
        - [`Expense`](https://skmtc.dev/remote-com/apis/remote-api/revisions/777f36f27c65/schema?at=%2Fcomponents%2Fschemas%2FExpense)
      - intersection
        - required: `status`
        - [`DraftExpense`](https://skmtc.dev/remote-com/apis/remote-api/revisions/777f36f27c65/schema?at=%2Fcomponents%2Fschemas%2FDraftExpense)

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Too many requests

## Changes

- **2026-12-01** `777f36f27c65`: 4 info
  - the security scope `expense:write` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2CompanyManagerAssertion`
- **2026-12-01** `a7797b614386`: 4 info
  - the security scope `expense:write` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2CompanyManagerAssertion`
- …earlier changes not shown

[Operation history](https://skmtc.dev/remote-com/apis/remote-api/changes/v1/expenses/post.md)

---

[API](https://skmtc.dev/remote-com/apis/remote-api.md) - [All operations](https://skmtc.dev/remote-com/apis/remote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/remote-com/apis/remote-api/revisions/777f36f27c65?raw)
