-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] l10n_br_cnab_structure_payment_santander: add new module
- Loading branch information
Showing
17 changed files
with
876 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
============================== | ||
CNAB Structure - Santander 240 | ||
============================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:294851ccd88b33deed4033fd2ecffb0546c105d818914b1e7a65a796ce4a255b | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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 240 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .hooks import post_init_hook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 240", | ||
"summary": """ | ||
This module extends the l10n_br_cnab_structure to implement the Santander | ||
240 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"]}, | ||
} |
5 changes: 5 additions & 0 deletions
5
l10n_br_cnab_structure_payment_santander/data/cnab.line.field.group.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
19
l10n_br_cnab_structure_payment_santander/data/cnab.payment.way.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
5 changes: 5 additions & 0 deletions
5
l10n_br_cnab_structure_payment_santander/data/l10n_br_cnab.batch.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
"id","name","cnab_structure_id/id" | ||
"cnab_structure_payment_santander_240.cnab_santander_240_pagamentos","Pagamento","cnab_structure_payment_santander_240.cnab_santander_240" | ||
"cnab_structure_payment_santander_240.cnab_santander_240_boletos","Boletos","cnab_structure_payment_santander_240.cnab_santander_240" | ||
"cnab_structure_payment_santander_240.cnab_santander_240_concessionarias_tributos","Contas de Concessionárias e Tributos","cnab_structure_payment_santander_240.cnab_santander_240" | ||
"cnab_structure_payment_santander_240.cnab_santander_240_tributos_sem_codigo_de_barras","Tributos sem código de barras e FGTS-GRF/GRRF/GRDE com código de barras","cnab_structure_payment_santander_240.cnab_santander_240" |
19 changes: 19 additions & 0 deletions
19
l10n_br_cnab_structure_payment_santander/data/l10n_br_cnab.line.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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","cnab_structure_payment_santander_240.cnab_santander_240_pagamentos","Sending and Return","cnab_structure_payment_santander_240.cnab_santander_240","","TRUE" | ||
"cnab_santander_240_pagamentos_segmento_a","A","2","Segment","cnab_structure_payment_santander_240.cnab_santander_240_pagamentos","Sending and Return","cnab_santander_240","","TRUE" | ||
"cnab_santander_240_pagamentos_segmento_b","B","3","Segment","cnab_structure_payment_santander_240.cnab_santander_240_pagamentos","Sending and Return","cnab_santander_240","cnab_santander_240_pay_way_45","FALSE" | ||
"cnab_santander_240_pagamentos_trailer","","4","Trailer","cnab_structure_payment_santander_240.cnab_santander_240_pagamentos","Sending and Return","cnab_santander_240","","TRUE" | ||
"cnab_santander_240_boleto_header","","5","Header","cnab_structure_payment_santander_240.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","","TRUE" | ||
"cnab_santander_240_boleto_segmento_j","J","6","Segment","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.cnab_santander_240_boletos","Sending and Return","cnab_santander_240","","FALSE" | ||
"cnab_santander_240_boleto_trailer","","9","Trailer","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.cnab_santander_240_concessionarias_tributos","Sending and Return","cnab_santander_240","","FALSE" | ||
"cnab_santander_240_conc_tributo_bc_trailer","","12","Trailer","cnab_structure_payment_santander_240.cnab_santander_240_concessionarias_tributos","Sending and Return","cnab_santander_240","","FALSE" | ||
"cnab_santander_240_tributo_sem_bc_header","","13","Header","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.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","cnab_structure_payment_santander_240.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" |
Oops, something went wrong.