# camt.053 to MT940 Converter for Accounting Software (`hardreset83/camt-to-mt940-converter`) Actor

Convert camt.053 bank statements (all versions, also ZIP files) to MT940 for accounting software that cannot read camt: German bank layout with GVC codes and EREF, MREF, SVWZ, BIC, IBAN and name in field 86, or plain SWIFT. Also Norma 43, CFONB 120, CODA and BAI2.

- **URL**: https://apify.com/hardreset83/camt-to-mt940-converter.md
- **Developed by:** [Flavio D'Orio](https://apify.com/hardreset83) (community)
- **Categories:** Business, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$50.00 / 1,000 statement converteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## camt.053 to MT940 Converter for Accounting Software

Your bank now sends **camt.053** bank statements (XML), but your accounting software, ERP or bank reconciliation
tool only imports **MT940** (.sta)? This Actor converts camt.053 statements into **MT940 files** that older programs
read: in the **layout of the German banks** (business transaction codes **GVC**, booking text, **EREF+ MREF+ CRED+
SVWZ+** in the subfields ?20 to ?29, BIC, IBAN and name of the other party in ?30 to ?33), as German and Austrian
programs expect it, or as **plain SWIFT** with free text. Upload one file, a whole **ZIP** of your online banking
export or links, and download **MT940.sta**.

Banks are switching off MT940: in Germany camt.053 is now the standard for account statements, and more and more
banks stop delivering MT940 files. With this Actor your current software keeps working.

### What it does

- **camt.053 of every version** (.001.02 to .001.13) from German, Austrian, Swiss, Dutch, Italian, Nordic and other
  banks, any namespace, also many statements and many accounts in one file or in a ZIP (also ZIP in ZIP).
- **The codes of your bank**: German banks put their own code in the camt file (like NTRF+166+931): the GVC (166),
  the SWIFT type for field 61 (NTRF) and the text key extension (?34) are taken from it. Without it, the GVC comes
  from the ISO bank transaction code with the mapping table of the German banks: SEPA credit transfers 116 and 166,
  direct debits 105 and 171, batches 191, 192, 194, 195, returns 109 and 181, instant payments 118 and 168,
  standing orders, salary, card payments, cash, cheques, fees 808, interest 814 and more.
- **Field 86 as the banks write it**: every SEPA identifier starts a new subfield of 27 characters, lines of 65
  characters break only between subfields, never more than the format allows (texts that are too long are shortened
  and you get a warning). Reversals as RC and RD, foreign currency amounts as /OCMT/ in field 61.
- **Field 25 as older programs want it**: bank code and account number (37040044/0532013000) for German and
  Austrian accounts, the IBAN for the other countries, or always the IBAN.
- **Checks every statement**: opening balance plus the bookings must give the closing balance; statements of the
  same account must continue one another (otherwise a statement is probably missing); duplicates are written once.
  A missing opening or closing balance is computed from the other one and the bookings.
- **Batch entries** (collected membership fees, salary runs) as one booking, as the bank books them, or one booking
  per single payment with its own name, IBAN and references, so that your software can match each invoice.
- **Characters**: ISO 8859-1 with umlauts like the files of the German banks, strict SWIFT characters (Mueller) for
  very old programs, or UTF-8. A «?» in a text never breaks the subfields.
- **Also Norma 43 (Spain), CFONB 120 (France), CODA (Belgium) and BAI2 (United States)** become MT940.
- camt.052 (intraday reports) and camt.054 (notices) are not statements and are skipped for free, like payment
  orders, PDFs and other files inside a ZIP.

### What you get

- **MT940.sta** in the key-value store (Storage tab): every statement, account by account and day by day, ready to
  import. The extension can also be .940, .txt or .mt940.
- With more than one account: **one file per account** (MT940-DE89370400440532013000.sta) and **MT940.zip** with all
  of them.
- **Dataset**: one item per statement with the account, the dates, opening and closing balance, the number of
  bookings, the warnings (in English, German, Italian, Spanish or French), the name of the MT940 file and the MT940
  text itself, for Make, Zapier, n8n or your own code.
- **SUMMARY**: the numbers for automations (converted, without bookings, balances that do not add up, missing
  statements, duplicates, files skipped), the accounts with their period and balances, and the links to the files.

The Actor only reads the files you give it. It does not contact any bank.

### How to use it

1. Press **Start**: the input form is prefilled with an example camt.053 statement, so you see the MT940 at once
   (the example is free).
2. Upload your camt.053 file or the ZIP from your online banking, or add links to the files.
3. Choose the layout (German banks or SWIFT free text) and, if your program needs it, the characters, the account
   format and the file extension.
4. Open the **Storage** tab, download **MT940.sta** (or MT940.zip) and import it into your accounting software.

**Automation**: every day or every month, call the Actor from Make, Zapier, n8n or the Apify API with the link to the
new camt.053 file, then pass `fileUrl` from SUMMARY (or the `mt940` text of the dataset) to your import.

### Example output

The beginning of MT940.sta from the example statement:

```
:20:STMT-2026-11-04
:25:37040044/0532013000
:28C:00215/001
:60F:C261103EUR12500,00
:61:2611041104C1800,00NTRFNONREF//2026110400001
:86:166?00SEPA-GUTSCHRIFT?20EREF+INV-2026-118?21SVWZ+Invoice 2026-118
?30EXMPFRPPXXX?31FR7630006000011234567890189
?32Sample Customer Ltd
:61:2611041104D450,00NDDTNONREF//2026110400002
:86:105?00SEPA-BASISLASTSCHRIFT?20EREF+ORDER-7781?21MREF+MND-0042
?22CRED+DE98ZZZ09999999999?23SVWZ+Order 7781 office supp?24lies
?31DE02120300000000202051?32Office Supplies Example AG
```

One item of the dataset (shortened):

```json
{
  "status": "converted",
  "statusText": "Converted",
  "account": "DE89370400440532013000",
  "mt940Account": "37040044/0532013000",
  "currency": "EUR",
  "statementId": "STMT-2026-11-04",
  "statementNumber": "00215/001",
  "fromDate": "2026-11-04",
  "toDate": "2026-11-04",
  "openingBalance": 12500.0,
  "closingBalance": 13813.05,
  "bookings": 5,
  "totalCredits": 1920.0,
  "totalDebits": 606.95,
  "warnings": [],
  "sourceFormat": "camt.053.001.08",
  "mt940File": "MT940.sta"
}
```

### Who is it for

- **Companies, associations and freelancers** whose bank stopped MT940 while their accounting software, ERP or
  cash management tool still needs it.
- **Accountants and tax advisers** who get camt.053 files from their clients and import MT940.
- **IT and finance teams** that need MT940 for an old interface, a reconciliation tool or an archive, without
  changing the software now.
- **Developers, automations and AI agents**: a correct MT940 from one API call, without writing the format rules.

### Pricing

**Pay per event: $0.05 per statement converted** ($5 per 100 statements). Free: the example of the input form,
statements without bookings, statements whose balances do not add up (converted, with a warning), duplicates,
camt.052 and camt.054 files, files that are not statements and files that cannot be read. Set a maximum cost per run
in the run options if you like: the statements it pays for are converted (for every account the first ones, without
gaps), the others are left out and the message tells you how many.

### Privacy and security

The Actor runs in your own Apify account: your statements and the MT940 files stay in the storage of your run, and it
sends nothing anywhere else (it only downloads the links you give it). It never contacts a bank. XML files with
DOCTYPE or entity declarations are refused, ZIP files are opened with limits against archive bombs. Delete the run, or
set a short data retention, when you no longer need the files.

### FAQ

**Which layout do I need?** If your software is used in Germany or Austria, or it shows the GVC codes and the SEPA
references, take «German banks». If it only shows the text of each booking, both work; «SWIFT free text» is easier to
read for software outside Germany and Austria.

**My program does not accept the umlauts.** Choose «SWIFT characters only»: ä becomes ae, ß becomes ss, and signs
that SWIFT does not allow are written out or left out.

**My program wants the IBAN in field 25.** Choose «Always the IBAN» in «Account in field 25».

**The message says that a statement may be missing.** The opening balance of a statement is not the closing balance
of the statement before: add the missing day, or your software will refuse the import.

**Can I convert MT940 back to camt.053?** Not here: this Actor writes MT940. To read MT940 or camt.053 into Excel,
CSV or JSON, use a bank statement converter.

**Is a feature missing?** Ask in the Issues tab.

### Auf Deutsch

Wandelt **camt.053-Kontoauszüge in MT940** um, für Buchhaltungs- und ERP-Programme, die kein camt lesen: im
**Format der deutschen Banken** (DFÜ-Abkommen) mit **Geschäftsvorfallcode (GVC)**, Buchungstext, **EREF+, MREF+,
CRED+, SVWZ+** in ?20 bis ?29, BIC, IBAN und Name in ?30 bis ?33, Feld 25 als **BLZ/Kontonummer**, oder als
SWIFT-Freitext. Der GVC kommt aus dem Code Ihrer Bank im camt (z. B. NTRF+166+931) oder aus der Zuordnungstabelle der
Deutschen Kreditwirtschaft. Jeder Auszug wird geprüft (Anfangssaldo plus Umsätze gleich Schlusssaldo, lückenlose
Folge der Auszüge, Dubletten). Sammler auf Wunsch als Einzelposten, Umlaute in ISO 8859-1 oder nur SWIFT-Zeichen, eine
Datei pro Konto. Preis: 0,05 $ pro umgewandeltem Auszug; Beispiel, Auszüge ohne Umsätze und Fehler sind kostenlos.

### In italiano

Converte gli **estratti conto camt.053 in MT940** per i programmi di contabilità e gli ERP che non leggono il camt:
nel **formato delle banche tedesche** (codice GVC, testo, EREF+, MREF+, CRED+, SVWZ+, BIC, IBAN e nome della
controparte) o in testo libero SWIFT. Controlla ogni estratto (saldo iniziale più movimenti uguale saldo finale,
estratti che si susseguono senza buchi, doppioni), un file per conto, anche da ZIP. Legge anche Norma 43, CFONB 120,
CODA e BAI2. Prezzo: 0,05 $ per estratto convertito; l'esempio, gli estratti senza movimenti e gli errori sono gratis.

### En español

Convierte los **extractos camt.053 en MT940** para los programas de contabilidad y ERP que no leen camt: en el
**formato de los bancos alemanes** (código GVC, texto, EREF+, MREF+, CRED+, SVWZ+, BIC, IBAN y nombre) o en texto
libre SWIFT. También convierte **Norma 43** a MT940. Comprueba cada extracto (saldo inicial más movimientos igual a
saldo final, extractos seguidos sin huecos, duplicados), un fichero por cuenta, también desde un ZIP. Precio: 0,05 $
por extracto convertido; el ejemplo, los extractos sin movimientos y los errores son gratis.

### En français

Convertit les **relevés camt.053 en MT940** pour les logiciels de comptabilité et les ERP qui ne lisent pas le camt :
au **format des banques allemandes** (code GVC, libellé, EREF+, MREF+, CRED+, SVWZ+, BIC, IBAN et nom) ou en texte
libre SWIFT. Convertit aussi le **CFONB 120** et le **CODA** en MT940. Chaque relevé est vérifié (solde initial plus
opérations égal au solde final, relevés qui se suivent sans trou, doublons), un fichier par compte, aussi depuis un
ZIP. Prix : 0,05 $ par relevé converti ; l'exemple, les relevés sans opérations et les erreurs sont gratuits.

# Actor input Schema

## `statementFile` (type: `string`):

One bank statement file (camt.053 XML of any version, or Norma 43, CFONB 120, CODA or BAI2) or a ZIP archive with many of them, for example the export of your online banking. Other files inside the ZIP are skipped for free.

## `statementUrls` (type: `array`):

Direct links (https) to camt.053 files or ZIP archives. Useful from Make, Zapier, n8n or your own code.

## `statementContent` (type: `string`):

Paste the content of one camt.053 file. Prefilled with an example statement so you can try the Actor in one click (free): when you upload a file or add links, the example is ignored.

## `layout` (type: `string`):

German banks (DFÜ): business transaction code (GVC), booking text, EREF+, MREF+, CRED+, SVWZ+ in the subfields ?20 to ?29, BIC, IBAN and name of the other party in ?30 to ?33. This is what accounting software in Germany and Austria reads, and many other programs too. SWIFT free text: the same information as plain text, for software outside Germany and Austria.

## `characters` (type: `string`):

ISO 8859-1 keeps the umlauts (Müller), like the MT940 files of the German banks. SWIFT characters only writes Mueller and leaves out the signs that SWIFT does not allow, for strict or very old programs. UTF-8 keeps every letter.

## `accountFormat` (type: `string`):

Bank code/account number (37040044/0532013000) for German and Austrian accounts, as older programs expect it, and the IBAN for the other countries. Or always the IBAN.

## `splitBatches` (type: `boolean`):

Some entries group many payments (collected membership fees, a salary run). Off: one booking for the whole batch, as your bank books it. On: one booking for each single payment with its own name, IBAN and reference, so that your software can match each one (only when the payments add up to the entry).

## `reversalMarks` (type: `boolean`):

Reversals (cancelled bookings) are written with the marks RC and RD of the SWIFT standard. Switch off if your program only reads C and D.

## `fileExtension` (type: `string`):

The name of the files: MT940.sta, MT940.940, MT940.txt or MT940.mt940, as your program wants them.

## `language` (type: `string`):

The language of the status and warnings in the dataset.

## `deduplicate` (type: `boolean`):

The same statement found twice (the same file uploaded again, or inside two archives) is written and charged only once.

## Actor input object example

```json
{
  "statementUrls": [],
  "statementContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.08\">\n  <BkToCstmrStmt>\n    <GrpHdr>\n      <MsgId>DEMO-MT940-2026-1104</MsgId>\n      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>\n    </GrpHdr>\n    <Stmt>\n      <Id>STMT-2026-11-04</Id>\n      <ElctrncSeqNb>215</ElctrncSeqNb>\n      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>\n      <FrToDt>\n        <FrDtTm>2026-11-04T00:00:00+01:00</FrDtTm>\n        <ToDtTm>2026-11-04T23:59:59+01:00</ToDtTm>\n      </FrToDt>\n      <Acct>\n        <Id><IBAN>DE89370400440532013000</IBAN></Id>\n        <Ccy>EUR</Ccy>\n        <Ownr><Nm>Example Trading GmbH</Nm></Ownr>\n        <Svcr><FinInstnId><BICFI>EXMPDEFFXXX</BICFI><Nm>Example Bank AG</Nm></FinInstnId></Svcr>\n      </Acct>\n      <Bal>\n        <Tp><CdOrPrtry><Cd>PRCD</Cd></CdOrPrtry></Tp>\n        <Amt Ccy=\"EUR\">12500.00</Amt>\n        <CdtDbtInd>CRDT</CdtDbtInd>\n        <Dt><Dt>2026-11-03</Dt></Dt>\n      </Bal>\n      <Bal>\n        <Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp>\n        <Amt Ccy=\"EUR\">13813.05</Amt>\n        <CdtDbtInd>CRDT</CdtDbtInd>\n        <Dt><Dt>2026-11-04</Dt></Dt>\n      </Bal>\n      <Ntry>\n        <Amt Ccy=\"EUR\">1800.00</Amt>\n        <CdtDbtInd>CRDT</CdtDbtInd>\n        <Sts><Cd>BOOK</Cd></Sts>\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\n        <AcctSvcrRef>2026110400001</AcctSvcrRef>\n        <BkTxCd>\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn>\n          <Prtry><Cd>NTRF+166+000</Cd><Issr>DK</Issr></Prtry>\n        </BkTxCd>\n        <NtryDtls>\n          <TxDtls>\n            <Refs><EndToEndId>INV-2026-118</EndToEndId></Refs>\n            <Amt Ccy=\"EUR\">1800.00</Amt>\n            <CdtDbtInd>CRDT</CdtDbtInd>\n            <RltdPties>\n              <Dbtr><Pty><Nm>Sample Customer Ltd</Nm></Pty></Dbtr>\n              <DbtrAcct><Id><IBAN>FR7630006000011234567890189</IBAN></Id></DbtrAcct>\n            </RltdPties>\n            <RltdAgts><DbtrAgt><FinInstnId><BICFI>EXMPFRPPXXX</BICFI></FinInstnId></DbtrAgt></RltdAgts>\n            <RmtInf><Ustrd>Invoice 2026-118</Ustrd></RmtInf>\n          </TxDtls>\n        </NtryDtls>\n        <AddtlNtryInf>SEPA-GUTSCHRIFT</AddtlNtryInf>\n      </Ntry>\n      <Ntry>\n        <Amt Ccy=\"EUR\">450.00</Amt>\n        <CdtDbtInd>DBIT</CdtDbtInd>\n        <Sts><Cd>BOOK</Cd></Sts>\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\n        <AcctSvcrRef>2026110400002</AcctSvcrRef>\n        <BkTxCd>\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>RDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>\n          <Prtry><Cd>NDDT+105+000</Cd><Issr>DK</Issr></Prtry>\n        </BkTxCd>\n        <NtryDtls>\n          <TxDtls>\n            <Refs><EndToEndId>ORDER-7781</EndToEndId><MndtId>MND-0042</MndtId></Refs>\n            <Amt Ccy=\"EUR\">450.00</Amt>\n            <CdtDbtInd>DBIT</CdtDbtInd>\n            <RltdPties>\n              <Cdtr><Pty><Nm>Office Supplies Example AG</Nm><Id><PrvtId><Othr><Id>DE98ZZZ09999999999</Id><SchmeNm><Prtry>SEPA</Prtry></SchmeNm></Othr></PrvtId></Id></Pty></Cdtr>\n              <CdtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></CdtrAcct>\n            </RltdPties>\n            <RmtInf><Ustrd>Order 7781 office supplies</Ustrd></RmtInf>\n          </TxDtls>\n        </NtryDtls>\n        <AddtlNtryInf>SEPA-BASISLASTSCHRIFT</AddtlNtryInf>\n      </Ntry>\n      <Ntry>\n        <Amt Ccy=\"EUR\">120.00</Amt>\n        <CdtDbtInd>CRDT</CdtDbtInd>\n        <Sts><Cd>BOOK</Cd></Sts>\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\n        <AcctSvcrRef>2026110400003</AcctSvcrRef>\n        <BkTxCd>\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>IDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>\n          <Prtry><Cd>NDDT+192+000</Cd><Issr>DK</Issr></Prtry>\n        </BkTxCd>\n        <NtryDtls>\n          <Btch><PmtInfId>FEES-2026-11</PmtInfId><NbOfTxs>2</NbOfTxs></Btch>\n          <TxDtls>\n            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1001-2026-11</EndToEndId><MndtId>MANDATE-1001</MndtId></Refs>\n            <Amt Ccy=\"EUR\">60.00</Amt>\n            <CdtDbtInd>CRDT</CdtDbtInd>\n            <RltdPties>\n              <Dbtr><Pty><Nm>Example Member One</Nm></Pty></Dbtr>\n              <DbtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></DbtrAcct>\n            </RltdPties>\n            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>\n          </TxDtls>\n          <TxDtls>\n            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1002-2026-11</EndToEndId><MndtId>MANDATE-1002</MndtId></Refs>\n            <Amt Ccy=\"EUR\">60.00</Amt>\n            <CdtDbtInd>CRDT</CdtDbtInd>\n            <RltdPties>\n              <Dbtr><Pty><Nm>Example Member Two</Nm></Pty></Dbtr>\n              <DbtrAcct><Id><IBAN>AT611904300234573201</IBAN></Id></DbtrAcct>\n            </RltdPties>\n            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>\n          </TxDtls>\n        </NtryDtls>\n        <AddtlNtryInf>SEPA-SAMMELEINZUG</AddtlNtryInf>\n      </Ntry>\n      <Ntry>\n        <Amt Ccy=\"EUR\">142.95</Amt>\n        <CdtDbtInd>DBIT</CdtDbtInd>\n        <Sts><Cd>BOOK</Cd></Sts>\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\n        <ValDt><Dt>2026-11-03</Dt></ValDt>\n        <AcctSvcrRef>2026110400004</AcctSvcrRef>\n        <BkTxCd>\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>CCRD</Cd><SubFmlyCd>POSD</SubFmlyCd></Fmly></Domn>\n          <Prtry><Cd>NMSC+106+000</Cd><Issr>DK</Issr></Prtry>\n        </BkTxCd>\n        <NtryDtls>\n          <TxDtls>\n            <Amt Ccy=\"EUR\">142.95</Amt>\n            <CdtDbtInd>DBIT</CdtDbtInd>\n            <RltdPties><Cdtr><Pty><Nm>Example Fuel Station 12</Nm></Pty></Cdtr></RltdPties>\n            <RmtInf><Ustrd>Debit card 03.11. 17:42</Ustrd></RmtInf>\n          </TxDtls>\n        </NtryDtls>\n        <AddtlNtryInf>KARTENZAHLUNG</AddtlNtryInf>\n      </Ntry>\n      <Ntry>\n        <Amt Ccy=\"EUR\">14.00</Amt>\n        <CdtDbtInd>DBIT</CdtDbtInd>\n        <Sts><Cd>BOOK</Cd></Sts>\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\n        <AcctSvcrRef>2026110400005</AcctSvcrRef>\n        <BkTxCd>\n          <Domn><Cd>ACMT</Cd><Fmly><Cd>MDOP</Cd><SubFmlyCd>CHRG</SubFmlyCd></Fmly></Domn>\n          <Prtry><Cd>NCHG+808+000</Cd><Issr>DK</Issr></Prtry>\n        </BkTxCd>\n        <NtryDtls><TxDtls><RmtInf><Ustrd>Kontoführung Oktober</Ustrd></RmtInf></TxDtls></NtryDtls>\n        <AddtlNtryInf>ENTGELT</AddtlNtryInf>\n      </Ntry>\n    </Stmt>\n  </BkToCstmrStmt>\n</Document>\n",
  "layout": "german",
  "characters": "latin1",
  "accountFormat": "bankcode",
  "splitBatches": false,
  "reversalMarks": true,
  "fileExtension": "sta",
  "language": "en",
  "deduplicate": true
}
```

# Actor output Schema

## `statements` (type: `string`):

Every statement read from your camt files, with the MT940 file it went to.

## `files` (type: `string`):

The MT940 file with all your statements; for more than one account also one file per account and MT940.zip.

## `summary` (type: `string`):

The result of the run in short: counts, totals, problems and the links to the files.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "statementUrls": [],
    "statementContent": `<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.053.001.08">
  <BkToCstmrStmt>
    <GrpHdr>
      <MsgId>DEMO-MT940-2026-1104</MsgId>
      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>
    </GrpHdr>
    <Stmt>
      <Id>STMT-2026-11-04</Id>
      <ElctrncSeqNb>215</ElctrncSeqNb>
      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>
      <FrToDt>
        <FrDtTm>2026-11-04T00:00:00+01:00</FrDtTm>
        <ToDtTm>2026-11-04T23:59:59+01:00</ToDtTm>
      </FrToDt>
      <Acct>
        <Id><IBAN>DE89370400440532013000</IBAN></Id>
        <Ccy>EUR</Ccy>
        <Ownr><Nm>Example Trading GmbH</Nm></Ownr>
        <Svcr><FinInstnId><BICFI>EXMPDEFFXXX</BICFI><Nm>Example Bank AG</Nm></FinInstnId></Svcr>
      </Acct>
      <Bal>
        <Tp><CdOrPrtry><Cd>PRCD</Cd></CdOrPrtry></Tp>
        <Amt Ccy="EUR">12500.00</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Dt><Dt>2026-11-03</Dt></Dt>
      </Bal>
      <Bal>
        <Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp>
        <Amt Ccy="EUR">13813.05</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Dt><Dt>2026-11-04</Dt></Dt>
      </Bal>
      <Ntry>
        <Amt Ccy="EUR">1800.00</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400001</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NTRF+166+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <TxDtls>
            <Refs><EndToEndId>INV-2026-118</EndToEndId></Refs>
            <Amt Ccy="EUR">1800.00</Amt>
            <CdtDbtInd>CRDT</CdtDbtInd>
            <RltdPties>
              <Dbtr><Pty><Nm>Sample Customer Ltd</Nm></Pty></Dbtr>
              <DbtrAcct><Id><IBAN>FR7630006000011234567890189</IBAN></Id></DbtrAcct>
            </RltdPties>
            <RltdAgts><DbtrAgt><FinInstnId><BICFI>EXMPFRPPXXX</BICFI></FinInstnId></DbtrAgt></RltdAgts>
            <RmtInf><Ustrd>Invoice 2026-118</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>SEPA-GUTSCHRIFT</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy="EUR">450.00</Amt>
        <CdtDbtInd>DBIT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400002</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>RDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NDDT+105+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <TxDtls>
            <Refs><EndToEndId>ORDER-7781</EndToEndId><MndtId>MND-0042</MndtId></Refs>
            <Amt Ccy="EUR">450.00</Amt>
            <CdtDbtInd>DBIT</CdtDbtInd>
            <RltdPties>
              <Cdtr><Pty><Nm>Office Supplies Example AG</Nm><Id><PrvtId><Othr><Id>DE98ZZZ09999999999</Id><SchmeNm><Prtry>SEPA</Prtry></SchmeNm></Othr></PrvtId></Id></Pty></Cdtr>
              <CdtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></CdtrAcct>
            </RltdPties>
            <RmtInf><Ustrd>Order 7781 office supplies</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>SEPA-BASISLASTSCHRIFT</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy="EUR">120.00</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400003</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>IDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NDDT+192+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <Btch><PmtInfId>FEES-2026-11</PmtInfId><NbOfTxs>2</NbOfTxs></Btch>
          <TxDtls>
            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1001-2026-11</EndToEndId><MndtId>MANDATE-1001</MndtId></Refs>
            <Amt Ccy="EUR">60.00</Amt>
            <CdtDbtInd>CRDT</CdtDbtInd>
            <RltdPties>
              <Dbtr><Pty><Nm>Example Member One</Nm></Pty></Dbtr>
              <DbtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></DbtrAcct>
            </RltdPties>
            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>
          </TxDtls>
          <TxDtls>
            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1002-2026-11</EndToEndId><MndtId>MANDATE-1002</MndtId></Refs>
            <Amt Ccy="EUR">60.00</Amt>
            <CdtDbtInd>CRDT</CdtDbtInd>
            <RltdPties>
              <Dbtr><Pty><Nm>Example Member Two</Nm></Pty></Dbtr>
              <DbtrAcct><Id><IBAN>AT611904300234573201</IBAN></Id></DbtrAcct>
            </RltdPties>
            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>SEPA-SAMMELEINZUG</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy="EUR">142.95</Amt>
        <CdtDbtInd>DBIT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-03</Dt></ValDt>
        <AcctSvcrRef>2026110400004</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>CCRD</Cd><SubFmlyCd>POSD</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NMSC+106+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <TxDtls>
            <Amt Ccy="EUR">142.95</Amt>
            <CdtDbtInd>DBIT</CdtDbtInd>
            <RltdPties><Cdtr><Pty><Nm>Example Fuel Station 12</Nm></Pty></Cdtr></RltdPties>
            <RmtInf><Ustrd>Debit card 03.11. 17:42</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>KARTENZAHLUNG</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy="EUR">14.00</Amt>
        <CdtDbtInd>DBIT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400005</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>ACMT</Cd><Fmly><Cd>MDOP</Cd><SubFmlyCd>CHRG</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NCHG+808+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls><TxDtls><RmtInf><Ustrd>Kontoführung Oktober</Ustrd></RmtInf></TxDtls></NtryDtls>
        <AddtlNtryInf>ENTGELT</AddtlNtryInf>
      </Ntry>
    </Stmt>
  </BkToCstmrStmt>
</Document>`
};

