---
title: "Updates a config of a specific kind"
method: PUT
path: "/fiscal-document/v1/configs/{documentKind}"
tags: ["Configs"]
---

# Updates a config of a specific kind

`PUT /fiscal-document/v1/configs/{documentKind}`

Update document config.

## Path parameters

- `documentKind` 'INVOICE' | 'CREDIT_NOTE' | 'RECEIPT' | 'RECTIFY_INVOICE' | 'PRO_FORMA_INVOICE' | 'REFUND_RECEIPT' | 'INVOICE_RECEIPT' | 'ADVANCE_INVOICE' | 'SETTLEMENT_INVOICE' | 'TAX_WITHHOLDING', required — Kind of fiscal document

## Headers

- `X-Property-ID` integer, required

## Request body

- ConfigsUpdateRequest
  - `triggerEvents` DocumentTriggerEvent[]
  - `showDetailedTaxFee` boolean, required
  - `chargeBreakdown` boolean, required
  - `allowPendingTransactions` boolean
  - `useGuestLang` boolean, required
  - `dueDays` integer
  - `sequenceStartNumber` integer, nullable
  - `lang` string, nullable
  - `prefix` string, nullable
  - `separator` string, nullable
  - `suffix` string, nullable
  - `legalCompanyName` string, nullable
  - `title` object, nullable
  - `showLegalCompanyName` boolean, required
  - `includeRoomNumber` boolean, required
  - `useDocumentNumber` boolean, required
  - `updateInvoiceOnLinkDocument` boolean
  - `isCompact` boolean, required
  - `useInvoiceTitleAndNumbering` boolean — Flag to determine if invoice title, sequenceStartNumber, prefix and suffix should be used.
  - `useInvoiceDocumentSettings` boolean — Flag to determine if invoice document settings should be used.
  - `showCreditNotesAndReceipts` boolean — Flag to determine if linked credit notes and receipts should be rendered in Invoice.
  - `taxId1` string, nullable
  - `taxId2` string, nullable
  - `cpf` string, nullable
  - `customText` object, nullable
  - `logoId` integer, nullable
  - `dateDisplay` 'service_date' | 'transaction_date' | 'both' — Controls which date columns to show on the document

## Response `200`

OK

- ConfigsResponse
  - `propertyId` string
  - `documentKind` 'INVOICE' | 'CREDIT_NOTE' | 'RECEIPT' | 'RECTIFY_INVOICE' | 'PRO_FORMA_INVOICE' | 'REFUND_RECEIPT' | 'INVOICE_RECEIPT' | 'ADVANCE_INVOICE' | 'SETTLEMENT_INVOICE' | 'TAX_WITHHOLDING' — Kind of fiscal document
  - `showDetailedTaxFee` boolean
  - `showCreditNotesAndReceipts` boolean
  - `chargeBreakdown` boolean
  - `useGuestLang` boolean
  - `allowPendingTransactions` boolean
  - `dueDays` integer
  - `lang` string
  - `prefix` string
  - `suffix` string
  - `separator` string
  - `legalCompanyName` string
  - `title` object
  - `showLegalCompanyName` boolean
  - `includeRoomNumber` boolean
  - `useDocumentNumber` boolean
  - `isCompact` boolean
  - `taxId1` string
  - `taxId2` string
  - `cpf` string
  - `customText` object
  - `triggerEvents` DocumentTriggerEvent[]
  - `updateInvoiceOnLinkDocument` boolean
  - `useInvoiceDocumentSettings` boolean
  - `useInvoiceTitleAndNumbering` boolean
  - `dateDisplay` 'service_date' | 'transaction_date' | 'both' — Controls which date columns to show on the document

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/versions/2faa857793e8/schema)
