flexibee-matcher

flexibee-matcher 0.8.6

 pool/bionic/main/f/flexibee-matcher/flexibee-matcher_0.8.6_all.deb flexibee-matcher
External matcher for FlexiBee
Filename pool/bionic/main/f/flexibee-matcher/flexibee-matcher_0.8.6_all.deb
Version0.8.6
Age in days1564
Release date2021 03. 20.
Size6.81 KB
id10
Nameflexibee-matcher
Package
Appname
Essential
Vendor
License
Distributionbionic
Suitemain
Source
Architecturebinary-i386
MultiArch
MaintainerVítězslav Dvořák
InstalledSize55
Dependsdebconf (>= 0.5) , debconf-2.0 , php-flexibee-bricks , php-cli
PreDepends
Breaks
Enhances
Sectionweb
Priorityoptional
DescriptionExternal matcher for FlexiBee
LongDescriptionMatch payments & invoices in FlexiBee usin PHP Library FlexiPeeHP
AutoBuiltPackage
Filenamepool/bionic/main/f/flexibee-matcher/flexibee-matcher_0.8.6_all.deb
MD5sumb5efe47cac81588eb9d4a69aa3ee21a2
SHA17f84676782132ced9be2a013d12a8fe95f6953ea
SHA256a8dc21c567da9bda259f631dc9269840986cd4372ac6c2aa71ce8ca1305bf611
SHA512073df2702a9fc971b65cf695b5a34833d5ab2224a973f694615ef6e26d6a0af471cdac303efde1c9c58feea9124adf54b035ea4ac5522c3aec0ab0bf7350a810
Size6972
Auto-Built-Package
Homepagehttps://github.com/VitexSoftware/php-flexibee-matcher
Provides
Suggestsflexibee-server , php-flexibee-config
Existing1
fileMtime2021-03-20 03:24:22
created2021-03-20 03:24:25
updated0000-00-00 00:00:00
./
./etc/
./etc/flexibee/
./etc/flexibee/matcher.json326
./usr/
./usr/bin/
./usr/bin/flexibee-matcher125
./usr/bin/flexibee-matcher-in69
./usr/bin/flexibee-matcher-init54
./usr/bin/flexibee-matcher-new2old70
./usr/bin/flexibee-matcher-out69
./usr/bin/flexibee-pull-bank61
./usr/bin/flexibee-send-unsent60
./usr/lib/
./usr/lib/flexibee-matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/Ui/
./usr/lib/flexibee-matcher/Init.php2174
./usr/lib/flexibee-matcher/Matcher/
./usr/lib/flexibee-matcher/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/Matcher/Ui/
./usr/lib/flexibee-matcher/ParujFakturyNew2Old.php1449
./usr/lib/flexibee-matcher/ParujPrijateFaktury.php1482
./usr/lib/flexibee-matcher/ParujVydaneFaktury.php1169
./usr/lib/flexibee-matcher/SendUnsent.php500
./usr/lib/flexibee-matcher/StahniBanku.php584
./usr/lib/flexibee-matcher/composer.json1108
./usr/lib/flexibee-matcher/setup.php81
./usr/share/
./usr/share/doc/
./usr/share/doc/flexibee-matcher/
./usr/share/doc/flexibee-matcher/changelog.gz486
./usr/share/doc/flexibee-matcher/copyright433
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/flexibee-matcher-new2old.1.gz20
./usr/share/man/man1/flexibee-matcher.1.gz1227
./
./etc/
./etc/flexibee/
./etc/flexibee/matcher.json326
./usr/
./usr/bin/
./usr/bin/flexibee-matcher125
./usr/bin/flexibee-matcher-in69
./usr/bin/flexibee-matcher-init54
./usr/bin/flexibee-matcher-new2old70
./usr/bin/flexibee-matcher-out69
./usr/bin/flexibee-pull-bank61
./usr/bin/flexibee-send-unsent60
./usr/lib/
./usr/lib/flexibee-matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/Ui/
./usr/lib/flexibee-matcher/Init.php2174
./usr/lib/flexibee-matcher/Matcher/
./usr/lib/flexibee-matcher/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/Matcher/Ui/
./usr/lib/flexibee-matcher/ParujFakturyNew2Old.php1449
./usr/lib/flexibee-matcher/ParujPrijateFaktury.php1482
./usr/lib/flexibee-matcher/ParujVydaneFaktury.php1169
./usr/lib/flexibee-matcher/SendUnsent.php500
./usr/lib/flexibee-matcher/StahniBanku.php584
./usr/lib/flexibee-matcher/composer.json1108
./usr/lib/flexibee-matcher/setup.php81
./usr/share/
./usr/share/doc/
./usr/share/doc/flexibee-matcher/
./usr/share/doc/flexibee-matcher/changelog.gz486
./usr/share/doc/flexibee-matcher/copyright433
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/flexibee-matcher-new2old.1.gz20
./usr/share/man/man1/flexibee-matcher.1.gz1227
./
./etc/
./etc/flexibee/
./etc/flexibee/matcher.json326
./usr/
./usr/bin/
./usr/bin/flexibee-matcher125
./usr/bin/flexibee-matcher-in69
./usr/bin/flexibee-matcher-init54
./usr/bin/flexibee-matcher-new2old70
./usr/bin/flexibee-matcher-out69
./usr/bin/flexibee-pull-bank61
./usr/bin/flexibee-send-unsent60
./usr/lib/
./usr/lib/flexibee-matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/Ui/
./usr/lib/flexibee-matcher/Init.php2174
./usr/lib/flexibee-matcher/Matcher/
./usr/lib/flexibee-matcher/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/Matcher/Ui/
./usr/lib/flexibee-matcher/ParujFakturyNew2Old.php1449
./usr/lib/flexibee-matcher/ParujPrijateFaktury.php1482
./usr/lib/flexibee-matcher/ParujVydaneFaktury.php1169
./usr/lib/flexibee-matcher/SendUnsent.php500
./usr/lib/flexibee-matcher/StahniBanku.php584
./usr/lib/flexibee-matcher/composer.json1108
./usr/lib/flexibee-matcher/setup.php81
./usr/share/
./usr/share/doc/
./usr/share/doc/flexibee-matcher/
./usr/share/doc/flexibee-matcher/changelog.gz486
./usr/share/doc/flexibee-matcher/copyright433
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/flexibee-matcher-new2old.1.gz20
./usr/share/man/man1/flexibee-matcher.1.gz1227
./
./etc/
./etc/flexibee/
./etc/flexibee/matcher.json326
./usr/
./usr/bin/
./usr/bin/flexibee-matcher125
./usr/bin/flexibee-matcher-in69
./usr/bin/flexibee-matcher-init54
./usr/bin/flexibee-matcher-new2old70
./usr/bin/flexibee-matcher-out69
./usr/bin/flexibee-pull-bank61
./usr/bin/flexibee-send-unsent60
./usr/lib/
./usr/lib/flexibee-matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/FlexiPeeHP/Matcher/Ui/
./usr/lib/flexibee-matcher/Init.php2174
./usr/lib/flexibee-matcher/Matcher/
./usr/lib/flexibee-matcher/Matcher/IncomingInvoice.php330
./usr/lib/flexibee-matcher/Matcher/OutcomingInvoice.php332
./usr/lib/flexibee-matcher/Matcher/Ui/
./usr/lib/flexibee-matcher/ParujFakturyNew2Old.php1449
./usr/lib/flexibee-matcher/ParujPrijateFaktury.php1482
./usr/lib/flexibee-matcher/ParujVydaneFaktury.php1169
./usr/lib/flexibee-matcher/SendUnsent.php500
./usr/lib/flexibee-matcher/StahniBanku.php584
./usr/lib/flexibee-matcher/composer.json1108
./usr/lib/flexibee-matcher/setup.php81
./usr/share/
./usr/share/doc/
./usr/share/doc/flexibee-matcher/
./usr/share/doc/flexibee-matcher/changelog.gz486
./usr/share/doc/flexibee-matcher/copyright433
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/flexibee-matcher-new2old.1.gz20
./usr/share/man/man1/flexibee-matcher.1.gz1227
<>

