Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][ADD] l10n_br_cnab_structure_payment_santander: add new module #72

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions l10n_br_cnab_structure_payment_santander/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
==========================
CNAB Structure - Santander
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7de5e39dc2b68f27d14ae3253dbba4e70a01d4b9dca27a2ef34804b3aaa9e075
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-Escodoo%2Faccount--addons-lightgray.png?logo=github
:target: https://github.com/Escodoo/account-addons/tree/14.0/l10n_br_cnab_structure_payment_santander
:alt: Escodoo/account-addons

|badge1| |badge2| |badge3|

This module extends the functionality for implementing Brazilian banking automation through CNAB file exchange. It enhances the l10n_br_cnab_structure module by creating the data structure for Santander Payments.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/Escodoo/account-addons/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/Escodoo/account-addons/issues/new?body=module:%20l10n_br_cnab_structure_payment_santander%0Aversion:%2014.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
~~~~~~~

* Escodoo

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

* `Escodoo <https://www.escodoo.com.br>`_:

* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
* Douglas Custodio <douglas.custodio@escodoo.com.br>
* Kaynnan Lemes <kaynnan.lemes@escodoo.com.br>

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

This module is part of the `Escodoo/account-addons <https://github.com/Escodoo/account-addons/tree/14.0/l10n_br_cnab_structure_payment_santander>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions l10n_br_cnab_structure_payment_santander/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .hooks import post_init_hook
19 changes: 19 additions & 0 deletions l10n_br_cnab_structure_payment_santander/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2024 - TODAY, Escodoo
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

# pylint:disable=file-not-used
{
"name": "CNAB Structure - Santander",
"summary": """
This module extends the l10n_br_cnab_structure to implement the Santander
data layout. It allows defining the structure for generating the CNAB
file, used to exchange information with Brazilian banks.
""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Escodoo",
"website": "https://github.com/Escodoo/account-addons",
"depends": ["l10n_br_cnab_structure"],
"post_init_hook": "post_init_hook",
"external_dependencies": {"python": ["pyyaml", "unidecode"]},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"id","name","cnab_line_id/id"
"cnab_line_field_group_santander_c_corrente_mesmo_banco","Conta Corrente - Mesmo Banco","cnab_santander_240_pagamentos_segmento_a"
"cnab_line_field_group_santander_c_corrente_outros_banco","Conta Corrente - Outros Bancos","cnab_santander_240_pagamentos_segmento_a"
"cnab_line_field_group_santander_c_pagmaento_outros_banco","Conta Pagamento - Outros Bancos","cnab_santander_240_pagamentos_segmento_a"
"cnab_line_field_group_santander_c_corrente_chave_pix","Conta Corrente - Chave PIX","cnab_santander_240_pagamentos_segmento_a"
19 changes: 19 additions & 0 deletions l10n_br_cnab_structure_payment_santander/data/cnab.payment.way.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"id","code","description","batch_id/id","cnab_structure_id/id","clearinghouse_code"
"cnab_santander_240_pay_way_01","01","Crédito em Conta Corrente",,"cnab_santander_240",
"cnab_santander_240_pay_way_03","03","Transferências para outros bancos (DOC, TED CIP e TED STR)",,"cnab_santander_240",
"cnab_santander_240_pay_way_05","05","Crédito em Conta Poupança",,"cnab_santander_240",
"cnab_santander_240_pay_way_10","10","Ordem de Pagamento / Recibo",,"cnab_santander_240",
"cnab_santander_240_pay_way_11","11","Pagamento de Contas e Tributos com Código de Barras¹",,"cnab_santander_240",
"cnab_santander_240_pay_way_16","16","DARF Normal – sem código de barras",,"cnab_santander_240",
"cnab_santander_240_pay_way_17","17","GPS - Guia da Previdência Social – sem código de barras",,"cnab_santander_240",
"cnab_santander_240_pay_way_20","20","Caixa “Autenticação”",,"cnab_santander_240",
"cnab_santander_240_pay_way_22","22","GARE SP ICMS – sem código de barras",,"cnab_santander_240",
"cnab_santander_240_pay_way_23","23","GARE SP DR – sem código de barras",,"cnab_santander_240",
"cnab_santander_240_pay_way_24","24","GARE SP ITCMD – sem código de barras",,"cnab_santander_240",
"cnab_santander_240_pay_way_25","25","IPVA SP e MG – Pagamento com o RENAVAM",,"cnab_santander_240",
"cnab_santander_240_pay_way_26","26","LICENCIAMENTO SP e MG – Pagamento com o RENAVAM",,"cnab_santander_240",
"cnab_santander_240_pay_way_27","27","DPVAT SP e MG – Pagamento com o RENAVAM",,"cnab_santander_240",
"cnab_santander_240_pay_way_30","30","Liquidação de títulos em carteira de cobrança próprio Santander",,"cnab_santander_240",
"cnab_santander_240_pay_way_31","31","Liquidação de títulos outros Bancos",,"cnab_santander_240",
"cnab_santander_240_pay_way_35","35","Ordem de Crédito por Teleprocessamento – OCT",,"cnab_santander_240",
"cnab_santander_240_pay_way_45","45","Pix Transferência – Obrigatório o preenchimento dos Segmentos A e B, Segmento C em caso de conta pagamento.",,"cnab_santander_240","9"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"id","name","cnab_structure_id/id"
"l10n_br_cnab_structure_payment_santander.cnab_santander_240_pagamentos","Pagamento","l10n_br_cnab_structure_payment_santander.cnab_santander_240"
"l10n_br_cnab_structure_payment_santander.cnab_santander_240_boletos","Boletos","l10n_br_cnab_structure_payment_santander.cnab_santander_240"
"l10n_br_cnab_structure_payment_santander.cnab_santander_240_concessionarias_tributos","Contas de Concessionárias e Tributos","l10n_br_cnab_structure_payment_santander.cnab_santander_240"
"l10n_br_cnab_structure_payment_santander.cnab_santander_240_tributos_sem_codigo_de_barras","Tributos sem código de barras e FGTS-GRF/GRRF/GRDE com código de barras","l10n_br_cnab_structure_payment_santander.cnab_santander_240"
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"id","segment_code","sequence","type","batch_id/id","communication_flow","cnab_structure_id/id","cnab_payment_way_ids/id","requerid"
"cnab_santander_240_pagamento_header","","0","Header","","Sending and Return","cnab_santander_240","","TRUE"
"cnab_santander_240_pagamentos_header","","1","Header","l10n_br_cnab_structure_payment_santander.cnab_santander_240_pagamentos","Sending and Return","l10n_br_cnab_structure_payment_santander.cnab_santander_240","","TRUE"
"cnab_santander_240_pagamentos_segmento_a","A","2","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_pagamentos","Sending and Return","cnab_santander_240","","TRUE"
"cnab_santander_240_pagamentos_segmento_b","B","3","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_pagamentos","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_45","FALSE"
"cnab_santander_240_pagamentos_trailer","","4","Trailer","l10n_br_cnab_structure_payment_santander.cnab_santander_240_pagamentos","Sending and Return","cnab_santander_240","","TRUE"
"cnab_santander_240_boleto_header","","5","Header","l10n_br_cnab_structure_payment_santander.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","","TRUE"
"cnab_santander_240_boleto_segmento_j","J","6","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_31,cnab_santander_240_pay_way_30","FALSE"
"cnab_santander_240_boleto_segmento_j52","J-52","7","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_31,cnab_santander_240_pay_way_30","FALSE"
"cnab_santander_240_boleto_segmento_j52pix","J-52 PIX","8","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","","FALSE"
"cnab_santander_240_boleto_trailer","","9","Trailer","l10n_br_cnab_structure_payment_santander.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_31,cnab_santander_240_pay_way_30","FALSE"
"cnab_santander_240_conc_tributo_bc_header","","10","Header","l10n_br_cnab_structure_payment_santander.cnab_santander_240_concessionarias_tributos","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_17","FALSE"
"cnab_santander_240_conc_tributo_bc_segmento_o","O","11","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_concessionarias_tributos","Sending and Return","cnab_santander_240","","FALSE"
"cnab_santander_240_conc_tributo_bc_trailer","","12","Trailer","l10n_br_cnab_structure_payment_santander.cnab_santander_240_concessionarias_tributos","Sending and Return","cnab_santander_240","","FALSE"
"cnab_santander_240_tributo_sem_bc_header","","13","Header","l10n_br_cnab_structure_payment_santander.cnab_santander_240_tributos_sem_codigo_de_barras","Sending and Return","cnab_santander_240","","FALSE"
"cnab_santander_240_tributo_sem_bc_segmento_n","N","14","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_tributos_sem_codigo_de_barras","Sending and Return","cnab_santander_240","","TRUE"
"cnab_santander_240_tributo_sem_bc_segmento_b","B","15","Segment","l10n_br_cnab_structure_payment_santander.cnab_santander_240_tributos_sem_codigo_de_barras","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_35","FALSE"
"cnab_santander_240_tributo_sem_bc_trailer","","16","Trailer","l10n_br_cnab_structure_payment_santander.cnab_santander_240_tributos_sem_codigo_de_barras","Sending and Return","cnab_santander_240","","TRUE"
"cnab_santander_240_trailer","","17","Trailer","","Sending and Return","cnab_santander_240","","TRUE"
Loading
Loading