---
title: "TransactionResource"
canonical: "https://openfinanceguide.com/en/stet/1.6.3/resources/transaction-resource"
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."
---

# TransactionResource

Type: `object` · Kind: ISO20022

ISO20022: Structure of a transaction.
- the [charges] property provides information on the charges, pre-advised or included in the entry amount.
- the [relatedParties] property specifies either the debtor or the creditor counterpart information
API:
- Amounts must always be set as positive values in complement with the Credit/Debit indicator.
- At least expectedBookingDate or bookingDate must be provided"

Fields:

- `resourceId`, [`ResourceId`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/resource-id.md)
- `entryReference`, `string` — Technical incremental identification of the transaction used for reconciliation by the AISP.
  Once assigned, this value cannot be changed for the relevant transaction.
  It is assumed that this value is unique and thus cannot be shared by several transactions.

  The reconciliation of transactions can be done by the [resourceId] or the [entryReference] field.
  If none of these fields cannot be provided, it is therefore suggested that the [remittanceInformation] field, once set, should not be updated afterwards.
  Actually the [additionalTransactionInformation] field can be used to update the details of a given transaction.
  Constraints: maxLength 40.
- `transactionAmount`, [`AmountType`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/amount-type.md), required
- `creditDebitIndicator`, [`CreditDebitIndicator`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/credit-debit-indicator.md), required
- `transactionAmountDetails`, [`AmountAndCurrencyExchange`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/amount-and-currency-exchange.md)
- `status`, [`TransactionStatus`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/transaction-status.md), required
- `endToEndId`, [`EndToEndId`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/end-to-end-id.md)
- `expectedBookingDate`, `string (date-time)` — Expected booking date of the transaction on the account if the transaction is not yet booked.
- `bookingDate`, `string (date-time)` — Real booking date of the transaction on the account
- `valueDate`, `string (date-time)` — Value date of the transaction on the account
- `transactionDate`, `string (date-time)` — Date used for specific purposes:
  - for card transaction: date of the commercial transaction
  - for credit transfer: acquiring date of the transaction as seen by the Payer's Bank
  - for direct debit: receiving date of the transaction as seen by the Payer's Bank
- `bankTransactionCode`, [`BankTransactionCode`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/bank-transaction-code.md)
- `charges`, [`Charges`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/charges.md)
- `relatedParties`, [`RelatedParties`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/related-parties.md)
- `remittanceInformation`, [`RemittanceInformation`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/remittance-information.md)
- `additionalTransactionInformation`, `string` — Additional information about reconciliation.
  Constraints: maxLength 500.
- `standingOrderCharacteristics`, [`StandingOrderCharacteristics`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/standing-order-characteristics.md)
- `merchantCategoryCode`, `string` — Category code conform to ISO 18245, related to the type of services or goods the merchant provides for the transaction.
  Constraints: maxLength 4.
- `_links`, [`TransactionLinks`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/transaction-links.md)
- `bookingPeriod`, [`Period`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/period.md)
- `cardId`, [`GenericIdentification`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/generic-identification.md)

## Example

```json
{
  "entryReference": "DHGF36DJ0",
  "transactionAmount": {
    "amount": 12.25,
    "currency": "EUR"
  },
  "creditDebitIndicator": "DBIT",
  "status": "BOOK",
  "bookingDate": "2020-02-14T00:00+01:00",
  "remittanceInformation": {
    "unstructured": [
      "Cheque n XXXXXXX"
    ]
  }
}
```

## Used by

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