Transaction classification
Understand a transaction's status, its income or expense classification, and how its category was set.
Besides its category, each transaction returned by GET /data/transactions carries three more fields. Open Finance sets them when it collects the transactions.
status: whether the bank has booked the transaction or it is still pending.classification: the kind of money flow, such as regular income or a returned check, and where the money came from or went.categorizedBy: how the category was chosen.
Illustrative excerpt of a card purchase, showing selected fields:
{
"id": "example-transaction-id",
"status": "BOOKED",
"categoryCode": "5411",
"category": { "main": "FOOD_&_DRINKS", "sub": "GROCERIES", "categorizedBy": "MCC" },
"changedCategory": { "main": "FOOD_&_DRINKS", "sub": "GROCERIES", "categorizedBy": "MCC" },
"classification": { "type": "VARIABLE_EXPENSE", "source": "OTHER", "classifiedBy": "SYSTEM" },
"changedClassification": { "type": "VARIABLE_EXPENSE", "source": "OTHER", "classifiedBy": "SYSTEM" }
}Status
status | Meaning |
|---|---|
BOOKED | Recorded by the bank or card issuer. |
PENDING | Not booked yet, for example a recent card purchase. |
- Pending transactions are collected for current accounts and cards, not for loans, savings or securities. They are not requested from every provider.
- Collections refresh the account's pending transactions. A pending transaction can disappear once the bank stops reporting it as pending, for example after it is booked.
- A
BOOKEDrecord can also change or be replaced. See Saving and synchronizing transactions.
How the category was set
categorizedBy on category and changedCategory tells how the category was chosen:
categorizedBy | Meaning |
|---|---|
MCC | A card transaction, categorized from its merchant category code (categoryCode). |
KEYWORDS | A card transaction, categorized from words in its description. |
USER | On changedCategory only: a person chose the category. |
categorizedBy can be missing, for example on current-account transactions. Any value other than USER was set by Open Finance. For the category values themselves, see Transaction categories.
Classification
classification.type describes the money flow:
type | Meaning |
|---|---|
REGULAR_INCOME | Income that repeats about once a month under the same description, such as a salary. |
VARIABLE_INCOME | Any other income. |
REGULAR_EXPENSE | An expense that repeats monthly with the same description and amount, such as a fixed monthly payment. |
VARIABLE_EXPENSE | Any other expense. |
NEGATIVE_BEHAVIOR | A sign of payment difficulty, such as a returned check. source says which kind. |
UNCLASSIFIED | Not classified, for example a transaction without a description. |
classification.source says where the money came from or went. Its values depend on the type:
source | Meaning |
|---|---|
CHECK_RETURN | A returned check. |
STAND_OD_RETURN | A returned standing order or direct debit. |
PAST_DUE_RETURN | Arrears, such as a loan in arrears or an arrears settlement. |
WARNING_INDICATION | A warning charge, such as a fee for exceeding the credit line, a notice letter or a garnishment payment. |
source | Meaning |
|---|---|
ORGANIZATION | Salary, or another regular income that matches no other source. |
NATIONAL_INSURANCE | National Insurance payments and allowances, including reserve duty. |
INSURANCES | Insurance companies, pension and provident funds. |
TRANSFER | Bank transfers, including bit and PayBox. |
STANDING_ORDER | Standing orders and direct debits. |
CHECK | Checks and check deposits. |
CASH | Cash deposits and withdrawals. |
CREDIT_CARD | Payments to card companies. |
LOAN | Loan payments and loan funds. |
COMPENSATION | Refunds, grants and other compensation received. |
OTHER | None of the above. |
UNCLASSIFIED | Not classified. |
classifiedBy is SYSTEM when Open Finance set the classification.
Classification is based on the transaction's description and on similar transactions collected with it. It is recalculated each time the transaction is collected again, so it can change.
Changed values
changedCategory and changedClassification hold the values in effect. They match category and classification unless the category or classification was changed, for example through the API.
A change made by a person shows categorizedBy or classifiedBy as USER, and later collections keep it.
Next steps
Updated about 3 hours ago