// Run the Actor and wait for it to finish
const run = await client.actor("hardreset83/camt-to-mt940-converter").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "statementUrls": [],
    "statementContent": """<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.08\">
  <BkToCstmrStmt>
    <GrpHdr>
      <MsgId>DEMO-MT940-2026-1104</MsgId>
      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>
    </GrpHdr>
    <Stmt>
      <Id>STMT-2026-11-04</Id>
      <ElctrncSeqNb>215</ElctrncSeqNb>
      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>
      <FrToDt>
        <FrDtTm>2026-11-04T00:00:00+01:00</FrDtTm>
        <ToDtTm>2026-11-04T23:59:59+01:00</ToDtTm>
      </FrToDt>
      <Acct>
        <Id><IBAN>DE89370400440532013000</IBAN></Id>
        <Ccy>EUR</Ccy>
        <Ownr><Nm>Example Trading GmbH</Nm></Ownr>
        <Svcr><FinInstnId><BICFI>EXMPDEFFXXX</BICFI><Nm>Example Bank AG</Nm></FinInstnId></Svcr>
      </Acct>
      <Bal>
        <Tp><CdOrPrtry><Cd>PRCD</Cd></CdOrPrtry></Tp>
        <Amt Ccy=\"EUR\">12500.00</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Dt><Dt>2026-11-03</Dt></Dt>
      </Bal>
      <Bal>
        <Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp>
        <Amt Ccy=\"EUR\">13813.05</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Dt><Dt>2026-11-04</Dt></Dt>
      </Bal>
      <Ntry>
        <Amt Ccy=\"EUR\">1800.00</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400001</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NTRF+166+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <TxDtls>
            <Refs><EndToEndId>INV-2026-118</EndToEndId></Refs>
            <Amt Ccy=\"EUR\">1800.00</Amt>
            <CdtDbtInd>CRDT</CdtDbtInd>
            <RltdPties>
              <Dbtr><Pty><Nm>Sample Customer Ltd</Nm></Pty></Dbtr>
              <DbtrAcct><Id><IBAN>FR7630006000011234567890189</IBAN></Id></DbtrAcct>
            </RltdPties>
            <RltdAgts><DbtrAgt><FinInstnId><BICFI>EXMPFRPPXXX</BICFI></FinInstnId></DbtrAgt></RltdAgts>
            <RmtInf><Ustrd>Invoice 2026-118</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>SEPA-GUTSCHRIFT</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy=\"EUR\">450.00</Amt>
        <CdtDbtInd>DBIT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400002</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>RDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NDDT+105+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <TxDtls>
            <Refs><EndToEndId>ORDER-7781</EndToEndId><MndtId>MND-0042</MndtId></Refs>
            <Amt Ccy=\"EUR\">450.00</Amt>
            <CdtDbtInd>DBIT</CdtDbtInd>
            <RltdPties>
              <Cdtr><Pty><Nm>Office Supplies Example AG</Nm><Id><PrvtId><Othr><Id>DE98ZZZ09999999999</Id><SchmeNm><Prtry>SEPA</Prtry></SchmeNm></Othr></PrvtId></Id></Pty></Cdtr>
              <CdtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></CdtrAcct>
            </RltdPties>
            <RmtInf><Ustrd>Order 7781 office supplies</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>SEPA-BASISLASTSCHRIFT</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy=\"EUR\">120.00</Amt>
        <CdtDbtInd>CRDT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400003</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>IDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NDDT+192+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <Btch><PmtInfId>FEES-2026-11</PmtInfId><NbOfTxs>2</NbOfTxs></Btch>
          <TxDtls>
            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1001-2026-11</EndToEndId><MndtId>MANDATE-1001</MndtId></Refs>
            <Amt Ccy=\"EUR\">60.00</Amt>
            <CdtDbtInd>CRDT</CdtDbtInd>
            <RltdPties>
              <Dbtr><Pty><Nm>Example Member One</Nm></Pty></Dbtr>
              <DbtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></DbtrAcct>
            </RltdPties>
            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>
          </TxDtls>
          <TxDtls>
            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1002-2026-11</EndToEndId><MndtId>MANDATE-1002</MndtId></Refs>
            <Amt Ccy=\"EUR\">60.00</Amt>
            <CdtDbtInd>CRDT</CdtDbtInd>
            <RltdPties>
              <Dbtr><Pty><Nm>Example Member Two</Nm></Pty></Dbtr>
              <DbtrAcct><Id><IBAN>AT611904300234573201</IBAN></Id></DbtrAcct>
            </RltdPties>
            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>SEPA-SAMMELEINZUG</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy=\"EUR\">142.95</Amt>
        <CdtDbtInd>DBIT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-03</Dt></ValDt>
        <AcctSvcrRef>2026110400004</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>PMNT</Cd><Fmly><Cd>CCRD</Cd><SubFmlyCd>POSD</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NMSC+106+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls>
          <TxDtls>
            <Amt Ccy=\"EUR\">142.95</Amt>
            <CdtDbtInd>DBIT</CdtDbtInd>
            <RltdPties><Cdtr><Pty><Nm>Example Fuel Station 12</Nm></Pty></Cdtr></RltdPties>
            <RmtInf><Ustrd>Debit card 03.11. 17:42</Ustrd></RmtInf>
          </TxDtls>
        </NtryDtls>
        <AddtlNtryInf>KARTENZAHLUNG</AddtlNtryInf>
      </Ntry>
      <Ntry>
        <Amt Ccy=\"EUR\">14.00</Amt>
        <CdtDbtInd>DBIT</CdtDbtInd>
        <Sts><Cd>BOOK</Cd></Sts>
        <BookgDt><Dt>2026-11-04</Dt></BookgDt>
        <ValDt><Dt>2026-11-04</Dt></ValDt>
        <AcctSvcrRef>2026110400005</AcctSvcrRef>
        <BkTxCd>
          <Domn><Cd>ACMT</Cd><Fmly><Cd>MDOP</Cd><SubFmlyCd>CHRG</SubFmlyCd></Fmly></Domn>
          <Prtry><Cd>NCHG+808+000</Cd><Issr>DK</Issr></Prtry>
        </BkTxCd>
        <NtryDtls><TxDtls><RmtInf><Ustrd>Kontoführung Oktober</Ustrd></RmtInf></TxDtls></NtryDtls>
        <AddtlNtryInf>ENTGELT</AddtlNtryInf>
      </Ntry>
    </Stmt>
  </BkToCstmrStmt>
</Document>
""",
}

