Model classes for Italian Electronic Invoicing (Fatturazione Elettronica) with annotations to be transformed to XML format thanks to SimpleXML framework.
At the moment it contains classes generated automatically from Official Italian E-Invoice XML Schema Definition thanks to android-jaxb project conversion tool.
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.