---
title: "Update GL code resolution mode"
method: PUT
path: "/accounting/v1.0/custom-general-ledger-codes/mode"
tags: ["Custom General Ledger Codes"]
---

# Update GL code resolution mode

`PUT /accounting/v1.0/custom-general-ledger-codes/mode`

## Request

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

Switch the property between Standard and Advanced GL code resolution modes. Advanced honors conditional codes on payments to DEPOSITS accounts and routes payment-paying-AR rows through the AR single-account override; Standard posts to the base item-mapping GL codes.

## Headers

- `X-Property-ID` integer, required

## Request body

- GlCodeResolutionModeModel
  - `advanceMode` boolean, required: When true, the property uses Advanced GL code resolution (conditional codes on DEPOSITS-account payments, AR override on payment-paying-AR rows). When false, Standard mode applies.

## Response `200`

OK

## Other responses

- `400`: Bad Request

---

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