List cash revenues
Returns a paginated list of all cash revenues of the company.
Request
GET /api/oauth/v2/resource/cash-revenues
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | integer | No | Start position (default: 0, min: 0) |
limit | integer | No | Number of results (default: 50, min: 1, max: 200) |
Response
Success (200 OK)
json
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"date": "2026-06-01",
"receiptNumber": 7,
"formattedReceiptNumber": "BE-2026-0007",
"revenue": 55.00,
"isStorno": false,
"paymentType": "cash",
"type": "income",
"amountGiven": 60.00,
"cachePaymentMethod": null,
"stornoMessage": null,
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
},
"invoice": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
}
}
],
"meta": {
"total": 64,
"offset": 0,
"limit": 50
}
}Response fields
| Field | Type | Description |
|---|---|---|
data | Array | List of cash revenues |
data[].id | string (UUID) | Unique ID of the cash revenue |
data[].date | string | null | Date of the cash revenue (YYYY-MM-DD) |
data[].receiptNumber | integer | null | Sequential receipt number |
data[].formattedReceiptNumber | string | null | Formatted receipt number |
data[].revenue | number | null | Revenue amount |
data[].isStorno | boolean | Reversal entry |
data[].paymentType | string | null | Payment type |
data[].type | string | null | Type of cash revenue |
data[].amountGiven | number | null | Amount given by customer |
data[].cachePaymentMethod | string | null | Cached payment method |
data[].stornoMessage | string | null | Reversal reason |
data[].customer | object | null | Assigned customer |
data[].customer.id | string (UUID) | Customer ID |
data[].customer.firstName | string | First name |
data[].customer.lastName | string | Last name |
data[].invoice | object | null | Linked invoice (UUID reference only) |
data[].invoice.id | string (UUID) | UUID of the linked invoice |
meta.total | integer | Total number of cash revenues |
meta.offset | integer | Current start position |
meta.limit | integer | Number of returned entries |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/cash-revenues?offset=0&limit=50" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope invoices not present |