Developers
Reference

Treasury

Treasury accounts #

GET/api/public/v1/quosuite/treasury/accounts
Scope : treasury:readlistTreasuryAccounts

Cash registers, bank accounts, gateways and wallets, with their balance.

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • typestringquery
    CASHBANKGATEWAYWALLETOTHER
  • includeArchivedbooleanquery

Response 200application/json

Success.

  • itemsTreasuryAccountDto[]required
    TreasuryAccountDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/treasury/accounts' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "b1830525-5a51-4f32-82e0-045e9eed84c5",
        "code": "BQ-STB",
        "label": "STB — compte courant",
        "type": "CASH",
        "currency": "TND",
        "balance": 15230.5,
        "openingBalance": 5000,
        "bankAccountId": "70007714-5be7-43d6-8c2d-04bd5d436275",
        "iban": null,
        "isDefault": true,
        "archived": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Treasury journal #

GET/api/public/v1/quosuite/treasury/transactions
Scope : treasury:readlistTreasuryTransactions

Inflows and outflows per account, with the balance after the operation and the reconciliation state. Allowed sort: date, amount, updatedAt (default -date).

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • pagenumberquery

    Page number (starting at 1).

  • pageSizenumberquery

    Items per page (100 at most).

  • sortstringquery

    Sort: comma-separated fields, - prefix for descending order. Allowed fields: see the route description. A final criterion on id makes pagination stable.

  • updatedSincestringquery

    Only returns items created or updated since this instant (ISO 8601, inclusive). With sort=updatedAt, this is the recommended form of an incremental sync.

  • accountIdstring (uuid)query
  • directionstringquery
    INOUT
  • statusstring[]query

    Statuses, comma-separated (default: all).

  • sourcestring[]query

    Origins, comma-separated.

  • dateFromstringquery
  • dateTostringquery

Response 200application/json

Success.

  • itemsTreasuryTransactionDto[]required
    TreasuryTransactionDto details
  • paginationPaginationDtorequired
    PaginationDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/treasury/transactions' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "4089a846-2887-4c40-82ff-1863178a6121",
        "accountId": "fa9cd117-8282-4f7e-8066-d9e2d4cfc031",
        "date": "2026-10-02",
        "direction": "IN",
        "source": "RENTAL_PROSPECT",
        "status": "PENDING",
        "amount": 500,
        "currency": "TND",
        "accountAmount": 500,
        "balanceAfter": 15230.5,
        "label": "Règlement FAC-2026-0042",
        "reference": null,
        "category": null,
        "partnerId": "4aa017a2-dbbd-47f2-88f6-954f71c20859",
        "paymentId": "5f6129c2-5b5b-4b8e-8eaa-fe6fc4fe0ee9",
        "expenseId": "00239a04-b1e6-4722-896b-401190c6db11",
        "reconciled": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "pageSize": 25,
      "totalItems": 132,
      "totalPages": 6,
      "limit": 100,
      "nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
      "hasMore": true
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Generated from the QuoSuite API OpenAPI contract v1.0.0.