---
title: "Read transaction details"
method: GET
path: "/v1/accounts/{account-id}/transactions/{transactionId}"
tags: ["Account Information Service (AIS)"]
---

# Read transaction details

`GET /v1/accounts/{account-id}/transactions/{transactionId}`

Reads transaction details from a given transaction addressed by "transactionId" on a given account addressed by "account-id".
This call is only available on transactions as reported in a JSON format.

**Remark:** Please note that the PATH might be already given in detail by the corresponding entry of the response of the
"Read Transaction List" call within the _links subfield.

## Path parameters

- `account-id` string, required — This identification is denoting the addressed account, where the transaction has been performed.
- `transactionId` string, required — This identification is given by the attribute transactionId of the corresponding entry of a transaction list.

## Headers

- `X-Request-ID` string, required
- `Digest` string
- `Signature` string
- `TPP-Signature-Certificate` string, byte
- `Consent-ID` string, required — ID of the corresponding consent object as returned by an account information consent request.
- `PSU-IP-Address` string, ipv4
- `PSU-IP-Port` string
- `PSU-Accept` string
- `PSU-Accept-Charset` string
- `PSU-Accept-Encoding` string
- `PSU-Accept-Language` string
- `PSU-User-Agent` string
- `PSU-Http-Method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'
- `PSU-Device-ID` string
- `PSU-Geo-Location` string

## Response `200`

OK

- object
  - `transactionsDetails` TransactionDetailsBody, required — Transaction details.
    - `transactionDetails` Transactions, required — Transaction details.
      - `transactionId` string — This identification is given by the attribute transactionId of the corresponding entry of a transaction list.
      - `entryReference` string — Is the identification of the transaction as used e.g. for reference for deltafunction on application level. The same identification as for example used within camt.05x messages.
      - `endToEndId` string — Unique end to end identity.
      - `batchIndicator` boolean — If this indicator equals true, then the related entry is a batch entry.
      - `batchNumberOfTransactions` integer — Shall be used if and only if the batchIndicator is contained and equals true.
      - `mandateId` string — Identification of Mandates, e.g. a SEPA Mandate ID.
      - `checkId` string — Identification of a Cheque.
      - `creditorId` string — Identification of Creditors, e.g. a SEPA Creditor ID.
      - `bookingDate` string, date — The date when an entry is posted to an account on the ASPSPs books.
      - `valueDate` string, date — The Date at which assets become available to the account owner in case of a credit.
      - `transactionAmount` Amount, required
        - `currency` string, required — ISO 4217 Alpha 3 currency code.
        - `amount` string, required — The amount given with fractional digits, where fractions must be compliant to the currency definition. Up to 14 significant figures. Negative amounts are signed by minus. The decimal separator is a dot. **Example:** Valid representations for EUR with up to two decimals are: * 1056 * 5768.2 * -1.50 * 5877.78
      - `currencyExchange` ReportExchangeRate[] — Array of exchange rates.
        - `sourceCurrency` string, required — ISO 4217 Alpha 3 currency code.
        - `exchangeRate` string, required
        - `unitCurrency` string, required
        - `targetCurrency` string, required — ISO 4217 Alpha 3 currency code.
        - `quotationDate` string, date, required
        - `contractIdentification` string
      - `creditorName` string — Creditor name.
      - `creditorAccount` AccountReference16CH — Reference to an account by either * IBAN, of a payment accounts, or * otherAccountIdentification, for payment accounts if there is no IBAN adapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy
        - `iban` string — IBAN of an account.
        - `otherAccountIdentification` string — Other payment account Identifier. adapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH
        - `currency` string — ISO 4217 Alpha 3 currency code.
        - `cashAccountType` string — ExternalCashAccountType1Code from ISO 20022.
      - `creditorAgent` string — BICFI
      - `ultimateCreditor` string — Ultimate creditor.
      - `debtorName` string — Debtor name.
      - `debtorAccount` AccountReference16CH — Reference to an account by either * IBAN, of a payment accounts, or * otherAccountIdentification, for payment accounts if there is no IBAN adapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy
        - `iban` string — IBAN of an account.
        - `otherAccountIdentification` string — Other payment account Identifier. adapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH
        - `currency` string — ISO 4217 Alpha 3 currency code.
        - `cashAccountType` string — ExternalCashAccountType1Code from ISO 20022.
      - `debtorAgent` string — BICFI
      - `ultimateDebtor` string — Ultimate debtor.
      - `remittanceInformationUnstructured` string — Unstructured remittance information.
      - `remittanceInformationUnstructuredArray` RemittanceInformationUnstructured[] — Array of unstructured remittance information.
      - `remittanceInformationStructured` string — Structured remittance information Max
      - `remittanceInformationStructuredArray` RemittanceInformationStructured[] — Array of structured remittance information.
        - `reference` string, required
        - `referenceType` string
        - `referenceIssuer` string
        - `SCORorQRRorIPI` 'SCOR' | 'QRR' | 'IPI'
        - `additionalRemittanceInformation` string
      - `entryDetails` EntryDetailsElement[] — Might be used by the ASPSP to transport details about transactions within a batch.
        - `endToEndId` string — Unique end to end identity.
        - `mandateId` string — Identification of Mandates, e.g. a SEPA Mandate ID.
        - `checkId` string — Identification of a Cheque.
        - `creditorId` string — Identification of Creditors, e.g. a SEPA Creditor ID.
        - `transactionAmount` Amount, required
          - `currency` string, required — ISO 4217 Alpha 3 currency code.
          - `amount` string, required — The amount given with fractional digits, where fractions must be compliant to the currency definition. Up to 14 significant figures. Negative amounts are signed by minus. The decimal separator is a dot. **Example:** Valid representations for EUR with up to two decimals are: * 1056 * 5768.2 * -1.50 * 5877.78
        - `currencyExchange` ReportExchangeRate[] — Array of exchange rates.
          - `sourceCurrency` string, required — ISO 4217 Alpha 3 currency code.
          - `exchangeRate` string, required
          - `unitCurrency` string, required
          - `targetCurrency` string, required — ISO 4217 Alpha 3 currency code.
          - `quotationDate` string, date, required
          - `contractIdentification` string
        - `creditorName` string — Creditor name.
        - `creditorAccount` AccountReference16CH — Reference to an account by either * IBAN, of a payment accounts, or * otherAccountIdentification, for payment accounts if there is no IBAN adapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy
          - `iban` string — IBAN of an account.
          - `otherAccountIdentification` string — Other payment account Identifier. adapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH
          - `currency` string — ISO 4217 Alpha 3 currency code.
          - `cashAccountType` string — ExternalCashAccountType1Code from ISO 20022.
        - `creditorAgent` string — BICFI
        - `ultimateCreditor` string — Ultimate creditor.
        - `debtorName` string — Debtor name.
        - `debtorAccount` AccountReference16CH — Reference to an account by either * IBAN, of a payment accounts, or * otherAccountIdentification, for payment accounts if there is no IBAN adapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy
          - `iban` string — IBAN of an account.
          - `otherAccountIdentification` string — Other payment account Identifier. adapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH
          - `currency` string — ISO 4217 Alpha 3 currency code.
          - `cashAccountType` string — ExternalCashAccountType1Code from ISO 20022.
        - `debtorAgent` string — BICFI
        - `ultimateDebtor` string — Ultimate debtor.
        - `remittanceInformationUnstructured` string — Unstructured remittance information.
        - `remittanceInformationUnstructuredArray` RemittanceInformationUnstructured[] — Array of unstructured remittance information.
        - `remittanceInformationStructured` RemittanceInformationStructured — Structured remittance information.
          - `reference` string, required
          - `referenceType` string
          - `referenceIssuer` string
          - `SCORorQRRorIPI` 'SCOR' | 'QRR' | 'IPI'
          - `additionalRemittanceInformation` string
        - `remittanceInformationStructuredArray` RemittanceInformationStructured[] — Array of structured remittance information.
          - `reference` string, required
          - `referenceType` string
          - `referenceIssuer` string
          - `SCORorQRRorIPI` 'SCOR' | 'QRR' | 'IPI'
          - `additionalRemittanceInformation` string
        - `purposeCode` 'SALA' | 'PENS' — ExternalPurpose1Code from ISO 20022. Values from ISO 20022 External Code List ExternalCodeSets_1Q2018 June 2018.
      - `additionalInformation` string — Might be used by the ASPSP to transport additional transaction related information to the PSU
      - `additionalInformationStructured` AdditionalInformationStructured — Is used if and only if the bookingStatus entry equals "information". Every active standing order related to the dedicated payment account result into one entry.
        - `standingOrderDetails` StandingOrderDetails, required — Details of underlying standing orders.
          - `startDate` string, date, required — The first applicable day of execution starting from this date is the first payment.
          - `frequency` 'Daily' | 'Weekly' | 'EveryTwoWeeks' | 'Monthly' | 'EveryTwoMonths' | 'Quarterly' | 'SemiAnnual' | 'Annual' | 'MonthlyVariable', required — The following codes from the "EventFrequency7Code" of ISO 20022 are supported: - "Daily" - "Weekly" - "EveryTwoWeeks" - "Monthly" - "EveryTwoMonths" - "Quarterly" - "SemiAnnual" - "Annual" - "MonthlyVariable"
          - `endDate` string, date — The last applicable day of execution. If not given, it is an infinite standing order.
          - `executionRule` 'following' | 'preceding' — "following" or "preceding" supported as values. This data attribute defines the behaviour when recurring payment dates falls on a weekend or bank holiday. The payment is then executed either the "preceding" or "following" working day. ASPSP might reject the request due to the communicated value, if rules in Online-Banking are not supporting this execution rule.
          - `withinAMonthFlag` boolean — This element is only used in case of frequency equals "Monthly". If this element equals false it has no effect. If this element equals true, then the execution rule is overruled if the day of execution would fall into a different month using the execution rule. Example: executionRule equals "preceding", dayOfExecution equals "02" and the second of a month is a Sunday. In this case, the transaction date would be on the last day of the month before. This would be overruled if withinAMonthFlag equals true and the payment is processed on Monday the third of the Month. Remark: This attribute is rarely supported in the market.
          - `monthsOfExecution` string[] — The format is following the regular expression \d{1,2}. The array is restricted to 11 entries. The values contained in the array entries shall all be different and the maximum value of one entry is 12. This attribute is contained if and only if the frequency equals "MonthlyVariable". Example: An execution on January, April and October each year is addressed by ["1", "4", "10"].
          - `multiplicator` integer — This is multiplying the given frequency resulting the exact frequency, e.g. Frequency=weekly and multiplicator=3 means every 3 weeks. Remark: This attribute is rarely supported in the market.
          - `dayOfExecution` '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' — Day of execution as string. This string consists of up two characters. Leading zeroes are not allowed. 31 is ultimo of the month.
          - `limitAmount` Amount
            - `currency` string, required — ISO 4217 Alpha 3 currency code.
            - `amount` string, required — The amount given with fractional digits, where fractions must be compliant to the currency definition. Up to 14 significant figures. Negative amounts are signed by minus. The decimal separator is a dot. **Example:** Valid representations for EUR with up to two decimals are: * 1056 * 5768.2 * -1.50 * 5877.78
      - `purposeCode` 'SALA' | 'PENS' — ExternalPurpose1Code from ISO 20022. Values from ISO 20022 External Code List ExternalCodeSets_1Q2018 June 2018.
      - `bankTransactionCode` string — Bank transaction code as used by the ASPSP and using the sub elements of this structured code defined by ISO 20022. This code type is concatenating the three ISO20022 Codes * Domain Code, * Family Code, and * SubFamiliy Code by hyphens, resulting in 'DomainCode'-'FamilyCode'-'SubFamilyCode'.
      - `proprietaryBankTransactionCode` string — Proprietary bank transaction code as used within a community or within an ASPSP e.g. for MT94x based transaction reports.
      - `balanceAfterTransaction` Balance — A single balance element.
        - `balanceAmount` Amount, required
          - `currency` string, required — ISO 4217 Alpha 3 currency code.
          - `amount` string, required — The amount given with fractional digits, where fractions must be compliant to the currency definition. Up to 14 significant figures. Negative amounts are signed by minus. The decimal separator is a dot. **Example:** Valid representations for EUR with up to two decimals are: * 1056 * 5768.2 * -1.50 * 5877.78
        - `balanceType` 'closingBooked' | 'expected' | 'openingBooked' | 'interimAvailable' | 'interimBooked' | 'forwardAvailable' | 'nonInvoiced', required — The following balance types are defined: - "closingBooked": Balance of the account at the end of the pre-agreed account reporting period. It is the sum of the opening booked balance at the beginning of the period and all entries booked to the account during the pre-agreed account reporting period. For card-accounts, this is composed of - invoiced, but not yet paid entries - "expected": Balance composed of booked entries and pending items known at the time of calculation, which projects the end of day balance if everything is booked on the account and no other entry is posted. For card accounts, this is composed of: - invoiced, but not yet paid entries - not yet invoiced but already booked entries and - pending items (not yet booked) For card-accounts: "money to spend with the value of a pre-approved credit limit on the card account" - "openingBooked": Book balance of the account at the beginning of the account reporting period. It always equals the closing book balance from the previous report. - "interimAvailable": Available balance calculated in the course of the account ?servicer?s business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified. For card-accounts, this is composed of: - invoiced, but not yet paid entries - not yet invoiced but already booked entries - "interimBooked": Balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified. - "forwardAvailable": Forward available balance of money that is at the disposal of the account owner on the date specified. - "nonInvoiced": Only for card accounts, to be checked yet.
        - `creditLimitIncluded` boolean — A flag indicating if the credit limit of the corresponding account is included in the calculation of the balance, where applicable.
        - `lastChangeDateTime` string, date-time — This data element might be used to indicate e.g. with the expected or booked balance that no action is known on the account, which is not yet booked.
        - `referenceDate` string, date — Indicates the date of the balance.
        - `lastCommittedTransaction` string — "entryReference" of the last commited transaction to support the TPP in identifying whether all PSU transactions are already known.
      - `_links` LinksTransactionDetails
        - `transactionDetails` HrefType, required — Link to a resource.
          - `href` string — Link to a resource.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method Not Allowed
- `406` — Not Acceptable
- `408` — Request Timeout
- `409` — Conflict
- `415` — Unsupported Media Type
- `429` — Too Many Requests
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/openbankingproject-ch/apis/swiss-nextgen-banking-api-framework.md) · [All operations](https://skmtc.net/openbankingproject-ch/apis/swiss-nextgen-banking-api-framework/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openbankingproject-ch/swiss-nextgen-banking-api-framework/versions/c32e86db40b4/schema)
