# Convert SWIFT MT940 Statements to ISO 20022 camt.053 & JSON

**Use case:** 

Bridge legacy SWIFT FIN MT940 end-of-day bank statements (:20:, :25:, :60F:, :61:, :86:, :62F:) into normalized ERP JSON and canonical ISO 20022 camt.053.001.08 XML while preserving bank-specific :86: remittance narratives losslessly.

## Input

```json
{
  "operation": "bridge_mt940_to_camt053",
  "compliance_profile": "SPS_2026_AND_SEPA",
  "xml_documents": [],
  "payment_orders": [],
  "mt940_statements": [
    ":20:STMT2611240001\n:25:NL91ABNA0417164300\n:28C:15/1\n:60F:C261124EUR1234,56\n:61:2611241124D45,00NTRFNONREF//ACME-INV-2026-042\n:86:999~00SEPA OVERBOEKING~20EREF+ACME-INV-2026-042~21CLOUD INFRA~30DEUTDEDB~31DE89370400440532013000~32Acme GmbH\n:62F:C261124EUR1189,56\n"
  ],
  "include_converted_xml": true,
  "max_items": 25
}
```

## Output

```json
{
  "operation": {
    "label": "Operation Mode",
    "format": "string"
  },
  "message_family": {
    "label": "ISO 20022 Family",
    "format": "string"
  },
  "message_id": {
    "label": "Group Header Message ID",
    "format": "string"
  },
  "primary_currency": {
    "label": "Primary Currency",
    "format": "string"
  },
  "is_compliant": {
    "label": "Zero-Error Compliance Verdict",
    "format": "boolean"
  },
  "error_count": {
    "label": "Schema & Checksum Error Count",
    "format": "integer"
  },
  "warning_count": {
    "label": "Advisory Warning Count",
    "format": "integer"
  },
  "actual_tx_count": {
    "label": "Verified Transaction Count",
    "format": "integer"
  },
  "computed_control_sum": {
    "label": "Exact Decimal Sum",
    "format": "string"
  },
  "opening_balance": {
    "label": "Opening Balance (OPBD)",
    "format": "number"
  },
  "closing_balance": {
    "label": "Closing Balance (CLBD)",
    "format": "number"
  },
  "structured_address_count": {
    "label": "Structured Addresses",
    "format": "integer"
  },
  "hybrid_address_count": {
    "label": "Hybrid Addresses",
    "format": "integer"
  },
  "unstructured_address_count": {
    "label": "Unstructured Legacy Addresses",
    "format": "integer"
  }
}
```

## How it works

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

The ISO 20022 pain.001, pacs.008 & camt.053 JSON Bridge Actor is ready to run with the inputs already set for "Convert SWIFT MT940 Statements to ISO 20022 camt.053 & JSON". [Sign up or log in](https://console.apify.com/create-task-from-example/DBkesarBF93PUf8S2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Convert SWIFT MT940 Statements to ISO 20022 camt.053 & JSON" task

The ISO 20022 pain.001, pacs.008 & camt.053 JSON Bridge Actor will start running based on the input automatically. You can also change all the input fields, like bridge operation mode, postal address & validation profile, and more, to match your specific use case.

### 3. Receive the "Convert SWIFT MT940 Statements to ISO 20022 camt.053 & JSON" 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 operation mode, ISO 20022 Family, group header message id, 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 "Convert SWIFT MT940 Statements to ISO 20022 camt.053 & JSON" task via API](https://apify.com/bifrost-data/iso20022-payment-statement-bridge.md).

## FAQ

### Does this converter preserve custom German, Dutch, and Swiss bank :86: subfields?

Yes. Standard SEPA tags (EREF, IBAN, BIC, counterparty name) are extracted into typed JSON fields while the full raw :86: text is preserved losslessly in raw_narrative and <AddtlNtryInf>.

### Does it verify that opening balance (:60F:) plus entries equals closing balance (:62F:)?

Yes. Every statement undergoes exact Decimal rollforward reconciliation between :60F:, signed :61: entries, and :62F: closing ledger balance.

### Can I import the output directly into SAP S/4HANA, NetSuite, or Dynamics 365?

Yes. Each dataset item provides both flat JSON transaction arrays for webhooks/ETL and canonical camt.053.001.08 XML for native ERP bank statement import.

## About this Actor

This example demonstrates how to use [ISO 20022 pain.001, pacs.008 & camt.053 JSON Bridge](https://apify.com/bifrost-data/iso20022-payment-statement-bridge.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bifrost-data/iso20022-payment-statement-bridge.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/bifrost-data/iso20022-payment-statement-bridge.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`).