# Run the Actor and wait for it to finish
run = client.actor("hardreset83/camt-to-mt940-converter").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "statementUrls": [],
  "statementContent": "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<Document xmlns=\\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.08\\">\\n  <BkToCstmrStmt>\\n    <GrpHdr>\\n      <MsgId>DEMO-MT940-2026-1104</MsgId>\\n      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>\\n    </GrpHdr>\\n    <Stmt>\\n      <Id>STMT-2026-11-04</Id>\\n      <ElctrncSeqNb>215</ElctrncSeqNb>\\n      <CreDtTm>2026-11-05T06:00:00+01:00</CreDtTm>\\n      <FrToDt>\\n        <FrDtTm>2026-11-04T00:00:00+01:00</FrDtTm>\\n        <ToDtTm>2026-11-04T23:59:59+01:00</ToDtTm>\\n      </FrToDt>\\n      <Acct>\\n        <Id><IBAN>DE89370400440532013000</IBAN></Id>\\n        <Ccy>EUR</Ccy>\\n        <Ownr><Nm>Example Trading GmbH</Nm></Ownr>\\n        <Svcr><FinInstnId><BICFI>EXMPDEFFXXX</BICFI><Nm>Example Bank AG</Nm></FinInstnId></Svcr>\\n      </Acct>\\n      <Bal>\\n        <Tp><CdOrPrtry><Cd>PRCD</Cd></CdOrPrtry></Tp>\\n        <Amt Ccy=\\"EUR\\">12500.00</Amt>\\n        <CdtDbtInd>CRDT</CdtDbtInd>\\n        <Dt><Dt>2026-11-03</Dt></Dt>\\n      </Bal>\\n      <Bal>\\n        <Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp>\\n        <Amt Ccy=\\"EUR\\">13813.05</Amt>\\n        <CdtDbtInd>CRDT</CdtDbtInd>\\n        <Dt><Dt>2026-11-04</Dt></Dt>\\n      </Bal>\\n      <Ntry>\\n        <Amt Ccy=\\"EUR\\">1800.00</Amt>\\n        <CdtDbtInd>CRDT</CdtDbtInd>\\n        <Sts><Cd>BOOK</Cd></Sts>\\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\\n        <AcctSvcrRef>2026110400001</AcctSvcrRef>\\n        <BkTxCd>\\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn>\\n          <Prtry><Cd>NTRF+166+000</Cd><Issr>DK</Issr></Prtry>\\n        </BkTxCd>\\n        <NtryDtls>\\n          <TxDtls>\\n            <Refs><EndToEndId>INV-2026-118</EndToEndId></Refs>\\n            <Amt Ccy=\\"EUR\\">1800.00</Amt>\\n            <CdtDbtInd>CRDT</CdtDbtInd>\\n            <RltdPties>\\n              <Dbtr><Pty><Nm>Sample Customer Ltd</Nm></Pty></Dbtr>\\n              <DbtrAcct><Id><IBAN>FR7630006000011234567890189</IBAN></Id></DbtrAcct>\\n            </RltdPties>\\n            <RltdAgts><DbtrAgt><FinInstnId><BICFI>EXMPFRPPXXX</BICFI></FinInstnId></DbtrAgt></RltdAgts>\\n            <RmtInf><Ustrd>Invoice 2026-118</Ustrd></RmtInf>\\n          </TxDtls>\\n        </NtryDtls>\\n        <AddtlNtryInf>SEPA-GUTSCHRIFT</AddtlNtryInf>\\n      </Ntry>\\n      <Ntry>\\n        <Amt Ccy=\\"EUR\\">450.00</Amt>\\n        <CdtDbtInd>DBIT</CdtDbtInd>\\n        <Sts><Cd>BOOK</Cd></Sts>\\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\\n        <AcctSvcrRef>2026110400002</AcctSvcrRef>\\n        <BkTxCd>\\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>RDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>\\n          <Prtry><Cd>NDDT+105+000</Cd><Issr>DK</Issr></Prtry>\\n        </BkTxCd>\\n        <NtryDtls>\\n          <TxDtls>\\n            <Refs><EndToEndId>ORDER-7781</EndToEndId><MndtId>MND-0042</MndtId></Refs>\\n            <Amt Ccy=\\"EUR\\">450.00</Amt>\\n            <CdtDbtInd>DBIT</CdtDbtInd>\\n            <RltdPties>\\n              <Cdtr><Pty><Nm>Office Supplies Example AG</Nm><Id><PrvtId><Othr><Id>DE98ZZZ09999999999</Id><SchmeNm><Prtry>SEPA</Prtry></SchmeNm></Othr></PrvtId></Id></Pty></Cdtr>\\n              <CdtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></CdtrAcct>\\n            </RltdPties>\\n            <RmtInf><Ustrd>Order 7781 office supplies</Ustrd></RmtInf>\\n          </TxDtls>\\n        </NtryDtls>\\n        <AddtlNtryInf>SEPA-BASISLASTSCHRIFT</AddtlNtryInf>\\n      </Ntry>\\n      <Ntry>\\n        <Amt Ccy=\\"EUR\\">120.00</Amt>\\n        <CdtDbtInd>CRDT</CdtDbtInd>\\n        <Sts><Cd>BOOK</Cd></Sts>\\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\\n        <AcctSvcrRef>2026110400003</AcctSvcrRef>\\n        <BkTxCd>\\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>IDDT</Cd><SubFmlyCd>ESDD</SubFmlyCd></Fmly></Domn>\\n          <Prtry><Cd>NDDT+192+000</Cd><Issr>DK</Issr></Prtry>\\n        </BkTxCd>\\n        <NtryDtls>\\n          <Btch><PmtInfId>FEES-2026-11</PmtInfId><NbOfTxs>2</NbOfTxs></Btch>\\n          <TxDtls>\\n            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1001-2026-11</EndToEndId><MndtId>MANDATE-1001</MndtId></Refs>\\n            <Amt Ccy=\\"EUR\\">60.00</Amt>\\n            <CdtDbtInd>CRDT</CdtDbtInd>\\n            <RltdPties>\\n              <Dbtr><Pty><Nm>Example Member One</Nm></Pty></Dbtr>\\n              <DbtrAcct><Id><IBAN>DE02120300000000202051</IBAN></Id></DbtrAcct>\\n            </RltdPties>\\n            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>\\n          </TxDtls>\\n          <TxDtls>\\n            <Refs><PmtInfId>FEES-2026-11</PmtInfId><EndToEndId>FEE-1002-2026-11</EndToEndId><MndtId>MANDATE-1002</MndtId></Refs>\\n            <Amt Ccy=\\"EUR\\">60.00</Amt>\\n            <CdtDbtInd>CRDT</CdtDbtInd>\\n            <RltdPties>\\n              <Dbtr><Pty><Nm>Example Member Two</Nm></Pty></Dbtr>\\n              <DbtrAcct><Id><IBAN>AT611904300234573201</IBAN></Id></DbtrAcct>\\n            </RltdPties>\\n            <RmtInf><Ustrd>Membership fee November</Ustrd></RmtInf>\\n          </TxDtls>\\n        </NtryDtls>\\n        <AddtlNtryInf>SEPA-SAMMELEINZUG</AddtlNtryInf>\\n      </Ntry>\\n      <Ntry>\\n        <Amt Ccy=\\"EUR\\">142.95</Amt>\\n        <CdtDbtInd>DBIT</CdtDbtInd>\\n        <Sts><Cd>BOOK</Cd></Sts>\\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\\n        <ValDt><Dt>2026-11-03</Dt></ValDt>\\n        <AcctSvcrRef>2026110400004</AcctSvcrRef>\\n        <BkTxCd>\\n          <Domn><Cd>PMNT</Cd><Fmly><Cd>CCRD</Cd><SubFmlyCd>POSD</SubFmlyCd></Fmly></Domn>\\n          <Prtry><Cd>NMSC+106+000</Cd><Issr>DK</Issr></Prtry>\\n        </BkTxCd>\\n        <NtryDtls>\\n          <TxDtls>\\n            <Amt Ccy=\\"EUR\\">142.95</Amt>\\n            <CdtDbtInd>DBIT</CdtDbtInd>\\n            <RltdPties><Cdtr><Pty><Nm>Example Fuel Station 12</Nm></Pty></Cdtr></RltdPties>\\n            <RmtInf><Ustrd>Debit card 03.11. 17:42</Ustrd></RmtInf>\\n          </TxDtls>\\n        </NtryDtls>\\n        <AddtlNtryInf>KARTENZAHLUNG</AddtlNtryInf>\\n      </Ntry>\\n      <Ntry>\\n        <Amt Ccy=\\"EUR\\">14.00</Amt>\\n        <CdtDbtInd>DBIT</CdtDbtInd>\\n        <Sts><Cd>BOOK</Cd></Sts>\\n        <BookgDt><Dt>2026-11-04</Dt></BookgDt>\\n        <ValDt><Dt>2026-11-04</Dt></ValDt>\\n        <AcctSvcrRef>2026110400005</AcctSvcrRef>\\n        <BkTxCd>\\n          <Domn><Cd>ACMT</Cd><Fmly><Cd>MDOP</Cd><SubFmlyCd>CHRG</SubFmlyCd></Fmly></Domn>\\n          <Prtry><Cd>NCHG+808+000</Cd><Issr>DK</Issr></Prtry>\\n        </BkTxCd>\\n        <NtryDtls><TxDtls><RmtInf><Ustrd>Kontoführung Oktober</Ustrd></RmtInf></TxDtls></NtryDtls>\\n        <AddtlNtryInf>ENTGELT</AddtlNtryInf>\\n      </Ntry>\\n    </Stmt>\\n  </BkToCstmrStmt>\\n</Document>\\n"
}' |
apify call hardreset83/camt-to-mt940-converter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hardreset83/camt-to-mt940-converter"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/U75nJo0gPPxUZUS64/builds/bpq4u2fscHavQTX1l/openapi.json
