---
title: "Post transactions to given account"
method: POST
path: "/v3/account/{accountId}"
tags: ["Create transactions"]
---

# Post transactions to given account

`POST /v3/account/{accountId}`

This operation will post transactions to account given by accountId

## Path parameters

- `accountId` string, biginteger, required

## Query parameters

- `auditUser` string, required

## Request body

- CreateTransactionResourceBody
  - `type` string, required — Transaction type
  - `amount` number, required — Transaction amount. It is possible to post only amount which is equal or more than minimal currency unit (For example, for EUR, SEK, NOK minimal unit is 0,01)
  - `currency` string, required — A valid ISO 4217 currency code
  - `text` string — Free input text
  - `additionalInfo` AdditionalInfo
    - `ref` string — Reference number
    - `message` string — Message text field
    - `paymentReceiver` string — Payment receiver name
    - `transferId` string — Transfer id
    - `text` string — Free text
    - `discLinkTransactionId` string — The transactionId of the original financial transaction of this discount
    - `discLinkPurchaseDetailId` string — The purchaseDetailsId of the original purchase detail of this discount
    - `paymentReference` string — Reference number used for the transaction
    - `payerName` string — First and last name of payer
    - `fromAddress` string — Address of payer
    - `fromZip` string — Zip code of payer
    - `fromCity` string — City of payer
    - `fromBankAccountNumber` string — Source account number
    - `fromCustomerAccountNumber` string — from the Enfuce system, where the payment was posted
    - `fromOrganizationalNumber` string — Sender Organizational number
    - `fromBankName` string — Source bank name
    - `toBic` string — Target BIC code, used for pain file generation
    - `fromBankAccountType` 'BBAN' | 'IBAN' | 'PLUSGIRO' | 'BANKGIRO' — The type of bank account
    - `toBankAccountType` 'BBAN' | 'IBAN' | 'PLUSGIRO' | 'BANKGIRO' — The type of bank account
    - `toBankAccountNumber` string — Target account number
    - `fileName` string — Name of processed file, typically for managing incoming payments.
    - `receivedFromCollectionAgency` boolean — Whether a collection payment transaction (CPT) is received from a collection agency or not. Only applies to payment transactions for invoices in collection.
    - `vatRate` string — Vat rate
    - `vatAmount` string — Vat amount
    - `billNumber` string — Bill number
  - `transactionDetails` string — Merchant name
  - `date` string, date — The date when transaction was posted at Enfuce in ISO-8601 date format (YYYY-MM-DD). Only one of date or postingDate can be used at a time. This field will always post a transaction even if this date is not valid.
  - `postingDate` string, date — The date when transaction was posted at Enfuce in ISO-8601 date format (YYYY-MM-DD). Only one of date or postingDate can be used at a time. When using this field an exception will be thrown if posting date is not valid. For a postingDate to be valid, it must be no later than the due date of the account's contract.
  - `transactionDate` string, date — The local date when the transaction was made in ISO-8601 date format (YYYY-MM-DD).

## Response `201`

Successful creation of transaction

- ResourceResponse
  - `description` string — Short description of the result of the action
  - `id` string — Will contain the ID of the resource that has been created or updated

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Account does not exist
- `500` — Internal server error

---

[API](https://skmtc.net/enfuce/apis/transfer-api.md) · [All operations](https://skmtc.net/enfuce/apis/transfer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enfuce/transfer-api/versions/dc4a41118f80/schema)
