Read an ISO 20022 XML file as a statement or payment list
Drop a camt.053, camt.054, camt.052, pain.001, pain.002, pacs.008 or pacs.002 file, or paste the XML. You see the header, the balances, one row per transaction, the reason codes and what adds up. The file stays in your browser.
The text stays in this page. A file with a DOCTYPE is refused.
Choose an XML file or paste one to read it here.
Checks on this file
- Not checked yet: Balances add up Opening balance + credits − debits = closing balance, per currency.
- Not checked yet: Entries match their summary Number and sum of entries against the summary in the file (TxsSummry).
- Not checked yet: Net amount matches the entries Net amount in the summary (TtlNetNtry) against credits minus debits.
- Not checked yet: Count and control sum pain.001 and pacs.008: the stated count and sum against the transactions.
- Not checked yet: IBAN check digits Modulo 97 on every IBAN in the file.
- Not checked yet: Reference check digits QR reference (modulo 10) and RF reference (modulo 97).
Reason codes in this file
Names and meanings come from the ISO 20022 reason code explorer, where you can look up any code and see which networks list it.
Checked in your browser. Nothing in your file or pasted text is sent to Finray or stored by Finray.
How it works
The viewer finds the message from the namespace of the file, reads the elements by name and shows what the file says. Then it runs six checks that need no bank: sums, counts and check digits.
| Check | Rule | Where it is written |
|---|---|---|
| Balances add up | The opening booked balance (OPBD, or PRCD) plus the credits minus the debits of the booked entries equals the closing booked balance (CLBD), to the cent, for each currency. Pending entries are not counted. The credit/debit mark is taken as booked: in the SIX guide a credit with the reversal indicator TRUE means the original entry was a debit, and the mark shows the booking direction. The sum itself is arithmetic on the file. | SIC IP camt.052 v2.4 (balance and entry elements); SPS camt v2.3 (reversal indicator) |
| Entries match their summary | The number of entries, and the sum of all, credit and debit entries, in the summary of the file (TxsSummry) equal what the file lists. The guide defines the total as the total amount for all account movements, and the viewer adds the amounts without sign for it. Each check runs only when the element is in the file. | SIC IP camt.052 v2.4 (TxsSummry); SPS camt v2.3 (TxsSummry) |
| Net amount matches the entries | The net amount in the summary (TtlNetNtry: Amt and CdtDbtInd) equals the credits minus the debits of the entries, each by its credit/debit mark as booked, to the cent. It runs only when TtlNetNtry is in the file and the entries are in one currency. | SPS camt v2.3 (TtlNetNtry) |
| Count and control sum | pacs.008: the number of transactions and the total settlement amount in the group header equal the transactions (in the SIC IP service the number is always 1). pain.001: the control sum and the number of transactions are compared at the group and at each payment block. | SIC IP pacs.008 v2.3 (group header). pain.001: see the note on sources |
| IBAN check digits | Every IBAN in the file has two letters, check digits from 02 to 98, then letters and digits, and leaves remainder 1 when divided by 97 after the first four characters move to the end. | ISO 13616, not opened (see the note on sources) |
| Reference check digits | A reference labelled QRR has 27 digits and a modulo 10 recursive check digit. A reference labelled SCOR starts with RF and passes modulo 97. A reference labelled ISR, or labelled with anything else, is shown and not checked. | ISO 11649 (RF) and SIX QR-bill guidelines 2.4 (QRR), see the note on sources |
| Status codes | A pain.002 or pacs.002 status such as ACSC or RJCT is shown with its name. A reason code is shown with its name and meaning from the reason code explorer. | SPS pain.002 v2.2 (status codes); EPC135-18 v6.1 (reason codes) |
What the columns show
A row is one transaction detail. An entry that holds a batch shows its details underneath it, each with its own amount. The CSV has the same rows, with a header row.
| Column | Element in the file | What it shows |
|---|---|---|
| Amount | Ntry/Amt and Ntry/CdtDbtInd | The amount with a plus for a credit and a minus for a debit. The SIC IP guide describes the indicator as marking incoming or outgoing payments (SIC IP camt.052 v2.4). |
| Status | Ntry/Sts | BOOK means booked, PDNG pending, INFO for information. The SIC IP guide uses BOOK for settled payments and INFO for cancelled ones (SIC IP camt.052 v2.4). |
| Bank code | Ntry/BkTxCd | The bank transaction code: domain, family and subfamily, or a proprietary code. The SIC IP guide gives the payment type as a proprietary code (SIC IP camt.052 v2.4). |
| Dates | Ntry/BookgDt and Ntry/ValDt | The booking date and the value date. A payment message shows the requested execution date (pain) or the settlement date (pacs). |
| Counterparty, end-to-end id, reference, remittance | RltdPties, Refs/EndToEndId, RmtInf of the transaction detail | The other side of the payment, the id the sender gave it, the structured reference with its type and the free text. For money in the counterparty is the debtor, for money out the creditor. |
| Reversal | Ntry/RvslInd | Shown as a tag when the entry says it is a reversal. The viewer does not change its sign: the credit/debit mark shows the booking direction, and a credit with the reversal indicator TRUE means the original entry was a debit (SPS camt v2.3). |
Status codes in pain.002 and pacs.002
The Swiss guide for pain.002 lists these statuses. The viewer shows the same names for pacs.002. A rejected payment also carries a reason code, which the viewer explains below the table.
| Code | Meaning | Where it is written |
|---|---|---|
| ACCP | Syntax, meaning and customer profile checks passed, for example authorisation on the account. | SPS pain.002 v2.2 |
| ACTC | Technical validation passed on all levels. | SPS pain.002 v2.2 |
| ACWC | Accepted with a change, such as a corrected value date. | SPS pain.002 v2.2 |
| ACSC | Processed and settled on the debtor's account. | SPS pain.002 v2.2 |
| PART | Part of the message was accepted and part was not. | SPS pain.002 v2.2 |
| RJCT | Rejected. On the group the whole message, on a payment block all its transactions, on a transaction that one. | SPS pain.002 v2.2 |
| PDNG, ACSP | Optional at some banks: pending, and accepted with settlement in process. | SPS pain.002 v2.2 |
What the viewer covers and what it leaves out
It reads files up to 10 MB and 20,000 entries, and refuses a file with a DOCTYPE. Every piece of the file is shown as text, never as markup. It was tried on camt.053.001.02 and .08, camt.054.001.08, camt.052.001.08, pain.001.001.09, pain.002.001.10, pacs.008.001.08 and pacs.002.001.10. Other versions of the same messages are read by element name and can show gaps.
It reads what the file says. It does not check a schema, a signature or a bank's own rules, and a file that passes the checks can still be refused by a bank. Other messages, such as pacs.009 or camt.056, are not read yet.
Examples
Each example loads a small made-up file into the viewer: fake names and published test IBANs.
-
A camt.053 statement that adds up
Made-up file; IBANs and QR reference are published test values
- File
- camt.053.001.08, one account in CHF, two entries
1000.00 opening + 500.00 credits − 100.00 debits = 1400.00, the closing balance. The IBANs and the QR reference pass their checks.
-
A pain.001 with a wrong control sum
Made-up file; IBANs are published test values
- File
- pain.001.001.09, one payment block, two payments
The group header states a sum of 1000.00, and the two payments add up to 1000.50. The control sum check fails.
-
A pain.002 with a rejected payment
Made-up file; the code is named in EPC135-18 v6.1
- File
- pain.002.001.10, one accepted and one rejected payment
The second payment is RJCT with reason AC04, Closed Account Number, shown with its meaning and what to do next.
Where Finray does this for you
Import camt.053 and camt.054 bank statements by uploading the file.
In Corebanq Accounting you upload the file, and the statement imports and is matched against entries.
Sources
- SIX: Swiss Payment Standards 2026, Swiss Implementation Guidelines for Customer-Bank Messages (Reports): camt.052, camt.053, camt.054, version 2.3 of 20.02.2026 (with effect from 14 November 2026); opened 25.11.2026
- SIX: Swiss Payment Standards 2026, Implementation Guidelines for Customer-Bank Messages, Customer Payment Status Report (pain.002), version 2.2 (valid from 14 November 2026)
- SIX: SIC IP service, IP Recapitulations (camt.052), version 2.4 (valid from 13 November 2026)
- SIX: SIC IP service, IP Customer Payments (pacs.008), version 2.3 (valid from 13 November 2026)
- EPC: EPC135-18 v6.1, Guidance on Reason Codes for SCT R-transactions (30 September 2026)
Not opened for this page, and so not used as a source: the ISO 20022 message definitions, the Swiss Payment Standards guide for pain.001, ISO 13616 and ISO 11649 (ISO sells them), and the Fedwire and FedNow message guides, which need a Swift MyStandards login. The QR reference rule is the one the Swiss QR-bill check uses (SIX QR-bill guidelines 2.4, read for that tool and not opened again here). The pain.001 control sum check is simple arithmetic on the file.
In the demo we walk through how documents are prepared, approved and posted, and how a VAT return is reviewed and exported.
Book a demo