fattura-elettronica-reader
Validate, extract, and generate printables of electronic invoice files received from the Sistema di Interscambio.
Documentation
https://docs.franco.net.eu.org/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': 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,
'destination_directory': '/dev/shm/invoices',
}
>>> 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 invoices page in the ftutorials repository.
CLI helps
$ fattura_elettronica_reader --help
License
Copyright (c) 2018 Enio Carboni - Italy
Copyright (C) 2019-2023 Franco Masotti (franco \D\o\T masotti {-A-T-} tutanota \D\o\T 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/.
Changelog and trusted source
You can check the authenticity of new releases using my public key.
Changelogs, instructions, sources and keys can be found at blog.franco.net.eu.org/software#fattura-elettronica-reader.
Crypto donations
- Bitcoin:
bc1qnkflazapw3hjupawj0lm39dh9xt88s7zal5mwu - Monero:
84KHWDTd9hbPyGwikk33Qp5GW7o7zRwPb8kJ6u93zs4sNMpDSnM5ZTWVnUp2cudRYNT6rNqctnMQ9NbUewbj7MzCBUcrQEY - Dogecoin:
DMB5h2GhHiTNW7EcmDnqkYpKs6Da2wK3zP - Vertcoin:
vtc1qd8n3jvkd2vwrr6cpejkd9wavp4ld6xfu9hkhh0
Metadata
Release files for fattura-elettronica-reader 3.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fattura_elettronica_reader-3.0.5.tar.gz | 30.0 kB | Without provenance | Details for fattura_elettronica_reader-3.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fattura_elettronica_reader-3.0.5-py3-none-any.whl | Python 3 | none | any | Details for fattura_elettronica_reader-3.0.5-py3-none-any.whl |
Total release size: 63.1 kB
Release files / fattura_elettronica_reader-3.0.5.tar.gz
| Download URL | fattura_elettronica_reader-3.0.5.tar.gz |
|---|---|
| Size | 30.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf29d104b42c01253c9ec16ce30093d6802935dc409d2cc4204fe5ea6f9145ed
|
|
BLAKE2b-256 checksum How to use checksums |
2033560c3ae1b9edff53a701c3b35fdd351bc0d86a3e6ae3646000c435fcc3b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.5 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.2
|
Release files / fattura_elettronica_reader-3.0.5-py3-none-any.whl
| Download URL | fattura_elettronica_reader-3.0.5-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c2ef87c5a01ef5e3955430ad13397bc59c64ab6cb826aa3c6aa54a5593f3255
|
|
BLAKE2b-256 checksum How to use checksums |
5b9723cece5bd54275065c15da2fa6e7c1b6c20515a429e5a88318b8b9d02ae0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.5 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.2
|
Security for fattura-elettronica-reader 3.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.