---
title: "Bulk-replace routing rules"
method: PUT
path: "/fiscal-document/v1/fiscalization/routing"
tags: ["Fiscal Connection Config"]
---

# Bulk-replace routing rules

`PUT /fiscal-document/v1/fiscalization/routing`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/fiscal-document/v1/fiscalization/routing`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://api.cloudbeds.com/auth/oauth/authorize`
    - Token URL: `https://api.cloudbeds.com/auth/oauth/token` scopes: `write:reservation`

## Headers

- `X-Property-ID` integer, required

## Request body

- FiscalRoutingListResponse
  - `routing` FiscalRoutingRule[], required
    - `channel` object
      - `country` string, required
      - `code` string, required
    - `flow` string, required
    - `connection` integer, nullable
    - `enabled` boolean, required
    - `inherits` string, nullable
    - `source` 'manual' | 'seeded' | 'inherited'
    - `updatedAt` string, date-time

## Response `200`

OK

- FiscalRoutingListResponse
  - `routing` FiscalRoutingRule[], required
    - `channel` object
      - `country` string, required
      - `code` string, required
    - `flow` string, required
    - `connection` integer, nullable
    - `enabled` boolean, required
    - `inherits` string, nullable
    - `source` 'manual' | 'seeded' | 'inherited'
    - `updatedAt` string, date-time

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/cloudbeds/apis/fiscal-document-service-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/fiscal-document-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/fiscal-document-service-api/revisions/9c2a47775e5e?raw)
