---
updatedAt: 2026-06-04T23:05:44.000Z
agentTools:
  projectIndex: https://docs.qwist.com/llms.txt
---

# Fetching your Income Report

Fetch and interpret the income report: income streams, expenses, disposable and discretionary income.

# Authorization

Use the `access_token` from step 2 and the `id` from step 1 (or `flow_id` from the callback).

***

## Fetch the report

**GET** `https://api.finx-s.qwist.cloud/rest/income-reports/{id}`

```
Authorization: Bearer {access_token}
```

**Response:**

```json
{
  "period": 12,
  "income": {
    "summary": {
      "total": 34200.00,
      "low": 2750.00,
      "high": 3100.00,
      "average": 2850.00,
      "count": 12
    },
    "streams": [
      {
        "category": { "id": 2, "name": "Salary" },
        "first_booked_on": "2024-06-28",
        "last_booked_on": "2025-05-30"
      }
    ],
    "primary": {
      "category": { "id": 2, "name": "Salary" },
      "first_booked_on": "2024-06-28",
      "last_booked_on": "2025-05-30",
      "payment_partner": "Acme GmbH"
    }
  },
  "regular_expenses": [
    {
      "summary": {
        "total": 9600.00,
        "low": 800.00,
        "high": 800.00,
        "average": 800.00,
        "count": 12
      },
      "streams": [
        {
          "category": { "id": 15, "name": "Rent" },
          "first_booked_on": "2024-07-01",
          "last_booked_on": "2025-06-01"
        }
      ]
    },
    {
      "summary": {
        "total": 1556.40,
        "low": 129.70,
        "high": 129.70,
        "average": 129.70,
        "count": 12
      },
      "streams": [
        {
          "category": { "id": 42, "name": "Subscriptions" },
          "first_booked_on": "2024-07-10",
          "last_booked_on": "2025-06-10"
        }
      ]
    }
  ],
  "variable_expenses": [
    {
      "summary": {
        "total": 4320.80,
        "low": 190.40,
        "high": 520.00,
        "average": 360.07,
        "count": 12
      },
      "streams": [
        {
          "category": { "id": 31, "name": "Groceries" },
          "first_booked_on": "2024-07-03",
          "last_booked_on": "2025-05-29"
        }
      ]
    }
  ],
  "disposable_income": {
    "total": 23043.60,
    "low": 1820.30,
    "high": 2170.30,
    "average": 1920.30,
    "ratio": 0.67
  },
  "discretionary_income": {
    "total": 18722.80,
    "low": 1460.23,
    "high": 1810.23,
    "average": 1560.23,
    "ratio": 0.55
  }
}
```

***

## How to use this report

The income report gives you the raw numbers. What follows is how to turn them into a lending or affordability decision. These are common-sense thresholds - calibrate them to your product and risk appetite.

### Income: stability signals

| Signal                            | Strong               | Needs review          | Flag                  |
| --------------------------------- | -------------------- | --------------------- | --------------------- |
| Income streams identified         | 1+ regular stream    | Variable income only  | No income detected    |
| Primary income category           | Salary / Pension     | Freelance / irregular | Not identifiable      |
| `income.summary.low` vs `average` | Low ≥ 80% of average | 60–80%                | < 60% (high variance) |
| Months covered in period          | Full period          | Gaps of 1–2 months    | Gaps > 2 months       |

A large gap between `low` and `high` monthly income signals an irregular earner. For fixed loan repayments, underwrite to `income.summary.low`, not `average`.

### Affordability: key ratios

| Signal                          | Green  | Amber     | Red    |
| ------------------------------- | ------ | --------- | ------ |
| `disposable_income.ratio`       | > 0.30 | 0.15–0.30 | < 0.15 |
| `discretionary_income.ratio`    | > 0.20 | 0.10–0.20 | < 0.10 |
| Proposed repayment ÷ avg income | < 0.30 | 0.30–0.40 | > 0.40 |

`disposable_income` = income minus regular (fixed) expenses only. This is the most conservative affordability floor - what the user has left after rent, subscriptions, and existing loan payments.

`discretionary_income` = income minus all expenses including variable. This represents the true monthly surplus, but it's more volatile - use it as a secondary check rather than the primary decision signal.

> 📘 **Underwrite to the floor, not the average**
>
> For any fixed-repayment product (loan, BNPL, subscription), use `disposable_income.low` as your affordability base. Using `average` flatters borrowers with volatile income.

<br />

***

## Understanding the report

<Accordion title="income">

The `income` section summarises all identified incoming transactions.

