Skip to content

Synopsis

gln [global-options] holdings list --account-number <number> [--iban <iban>] [--subaccount-number <sub>] [--bank-code <blz>]

Options

Argument or flagTypeRequiredDefaultDescription
--account-numberstringyes-Depot account number.
--ibanstringno-Depot account IBAN, when known.
--subaccount-numberstringno00Depot subaccount number.
--bank-codestringno-Depot bank code (BLZ), when different from profile.

Description

Lists securities holdings (Wertpapierdepot, FinTS SecDep) for one depot account. Wires gln_retrieve_holdings to the FinTS backend resolved from the profile.

The backend may signal that a TAN is required; in that case the response carries an action_required envelope with a saved continuation.

Status and exit codes

StatusExitMeaningContinuation
ok0Holdings returned in result.holdings.-
action_required10Bank requires a TAN. The response envelope includes a resume_file path.Saved at resume_file.
error1Validation, transport, or backend error.-

See also