Package Logo

Párovač faktur pro FlexiBee

Instalace balíčku po spuštění (vytvoří potřebné štítky NEIDENTIFIKOVANO a CHYBIFAKTURA)

K dispozici jsou tři skripty na párování faktur:

ParujFakturyNew2Old.php - páruje faktury po jednotlivých dnech zpět až 3mesíce. ParujVydaneFaktury.php - pokusí se zpárovat všechny nespárované vydané doklady ParujPrijateFaktury.php - pokusí se zpárovat všechny nespárované přijaté doklady

Algoritmus je následující:

  • stažení výpisů z banky do flexibee
  • projdou se všechny nespárované příjmy v bance ( /c/firma_s_r_o_/banka/(sparovano eq false AND typPohybuK eq 'typPohybu.prijem' AND storno eq false AND datVyst eq '2018-03-07' )?limit=0&order=datVyst@A&detail=custom:id,kod,varSym,specSym,sumCelkem,datVyst )
  • Platby se pak v cyklu po jedné zpracovávají
  • Ke každé příchozí platbě se program pokusí nalézt vhodný (neuhrazený a nestornovaný) doklad ke spárování. Nejprve podle variabilního symbolu. Nakonec dle prostého specifického symbolu.
  • Výsledky jsou sjednoceny dle čísla bankovního pohybu ve flexibee aby nedocházelo k duplicitám když faktura vyhoví více ruzným hledáním.
  • Platby které nemají dohledaný protějšek dle žádné z podmínek jsou označeny štítkem NEIDENTIFIKOVANO
  • Pokud k platbě není dohledána faktura, dostane platba štítek CHYBIFAKTURA

