FinTS securities holdings: gln holdings list
Synopsis
gln [global-options] holdings list --account-number <number> [--iban <iban>] [--subaccount-number <sub>] [--bank-code <blz>]
Options
| Argument or flag | Type | Required | Default | Description |
|---|---|---|---|---|
--account-number | string | yes | - | Depot account number. |
--iban | string | no | - | Depot account IBAN, when known. |
--subaccount-number | string | no | 00 | Depot subaccount number. |
--bank-code | string | no | - | 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
| Status | Exit | Meaning | Continuation |
|---|---|---|---|
ok | 0 | Holdings returned in result.holdings. | - |
action_required | 10 | Bank requires a TAN. The response envelope includes a resume_file path. | Saved at resume_file. |
error | 1 | Validation, transport, or backend error. | - |