> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amlok.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Financial attributes

> Use detailed bank, card, accounting and commerce attributes with explicit periods, source coverage, calculation definitions and frozen evidence.

Browse the [searchable definition catalog](https://docs.amlok.io/data-model/definition-catalog.md) to read dimensions, metrics, attributes and categories in one table. Filter by type or business area; no download is required.

Financial attributes explain observed financial activity in detail. You receive category totals, timing and distribution measures, plus accounting, commerce, inventory and obligation observations in the existing Insights or Signal risk package.

## Understand what is counted

The current registry contains **12,955 attribute definitions**. Definitions include distinct account contexts, categories, periods and applicable statistics. They are not 12,955 independent facts about every borrower. The separate [184 scalar underwriting metrics](https://docs.amlok.io/api-reference/underwriting-dimensions.md) remain the approved keys for risk-policy rules.

Bank cash movement and issuer-card activity are separate. An issuer-card purchase creates a liability; paying the card bill moves bank cash and reduces that liability. Do not add both as operating spending. Merchant card-processing payments are a third perspective, representing sales collection and settlement, not the merchant's own credit-card spending.

## Retrieve the results

Start with the summary so large collections do not block your integration:

```bash theme={null}
curl --fail-with-body "$AMLOK_API_BASE_URL/v1/risk-packages/$RISK_PACKAGE_ID?view=summary" \
  --header "Authorization: Bearer $AMLOK_API_KEY"
```

Read `financial_attribute_summary` for catalog versions, evaluated and available counts. Retrieve a page of observations:

```bash theme={null}
curl --fail-with-body "$AMLOK_API_BASE_URL/v1/risk-packages/$RISK_PACKAGE_ID?view=section&section=financial_attributes&limit=25" \
  --header "Authorization: Bearer $AMLOK_API_KEY"
```

Use `attribute_key` for an exact key or `attribute_prefix` for a literal prefix, such as `cross_system.ar.`. These filters are mutually exclusive and only apply to the `financial_attributes` section. Follow `page.next_cursor` with the same package, section and filters until `has_more` is false. `total_items` counts matching observations, including unavailable values. A missing key in an older package does not imply a zero value.

Daily bank/card attributes use completed UTC days; current-day activity does not establish a full day of coverage. Cross-system observations may end partway through a day. Use the input manifest timestamps for the exact start-inclusive, end-exclusive interval; attribute date fields identify those calendar dates.

Each observation references `input_manifest_id`. Retrieve that input set with `view=section&section=financial_attribute_inputs&input_manifest_id=<id>`. Its resource IDs, evidence IDs, observation window and coverage identify the frozen inputs. Follow evidence IDs through [Evidence](https://docs.amlok.io/api-reference/evidence-traceability.md). A manifest is shared by attributes with the same input population; the definition determines which records and fields enter each calculation.

Console record drawers also use a reading view that preserves the assessment and coverage. An explicit notice identifies the detailed collections retrieved separately and provides their paged API paths and complete JSON export request.

PDF reports retain the assessment and an attribute coverage summary. Their report notice explicitly identifies the detailed attributes and input manifests available through JSON or the paged API; those two large collections are not printed in the PDF.

For bulk processing, request the package's JSON [export](https://docs.amlok.io/api-reference/export-formats.md). Full responses above the configured response limit return an explicit recovery response; they are not silently truncated. Historical packages retain their saved definitions and may predate the detailed attribute collections.

## Interpret the value

| Field | Meaning |
| - | - |
| `key` | Stable key for the calculation and its applicable context/period. |
| `value` / `unit` | Exact decimal-string result and unit. Ratios use fractional units, not percentages. |
| `status` | `available` or `unavailable`; unavailable values are null. |
| `window_start` / `window_end` | UTC dates for the half-open observation interval. |
| `as_of` | Knowledge cutoff for the assessment. Later source versions do not alter it. |
| `definition_version` / `calculation_version` | Pinned meaning and calculation implementation. |
| `coverage_ratio` | Stated coverage measure, not confidence in creditworthiness. |
| `missing_reason` / `reason_code` | Why the input scope cannot support the calculation. |
| `input_manifest_id` | Exact input population in this same immutable package. |

Transaction periods are anchored to the stated source observation window, which may be older than collection time. Read source freshness separately. Rolling periods that extend beyond proven account coverage are unavailable. Missing days are not zero-activity days. Category-specific zero values require enough classification detail to rule out matching activity; a broad operating-expense label cannot prove there were no software purchases.

Cross-system results use `data_scope: observed_records`. They describe the supplied invoices, bills, orders, inventory or other records. They do not assert complete business-wide coverage. A missing collection is unavailable. Differences in currency, date basis, source versions or required fields remain explicit.

## Attribute families

| Family | Examples | Input requirements |
| - | - | - |
| Banking | Directional/category totals, counts, shares, amount distribution, active days and recency | Posted records, account context, complete period coverage and supported categories |
| Issuer cards | Purchases, refunds, repayments, fees and category distributions | Credit-account context and normalized event direction |
| Receivables and payables | Aging buckets, overdue amounts and observed collection/payment timing | Dated invoices/bills, due balances, payment dates and currency |
| Payments and payouts | Observed capture/refund amounts, fees, failure shares and settlement delays | Captured amounts, supported status and actual timestamps |
| Commerce and subscriptions | Order cancellation/refund measures, fulfillment observations and recurring obligations | Order amounts/status, subscription terms and observation dates |
| Inventory | Owned/consigned value and expiry exposure | Carrying values, ownership and explicit expiry dates |
| Loans and installments | Maturity exposure, scheduled amounts and observed overdue installments | Loan balances, currencies, due dates and remaining amounts |
| Accounting and reconciliation | Journal/credit observations and matched-record coverage | Explicit ledger entries and reconciliation relationships |

A current subscription snapshot does not establish historical churn. Current inventory does not establish stock aging or liquidation value. Transaction descriptions and merchant codes do not independently verify business purpose. Default probabilities, expected loss and credit limits require their applicable validated models; this attribute library does not imply those outputs.

## Download and explore definitions

* [Bank and card attribute catalog](https://docs.amlok.io/downloads/financial-attribute-catalog.json)
* [Cross-system attribute catalog](https://docs.amlok.io/downloads/cross-system-attribute-catalog.json)
* [Transaction categorization](https://docs.amlok.io/data-model/transaction-categorization.md)

The bank/card download uses `financial-attribute-references-v1` encoding to avoid repeating definitions. Resolve `selector` in `selectors`, `period` in `periods`, `statistic` in `statistics` and `context` in `contexts`. Statistics supply formula, unit and value type; selectors supply required inputs; contexts explain accounting interpretation. `calculation_version` applies to every entry. This preserves all definitions while reducing download size.

In Console, open **Dev Tools → Data Lookup → Financial intelligence**. Search by key, category, period or source, then inspect the formula, required inputs and interpretation. This reference explains calculations; use Sandbox scenarios to execute them with fictional records.

## Test with coherent Sandbox records

Run `detailed_attribute_coverage` with any of the six fictional business profiles. Its history covers 35 complete months and the current partial month, totaling 36 calendar periods. The scenario supplies detailed category and cross-system records while preserving the distinction between bank cash, issuer-card activity and merchant settlements.

See the [detailed attribute scenario](https://docs.amlok.io/sandbox/sample-package.md#explore-detailed-financial-attributes) for requests, result traversal and interpretation. An available zero requires supported absence; missing coverage, restricted records, insufficient category specificity and sparse statistical samples remain unavailable. A business does not need every category in the registry to be populated.

## Read every bank and card attribute

The **12,805 bank and card definitions** combine an account context, direction, activity selection, observation period and statistic. Only combinations present in the published catalog are defined; do not construct arbitrary keys.

For example, `transactions.bank_cashflow.outflow.expense.inventory.rolling_30d.amount` means the **total bank cash paid for inventory and direct inputs over the last 30 complete days**. It does not mean inventory on hand, cost of goods sold or the amount eligible as collateral.

### Account context and direction

| Context | Meaning |
| - | - |
| `bank_cashflow` | Posted cash movement in depository accounts. Inflow is cash received and outflow is cash paid. |
| `card_activity` | Issuer credit-account activity. Direction follows the normalized account posting; a purchase can increase a liability without moving bank cash. |

Use `cash_effect`, `balance_sheet_effect` and `card_event_type` to interpret issuer-card activity. Merchant payment acceptance and processor payouts are separate cross-system observations. Do not add card purchases to the bank payments that later settle those purchases.

### Activity selection

| Selector | Meaning |
| - | - |
| `category:<id>` | A single supported leaf economic-purpose category. |
| `group:<id>` | Activity under a category group, including its supported descendants. Group totals overlap their leaf totals; do not add them together. |
| `posted:posted` | All eligible posted activity in the context and direction. |
| `external:external` | Activity explicitly identified as external under the transfer classification. |
| `unclassified:unclassified` | Activity whose purpose is unclassified or conflicting. |

The [category dictionary](https://docs.amlok.io/data-model/transaction-category-dictionary.md) explains every category and group. A merchant sector alone does not prove economic purpose.

### Observation periods

| Period key | Meaning |
| - | - |
| `rolling_7d` | Last 7 complete days, anchored to the stated observation window rather than the retrieval time. |
| `rolling_30d` | Last 30 complete days, anchored to the stated observation window rather than the retrieval time. |
| `rolling_90d` | Last 90 complete days, anchored to the stated observation window rather than the retrieval time. |
| `rolling_180d` | Last 180 complete days, anchored to the stated observation window rather than the retrieval time. |
| `rolling_365d` | Last 365 complete days, anchored to the stated observation window rather than the retrieval time. |
| `month_to_date` | Current calendar month through the last complete day, anchored to the stated observation window rather than the retrieval time. |
| `previous_calendar_month` | Previous complete calendar month, anchored to the stated observation window rather than the retrieval time. |

### Statistics

| Statistic | Unit | What it represents |
| - | - | - |
| `amount` | currency | Total money amount of the selected posted activity in one direction. It is not a net cash-flow or revenue figure. |
| `count` | count | Number of distinct current posted transactions in the selection. |
| `amount_share` | ratio | Selected activity as a share of all posted value in the same account context, currency, direction and period. |
| `mean` | currency | Average money amount of the selected transactions. |
| `median` | currency | Middle transaction amount, describing a typical transaction with less influence from extremes. |
| `p90` | currency | The transaction amount at the 90th percentile, describing the upper end of the observed amount distribution. |
| `maximum` | currency | Largest money amount of a selected transaction. |
| `stddev` | currency | Spread of the selected transaction amounts, expressed in currency units rather than a percentage. |
| `active_days` | days | Number of distinct UTC posting dates with selected activity. |
| `days_since_last` | days | Time since the latest selected posting, measured at the last complete day in the period rather than the retrieval date. |

The 90th percentile needs at least ten selected transactions; standard deviation needs at least three. Amount distributions and recency are unavailable for an empty selection. An available zero total or count requires sufficient coverage and classification to establish no matching activity.

### Browse definitions or download

Read and search every key in the [definition catalog](https://docs.amlok.io/data-model/definition-catalog.md). Its table shows the explanation, unit, category and context without opening a file.

* [Full attribute dictionary (CSV)](https://raw.githubusercontent.com/amloktech/docs/main/downloads/financial-attribute-dictionary.csv): one row and a plain-language meaning for every one of the 12,955 bank/card and cross-system keys, with units and context.
* [Cross-system dictionary](https://docs.amlok.io/data-model/cross-system-attribute-dictionary.md): all 150 cross-system definitions grouped by business area.
* [Definition meanings (JSON)](https://docs.amlok.io/downloads/financial-definitions.json): all scalar metric, category, group, axis and cross-system meanings, with source-catalog versions and checksums.
* [Assessment field glossary](https://docs.amlok.io/data-model/assessment-definitions.md): how to read statuses, evidence, units and supporting analyses.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.