SepaCheck Validator

v0.3.0
io.github.wenboteng/sepa-validator Checked 16 hours ago Published 4 days ago

Validate SEPA pain.001 and camt.053/054 files with the free checksepa.com API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

validate_sepa Validate SEPA XML

Validate one SEPA XML document (pain.001.001.03 or pain.001.001.09). The file is uploaded to the free keyless API POST https://checksepa.com/v1/validate. Limits: 30 requests per IP per hour, 200 per UTC day, 2 MB. The file is not stored. Provide exactly one of file_path or xml. Returns valid, format, version, errors, and warnings. Each finding has code, message, path, and line.

ParameterTypeDescription
file_pathstringPath to a SEPA XML file. Resolved by this process.
xmlstringSEPA XML as a string. Use this or file_path.

camt_validate Validate camt.053 or camt.054

Validate one ISO 20022 bank statement (camt.053.001.02, camt.053.001.08, camt.054.001.02, or camt.054.001.08) against the official XML Schema via POST https://checksepa.com/v1/camt/validate. No API key. This route shares the free limit with pain.001 validate and camt convert: 30 requests per IP per hour, 200 per UTC day, 2 MB. The file is not stored. Provide exactly one of file_path or xml. Returns valid, format, version, errors, and warnings. Each finding has code, message, path, and line.

ParameterTypeDescription
file_pathstringPath to a camt XML file. Resolved by this process.
xmlstringcamt XML as a string. Use this or file_path.

camt_convert Convert camt.053 or camt.054

Convert one camt.053 or camt.054 statement (.02 or .08) to normalized JSON or CSV via POST https://checksepa.com/v1/camt/convert. JSON statements include account IBAN, balances, and entries with amount, currency, creditDebit, bookingDate, valueDate, counterpartyName, counterpartyIban, remittanceInfo, and endToEndId. A credit uses the debtor as the counterparty. A debit uses the creditor. No API key. Shares the free limit: 30 per IP per hour, 200 per UTC day, 2 MB. The file is not stored. Provide exactly one of file_path or xml. format is json (default) or csv.

ParameterTypeDescription
file_pathstringPath to a camt XML file. Resolved by this process.
formatstringjson (default) or csv.
xmlstringcamt XML as a string. Use this or file_path.