A utility that is able to check and extract electronic invoice received from the Sistema di Interscambio.
Project description
Validate, extract, and generate printables of electronic invoice files received from the “Sistema di Interscambio”.
Documentation
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': False, '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, 'ignore assets checksum': False, } >>> 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-2021 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fattura_elettronica_reader-2.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de2b1ae1b9138e3ed0edca05c173b1c5efbd5a9eb4cd605a00f9e3215beeb7ef |
|
MD5 | 294ffa9d72e375e48e900d3d69558573 |
|
BLAKE2b-256 | 06422ad7e2c7ed41a9996baaba2f7be38e30771f09a3009cc5b89b387444b38f |
Hashes for fattura_elettronica_reader-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191f5bbe6ea051877aa51753fc28cf14ad75d95d5652251ff4a802aa4f481ca9 |
|
MD5 | a2a8ba158f7757e2749c33320239ebf3 |
|
BLAKE2b-256 | c222d98dabd6998140fec71d22a2bd97f6ffd1195c8ba9c2d63a6541df119f46 |