Skip to content
HALOWERK

Formatwerk

camt053 to csv

Parses camt.052, camt.053 and camt.054 in the 2009 (.02) and 2019 (.08) versions and later compatible versions with fast-xml-parser. One row per transaction detail (batch entries are split) or per entry: booking and value date, amount with sign from CdtDbtInd, reversal flag, status, counterparty name/IBAN/BIC chosen by direction (payer for credits, payee for debits, swapped for reversals), remittance text, end-to-end id (EREF), mandate id (MREF), KREF and CRED from SEPA keywords in the.

POST https://format.halowerk.com/v1/camt053-to-csv

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
xmlstringYescamt.052, camt.053 or camt.054 XML document.
levelstringNotransaction = one row per TxDtls (batches split), entry = one row per Ntry.
formatstringNoOutput format.
delimiterstringNoCSV delimiter.
decimal_separatorstringNoDecimal separator for amounts in the CSV.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "xml"
  ],
  "properties": {
    "xml": {
      "type": "string",
      "minLength": 20,
      "maxLength": 10000000,
      "description": "camt.052, camt.053 or camt.054 XML document."
    },
    "level": {
      "type": "string",
      "enum": [
        "transaction",
        "entry"
      ],
      "default": "transaction",
      "description": "transaction = one row per TxDtls (batches split), entry = one row per Ntry."
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "csv",
        "both"
      ],
      "default": "both",
      "description": "Output format."
    },
    "delimiter": {
      "type": "string",
      "enum": [
        ";",
        ",",
        "\t"
      ],
      "default": ";",
      "description": "CSV delimiter."
    },
    "decimal_separator": {
      "type": "string",
      "enum": [
        ".",
        ","
      ],
      "default": ".",
      "description": "Decimal separator for amounts in the CSV."
    }
  }
}

Open original schema

Published input example

{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.052.001.08\"><BkToCstmrAcctRpt><GrpHdr><MsgId>C52-1</MsgId><CreDtTm>2026-11-02T11:00:00Z</CreDtTm></GrpHdr>\n<Rpt><Id>RPT-1</Id><Acct><Id><IBAN>DE79000000001234567890</IBAN></Id></Acct>\n<Ntry><Amt Ccy=\"EUR\">75.25</Amt><CdtDbtInd>DBIT</CdtDbtInd><Sts><Cd>PDNG</Cd></Sts><BookgDt><Dt>2026-11-02</Dt></BookgDt><ValDt><Dt>2026-11-03</Dt></ValDt>\n<NtryDtls><TxDtls><Refs><EndToEndId>KARTE-77</EndToEndId></Refs><Amt Ccy=\"EUR\">75.25</Amt><CdtDbtInd>DBIT</CdtDbtInd><RltdPties><Cdtr><Pty><Nm>Probe Tankstelle</Nm></Pty></Cdtr></RltdPties><RmtInf><Ustrd>KREF+K-4711 SVWZ+Tankung</Ustrd></RmtInf></TxDtls></NtryDtls></Ntry>\n</Rpt></BkToCstmrAcctRpt></Document>",
  "level": "transaction",
  "format": "json"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’