---
title: "Create a folio"
method: POST
path: "/accounting/v1.0/folios"
tags: ["Folios"]
---

# Create a folio

`POST /accounting/v1.0/folios`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/accounting/v1.0/folios`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Implicit: `https://hotels.cloudbeds.com/api/v1.2/oauth`
    - Scopes: `write:payment`

Create a new folio for a source (reservation, group profile, or configuration). You must provide a name, the source details, and the transaction types assigned to it.

## Query parameters

- `propagateDownstream` boolean

## Headers

- `X-Property-ID` integer, required

## Request body

- CreateFolioRequest
  - `name` string, required: Folio name
  - `sourceId` string, required: Source ID (reservation ID or group profile ID)
  - `sourceKind` 'CONFIG' | 'RESERVATION' | 'GROUP_PROFILE', required: The type of source a folio belongs to. CONFIG indicates a folio configuration template, RESERVATION is an individual guest booking, and GROUP_PROFILE is a group booking profile.
  - `routeChildrenTypes` RouteChildrenType[]: Child transaction types that follow their parent to this folio
  - `transactionTypes` TransactionTypeIdentifier[], required: Transaction types to assign to this folio
    - `originId` string, required: Origin ID of the transaction type
    - `externalRelationKind` 'ROOM' | 'PAYMENT' | 'ITEM' | 'ITEM_POS' | 'ADDON' | 'RESERVATION' | 'ACCOUNTS_RECEIVABLE' | 'ROOM_REVENUE' | 'TAX' | 'FEE' | 'ADJUSTMENT' | 'PAYMENT_FEE' | 'BOOKABLE_RESOURCE' | 'CHANNEL_COMMISSION' | 'CITY_LEDGER' | 'GRATUITY' | 'CHECK_ITEM' | 'CHECK_SERVICE_CHARGE' | 'CHECK_DISCOUNT' | 'CHANNEL_COMMISSION_MANUAL', required: Kind of the external relation

## Response `201`

Created

- CreateFolioResponse
  - `id` string, required: Created folio ID

## Other responses

- `400`: Bad Request
- `403`: Access denied

---

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