AlphaAlpha Docs
API ReferenceBank transactions

Import MT940 bank statement file

POST
/bank-transactions/import-mt940
AuthorizationBearer <token>

In: header

Query Parameters

bankAccountId*string
autoMatch?boolean
Defaulttrue

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/bank-transactions/import-mt940?bankAccountId=string" \  -F file="string"
{
  "bankAccountId": "string",
  "bankAccountNumber": "string",
  "closingBalance": 0.1,
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "errorMessage": "string",
  "fileName": "string",
  "id": "string",
  "openingBalance": 0.1,
  "statementDate": "2019-08-24T14:15:22Z",
  "statementNumber": "string",
  "status": "PENDING",
  "subsidiaryId": "string",
  "tenantId": "string",
  "transactionsDuplicate": 0,
  "transactionsImported": 0,
  "transactionsMatched": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}