pohoda-client-config

pohoda-client-config 0.1.0.6~bookworm

 pool/main/p/pohoda-client-config/pohoda-client-config_0.1.0.6~bookworm_all.deb pohoda-client-config
auto-generated package by debmake
Filename pool/main/p/pohoda-client-config/pohoda-client-config_0.1.0.6~bookworm_all.deb
Version0.1.0.6~bookworm
Age in days313
Release date2025 12. 29.
Size2.61 KB
id3059
Namepohoda-client-config
Package
Appname
Essential
Vendor
License
Distributionbookworm
Suitemain
Source
Architecturebinary-arm64
MultiArchforeign
MaintainerVítězslav Dvořák
InstalledSize16
Dependsphp-vitexsoftware-pohoda-connector
PreDepends
Breaks
Enhances
Sectionfintech
Priorityoptional
Descriptionauto-generated package by debmake
LongDescriptionThis Debian binary package was auto-generated by thedebmake(1) command provided by the debmake package.
AutoBuiltPackage
Filenamepool/main/p/pohoda-client-config/pohoda-client-config_0.1.0.6~bookworm_all.deb
MD5sum3a3c37ce58adc467557c0946d4768055
SHA18f02cc1b83b9c77053a1fcc3e20cf2839f8a0a68
SHA256b62239cec2b789ef298fd466411428cfe5383d63bcf6641db8308e0a3bb1e1f0
SHA512fad2c5ec02657ebc090e5b1563ff22d1a779ace50ed4ed347edf4e1d4e5a45e8364e98b4ac14237a1a4cc063a0872f719ee2e70edf395efcf60318e0bc7b42bb
Size2668
Auto-Built-Package
Homepagehttps://github.com/Spoje-NET/pohoda-client-config
Provides
Existing
fileMtime2025-12-29 01:46:56
created2024-11-28 12:48:30
updated2025-12-29 01:46:56
pohoda-client-config
<>

Pohoda Client Checker

Pohoda Client Checker logo

Tools for checking Stormware Pohoda mServer availability and reporting bank transactions.

Features

  • pohoda-client-checker — verifies mServer connectivity and returns status as JSON
  • pohoda-transaction-report — downloads bank transaction data from Pohoda and produces a JSON report

Installation

Debian/Ubuntu packages via the VitexSoftware repository:

sudo apt install lsb-release wget apt-transport-https

wget -qO- https://repo.vitexsoftware.com/KEY.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg] https://repo.vitexsoftware.com $(lsb_release -sc) main" \
    | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt update
sudo apt install pohoda-client-checker

Or via Composer:

composer require spojenet/pohoda-client-check

Configuration

Copy example.env to .env and fill in credentials:

POHODA_URL=http://server:40000
POHODA_ICO=12345678
POHODA_USERNAME=user
POHODA_PASSWORD=secret
RESULT_FILE=/tmp/phcheck.json

Environment variables

| Variable | Description | Required | |----------|-------------|----------| | POHODA_URL | mServer API endpoint | yes | | POHODA_USERNAME | mServer username | yes | | POHODA_PASSWORD | mServer password | yes | | POHODA_ICO | Organization number (IČO) | yes | | POHODA_IBAN | Account IBAN (transaction report) | for report | | POHODA_BANK_IDS | Bank account IDS (transaction report) | for report | | REPORT_SCOPE | Time scope (see Scopes) | no | | RESULT_FILE | Output JSON file path (default: php://stdout) | no | | APP_DEBUG | Show debug messages (true/false) | no | | EASE_LOGGER | Logger type e.g. console\|syslog | no |

Usage

Both tools accept -e/--environment to specify the env file and -o/--output to specify the output file.

Check mServer availability

pohoda-client-checker --environment=.env

Successful response:

{
   "message": "Response from POHODA mServer",
   "name": "NOVAK",
   "server": "http://SE-APP01-NEW:40000",
   "status": "idle",
   "processing": "0"
}

Connection OK

Failed connection:

{
   "status": false,
   "message": "Failed to connect to server port 40000 after 130261 ms: Couldn't connect to server"
}

Connection Problem

Bank transaction report

pohoda-transaction-report --environment=.env --output=/tmp/report.json

Example output:

{
    "source": "Pohoda\\BankProbe",
    "account": "6465656645",
    "in": {"27": 629.2, "28": 629.2},
    "out": {"22": 41805.55},
    "in_total": 2,
    "out_total": 1,
    "in_sum_total": 1258.4,
    "out_sum_total": 41805.55,
    "iban": "CZ0000000000000000000000",
    "from": "2024-09-01",
    "to": "2024-09-30"
}

Scopes

The REPORT_SCOPE variable (or passed dynamically) accepts:

  • yesterday
  • two_days_ago
  • last_week
  • current_month
  • last_month
  • last_two_months
  • previous_month
  • two_months_ago
  • this_year
  • January … December (current year)

MultiFlexi integration

The package ships with MultiFlexi application descriptors in the multiflexi/ directory for both tools.

Pohoda Client Checker is ready to run as a MultiFlexi application. See the full list of ready-to-run applications on the application list page.

MultiFlexi App

See also

License

MIT