TIP: You can type at any time to perform a new search.
Spain - TicketBAI
l10n_es_edi_tbai · odoo/odoo
Security findings
- Repository
- odoo/odoo · module folder
- Module version
- 1.1
- Category
- Accounting/Localizations/EDI
- Folder size
- 0.27 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-10-05 00:19:52
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier Morel, Raphael Collet, Thibault Delavallée, odoo, Josse Colpaert, Odoo Translation Bot, Christophe Matthieu, Nicolas Martinelli, Victor Feyens, Tiffany Chang (tic), Gauthier Wala (gawa), Yosua Nicolaus, Dylan Kiss (dyki), Chong Wang (cwg), Harsh Modi, Emilio Pascual, Victorien (viso), gteboul, Abdo Mongy, Léo Gizard, Krzysztof Magusiak (krma), Ester Andreetto, Jugurtha, cahu, jlll, soza-odoo, Carlos (csae)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_es_edi_tbai_pos
- Description
This module sends invoices and vendor bills to the "Diputaciones Forales" of Araba/Álava, Bizkaia and Gipuzkoa. Invoices and bills get converted to XML and regularly sent to the Basque government servers which provides them with a unique identifier. A hash chain ensures the continuous nature of the invoice/bill sequences. QR codes are added to emitted (sent/printed) invoices, bills and tickets to allow anyone to check they have been declared. You need to configure your certificate and the tax agency.
Code Analysis
Views touched (18)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
certificate_certificate_view_form |
certificate_certificate_view_form.inherit.l10n_es_edi_tbai | certificate.certificate | form | Inherits certificate.certificate_certificate_view_form |
certificate_certificate_view_search |
certificate_certificate_view_search.inherit.l10n_es_edi_tbai | certificate.certificate | search | Inherits certificate.certificate_certificate_view_search |
l10n_es_tbai_external_layout_standard |
l10n_es_tbai_external_layout_standard | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_company_form_l10n_es_edi_tbai |
res.company.form | res.company | form | Inherits account.view_company_form |
res_config_settings_view_form |
res.config.settings.view.form.inherit.l10n.es | res.config.settings | form | Inherits l10n_es.res_config_settings_view_form |
template_LROE_240_inner |
template_LROE_240_inner | ir.ui.view | qweb | New |
template_LROE_240_inner_recibidas |
template_LROE_240_inner_recibidas | ir.ui.view | qweb | New |
template_LROE_240_main |
template_LROE_240_main | ir.ui.view | qweb | New |
template_LROE_240_main_recibidas |
template_LROE_240_main_recibidas | ir.ui.view | qweb | New |
template_LROE_recibidas_common |
template_LROE_recibidas_common | ir.ui.view | qweb | New |
template_digital_signature |
template_digital_signature | ir.ui.view | qweb | New |
template_invoice_bundle |
template_invoice_bundle | ir.ui.view | qweb | New |
template_invoice_desglose |
template_invoice_desglose | ir.ui.view | qweb | New |
template_invoice_factura |
template_invoice_factura | ir.ui.view | qweb | New |
template_invoice_main_cancel |
template_invoice_main_cancel | ir.ui.view | qweb | New |
template_invoice_main_post |
template_invoice_main_post | ir.ui.view | qweb | New |
template_invoice_sujetos |
template_invoice_sujetos | ir.ui.view | qweb | New |
view_move_form_inherit_l10n_es_edi_tbai |
account.move.form.inherit.l10n_es_edi_tbai | account.move | form | Inherits account.view_move_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (8)
New fields (12)
-
l10n_es_original_invoice_creditedCharstore=Truestring='Original Invoice Credited' -
l10n_es_tbai_cancel_document_idMany2one → l10n_es_edi_tbai.documentcomodel_name='l10n_es_edi_tbai.document'copy=Falsereadonly=True -
l10n_es_tbai_cancel_fileBinaryrelated='l10n_es_tbai_cancel_document_id.xml_attachment_id.raw'string='TicketBAI Cancel File' -
l10n_es_tbai_cancel_file_nameCharrelated='l10n_es_tbai_cancel_document_id.xml_attachment_id.name'string='TicketBAI Cancel File Name' -
l10n_es_tbai_chain_indexIntegerhelp='Invoice index in chain, set if and only if an in-chain XML was submitted and did not error'related='l10n_es_tbai_post_document_id.chain_index'string='TicketBAI chain index' -
l10n_es_tbai_is_requiredBooleancompute='_compute_l10n_es_tbai_is_required'help='Is the Basque EDI (TicketBAI) needed ?'string='TicketBAI required' -
l10n_es_tbai_original_invoice_dateDatecopy=Falsestring='Original Invoice Date (TicketBAI)' -
l10n_es_tbai_post_document_idMany2one → l10n_es_edi_tbai.documentcomodel_name='l10n_es_edi_tbai.document'copy=Falsereadonly=True -
l10n_es_tbai_post_fileBinaryrelated='l10n_es_tbai_post_document_id.xml_attachment_id.raw'string='TicketBAI Post File' -
l10n_es_tbai_post_file_nameCharrelated='l10n_es_tbai_post_document_id.xml_attachment_id.name'string='TicketBAI Post Attachment Name' -
l10n_es_tbai_reversed_idsMany2many → account.movedomain="[('move_type', '=', 'in_invoice'), ('commercial_partner_id', '=', commercial_partner_id)]"help='In the case where a vendor refund has multiple original invoices, you can set them here. 'string='Refunded Vendor Bills' args: 'account.move', 'account_move_tbai_reversed_moves', 'refund_id', 'reversed_move_id' -
l10n_es_tbai_stateSelectioncompute='_compute_l10n_es_tbai_state'string='TicketBAI status' args: [('to_send', 'To Send'), ('sent', 'Sent'), ('cancelled', 'Cancelled')]
-
action_post(self) -
button_draft(self) -
l10n_es_tbai_cancel(self) -
l10n_es_tbai_resend_bill(self) -
l10n_es_tbai_send_bill(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
scopeSelectionselection_add=[('tbai', 'TBAI')]
No public methods.
New fields (8)
-
chain_indexIntegercopy=Falsereadonly=True -
company_idMany2one → res.companyrequired=True args: 'res.company' -
dateDatereadonly=Truerequired=True -
is_cancelBooleandefault=Falsereadonly=True -
nameCharreadonly=Truerequired=True -
response_messageTextcopy=Falsereadonly=True -
stateSelectioncopy=Falsedefault='to_send'readonly=Truestring='status' args: [('to_send', 'To Send'), ('accepted', 'Accepted'), ('rejected', 'Rejected')] -
xml_attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'copy=Falsereadonly=Truestring='XML Attachment'
No public methods.
New fields (7)
-
l10n_es_tbai_certificate_idMany2one → certificate.certificatecomodel_name='certificate.certificate'compute='_compute_l10n_es_tbai_certificate'readonly=Falsestore=Truestring='Certificate (TicketBAI)' -
l10n_es_tbai_certificate_idsOne2many → certificate.certificatecomodel_name='certificate.certificate'domain=[('scope', '=', 'tbai')]inverse_name='company_id' -
l10n_es_tbai_chain_sequence_idMany2one → ir.sequencecomodel_name='ir.sequence'copy=Falsereadonly=Truestring='TicketBai account.move chain sequence' -
l10n_es_tbai_is_enabledBooleancompute='_compute_l10n_es_tbai_is_enabled' -
l10n_es_tbai_license_htmlHtmlcompute='_compute_l10n_es_tbai_license_html'string='TicketBAI license' -
l10n_es_tbai_tax_agencySelectionselection=[('araba', 'Hacienda Foral de Araba'), ('bizkaia', 'Hacienda Foral de Bizkaia'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa')]string='Tax Agency for TBAI' -
l10n_es_tbai_test_envBooleandefault=Truehelp='Use the test environment for TicketBAI'string='TBAI Test Mode'
No public methods.
New fields (3)
-
l10n_es_tbai_certificate_idsOne2manyreadonly=Falserelated='company_id.l10n_es_tbai_certificate_ids' -
l10n_es_tbai_tax_agencySelectionreadonly=Falserelated='company_id.l10n_es_tbai_tax_agency' -
l10n_es_tbai_test_envBooleanreadonly=Falserelated='company_id.l10n_es_tbai_test_env'
No public methods.
Loading…
Loading…
Loading…
Loading…