# Wallet by BudgetBakers

> Read Wallet accounts, budgets, categories, and financial records.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/wallet-by-budgetbakers

## Actions

### Get API usage statistics

Get API usage statistics.

**Inputs**

- Period (`period`, text, required): Time period for statistics. **Formats:** - `Xdays` → daily granularity (max `366days`) - `Xweeks` → weekly granularity, ISO weeks, Monday start (max `53weeks`) - `Xmonths` → monthly granularity (max `13months`)

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "from": "example",
    "granularity": "daily",
    "period": "example",
    "to": "example",
    "total": 1,
    "usage": []
  }
}
```

### List accounts

List accounts.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Account type (`account_type`, text): Filter accounts by account type. Case-insensitive. One of: `General`, `Cash`, `CurrentAccount`, `CreditCard`, `SavingAccount`, `Bonus`, `Insurance`, `Investment`, `Loan`, `Mortgage`, `Overdraft`.
- Currency code (`currency_code`, text): Filter by currency code (ISO 4217). Exact match, case-insensitive. Example: USD.
- Archived (`archived`, true/false): Filter by archived status. true=archived only, false=active only, omit for all.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "accounts": [],
    "agentHints": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List budgets

List budgets.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Currency code (`currency_code`, text): Filter by currency code (ISO 4217). Exact match, case-insensitive. Example: USD.
- Closed (`closed`, true/false): Filter by closed flag. true = only closed budgets, false = only open budgets. Omit to return both.
- Type (`type`, text): Filter by budget type (exact match). BUDGET_ALL is a read-only legacy type that cannot be created. One of: `BUDGET_INTERVAL_WEEK` (Budget interval week), `BUDGET_INTERVAL_MONTH` (Budget interval month), `BUDGET_INTERVAL_YEAR` (Budget interval year), `BUDGET_ALL` (Budget all), `BUDGET_CUSTOM` (Budget custom).

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "budgets": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List categories

List categories.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Custom category (`custom_category`, true/false): Filter by category type. true=custom subcategories only, false=system categories only.
- Archived (`archived`, true/false): Filter by archived status. true=archived only, false=active only, omit for all.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "categories": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List financial records

List financial records.

**Inputs**

- Account ID (`account_id`, text): Filter by account ID(s), comma-separated (max 10). When omitted, returns records from all accounts. Use /accounts to find valid account IDs.
- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Category ID (`category_id`, text): Filter by category ID. Comma-separated for multiple values. Special value 'unknown' expands to IDs of 3 categories: Unknown income, Unknown expense, and Uncategorized. Max 10 values.
- Label ID (`label_id`, text): Filter by label ID - returns records that have this label
- Record type (`record_type`, text): Filter by record type. Matches on the amount sign (expense = amount 0); a legacy record with an amount of exactly 0 matches the type it was stored with. One of: `expense`, `income`.
- Is transfer (`is_transfer`, true/false): Filter by transfer state: true = only transfer records (paired or unpaired), false = only non-transfer records, omit = all. Independent of recordType.
- Record state (`record_state`, text): Filter by record state. Comma-separated for multiple values (e.g. recordState=reconciled,uncleared). Valid values: reconciled, cleared, uncleared.
- Source (`source`, text): Filter by record creation source. Comma-separated for multiple values (e.g. source=mcp,rest). Valid values: android, ios, web, rest, mcp, backend, missing.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "appliedRecordDateFilters": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "records": [],
    "total": 1
  }
}
```

### List labels

List labels.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Name (`name`, text): Filter by name. Requires text prefix. Example: eq.john.
- Archived (`archived`, true/false): Filter by archived status. true=archived only, false=active only, omit for all.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "labels": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List record rules

List record rules.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Name (`name`, text): Filter by name. Requires text prefix. Example: eq.john.
- Label ID (`label_id`, text): Filter by label ID. Returns entities that include this label.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "recordRules": [],
    "total": 1
  }
}
```

### List savings goals

List savings goals.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Name (`name`, text): Filter by name. Requires text prefix. Example: eq.john.
- Note (`note`, text): Filter goals by note. Requires text prefix. Example: contains.vacation.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "goals": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List standing order items

List standing order items.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Standing order ID (`standing_order_id`, text): Filter items by standing order ID. Omit for cross-standing-order queries.
- Dismissed (`dismissed`, true/false): Filter by dismissed status (true/false).

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "standingOrderItems": [],
    "total": 1
  }
}
```

### List standing orders

List standing orders.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return (1-200, default: 30). From 1 to 200.
- Offset (`offset`, number): Number of items to skip (default: 0). Used for pagination. At least 0.
- Name (`name`, text): Filter by name. Requires text prefix. Example: eq.john.
- Currency code (`currency_code`, text): Filter by currency code (ISO 4217). Exact match, case-insensitive. Example: USD.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "agentHints": [],
    "limit": 1,
    "nextOffset": 1,
    "offset": 1,
    "standingOrders": [],
    "total": 1
  }
}
```
