---
title: "Create debit clearing transaction"
method: POST
path: "/v1/accounts/{account_id}/debit_clearing_transactions"
tags: ["Clearing transactions"]
---

# Create debit clearing transaction

`POST /v1/accounts/{account_id}/debit_clearing_transactions`

Creates a debit clearing transaction to the account specified in the request URL. Funds will be drawn **from** the account defined in the clearing profile **to** the account in the URL.

## Path parameters

- `account_id` string, required

## Request body

- object
  - `amount` SolarisServerDecoratorsMoney, required
    - `value` integer — The amount value.
    - `unit` string — The unit of the given value in cents.
    - `currency` string — The currency of the given value. Only EUR is currently supported.
  - `booking_type` string, required — The booking type to use for the debit clearing transaction. Must match one of the booking types defined in the clearing profile.
  - `description` string — A description for the transaction.
  - `clearing_profile_id` string, required — ID of the clearing profile to use for the debit clearing transaction.
  - `reference` string — A unique reference for the transaction.
  - `initiator_reference` string — Optional unique initiator reference for the transaction.

## Response `200`

The operation was successful.

- SolarisServerDecoratorsAccountClearingTransaction
  - `id` string — ID of the clearing transaction.
  - `status` 'ACCEPTED' | 'DECLINED' | 'EXECUTED' | 'REVIEW_NEEDED' | 'CANCELED' — The status of the clearing transaction.
  - `account_id` string — ID of the account for which the transaction was created.
  - `account_iban` string — The account's IBAN.
  - `clearing_account_iban` string — The clearing account's IBAN.
  - `amount` SolarisServerDecoratorsMoney
    - `value` integer — The amount value.
    - `unit` string — The unit of the given value in cents.
    - `currency` string — The currency of the given value. Only EUR is currently supported.
  - `description` string — A description of the transaction, which is visible to both the sender and the receiver.
  - `booking_type` 'CANCELLATION_BOOKING' | 'CancellationCardTransaction' | 'CANCELLATION_CARD_TRANSACTION_DIRECT' | 'CANCELLATION_CHARGE_CARD' | 'CANCELLATION_CHARGE_DUNNING' | 'CANCELLATION_CHARGE_SEPA_DIRECT_DEBIT_RETURN' | 'CANCELLATION_CRYPTO_EXCHANGE' | 'CANCELLATION_CURRENCY_EXCHANGE_PARTNER' | 'CANCELLATION_DIRECT_DEBIT' | 'CANCELLATION_DOUBLE_BOOKING' | 'CANCELLATION_INTERNAL_TRANSFER' | 'CANCELLATION_INTERNATIONAL_CREDIT_TRANSFER' | 'CANCELLATION_INTEREST_ACCRUED' | 'CANCELLATION_INTEREST_ANNUITY' | 'CANCELLATION_INTEREST_LOAN' | 'CANCELLATION_LOAN_PAYOUT' | 'CANCELLATION_REBOOKING' | 'CANCELLATION_REBOOKING_INTEREST' | 'CANCELLATION_SEPA_CREDIT_TRANSFER_RETURN' | 'CANCELLATION_SEPA_DIRECT_DEBIT' | 'CANCELLATION_SEPA_DIRECT_DEBIT_RETURN' | 'CANCELLATION_TRANSFER_ANNUITY' | 'CARD_DIRECT_DEBIT' | 'CARD_TRANSACTION' | 'CARD_TRANSACTION_DIRECT' | 'CASH_DEPOSIT_RETAIL' | 'CASH_WITHDRAWAL_RETAIL' | 'CHARGE_ACCOUNT_MAINTENANCE' | 'CHARGE_CARD' | 'CHARGE_DUNNING' | 'ChargeRecallRequest' | 'CHARGE_SEPA_DIRECT_DEBIT_RETURN' | 'ClosureBalanceTransfer' | 'COMMISSION_OVERDRAFT' | 'CREDIT_TRANSFER_CANCELLATION' | 'CRYPTO_EXCHANGE' | 'CURRENCY_EXCHANGE_PARTNER' | 'DIRECT_DEBIT' | 'FOREIGN_PAYMENT' | 'INTEREST_ACCRUED' | 'INTEREST_ANNUITY' | 'INTEREST_LOAN' | 'INTERNAL_TRANSFER' | 'INTERNATIONAL_CREDIT_TRANSFER' | 'LOAN_PAYOUT' | 'REBOOKING' | 'REBOOKING_INTEREST' | 'SEPA_CREDIT_TRANSFER' | 'SEPA_CREDIT_TRANSFER_RETURN' | 'SEPA_DIRECT_DEBIT' | 'SEPA_DIRECT_DEBIT_RETURN' | 'SEPAInstantCreditTransfer' | 'SepaInstantCreditTransferReturn' | 'TARGET2_CREDIT_TRANSFER' | 'TRANSFER_ANNUITY' | 'OTHER' — The type of the booking. See the [booking documentation](https://docs.solarisgroup.com/guides/digital-banking/account-management/#appendix-i-booking-types) for a list of explanations for each booking type.
  - `valuta_date` string — The valuta date of the transaction.
  - `transaction_type` string — The type of the transaction.
  - `reference` string — UUID reference for the transaction. Acts as an idempotency key.
  - `initiator_reference` string — UUID initiatiors reference for the transaction.

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/solarisgroup/apis/transactions.md) · [All operations](https://skmtc.net/solarisgroup/apis/transactions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/transactions/revisions/8df83424e244/schema)
