siboxd / fatturapa-model

Model classes for Italian Electronic Invoicing (Fatturazione Elettronica) with annotations to be transformed to XML format thanks to SimpleXML framework "http://simple.sourceforge.net/".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FatturaPA Model Build Status Release License: MIT

Model classes for Italian Electronic Invoicing (Fatturazione Elettronica) with annotations to be transformed to XML format thanks to SimpleXML framework.

Work in progress...

At the moment it contains classes generated automatically from Official Italian E-Invoice XML Schema Definition thanks to android-jaxb project conversion tool.

Usage

Add it to your build.gradle, specifying repository, with:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

and adding dependency with:

dependencies {
    implementation 'com.github.siboxd:fatturapa-model:{latest-version}'
}

Where latest-version can be a version number (found in releases page) or branch name adding -SNAPSHOT at the end, to fetch that branch version.

More detail at JitPack.io documentation


Note: For usage in Android environment you should exclude a dependnecy that would conflict with your build, when creating an APK, in that way:

dependencies {
    implementation 'com.github.siboxd:fatturapa-model:{latest-version}', {
        exclude group: "xpp3", module: "xpp3"
    }
}

That's because Android has internally the same classes, and that results in name clashes.

About

Model classes for Italian Electronic Invoicing (Fatturazione Elettronica) with annotations to be transformed to XML format thanks to SimpleXML framework "http://simple.sourceforge.net/".

License:MIT License


Languages

Language:Java 100.0%