<table>
  <thead><tr><th>Field</th><th>Description</th></tr></thead>
  <tbody>
    <tr><td><code>summary.total</code></td><td>Total income over the entire reporting period.</td></tr>
    <tr><td><code>summary.average</code></td><td>Average monthly income.</td></tr>
    <tr><td><code>summary.low / high</code></td><td>Lowest and highest monthly income detected.</td></tr>
    <tr><td><code>streams</code></td><td>Individual income sources, each associated with a category.</td></tr>
    <tr><td><code>primary</code></td><td>The user's main income stream (largest and most regular).</td></tr>
  </tbody>
</table>

</Accordion>

<Accordion title="regular_expenses">

Outgoing transactions on a predictable schedule (rent, insurance, subscriptions, loan repayments).

Each item in the array represents one expense category (e.g. Rent). The `summary` contains aggregates for that category over the reporting period.

</Accordion>

<Accordion title="variable_expenses">

Outgoing transactions without a fixed schedule (groceries, restaurants, shopping, petrol).

Same structure as `regular_expenses` - each item is one spending category with monthly aggregates.

</Accordion>

<Accordion title="disposable_income and discretionary_income">

<table>
  <thead><tr><th>Field</th><th>Formula</th><th>Meaning</th></tr></thead>
  <tbody>
    <tr><td><code>disposable_income</code></td><td>Income − regular expenses</td><td>What's left after fixed commitments</td></tr>
    <tr><td><code>discretionary_income</code></td><td>Income − regular expenses − variable expenses</td><td>True financial cushion</td></tr>
    <tr><td><code>ratio</code></td><td>Result ÷ income</td><td>Share of income remaining. <code>0.67</code> = 67% of income is disposable. A ratio above <code>1.0</code> indicates expenses exceed income.</td></tr>
  </tbody>
</table>

</Accordion>

***

***

## Error handling

The nrich API uses standard HTTP status codes and returns a structured error object in the response body.

### Error response structure

```json
{
  "error": {
    "code": 1000,
    "group": "client",
    "description": "Request body doesn't match input schema.",
    "data": {
      "redirect_uri": ["Not a valid URL."]
    }
  }
}
```

| Field         | Description                                                             |
| ------------- | ----------------------------------------------------------------------- |
| `code`        | nrich-specific numeric error code.                                      |
| `group`       | Error category: `client`, `user`, `bank`, `general`, or `connectivity`. |
| `description` | Short human-readable summary.                                           |
| `data`        | Field-level validation details (on `400` errors).                       |

### HTTP status codes

| Code                        | Meaning                                       | What to do                                                                              |
| --------------------------- | --------------------------------------------- | --------------------------------------------------------------------------------------- |
| `200 OK`                    | Success.                                      | Parse the response body.                                                                |
| `400 Bad Request`           | Invalid or missing parameters.                | Check `error.data` for the specific field.                                              |
| `401 Unauthorized`          | Token missing or expired.                     | Refresh using your `refresh_token` and retry.                                           |
| `403 Forbidden`             | Valid token, insufficient scope.              | Verify your credentials have the required scopes.                                       |
| `404 Not Found`             | Resource not found or not yet created.        | Confirm the ID is correct; some resources only exist after the user completes the flow. |
| `423 Resource Locked`       | Resource temporarily locked during migration. | Retry with exponential backoff (seconds → minutes).                                     |
| `500 Internal Server Error` | Unexpected server error.                      | Retry with backoff; contact support if it persists.                                     |

> 🚧 **Implement 423 retry logic**
>
> `423` can occur after system updates. Your application must handle it with incremental backoff - do not surface it directly to users.

<Accordion title="Common nrich error codes">

<table>
  <thead><tr><th>Code</th><th>Group</th><th>Description</th></tr></thead>
  <tbody>
    <tr><td><code>1000</code></td><td>client</td><td>Invalid request - check <code>data</code> for field details</td></tr>
    <tr><td><code>1002</code></td><td>client</td><td>Entity not found</td></tr>
    <tr><td><code>1008</code></td><td>client</td><td>Resource busy - implement retry with backoff</td></tr>
    <tr><td><code>10000</code></td><td>user</td><td>Login credentials are invalid</td></tr>
    <tr><td><code>10001</code></td><td>user</td><td>PIN is invalid</td></tr>
    <tr><td><code>10004</code></td><td>user</td><td>TAN is invalid</td></tr>
    <tr><td><code>10007</code></td><td>user</td><td>PIN change required at the bank</td></tr>
    <tr><td><code>20000</code></td><td>bank</td><td>Processing at the bank not possible</td></tr>
    <tr><td><code>20003</code></td><td>bank</td><td>Bank under maintenance</td></tr>
    <tr><td><code>30000</code></td><td>general</td><td>Processing at nrich not possible</td></tr>
    <tr><td><code>30005</code></td><td>general</td><td>Task has expired</td></tr>
    <tr><td><code>40000</code></td><td>connectivity</td><td>Bank not supported</td></tr>
  </tbody>
</table>

</Accordion>

<br />

<br />