This python library help generate the TéléTD files for the french fiscal administration, which include DAS2, also called Déclaration d'honoraires. It is used by the OCA module l10n_fr_das2 from OCA/l10n-france.
The French fiscal administration updates the encryption keys for DAS2 files every year. The encryption keys are updated in this module, which avoids updating the OCA module l10n_fr_das2 for every Odoo version. The specifications of the DAS2 file and the encryption keys are available on www.impots.gouv.fr/tiers-declarants-0.
This library is published under the GNU Lesser General Public License v2.1 or, at your option, any later version.
- Alexis de Lattre [email protected]
- version 0.9 dated 2025-06-17: drop pgpy because it is not maintained. Replace by python-gnupg, a python wrapper on gpg. Add pyfrdas2.__version__ to get the version of the lib.
- version 0.8 dated 2025-06-06: switch back to pgpy because pgpy13 solves the warning but requires a minimum version of cryptography which breaks odoo tests on python 3.10.
- version 0.7 dated 2025-06-06: switch to pgpy13 to avoid warning. Remove use of pkg_resources.
- version 0.6 dated 2025-03-21: threshold for year 2024+ updated from 1200 € to 2400 € (source)
- version 0.5 dated 2024-12-14: modernize packaging and version management
- version 0.4 dated 2024-06-06: new release to fix bad build
- version 0.3 dated 2024-06-06: add method get_partner_declaration_threshold()
- version 0.2 dated 2024-03-12: declare pyfrdas2 as compatible with python 3.6+
- version 0.1 dated 2024-03-11: initial release