---
title: "Export folio transactions as PDF"
method: POST
path: "/fiscal-document/v1/folios/export"
tags: ["Export"]
---

# Export folio transactions as PDF

`POST /fiscal-document/v1/folios/export`

Export folio list of transactions as PDF

## Headers

- `X-Property-ID` integer, required
- `Accept-Language` string

## Request body

- GetFolioExportRequest
  - `folioIds` integer[] — Include transactions from the specified folio IDs. If omitted, all transactions for the source are included.
  - `sourceKind` 'GROUP_PROFILE' | 'RESERVATION' | 'HOUSE_ACCOUNT' | 'ACCOUNTS_RECEIVABLE_LEDGER', required — Kind of the source entity
  - `sourceId` integer, required — source ID of folio
  - `creditDebitView` boolean — Should transactions be separated into debit/credits
  - `revenueCompact` boolean — Compact revenue transactions, valid only for sourceKind = RESERVATION
  - `dateFrom` string, date, nullable — Minimum date filter (inclusive). Required for sourceKind = HOUSE_ACCOUNT, optional for others.
  - `dateTo` string, date, nullable — Maximum date filter (inclusive), optional.
  - `format` 'PDF' | 'XLSX' — Export file format
  - `recipient` RecipientRequest
    - `type` 'GUEST' | 'CONTACT' | 'GROUP' | 'COMPANY' | 'GROUP_PROFILE' | 'GROUP_PROFILE_CONTACT', required — Type of the recipient.
    - `id` integer, required — ID of the recipient, references guestId, contactId, groupId, etc. depending on type.
    - `taxDocumentSource` 'GUEST_TAX_ID' | 'GUEST_DOCUMENT_NUMBER' — Source of the tax document number.

## Response `200`

Successful file download

---

[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/revisions/2faa857793e8/schema)
