gln direct-debits create
Submit one SEPA direct debit from a JSON file.
Synopsis
gln [global-options] direct-debits create --file <path> [--dry-run]
Options
| Argument or flag | Type | Required | Default | Description |
|---|---|---|---|---|
--file | path | yes | - | Direct debit JSON file. |
--dry-run | flag | no | false | Validate 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
| Status | Exit | Meaning | Continuation |
|---|---|---|---|
ok | 0 | Request accepted, dry-run preview emitted, or provider accepted the submission. | - |
action_required | 10 | TAN or follow-up action is required. | Save and resume with tan resume. |
rejected | 1 | The provider rejected the request. | - |
error | 1 | Validation, backend open, or provider error. | - |