Skip to content

Submit one SEPA direct debit from a JSON file.

Synopsis

gln [global-options] direct-debits create --file <path> [--dry-run]

Options

Argument or flagTypeRequiredDefaultDescription
--filepathyes-Direct debit JSON file.
--dry-runflagnofalseValidate the request file and print a deterministic preview without opening a backend.

Request file

Required string fields: creditor_iban, creditor_bic, creditor_name, creditor_id, debtor_iban, debtor_bic, debtor_name, amount, currency, purpose, mandate_id, mandate_date, sequence_type, and local_instrument.

Optional fields: end_to_end_reference, collection_date, and amendment. amendment is an object with optional original_mandate_id, original_creditor_id, original_debtor_iban, and debtor_changed_bank.

FinTS and EBICS profiles are supported. Revolut and Wise profiles are rejected before the request file is read.

Status and exit codes

StatusExitMeaningContinuation
ok0Request accepted, dry-run preview emitted, or provider accepted the submission.-
action_required10TAN or follow-up action is required.Save and resume with tan resume.
rejected1The provider rejected the request.-
error1Validation, backend open, or provider error.-

See also