Code Monkey home page Code Monkey logo

abraflexi-importer's Introduction

ISDOC files importer From IMAP folder to AbraFlexi

Logo

Tool for importing ISDOC/ISDOCx files into AbraFlexi

Features:

  • Create new entries in Addres Book
  • Create new entries in Price List
  • Handle storage moves

time tracker

Installation

Method 1) for developers:

git clone [email protected]:VitexSoftware/AbraFlexi-email-importer.git
cd AbraFlexi-email-importer.git
composer install

Method 2) for users:

wget https://github.com/VitexSoftware/AbraFlexi-email-importer/archive/main.zip
unzip AbraFlexi-email-importer-main.zip
cd AbraFlexi-email-importer-main
composer.phar install

Method 3) For admins. Debian and Ubuntu based distros can use our repository to install latest version by this commands:

sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install abraflexi-email-importer

Configuration

Constants/Environment to set

export    IMAP_SERVER="string"
export    IMAP_PORT="integer"
export    IMAP_LOGIN="string"
export    IMAP_PASSWORD="password"
export    IMAP_MAILBOX="string"
export    IMAP_OPTIONS="imap/ssl"

export    ABRAFLEXI_URL="https://demo.flexibee.eu:5434"
export    ABRAFLEXI_LOGIN="winstrom"
export    ABRAFLEXI_PASSWORD="winstrom"
export    ABRAFLEXI_COMPANY="demo"
export    ABRAFLEXI_BANK="BANKA"
export    ABRAFLEXI_STORAGE="SKLAD"

export    FORCE_INCOMING_INVOICE_TYPE="code:Faktura přijatá"
export    ACCEPT_PROVIDER_IDS="ico1,ico2,ico3"
export    DENY_PROVIDER_IDS="icoA,icoB,icoC"
  • ABRAFLEXI_BANK - code of default bank account
  • ABRAFLEXI_STORAGE - code of default storage
  • ACCEPT_PROVIDER_IDS - Always accept invoice from this IDs
  • DENY_PROVIDER_IDS - Always denz invoice from this IDs

Imap options described here: https://www.php.net/manual/en/function.imap-open.php

you can also create file /etc/profile.d/abraflexi-email-importer.sh with export definitions to be ready system wide.

Usage

run command bin/imap2abraflexi by hand or periodically to check & import of new invoices in your mailbox.

Supported by

abraflexi-importer's People

Contributors

vitexus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.