Skip to main content

Helpers for eInvoicing and eReporting in France

Project description

This python library provides helper methods for eInvoicing and eReporting in France. This lib is used by the Odoo community module l10n_fr_einvoicing available on akretion/fr-einvoicing, but we would be very happy if other software use it too. The primary goal of this lib is to mutualize code between different versions of the module for different versions of Odoo.

This lib implements the AFNOR XP Z12-013 standard for the APIs of the Accredited Platforms (Plateformes Agréées i.e. PA in French). It will also contain code to generate and parse CDAR XML files to manage the life-cycle of e-invoices.

This lib is currently under development. Consider it as alpha software: method names and arguments can change at any time. Breaking changes will slow down when we reach beta status and it will end when we reach production status.

The AFNOR APIs are fully tested with SUPER PDP, but the code should work with any other AFNOR-compliant accredited platform.

Licence

This library is published under the GNU Lesser General Public License v2.1 or, at your option, any later version.

Contributors

Changelog

  • version 0.1 dated 2026-04-22

    • initial release
  • version 0.2 dated 2026-04-23

    • Fixes in re-formatting of directory lines for B2G when SIRET has specific global properties
  • version 0.3 dated 2026-04-30

    • Add methods send_flow_parsed(), search_flows_parsed() and get_flow_metadata_parsed()
    • Add multi-page support in search_flows()
  • version 0.4 dated 2026-05-14

    • Add methods to generate and parse CDAR XML files for life cycle

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfrctc-0.4.tar.gz (50.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfrctc-0.4-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file pyfrctc-0.4.tar.gz.

File metadata

  • Download URL: pyfrctc-0.4.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pyfrctc-0.4.tar.gz
Algorithm Hash digest
SHA256 aab98659bb0291e45c04b0f2d3874c048a33bc870d5f6db3240753769a334eb8
MD5 b508a0cc01f9e0fb595607d5255b279e
BLAKE2b-256 a2ec74b58fa7df925537d58c36252fbf93e920cf0c24b378324f2d0cfb8893f6

See more details on using hashes here.

File details

Details for the file pyfrctc-0.4-py3-none-any.whl.

File metadata

  • Download URL: pyfrctc-0.4-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pyfrctc-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 75c6c7885beb5383aec669b93a323fdd49569e32e7e795a992375474eeabfcd8
MD5 791541a8ec6bc6d178a98f9eaa515d76
BLAKE2b-256 cd74a369f34dbd8d5b2e10a7cd3fe6dedfced16add1993674edb6267a0d9d49f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page