---
title: "Adds and directly posts a cancellation fee to the folio. If there are any fees configured for the property, an additional charge for each configured fee will be added. If a routing instruction is defined for the cancellation fee service type, the fee will be moved to the destination folio."
method: POST
path: "/finance/v1/folio-actions/{folioId}/cancellation-fee"
tags: ["FolioActions"]
---

# Adds and directly posts a cancellation fee to the folio. If there are any fees configured for the property, an additional charge for each configured fee will be added. If a routing instruction is defined for the cancellation fee service type, the fee will be moved to the destination folio.

`POST /finance/v1/folio-actions/{folioId}/cancellation-fee`

## Request

- Base URL: `https://api.apaleo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apaleo.com/finance/v1/folio-actions/{folioId}/cancellation-fee`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `charges.create`, `folios.manage`, `admin`

Adds a cancellation fee, and directly posts it. Cancellation fees can only be posted on guest folios.


Requires 'allowed action': AddCancellationFee.<br>You must have at least one of these scopes: 'charges.create, folios.manage'.<br>For fine-grained clients, you must have this permission: 'core.folios.post_cancellation_fee'.

## Path parameters

- `folioId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- MonetaryValueModel
  - `amount` number, double, required
  - `currency` string, required

## Response `200`

Success.

- AddedChargeModel
  - `id` string, required: The id of the added charge
  - `feeChargeIds` string[], nullable: The fee charges ids

## Other responses

- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `415`: Unsupported media type.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-finance-api.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-finance-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-finance-api/revisions/6f1d524c1ea7?raw)
