---
updatedAt: 2026-06-02T10:56:26.000Z
agentTools:
  projectIndex: https://developers.cloudbeds.com/llms.txt
---

# Get totals of selected available transactions for fiscal documents (deprecated)

**Deprecated:** Use POST /fiscal-document/v1/fiscal-documents/transactions/summary instead.
Get totals of selected available transactions for fiscal documents based on the document type.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Fiscal document service API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.cloudbeds.com"
    }
  ],
  "paths": {
    "/fiscal-document/v1/fiscal-documents/transactions/summary": {
      "get": {
        "deprecated": true,
        "summary": "Get totals of selected available transactions for fiscal documents (deprecated)",
        "description": "**Deprecated:** Use POST /fiscal-document/v1/fiscal-documents/transactions/summary instead.\nGet totals of selected available transactions for fiscal documents based on the document type.\n",
        "operationId": "getSelectedTransactionsSummary",
        "tags": [
          "Fiscal Documents"
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "oauth2": [
              "read:reservation"
            ]
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/propertyIdHeader"
          },
          {
            "name": "forDocumentType",
            "deprecated": true,
            "in": "query",
            "description": "Document type for which transactions are related (deprecated, use `documentKind` instead).",
            "schema": {
              "$ref": "#/components/schemas/FiscalDocumentKind"
            }
          },
          {
            "name": "documentKind",
            "in": "query",
            "description": "Document type for which transactions are related.",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/FiscalDocumentKind"
            }
          },
          {
            "name": "sourceId",
            "in": "query",
            "description": "source ID.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 1
            }
          },
          {
            "name": "sourceKind",
            "in": "query",
            "description": "Filter by source kind.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SourceKind"
            }
          },
          {
            "name": "folioIds",
            "in": "query",
            "description": "Filter by folio IDs.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int64"
              },
              "minItems": 1
            }
          },
          {
            "name": "excludeTransactionIds",
            "in": "query",
            "description": "transaction IDs to exclude.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int64"
              },
              "minItems": 1
            }
          },
          {
            "name": "includeTransactionIds",
            "in": "query",
            "description": "transaction IDs to include.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int64"
              },
              "minItems": 1
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Invoice currency to express the totals in. When provided, totals are converted from the property currency using the property's configured exchange rates. When omitted, totals are returned in the property currency.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiscalDocumentTransactionsSummary"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://api.cloudbeds.com/auth/oauth/authorize",
            "tokenUrl": "https://api.cloudbeds.com/auth/oauth/token",
            "scopes": {
              "read:reservation": "Read fiscal documents and fiscalization configuration",
              "write:reservation": "Create, update, or void fiscal documents and fiscalization configuration"
            }
          }
        }
      }
    },
    "parameters": {
      "propertyIdHeader": {
        "name": "X-Property-ID",
        "in": "header",
        "required": true,
        "schema": {
          "type": "integer",
          "format": "int64",
          "minimum": 1
        },
        "description": "Property id"
      }
    },
    "schemas": {
      "FiscalDocumentTransactionsSummary": {
        "type": "object",
        "properties": {
          "chargesAndAdjustments": {
            "type": "string"
          },
          "taxes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "amount": {
                  "type": "string"
                }
              }
            }
          },
          "paid": {
            "type": "string"
          },
          "refunded": {
            "type": "string"
          },
          "total": {
            "type": "string"
          },
          "currency": {
            "type": "string",
            "description": "Currency the totals are expressed in. For an existing document, the currency it was issued in; for a selection, the requested invoice currency (converted at the property's configured rates), otherwise the property currency."
          },
          "propertyCurrency": {
            "type": "string",
            "description": "The property's base currency code."
          },
          "propertyCurrencyTotal": {
            "type": "string",
            "description": "The total in the property's base currency, shown as a reference alongside the total when the totals are expressed in another currency."
          },
          "exchangeRate": {
            "type": "string",
            "description": "The property's configured rate from its base currency into the currency the totals are expressed in (1 base unit = exchangeRate units), the rate an invoice issued now is locked at. Absent when the totals are in the property currency or no rate is configured."
          },
          "transactionCount": {
            "type": "integer",
            "description": "Number of transactions the current selection resolves to. Lets the caller warn before submitting a selection that would be rejected for exceeding maxTransactions."
          },
          "maxTransactions": {
            "type": "integer",
            "description": "Maximum number of transactions allowed on a single fiscal document."
          },
          "replacedReceipts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "For an invoice selection on a property whose invoice replaces the receipts that already declared its charges: the receipts issuing it would void, by number (or id while one is still waiting for its number), in issue order. Absent when nothing would be replaced."
          },
          "receiptReplacementConflict": {
            "type": "string",
            "description": "Why an invoice over this selection could not replace the receipts behind it — a receipt still being signed, or a covered charge not taken in full. The same message the create request refuses with, so a client can block issuing before submit. Absent when it can."
          }
        }
      },
      "SourceKind": {
        "type": "string",
        "description": "Kind of the source entity",
        "enum": [
          "GROUP_PROFILE",
          "RESERVATION",
          "HOUSE_ACCOUNT",
          "ACCOUNTS_RECEIVABLE_LEDGER"
        ]
      },
      "FiscalDocumentKind": {
        "type": "string",
        "description": "Kind of fiscal document",
        "enum": [
          "INVOICE",
          "CREDIT_NOTE",
          "RECEIPT",
          "RECTIFY_INVOICE",
          "PRO_FORMA_INVOICE",
          "REFUND_RECEIPT",
          "INVOICE_RECEIPT",
          "ADVANCE_INVOICE",
          "SETTLEMENT_INVOICE",
          "TAX_WITHHOLDING"
        ]
      }
    }
  }
}
```