Dohledané doklady se pak párují takto:

  • FAKTURA - platba se spáruje s fakturou + uhrazená faktura je odeslána z flexibee na email klienta
  • ZALOHA - zálohová faktura je spárována s platbou + je vytvořen daňový doklad se stejným variabilním symbolem od kterého je tato záloha odečtena.
  • DOBR - je proveden odpočet dobropisu
  • Ostatní - je zapsáno varování do protokolu s polu s linkem do webového flexibee

Debian/Ubuntu

Pro Linux jsou k dispozici .deb balíčky. Prosím použijte repo:

wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -
echo deb http://v.s.cz/ stable main > /etc/apt/sources.list.d/ease.list
apt update
apt install php-flexibee-matcher

Po instalaci balíku jsou v systému k dispozici tyto nové příkazy:

  • flexibee-matcher - páruje všechny toho schopné faktury
  • flexibee-matcher-in - páruje všechny toho schopné přijaté faktury
  • flexibee-matcher-out - páruje všechny toho schopné vydané faktury
  • flexibee-automatcher - páruje pomocí automatického párování
  • flexibee-matcher-new2old - páruje příchozí platby den po dni od nejnovějších ke starším
  • flexibee-pull-bank - pouze stahne bankovní výpisy

Závislosti

Tento nástroj ke svojí funkci využívá následující knihovny:

Testování:

K dispozici je základní test funkcionality spustitelný příkazem make test ve zdrojové složce projektu

Pouze testovací faktury a platby se vytvoří příkazem make pretest Prepare

Test sestavení balíčku + test instalace balíčku + test funkce balíčku obstarává Vagrant

Konfigurace

    "EASE_APPNAME": "InvoiceMatcher",             - název aplikace 
    "EASE_MAILTO": "info@yourdomain.net",         - kam odesílat reporty
    "EASE_LOGGER": "syslog|mail|console",         - jak logovat
    "PULL_BANK": "false",                         - stahnout banku před párováním
    "DAYS_BACK": "7"                              - až kolik dní zpět párovat
    "LABEL_PREPLATEK": "PREPLATEK",               - štítek pro označení vetší než kolik vyžaduje uhrazovaná faktura 
    "LABEL_CHYBIFAKTURA": "CHYBIFAKTURA",         - štítek pro označení platby ke které nebyla dohledána faktura
    "LABEL_NEIDENTIFIKOVANO": "NEIDENTIFIKOVANO"  -       

Další software pro FlexiBee

Poděkování

Tento software by nevznikl pez podpory:

Spoje.Net PureHtml Connectica

VersionDownload/Install countLast hit
10.7.82019-06-06 15:50:05