# Parse SWIFT MT103 Wire Confirmation & Export pacs.008 XML

**Use case:** 

Decode 5-block or Block-4 SWIFT MT103 international wire payment messages into clean JSON and ISO 20022 CBPR+ pacs.008.001.08 XML. Extracts Block-3 121 UETR tracking UUIDs, validates IBAN Mod-97 and BIC codes, reconciles 32A vs 33B/71F intermediary fee deductions, and screens for fabricated MT103 red flags.

## Input

```json
{
  "wire_messages": [
    "{1:F01CHASUS33AXXX0000000000}{2:I103DEUTDEFFXXXXN}{3:{108:WIRE20261124}{119:STP}{121:eb6305c9-1f7f-49de-aed0-16487c27b42d}}{4:\n:20:EXP202611240091\n:23B:CRED\n:32A:261124EUR49975,00\n:33B:EUR50000,00\n:50K:/US440021000021889900\nPACIFIC INDUSTRIAL SUPPLY INC\n1200 HARBOR BLVD\nLOS ANGELES CA US\n:52A:CHASUS33XXX\n:57A:DEUTDEFFXXX\n:59:/DE89370400440532013000\nRHEINWERK MASCHINENBAU GMBH\nINDUSTRIESTR 42\n60311 FRANKFURT DE\n:70:INV-2026-77410 CNC SPINDLE UNIT\n:71A:SHA\n:71F:EUR25,00\n-}{5:{CHK:89AB4412CD01}}"
  ],
  "include_cbpr_xml": true,
  "mask_account_numbers": false,
  "max_items": 25
}
```

## Output

```json
{
  "source_format": {
    "label": "Format",
    "format": "string"
  },
  "sender_reference": {
    "label": "Ref (:20: / InstrId)",
    "format": "string"
  },
  "uetr": {
    "label": "SWIFT GPI UETR",
    "format": "string"
  },
  "value_date": {
    "label": "Value Date",
    "format": "string"
  },
  "settled_currency": {
    "label": "CCY",
    "format": "string"
  },
  "settled_amount": {
    "label": "Settled (:32A:)",
    "format": "string"
  },
  "charge_bearer_mt": {
    "label": "Charges",
    "format": "string"
  },
  "hidden_fee_or_fx_delta": {
    "label": "Fee/FX Gap",
    "format": "string"
  },
  "sender_bic": {
    "label": "Sender BIC",
    "format": "string"
  },
  "receiver_bic": {
    "label": "Receiver BIC",
    "format": "string"
  },
  "is_structurally_valid": {
    "label": "Valid",
    "format": "boolean"
  },
  "fraud_risk_flag": {
    "label": "Fraud Flag",
    "format": "boolean"
  }
}
```

## How it works

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

The SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge Actor is ready to run with the inputs already set for "Parse SWIFT MT103 Wire Confirmation & Export pacs.008 XML". [Sign up or log in](https://console.apify.com/create-task-from-example/IrnCqG856Nz9rO5Y5) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Parse SWIFT MT103 Wire Confirmation & Export pacs.008 XML" task

The SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge Actor will start running based on the input automatically. You can also change all the input fields, like SWIFT FIN (MT103 / MT202) or ISO 20022 (pacs.008 / pacs.009) Messages, generate iso 20022 cbpr+ xml (pacs.008.001.08 / pacs.009.001.08), and more, to match your specific use case.

### 3. Receive the "Parse SWIFT MT103 Wire Confirmation & Export pacs.008 XML" 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 format, ref (:20: / instrid), SWIFT GPI UETR, 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 "Parse SWIFT MT103 Wire Confirmation & Export pacs.008 XML" task via API](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge.md).

## FAQ

### Does this parser accept both full 5-block ({1:}..{5:}) and Block-4-only (:20:..:71A:) MT103 texts?

Yes. Whether pasted from a bank PDF advice (:20: through :71A:) or streamed from a SWIFT FIN gateway with {1:}..{5:} envelopes, both parse cleanly.

### Is the 36-character SWIFT gpi UETR tracking UUID preserved in pacs.008 XML?

Yes. Block 3 Tag {121:...} is validated against strict RFC 4122 UUIDv4 rules and mapped directly into <PmtId><UETR> in the ISO 20022 CBPR+ pacs.008.001.08 output.

### Are wire details ever logged or stored outside the run?

No. All SWIFT FIN and ISO 20022 parsing executes purely in volatile 256MB RAM with zero external network calls and optional IBAN masking.

## About this Actor

This example demonstrates how to use [SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-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/swift-mt103-cbpr-pacs008-wire-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`).
