Skip to content
MT2CAMT

Docs

Sample files for testing — entirely synthetic data (fabricated names, test-range IBANs, fabricated amounts).

Sample files

Developer API

Convert files programmatically over HTTPS. Create a free sandbox key from your dashboard, then call the same endpoint the website uses:

curl https://mt2camt.com/api/v1/convert   -H "Authorization: Bearer mt2camt_test_..."   -F "file=@sample-mt940.sta"   -F "source_format=auto"   -F "target_format=csv"   -F "export_template=generic"   -F "delimiter=comma"

Parameters

FieldTypeDefaultNotes
filefile—MT940, CAMT.053 or CSV, up to 10MB
source_formatstringautoauto | mt940 | camt053 | csv
target_formatstringcsvcsv | xlsx | mt940 | camt053
export_templatestringgenericgeneric | quickbooks | xero | exact_online
delimiterstringcommacomma | semicolon

Response example

{
  "conversion_id": "606b390bf71547ce8627b33fe7e3ac53",
  "download_url": "https://mt2camt.com/dl/89853f21d1c94230896c2b81567bf2acb",
  "expires_at": "2026-09-07T21:00:00+00:00",
  "detected_format": "mt940",
  "transaction_count": 14,
  "statements": [ { "index": 1, "account_iban": "NL02RABO0123456789", "...": "..." } ],
  "preview_rows": [ { "value_date": "2026-01-05", "description": "Salary January 2026", "...": "..." } ],
  "warnings": [],
  "target_format": "csv",
  "export_template": "generic"
}

Error codes

HTTPCodeMeaning
400invalid_format / parse_failedFile not recognised or not parseable
400template_unvalidatedLayout not yet enabled (e.g. Exact Online)
401invalid_api_keyMissing, invalid or revoked key
402api_tier_required / pro_requiredPlan does not cover this feature
410session_expiredIn-session re-export window (5 min) elapsed
413file_too_largeExceeds 10MB / 10k transactions
429rate_limit_exceededSee rate limits below

Rate limits

Sandbox keys are for sample data only. They are free and never billed, but they can only convert the bundled sample data via POST /api/v1/convert/demo — real statement files are refused (this would otherwise be an unbilled bypass). Real conversions need a live key on the API or Accounting Firm plan, where usage counts toward your monthly included amount and overage is charged automatically.

OpenAPI specification

The full machine-readable spec is served at https://mt2camt.com/api/v1/openapi.json (also at /openapi.json) — import it into Postman, Insomnia or your favourite client to generate calls.