# Validate ISO 20022 pain.001 & pacs.008 for SPS 2026 & SEPA

**Use case:** 

Pre-audit outbound pain.001 and interbank pacs.008.001.08 XML files before bank transmission. Detects unstructured <AdrLine> rejections under Swiss SPS 2026 / EPC SEPA, broken IBAN Mod-97 checksums, leading-slash IDs, and CtrlSum mismatches.

## Input

```json
{
  "operation": "audit_and_parse_xml",
  "compliance_profile": "SPS_2026_AND_SEPA",
  "xml_documents": [
    "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pacs.008.001.08\"><FIToFICstmrCdtTrf><GrpHdr><MsgId>PACS-20261124-01</MsgId><CreDtTm>2026-11-24T11:00:00Z</CreDtTm><NbOfTxs>1</NbOfTxs><CtrlSum>450.00</CtrlSum></GrpHdr><CdtTrfTxInf><PmtId><EndToEndId>E2E-PACS-01</EndToEndId><UETR>97ed4827-7b6f-4491-a06f-b548d5a7512d</UETR></PmtId><IntrBkSttlmAmt Ccy=\"EUR\">450.00</IntrBkSttlmAmt><IntrBkSttlmDt>2026-11-25</IntrBkSttlmDt><Dbtr><Nm>Buyer SAS</Nm><PstlAdr><TwnNm>Paris</TwnNm><Ctry>FR</Ctry></PstlAdr></Dbtr><DbtrAcct><Id><IBAN>AT611904300234573201</IBAN></Id></DbtrAcct><CdtrAgt><FinInstnId><BICFI>DEUTDEFFXXX</BICFI></FinInstnId></CdtrAgt><Cdtr><Nm>Supplier GmbH</Nm><PstlAdr><TwnNm>Frankfurt</TwnNm><Ctry>DE</Ctry></PstlAdr></Cdtr><CdtrAcct><Id><IBAN>DE89370400440532013000</IBAN></Id></CdtrAcct></CdtTrfTxInf></FIToFICstmrCdtTrf></Document>"
  ],
  "payment_orders": [],
  "mt940_statements": [],
  "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 "Validate ISO 20022 pain.001 & pacs.008 for SPS 2026 & SEPA". [Sign up or log in](https://console.apify.com/create-task-from-example/Lgtrf3SCwb5x2qT5o) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Validate ISO 20022 pain.001 & pacs.008 for SPS 2026 & SEPA" 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 "Validate ISO 20022 pain.001 & pacs.008 for SPS 2026 & SEPA" 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 "Validate ISO 20022 pain.001 & pacs.008 for SPS 2026 & SEPA" task via API](https://apify.com/bifrost-data/iso20022-payment-statement-bridge.md).

## FAQ

### Why are European and Swiss banks rejecting pain.001 files with <AdrLine> tags in 2026?

Effective November 2026 under Swiss SPS 2026 and EPC SEPA rules, unstructured-only postal addresses without dedicated <TwnNm> and <Ctry> elements trigger bank rejection.

### Does the validator pinpoint exact XPath locations for rejected fields?

Yes. Every compliance rule violation returns a structured finding with rule_id, severity, and XPath location so ERP teams can fix mapping templates immediately.

### Are XXE or external DTD XML payloads blocked safely?

Yes. Any XML containing <!DOCTYPE or <!ENTITY declarations is blocked before parsing at $0 charge.

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