Apaleo icon

Apaleo

Interact with Apaleo API

Actions66

Folio → GET count folios

AI-generated

Overview

This node operation retrieves the count of folios from the Apaleo API based on various filtering criteria. It is useful for scenarios where you need to know the number of folios matching specific conditions without fetching the full folio details. For example, you might want to count how many folios are empty, have invoices, or belong to certain properties or companies within a date range.

Use Case Examples

  1. Count the number of empty folios for specific property IDs.
  2. Get the count of folios created within a certain date range that have invoices.
  3. Filter folios by type and check how many are currently open (not closed).

Properties

Name Meaning
Property IDs Filter folio list by property IDs.
Company IDs Filter folio list by company IDs.
Reservation IDs Filter folio list by reservation IDs.
Booking IDs Filter folio list by booking IDs.
Is Empty If true, only return empty folios (no unmoved charges, no unmoved payments, no allowances).
Checked Out On Accounts Receivable If true, only return folios that have been checked out on accounts receivables.
Exclude Closed If true, closed folios are filtered out from the result collection.
Has Invoices If true, only return folios that have been invoiced.
Created From The inclusive start time of the date of creation.
Created To The exclusive end time of the date of creation.
Updated From The inclusive start time of the date of the last update.
Updated To The exclusive end time of the date of the last update.
Only Main If true, only main folios are returned.
Type The type of the folio.
External Folio Code Allows filtering external folios by code.
Text Search Filter folios by debitor first/last name, company name, or folio ID.
Balance Filter Filter folios based on their balance (e.g., eq_5, lte_7).

Output

JSON

  • count - The total number of folios matching the specified filters.

Dependencies

  • An API key credential for Apaleo API authentication.

Troubleshooting

  • Ensure the API key credential is valid and has the necessary permissions to access folio data.
  • Check that date filters (Created From, Created To, Updated From, Updated To) are in the correct format and logical order.
  • If no folios are returned, verify that the filter criteria are not too restrictive or conflicting.
  • Handle API rate limits or network issues that might cause request failures.

Links

Discussion