LedgerLou Docs is optimized for desktop.

Please open this page on a device with a wider screen.

Payables

Export payment run (SEPA XML)

Generates a SEPA pain.001.001.03 XML file for an approved run. Returns the XML content and metadata. After export, the run cannot be cancelled.

POST /v1/payment-runs/:id/export
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Responses
200
Success
409
INVALID_STATE_TRANSITION
POST /v1/payment-runs/:id/export
cURL
-cmd">curl --request -method">POST -punct">\
  --url 'https://api.ledgerlou.de/v1/payment-runs/:id/export' -punct">\
  --header 'Authorization: Bearer ll_your_key'
200 Response
JSON
{
  "run": {
    "id": "<string>",
    "status": "<string>"
  },
  "sepa_xml": "<string>",
  "message_id": "<string>",
  "number_of_transactions": 1,
  "control_sum": 1
}