Bank Imports

Import bank transactions

Upload a CAMT.053 XML file or a CSV bank statement. The import is processed asynchronously; poll the returned id via the status field if needed. A CAMT file with statements in several account currencies imports the statements in the bank account's currency and reports the others in warnings (STATEMENT_CURRENCY_SKIPPED); a file with no statement in that currency is refused with 400 STATEMENT_CURRENCY_MISMATCH. Currency codes are accepted in any case. A content over 5 MB answers 400 STATEMENT_INLINE_TOO_LARGE; a CAMT file with a DOCTYPE or ENTITY declaration answers 400 STATEMENT_XML_DTD_REFUSED before it is parsed.

post/bank-imports

Request

  • Base URL: https://api.lumabill.ch/v1
  • URL: https://api.lumabill.ch/v1/bank-imports
  • Auth: HTTP bearer

Response

Import job accepted

idstring uuid required
transactions_countinteger required

Number of transactions parsed from the uploaded file

status'pending' | 'processing' | 'completed' | 'failed' required

Example response

{
  "id": "c9d0e1f2-9012-def0-2345-678901234567",
  "transactions_count": 47,
  "status": "completed"
}

Changes

No recorded changes to this operation across all 1 revision of this API.