Fiscalization

Generate and download a report for one connection

Generates a country-specific report (e.g. SAF-T for Portugal) from the registration behind the given connection. Reports are a per-connection section, so a property holding more than one connection gets a distinct report per connection.

get/fiscal-document/v1/fiscalization/connections/{connectionId}/reports/{reportId}

Request

  • Base URL
    https://api.cloudbeds.com
  • URL
    https://api.cloudbeds.com/fiscal-document/v1/fiscalization/connections/{connectionId}/reports/{reportId}
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://api.cloudbeds.com/auth/oauth/authorize
      Token URL: https://api.cloudbeds.com/auth/oauth/token scopes: read:reservation

Path parameters

connectionIdinteger required
reportIdstring required

Report identifier (e.g., "saft")

Query parameters

yearinteger required

Report year

periodinteger

Report period (1-12 for monthly, 0 for full year)

Headers

X-Property-IDinteger required

Property id

Response

Report generated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.