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

statusMeaning
BOOKEDRecorded by the bank or card issuer.
PENDINGNot 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 BOOKED record 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:

categorizedByMeaning
MCCA card transaction, categorized from its merchant category code (categoryCode).
KEYWORDSA card transaction, categorized from words in its description.
USEROn 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:

typeMeaning
REGULAR_INCOMEIncome that repeats about once a month under the same description, such as a salary.
VARIABLE_INCOMEAny other income.
REGULAR_EXPENSEAn expense that repeats monthly with the same description and amount, such as a fixed monthly payment.
VARIABLE_EXPENSEAny other expense.
NEGATIVE_BEHAVIORA sign of payment difficulty, such as a returned check. source says which kind.
UNCLASSIFIEDNot classified, for example a transaction without a description.

classification.source says where the money came from or went. Its values depend on the type:

sourceMeaning
CHECK_RETURNA returned check.
STAND_OD_RETURNA returned standing order or direct debit.
PAST_DUE_RETURNArrears, such as a loan in arrears or an arrears settlement.
WARNING_INDICATIONA warning charge, such as a fee for exceeding the credit line, a notice letter or a garnishment payment.

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


Did this page help you?