Skip to content
Development and maintenance for eIgor project.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitlab
.mvn/wrapper
cen-core
converter-cen-cii
converter-cen-fattpa
converter-cen-ubl
converter-cen-ublcn
converter-cii-cen
converter-commons
converter-csvcen-cen
converter-fattpa-cen
converter-ubl-cen
converter-ublcn-cen
eigor-api
eigor-cli
eigor-commons
eigor-core
eigor-parent
eigor-ph-schematron
eigor-spring-core
eigor-test-schemas
eigor-test
ph-sch2xslt-maven-plugin
src/site
.gitignore
.gitlab-ci.yml
BUILD.md
CONTRIBUTING.md
README.md
RUN.md
change-version.ps1
change-version.sh
mvnw
mvnw.cmd
pom.xml
test-times.csv
test.txt

README.md

eIgor

Development and maintenance for eIgor project.

Eigor Command Line

Example: Converting a CEN Invoice To FattPa

  1. Prepare a CEN file and store it in a cen.csv. For instance like that.
BG/BT,Value
BT-1,TOSL110
BT-2,10-Apr-13
BT-3,Consignment invoice
BT-5,Danish Krone
BT-9,10-May-13
BG-2,
BT-24,urn:cen.eu:en16931:2017
BG-4,
BT-27,SellerCompany
BT-31,123456789MVA [DK:VAT]
BG-5,
BT-35,Indirizzo obbligatorio
BT-37,comune obbligatorio
BT-38,20100
BT-40,Denmark
BG-7,
BT-44,Buyercompany ltd
BT-48,
BT-49,UFF123
BG-8,
BT-50,Indirizzo obbligatorio
BT-52,comune obbligatorio
BT-53,20100
BT-55,Denmark
BG-22,
BT-106,4000
BT-109,4000
BT-110,675
BT-112,4675
BT-115,4675
BG-23,
BT-116,1500
BT-117,375
BT-118,Standard rate
BT-119,25%
BG-23,
BT-116,2500
BT-117,300
BT-118,Standard rate
BT-119,12%
BG-25,
BT-126,1
BT-129,1000
BT-130,Each
BT-131,1000
BG-29,
BT-146,1
BG-30,
BT-151,Standard rate
BT-152,25%
BG-31,
BT-153,Printing paper
BG-25,
BT-126,2
BT-129,100
BT-130,Each
BT-131,500
BG-29,
BT-146,5
BG-30,
BT-151,Standard rate
BT-152,25%
BG-31,
BT-153,Parker Pen
BG-25,
BT-126,3
BT-129,500
BT-130,Each
BT-131,2500
BG-29,
BT-146,5
BG-30,
BT-151,Standard rate
BT-152,12%
BG-31,
BT-153,American Cookies
  1. Invokes the converter

    java -jar eigor.jar --input cen.csv --source cen --output ./result --target fattpa

Eigor API

  • Usage information
    • API usage examples in eigor-api/src/test/java/com/infocert/eigor/api
    • converterdata and example eigor.properties are available eigor-api/target/eigor-api-extras-{version}.zip after a release profile install.

Latest Snapshot

  • Download the lastest snapshot version of the Eigor CLI command line interface to convert invoices.

Latest Release

  • Download the lastest stable version of the Eigor CLI command line interface to convert invoices.

Documentation

Eigor documentation

Build

Please check the build instructions.

Run

Please check the run instructions.

Release

  1. start a release with gitflow. That places you in a release/eigor-x.y.z branch.
  2. from the root project executes ./mvnw versions:set and set the release name: i.e. x.y.z
  3. run ./mvnw clean install to check all is working correctly
  4. commit all modified files, usually the poms.
  5. close the release with gitflow.
  6. in local develop executes again ./mvnw versions:set to set the next x.y.z+1-SNAPSHOT
  7. run a ./mvnw install locally to have all project dependencies updated.
  8. push master TAG inlcuded!
  9. push and develop.

Contributing

  • Make your changes in a new git branch.

  • Please be aware that we are following the git flow branching model with develop as the branch for the next version:

    git checkout -b feature/my-shiny-contribution develop

  • Other info:

    • Branch name for production releases: master
    • Branch name for "next release" development: develop
    • Feature branches? feature/
    • Bugfix branches? bugfix/
    • Release branches? release/
    • Hotfix branches? hotfix/
    • Support branches? support/
    • Version tag prefix? : eigor-
  • git flow cheatsheet

WARNING

Since develop is now a protected branch, all merges to it must be done through GitLab by opening a merge request.
DO NOT FINISH FEATURES THROUGH GIT FLOW. If feature branches are closed by calling git flow feature finish it will automatically merge into develop and remove the remote feature branch.
Always use the merge request feature in GitLab and then delete your local feature branch after merge has been approved.

You can’t perform that action at this time.