Skip to content

Discount Bank

Property Value
Config key discount
Login fields id, password, num
2FA / OTP optional

Login fields

Field Description
id Your 9-digit Israeli ID (Teudat Zehut), unless noted otherwise.
password Your internet-banking password.
num 6-character user-identification code shown on your bank statements.

Sample config

{
  "discount": {
    "id": "your_id",
    "password": "your_password",
    "num": "your_num",
    "daysBack": 14,
    "targets": [
      {
        "actualAccountId": "uuid-from-actual",
        "reconcile": true,
        "accounts": "all"
      }
    ]
  }
}

2FA / OTP

2FA is optional - enable it only if your bank prompts for an SMS code:

{
  "discount": {
    "id": "your_id",
    "password": "your_password",
    "num": "your_num",
    "twoFactorAuth": true,
    "twoFactorTimeout": 300,
    "daysBack": 14,
    "targets": [...]
  }
}

The Telegram bot prompts for the code on each run. For automated handling, see OTP auto-forward.

Known gotchas

num is your 6-character user-identification code, NOT your account number.

See also