Skip to content

Commit

Permalink
Add module l10n_fr_account_banking_pain_base
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Nov 15, 2023
1 parent 6e88a15 commit b466f65
Show file tree
Hide file tree
Showing 9 changed files with 656 additions and 0 deletions.
86 changes: 86 additions & 0 deletions l10n_fr_account_banking_pain_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
=====================
France ISO 20022/PAIN
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:53ee27cabda20128bbb2dfc9f84b76778ff753844e6720b035dd77b18ce44385
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_account_banking_pain_base
:alt: OCA/l10n-france
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_account_banking_pain_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-france&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds the regulatory reporting codes used in France for the generation of ISO 20022/PAIN credit transfer and direct debit files. These codes are defined in the `technical note DGS n°16-02 <https://www.banque-france.fr/system/files/2023-08/banque_de_france_espace_declarants_note_technique_dgs_ndeg_16-02_v1.1.pdf>`_ of the `Banque de France <https://www.banque-france.fr/>`_.

These regulatory codes are required for non-SEPA credit transfers with an amount over 50 000 € (or equivalent amount in another currency).

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-france/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-france/issues/new?body=module:%20l10n_fr_account_banking_pain_base%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

* Alexis de Lattre <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_account_banking_pain_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
20 changes: 20 additions & 0 deletions l10n_fr_account_banking_pain_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2023 Akretion France (http://www.akretion.com/)
# @author: Alexis de Lattre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "France ISO 20022/PAIN",
"version": "16.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"summary": "Regulatory reporting codes for ISO 20022/PAIN files",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/l10n-france",
"depends": ["l10n_fr", "account_banking_pain_base"],
"data": [
"data/account_pain_regulatory_reporting.xml",
],
"installable": True,
"auto_install": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
@author: Alexis de Lattre <[email protected]>
Source : https://www.banque-france.fr/system/files/2023-08/banque_de_france_espace_declarants_note_technique_dgs_ndeg_16-02_v1.1.pdf
section 3.2
-->
<odoo noupdate="1">

<record id="e01" model="account.pain.regulatory.reporting">
<field name="code">E01</field>
<field
name="name"
>Biens (marchandises générales, avitaillement, travail à façon et négoce)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e02" model="account.pain.regulatory.reporting">
<field name="code">E02</field>
<field name="name">Services de transport (maritimes, aériens et autres)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e03" model="account.pain.regulatory.reporting">
<field name="code">E03</field>
<field name="name">Services informatiques et de communication</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e04" model="account.pain.regulatory.reporting">
<field name="code">E04</field>
<field name="name">Services de construction</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e05" model="account.pain.regulatory.reporting">
<field name="code">E05</field>
<field
name="name"
>Redevances et droits de licence, acquisition / cession et utilisation de droits d’exploiter des ressources, de droits de franchise et d’autres droits de propriété</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e06" model="account.pain.regulatory.reporting">
<field name="code">E06</field>
<field name="name">Services liés au tourisme</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e07" model="account.pain.regulatory.reporting">
<field name="code">E07</field>
<field
name="name"
>Autres services (y compris services aux entreprises et aux professionnels)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e08" model="account.pain.regulatory.reporting">
<field name="code">E08</field>
<field
name="name"
>Revenus d’investissement (y compris dividendes et intérêts)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e09" model="account.pain.regulatory.reporting">
<field name="code">E09</field>
<field
name="name"
>Transferts courants (y compris l’envoi de fonds, salaires et rémunérations, pensions)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e10" model="account.pain.regulatory.reporting">
<field name="code">E10</field>
<field
name="name"
>Investissements intra-groupes (participations, prêts, dépôts et règlements intervenant dans le cadre de procédures de netting)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e11" model="account.pain.regulatory.reporting">
<field name="code">E11</field>
<field
name="name"
>Désinvestissements intra-groupes (participations, prêts, dépôts et règlements intervenant dans le cadre de procédures de netting)</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e12" model="account.pain.regulatory.reporting">
<field name="code">E12</field>
<field name="name">Opérations sur actifs immobiliers</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e13" model="account.pain.regulatory.reporting">
<field name="code">E13</field>
<field
name="name"
>Titres de dettes et actions (valeurs mobilières de placement et titres immobilisés) à l’exclusion des participations</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e14" model="account.pain.regulatory.reporting">
<field name="code">E14</field>
<field name="name">Instruments financiers dérivés</field>
<field name="country_id" ref="base.fr" />
</record>

<record id="e15" model="account.pain.regulatory.reporting">
<field name="code">E15</field>
<field name="name">Prêts et emprunts hors-groupe</field>
<field name="country_id" ref="base.fr" />
</record>

</odoo>
1 change: 1 addition & 0 deletions l10n_fr_account_banking_pain_base/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Alexis de Lattre <[email protected]>
3 changes: 3 additions & 0 deletions l10n_fr_account_banking_pain_base/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module adds the regulatory reporting codes used in France for the generation of ISO 20022/PAIN credit transfer and direct debit files. These codes are defined in the `technical note DGS n°16-02 <https://www.banque-france.fr/system/files/2023-08/banque_de_france_espace_declarants_note_technique_dgs_ndeg_16-02_v1.1.pdf>`_ of the `Banque de France <https://www.banque-france.fr/>`_.

These regulatory codes are required for non-SEPA credit transfers with an amount over 50 000 € (or equivalent amount in another currency).
Loading

0 comments on commit b466f65

Please sign in to comment.