# CAMT.053 to Excel and CSV Converter

**Use case:** 

Convert ISO 20022 CAMT.053 bank statement XML files into a clean Excel or CSV table: one row per transaction with booking date, signed amount, currency, counterparty name and IBAN, remittance text and end-to-end ID. Every statement is checked against its opening and closing balance. Paste your file or link it, then export.

## Input

```json
{
  "fileContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.02\">\n<BkToCstmrStmt><GrpHdr><MsgId>MSG1</MsgId></GrpHdr>\n<Stmt><Id>STMT-2024-01</Id><ElctrncSeqNb>1</ElctrncSeqNb>\n<FrToDt><FrDtTm>2024-01-01T00:00:00</FrDtTm><ToDtTm>2024-01-31T23:59:59</ToDtTm></FrToDt>\n<Acct><Id><IBAN>DE89370400440532013000</IBAN></Id><Ccy>EUR</Ccy><Svcr><FinInstnId><BIC>COBADEFFXXX</BIC></FinInstnId></Svcr></Acct>\n<Bal><Tp><CdOrPrtry><Cd>OPBD</Cd></CdOrPrtry></Tp><Amt Ccy=\"EUR\">1000.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Dt><Dt>2024-01-01</Dt></Dt></Bal>\n<Bal><Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp><Amt Ccy=\"EUR\">1755.25</Amt><CdtDbtInd>CRDT</CdtDbtInd><Dt><Dt>2024-01-31</Dt></Dt></Bal>\n<Ntry><Amt Ccy=\"EUR\">800.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts>BOOK</Sts><BookgDt><Dt>2024-01-05</Dt></BookgDt><ValDt><Dt>2024-01-05</Dt></ValDt><AcctSvcrRef>REF-A</AcctSvcrRef>\n<BkTxCd><Domn><Cd>PMNT</Cd><Fmly><Cd>RCDT</Cd><SubFmlyCd>ESCT</SubFmlyCd></Fmly></Domn></BkTxCd>\n<NtryDtls><TxDtls><Refs><EndToEndId>E2E-77</EndToEndId></Refs><RltdPties><Dbtr><Nm>Customer &amp; Co</Nm></Dbtr><DbtrAcct><Id><IBAN>FR1420041010050500013M02606</IBAN></Id></DbtrAcct></RltdPties><RmtInf><Ustrd>Order 5521</Ustrd></RmtInf></TxDtls></NtryDtls></Ntry>\n<Ntry><Amt Ccy=\"EUR\">44.75</Amt><CdtDbtInd>DBIT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><Dt>2024-01-10</Dt></BookgDt><ValDt><Dt>2024-01-10</Dt></ValDt>\n<NtryDtls><TxDtls><RltdPties><Cdtr><Pty><Nm>Telecom SA</Nm></Pty></Cdtr><CdtrAcct><Id><IBAN>BE68539007547034</IBAN></Id></CdtrAcct></RltdPties><RmtInf><Ustrd>Phone bill</Ustrd></RmtInf></TxDtls></NtryDtls></Ntry>\n<Ntry><Amt Ccy=\"EUR\">99.00</Amt><CdtDbtInd>DBIT</CdtDbtInd><Sts>PDNG</Sts><BookgDt><Dt>2024-01-31</Dt></BookgDt></Ntry>\n</Stmt></BkToCstmrStmt></Document>\n",
  "format": "camt",
  "qifDateFormat": "auto"
}
```

## Output

```json
{
  "date": {
    "label": "Booking date",
    "format": "text"
  },
  "valueDate": {
    "label": "Value date",
    "format": "text"
  },
  "amount": {
    "label": "Amount",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "direction": {
    "label": "Direction",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "counterpartyName": {
    "label": "Counterparty",
    "format": "text"
  },
  "counterpartyAccount": {
    "label": "Counterparty account",
    "format": "text"
  },
  "reference": {
    "label": "Reference",
    "format": "text"
  },
  "endToEndId": {
    "label": "End-to-end ID",
    "format": "text"
  },
  "bankReference": {
    "label": "Bank reference",
    "format": "text"
  },
  "transactionCode": {
    "label": "Transaction code",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "accountId": {
    "label": "Account",
    "format": "text"
  },
  "format": {
    "label": "Source format",
    "format": "text"
  },
  "sourceFile": {
    "label": "Source file",
    "format": "text"
  },
  "statementReconciliation": {
    "label": "Balance check",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bank Statement Converter - MT940, CAMT, OFX, QIF to JSON/CSV Actor is ready to run with the inputs already set for "CAMT.053 to Excel and CSV Converter". [Sign up or log in](https://console.apify.com/create-task-from-example/51aLGQdro0wwlcQeA) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "CAMT.053 to Excel and CSV Converter" task

The Bank Statement Converter - MT940, CAMT, OFX, QIF to JSON/CSV Actor will start running based on the input automatically. You can also change all the input fields, like paste file content, input format, and more, to match your specific use case.

### 3. Receive the "CAMT.053 to Excel and CSV Converter" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as booking date, value date, amount, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "CAMT.053 to Excel and CSV Converter" task via API](https://apify.com/datanest-labs/bank-statement-converter.md).

## About this Actor

This example demonstrates how to use [Bank Statement Converter - MT940, CAMT, OFX, QIF to JSON/CSV](https://apify.com/datanest-labs/bank-statement-converter.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datanest-labs/bank-statement-converter.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/datanest-labs/bank-statement-converter.md

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`).
