---
updatedAt: 2026-04-24T16:37:51.000Z
agentTools:
  projectIndex: https://developers.cloudbeds.com/llms.txt
---

# List transactions for an AR ledger

Retrieve a paginated list of transactions belonging to a specific accounts receivable (AR) ledger. You can filter by transaction state (posted or pending), date ranges, transaction type, and more. Use this endpoint to review the detailed financial activity within an AR ledger.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Accounting API",
    "version": "v0",
    "description": "The Accounting API provides programmatic access to financial data and operations for hospitality properties. Use this API to manage transactions, folios, deposits, accounts receivable ledgers, trial balances, and related accounting configuration.\n\n**Key concepts:**\n- **Transactions** represent individual financial entries (charges, payments,\n  taxes, fees) associated with a source such as a reservation, group profile,\n  or house account.\n\n- **Folios** organize transactions into logical groups within a source. You\n  can create custom folios and move or route transactions between them.\n\n- **Source Balances** provide a real-time financial summary (charges, payments,\n  balance due, tax/fee breakdowns) for a reservation, group profile, house\n  account, or accounts receivable ledger.\n\n- **Accounts Receivable (AR) Ledgers** track outstanding balances that have\n  been transferred from reservations or group profiles for later collection.\n\n- **Trial Balance** is a daily financial reconciliation report that summarizes\n  ledger activity across guest, deposit, and AR ledgers.\n\n- **Custom Codes** let you map Cloudbeds internal transaction codes to your\n  own chart-of-accounts codes and general ledger codes.\n\n\n**Authentication:**\nAll endpoints require a valid OAuth2 bearer token. Endpoints are protected by scopes: `read:payment` for read operations and `write:payment` for mutating operations. A few search endpoints use POST with a request body to support complex filter criteria; these require the `read:payment` scope.\n\n**Base URL:**\nUse `https://api.cloudbeds.com` for production and `https://api.cloudbeds-stage.com` for staging. All endpoint paths are prefixed with `/accounting/v1.0`.\n\n**Property context:**\nEvery request must include the `X-Property-ID` header to identify which property the request applies to.\n\n**Monetary amounts:**\nUnless otherwise noted, monetary amounts are expressed in the smallest currency unit (e.g., cents for USD). Use the `currencyScale` field to determine the number of decimal places.\n\n**Pagination:**\nPaginated endpoints return a `nextPageToken` value. Pass this token in subsequent requests to retrieve the next page of results. When `nextPageToken` is null or absent, you have reached the last page.\n"
  },
  "servers": [
    {
      "url": "https://api.cloudbeds.com"
    }
  ],
  "paths": {
    "/accounting/v1.0/accounts-receivable-ledgers/{accountsReceivableLedgerId}/transactions": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/propertyIdHeader"
          },
          {
            "$ref": "#/components/parameters/accountsReceivableLedgerId"
          },
          {
            "name": "pageToken",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Opaque token for cursor-based pagination. Pass the `nextPageToken` value from a previous response to retrieve the next page. Omit this parameter (or pass null) for the first page.\n"
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Number of results to return per page. If not specified, the server uses a default page size.\n"
          },
          {
            "$ref": "#/components/parameters/accountsReceivableLedgerTransactionsFilter"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "oauth2": [
              "read:payment"
            ]
          }
        ],
        "tags": [
          "Accounts Receivable Ledger"
        ],
        "operationId": "getAccountsReceivableLedgerTransactions",
        "summary": "List transactions for an AR ledger",
        "description": "Retrieve a paginated list of transactions belonging to a specific accounts receivable (AR) ledger. You can filter by transaction state (posted or pending), date ranges, transaction type, and more. Use this endpoint to review the detailed financial activity within an AR ledger.\n",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountsReceivableTransactionPaginated"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://hotels.cloudbeds.com/api/v1.2/oauth",
            "scopes": {
              "read:payment": "Read payment and transaction information",
              "write:payment": "Create, update, or delete payment and transaction data"
            }
          }
        }
      }
    },
    "parameters": {
      "accountsReceivableLedgerTransactionsFilter": {
        "name": "filter",
        "in": "query",
        "required": false,
        "explode": true,
        "schema": {
          "type": "object",
          "properties": {
            "transactionStates": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TransactionState"
              },
              "description": "transaction states"
            },
            "searchQuery": {
              "type": "string",
              "minLength": 3
            },
            "transactionDateFrom": {
              "type": "string",
              "format": "date"
            },
            "transactionDateTo": {
              "type": "string",
              "format": "date"
            },
            "checkinDateFrom": {
              "type": "string",
              "format": "date"
            },
            "checkinDateTo": {
              "type": "string",
              "format": "date"
            },
            "checkoutDateFrom": {
              "type": "string",
              "format": "date"
            },
            "checkoutDateTo": {
              "type": "string",
              "format": "date"
            },
            "transactionType": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Enum of transaction types",
                "enum": [
                  "TRANSFER",
                  "UNDO_TRANSFER",
                  "PAYMENT"
                ]
              }
            },
            "userId": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int64"
              }
            },
            "sortBy": {
              "type": "string",
              "enum": [
                "CHECKOUT_DATE",
                "CHECKIN_DATE",
                "TRANSACTION_DATE",
                "AMOUNT"
              ],
              "description": "Sort field"
            },
            "sortDirection": {
              "$ref": "#/components/schemas/sortDirection"
            }
          }
        }
      },
      "propertyIdHeader": {
        "name": "X-Property-ID",
        "in": "header",
        "required": true,
        "schema": {
          "type": "integer",
          "format": "int64"
        },
        "description": "Unique identifier of the property. Required for all requests to scope data to a specific property.\n"
      },
      "accountsReceivableLedgerId": {
        "name": "accountsReceivableLedgerId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer",
          "format": "int64"
        },
        "description": "Unique identifier of the accounts receivable ledger."
      }
    },
    "responses": {
      "400": {
        "description": "Bad Request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiAccountingError"
            }
          }
        }
      }
    },
    "schemas": {
      "ApiAccountingError": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "errorCode": {
            "$ref": "#/components/schemas/ApiErrorCode"
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "TransactionState": {
        "type": "string",
        "description": "The state of a transaction. POSTED transactions are finalized and appear on the guest folio. PENDING transactions have been created but are not yet finalized (e.g., an authorized payment that has not been captured).\n",
        "enum": [
          "POSTED",
          "PENDING"
        ]
      },
      "ApiErrorCode": {
        "type": "string",
        "description": "Error code indicating the type of failure. Use this value for programmatic error handling.\n- `UNKNOWN_ERROR` — An unclassified error occurred. Contact support if this persists.\n- `UNEXPECTED_ERROR` — An unexpected internal error occurred. Retry the request or contact support.\n- `ACCESS_DENIED` — You do not have permission to perform this operation on the specified property.\n- `INVALID_REQUEST` — The request body or parameters are invalid. Check the errorDetails field for specifics.\n- `NOT_UNIQUE_VALUE` — A value that must be unique (such as a name or code) already exists.\n- `INVALID_USER_INFORMATION` — The user information provided is invalid or could not be resolved.\n- `ENTITY_NOT_FOUND` — The requested entity was not found.\n- `ACCOUNTS_RECEIVABLE_LEDGER_FEATURE_DISABLED` — The accounts receivable ledger feature is not enabled for this property.\n- `BOOKING_NOT_FOUND` — The specified reservation or booking was not found.\n- `ACCOUNTS_RECEIVABLE_LEDGER_NOT_FOUND` — The specified accounts receivable ledger was not found.\n- `ACCOUNTS_RECEIVABLE_LEDGER_STATUS_ERROR` — The AR ledger is in a status that does not allow this operation (e.g., attempting to transfer to a closed ledger).\n- `BOOKING_STATUS_ERROR` — The reservation is in a status that does not allow this operation.\n- `GROUP_PROFILE_NOT_FOUND` — The specified group profile was not found.\n- `GROUP_PROFILE_STATUS_ERROR` — The group profile is in a status that does not allow this operation.\n- `GROUP_PROFILE_FOLIO_ERROR` — An error occurred with the group profile folio (e.g., the specified folio does not belong to the group profile).\n- `DEPOSIT_TRANSACTION_CAN_NOT_BE_TRANSFERRED` — The deposit transaction cannot be transferred.\n- `INVALID_ARGUMENT_ERROR` — A provided argument is invalid (e.g., an unrecognized filter or sort field). Check the errorDetails field for specifics.\n- `FOLIO_HAS_TRANSACTIONS` — The folio cannot be deleted because it has transactions assigned to it. Move or unroute the transactions first.\n- `SOURCE_HAS_ROUTED_TRANSACTIONS` — The source's folio configuration cannot be changed because it has routed transactions involving its folios (transactions originating from a reservation source, or routed onto a group source). Unroute the transactions first.\n",
        "enum": [
          "UNKNOWN_ERROR",
          "UNEXPECTED_ERROR",
          "ACCESS_DENIED",
          "INVALID_REQUEST",
          "NOT_UNIQUE_VALUE",
          "INVALID_USER_INFORMATION",
          "ENTITY_NOT_FOUND",
          "ACCOUNTS_RECEIVABLE_LEDGER_FEATURE_DISABLED",
          "BOOKING_NOT_FOUND",
          "ACCOUNTS_RECEIVABLE_LEDGER_NOT_FOUND",
          "ACCOUNTS_RECEIVABLE_LEDGER_STATUS_ERROR",
          "BOOKING_STATUS_ERROR",
          "GROUP_PROFILE_NOT_FOUND",
          "GROUP_PROFILE_STATUS_ERROR",
          "GROUP_PROFILE_FOLIO_ERROR",
          "DEPOSIT_TRANSACTION_CAN_NOT_BE_TRANSFERRED",
          "INVALID_ARGUMENT_ERROR",
          "FOLIO_HAS_TRANSACTIONS",
          "SOURCE_HAS_ROUTED_TRANSACTIONS"
        ]
      },
      "sortDirection": {
        "type": "string",
        "enum": [
          "asc",
          "desc"
        ],
        "x-enum-varnames": [
          "asc",
          "desc"
        ],
        "description": "Direction for sort - asc or desc"
      },
      "Actions": {
        "type": "array",
        "description": "Returns the list of actions available for the transaction",
        "items": {
          "$ref": "#/components/schemas/Action"
        }
      },
      "Action": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of Action"
          },
          "parameters": {
            "type": "object",
            "description": "Parameters required for the action, can be any object.\n",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "UserModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the user."
          },
          "firstName": {
            "type": "string",
            "description": "The name of the user."
          },
          "lastName": {
            "type": "string",
            "description": "The last name of the user."
          },
          "email": {
            "type": "string",
            "description": "User email"
          },
          "type": {
            "type": "string",
            "enum": [
              "REAL_USER",
              "SYSTEM_USER",
              "UNKNOWN_USER"
            ],
            "description": "REAL_USER - user was found, UNKNOWN_USER - user was not found, SYSTEM_USER - user_id = 0 OR null"
          }
        }
      },
      "AccountsReceivableTransactionPaginated": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountsReceivableTransactionResponse"
            }
          },
          "nextPageToken": {
            "$ref": "#/components/schemas/NextPageToken"
          }
        }
      },
      "AccountsReceivableTransactionResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the transaction."
          },
          "transactionDate": {
            "type": "string",
            "description": "Date time of the transaction.",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "description": "amount of the transaction."
          },
          "internalTransactionCode": {
            "type": "string",
            "description": "Internal Transaction Code"
          },
          "description": {
            "type": "string",
            "description": "Description"
          },
          "notes": {
            "type": "string",
            "description": "Notes"
          },
          "currency": {
            "type": "string",
            "description": "Currency ISO code"
          },
          "currencyScale": {
            "type": "integer",
            "description": "Number of decimal places for the currency."
          },
          "posted": {
            "type": "boolean",
            "description": "Flag to mark if transaction is posted"
          },
          "user": {
            "$ref": "#/components/schemas/UserModel"
          },
          "actions": {
            "$ref": "#/components/schemas/Actions"
          },
          "transferDetails": {
            "type": "object",
            "description": "Reservation or Group Profile details for which the transfer was made.",
            "properties": {
              "reservation": {
                "$ref": "#/components/schemas/ReservationTransferDetails"
              },
              "groupProfile": {
                "$ref": "#/components/schemas/GroupProfileTransferDetails"
              }
            }
          }
        }
      },
      "ReservationTransferDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Reservation ID."
          },
          "identifier": {
            "type": "string",
            "description": "Reservation Identifier."
          },
          "guestName": {
            "type": "string",
            "description": "Guest Name."
          },
          "status": {
            "$ref": "#/components/schemas/ReservationStatus"
          },
          "checkinDate": {
            "type": "string",
            "format": "date",
            "description": "Check in date."
          },
          "checkoutDate": {
            "type": "string",
            "format": "date",
            "description": "Checkout in date."
          }
        }
      },
      "GroupProfileTransferDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Group Profile ID."
          },
          "name": {
            "type": "string",
            "description": "Group Profile Name."
          },
          "code": {
            "type": "string",
            "description": "Group Profile Code."
          }
        }
      },
      "ReservationStatus": {
        "type": "string",
        "description": "Current status of a reservation. The status affects which accounting operations are permitted (e.g., charges cannot be added to a checked-out reservation).\n",
        "enum": [
          "checked_out",
          "checked_in",
          "confirmed",
          "canceled",
          "not_confirmed",
          "inquiry",
          "deleted",
          "no_show"
        ],
        "x-enum-varnames": [
          "checked_out",
          "checked_in",
          "confirmed",
          "canceled",
          "not_confirmed",
          "inquiry",
          "deleted",
          "no_show"
        ]
      },
      "NextPageToken": {
        "type": "string",
        "description": "Token for fetching the next page of results"
      }
    }
  }
}
```