---
title: "BankTransactionCode"
canonical: "https://openfinanceguide.com/en/stet/1.6.3/resources/bank-transaction-code"
edition: "STET PSD2 API 1.6.3.1"
source: "https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.2-openapi.yaml"
pdf: "https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-2-functional-model.pdf"
language: "en"
normative: "The normative text is the English PDF and OpenAPI file published by STET. This Markdown reproduces it for reading; where they differ, the PDF prevails."
license: "CC BY 3.0 FR (https://creativecommons.org/licenses/by/3.0/fr/), STET. Converted to Markdown by Open Finance Guide."
---

# BankTransactionCode

Type: `object` · Kind: ISO20022

Set of elements used to fully identify the type of underlying transaction resulting in an entry.

ISO20022 provides a list of [possible Bank Transaction Code combinations](https://www.iso20022.org/external_code_list.page)

Transaction codification might also be specified at national community level.

For instance a French Transaction codification is [available](https://www.cfonb.org/fichiers/20190913092943_Brochure_Codes_Operation_pour_restitutions_clienteles_V5_0_novembre_2018.pdf)

It applies with paragraph  2 code table using the following mapping:
  - domain must be set with "FR"
  - family must be set with one of the values that are provided in the [code Famille] column (e.g. "OPCA")
  - subFamily must be set with one of the values that are provided in the [code operation] column (e.g. "05")
  - code might be set with a proprietary transaction code that must be documented by the implementation.

Fields:

- `domain`, `string`, required — Set of elements used to provide the domain, the family and the sub-family of the bank transaction code, in a structured and hierarchical format.
  Constraints: maxLength 4.
- `family`, `string`, required — Specifies the family and the sub-family of the bank transaction code, within a specific domain, in a structured and hierarchical format.
  Constraints: maxLength 4.
- `subFamily`, `string`, required — Specifies the sub-product family within a specific family.
  Constraints: maxLength 4.
- `code`, `string` — Proprietary bank transaction code to identify the underlying transaction.
  Constraints: maxLength 35.
- `issuer`, `string` — Identification of the issuer of the proprietary bank transaction code.
  Constraints: maxLength 35.

## Example

```json
{
  "domain": "PMNT",
  "family": "CCRD",
  "subFamily": "POSC"
}
```

## Used by

- `GET /accounts/{accountResourceId}/transactions` (accountsTransactionsGet)
