Validate, extract, and generate printables of electronic invoice files received from the "Sistema di Interscambio". https://docs.franco.net.eu.org/fattura-elettronica-reader/
 
 
 
Go to file
Franco Masotti 78351b3f66
Preparing for new release.
2020-07-12 22:03:28 +02:00
assets Added badges. 2020-07-06 14:56:01 +02:00
docs Fixed linter warnings. Updated dependencies versions. Updated software version. 2020-07-11 16:28:53 +02:00
fattura_elettronica_reader Preparing for new release. 2020-07-12 22:03:28 +02:00
tests First commit. 2019-08-10 13:12:47 +02:00
.gitignore Use of pipenv. Changed documentation theme. Fixes. 2020-07-01 12:37:42 +02:00
LICENSE.txt Forgot to add the license file. 2019-08-10 18:40:06 +02:00
MANIFEST.in Added manifest file. 2019-09-03 21:50:53 +02:00
Makefile Fixes and PEP linters. 2020-07-10 15:25:53 +02:00
Pipfile Fixed linter warnings. Updated dependencies versions. Updated software version. 2020-07-11 16:28:53 +02:00
README.rst Added example in readme. Fixed docstrings. 2020-07-11 19:33:07 +02:00
setup.py Fixed linter warnings. Updated dependencies versions. Updated software version. 2020-07-11 16:28:53 +02:00

README.rst

fattura-elettronica-reader

PyPI md-toc version PyPI - License PyPI - Python Version Downloads Gitter Dependent repos (via libraries.io) Buy me a coffee

Validate, extract, and generate printables of electronic invoice files received from the "Sistema di Interscambio".

Documentation

http://frnmst.github.io/fattura-elettronica-reader

API examples

fattura-elettronica-reader has a public API. This means for example that you can you easily read invoice files within another Python program:

>>> import fattura_elettronica_reader
>>> data = {
        'patched': True,
        'configuration file': str(),
        'write default configuration file': str(),
        'extract attachments': True,
        'metadata file': 'myfile.xml',
        'invoice xslt type': 'ordinaria',
        'no invoice xml validation': False,
        'force invoice schema file download': False,
        'generate html output': True,
        'invoice filename': str(),
        'no checksum check': False,
        'force invoice xml stylesheet file download': False,
        'ignore attachment extension whitelist': False,
        'ignore attachment filetype whitelist': False,
        'ignore signature check': False,
        'ignore signers certificate check': False,
        'force trusted list file download': False,
        'keep original file': True,
}
>>> fattura_elettronica_reader.assert_data_structure(source='invoice', file_type='p7m', data=data)
>>> fattura_elettronica_reader.pipeline(
        source='invoice',
        file_type='p7m',
        data=data,
    )

Have a look at the archive_invoice_files script in the automated tasks repository.

CLI helps

:

$ fattura_elettronica_reader --help

License

Copyright (c) 2018 Enio Carboni - Italy

Copyright (C) 2019-2020 frnmst (Franco Masotti) <franco.masotti@live.com>

fattura-elettronica-reader is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

fattura-elettronica-reader is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with fattura-elettronica-reader. If not, see <http://www.gnu.org/licenses/>.

Trusted source

You can check the authenticity of new releases using my public key.

Instructions, sources and keys can be found at frnmst.gitlab.io/software.