---
title: "Posts all unposted charges for the whole length of stay."
method: PUT
path: "/finance/v1/folio-actions/{folioId}/post-charges"
tags: ["FolioActions"]
---

# Posts all unposted charges for the whole length of stay.

`PUT /finance/v1/folio-actions/{folioId}/post-charges`

## 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}/post-charges`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `folios.manage`, `admin`

Use this call for cases when the folio should be closed early. For example, when a guest wants to get the invoice right after the check-in
As posting charges before the service is delivered is potentially risky, this operation will fail if there are any unposted charges
further in the future than 7 days.
Posting open charges is only possible for fully prepaid folios.


Requires 'allowed action': PostOpenCharges.<br>You must have this scope: 'folios.manage'.<br>For fine-grained clients, you must have this permission: 'core.folios.post_unposted_charges'.

## Path parameters

- `folioId` string, required

## Response `204`

Success.

## Other responses

- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `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)
