pohoda-client-checker

pohoda-client-checker 0.2.0.40~bookworm

 pool/main/p/pohoda-client-checker/pohoda-client-checker_0.2.0.40~bookworm_all.deb pohoda-client-checker
auto-generated package by debmake
Filename pool/main/p/pohoda-client-checker/pohoda-client-checker_0.2.0.40~bookworm_all.deb
Version0.2.0.40~bookworm
Age in days437
Release date2025 08. 26.
Size5.05 KB
id3058
Namepohoda-client-checker
Package
Appname
Essential
Vendor
License
Distributionbookworm
Suitemain
Source
Architecturebinary-arm64
MultiArchforeign
MaintainerVítězslav Dvořák
InstalledSize37
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-checker/pohoda-client-checker_0.2.0.40~bookworm_all.deb
MD5suma0c19b931049308ed40480b173395423
SHA185bc104d973510d5e71419e9f13aff58c5b5e1c3
SHA25656b8dd7aafc7ef6299eac4f3abd4fbe59a0c71703376432be39abf6c2466eca7
SHA512b653c79c7dd2a08efc07776cd4d78e1b9808dcca472cabee8426afe0c87e8a831a3e698d4fcd5eb10ecded217be616fc453adfcc5b6028b318813b88c3bfa646
Size5168
Auto-Built-Package
Homepagehttps://github.com/Spoje-NET/pohoda-client-checker
Provides
Existing
fileMtime2025-08-26 21:59:52
created2024-11-28 12:48:30
updated2025-08-26 19:59:52
pohoda-client-checker
<>

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