Spain - Point of Sale + TicketBAI

l10n_es_edi_tbai_pos
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/l10n_es_edi_tbai_pos
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/Point of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSOdoo Translation Bot, Josse Colpaert, Laurent Smet, Julien Castiaux, Gorash, Mathieu Duckerts-Antoine, roen-odoo, David Monnom (moda), Pedram (PEBR), Dylan Kiss (dyki), Louis Gobert, manv-afk, paan-odoo, David Monnom, Robin Engels (roen), Guillaume V, Junqi, sjai-odoo, Stephane Vanmeerhaeghe (stva)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es_edi_tbai
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi_ubl_cii
    - certificate
    - point_of_sale
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - phone_validation
    - partner_autocomplete
    - iap_mail
    - iap
    - iot_base
    - google_address_autocomplete
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_pos_order_form_inherit_l10n_es_pos_tbai pos.order.form.inherit.l10n_es_edi_tbai_pos pos.order xpath Inherits point_of_sale.view_pos_pos_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • l10n_es_tbai_chain_index Integer
    help='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_required Boolean
    related='company_id.l10n_es_tbai_is_enabled' string='TicketBAI required'
  • l10n_es_tbai_post_document_id Many2one → l10n_es_edi_tbai.document
    comodel_name='l10n_es_edi_tbai.document' copy=False
  • l10n_es_tbai_post_file Binary
    related='l10n_es_tbai_post_document_id.xml_attachment_id.datas' string='TicketBAI Post File'
  • l10n_es_tbai_post_file_name Char
    related='l10n_es_tbai_post_document_id.xml_attachment_id.name' string='TicketBAI Post Attachment Name'
  • l10n_es_tbai_refund_reason Selection
    copy=False help='BOE-A-1992-28740. Ley 37/1992, de 28 de diciembre, del Impuesto sobre el Valor Añadido. Artículo 80. Modificación de la base imponible.' selection=TBAI_REFUND_REASONS string='Invoice Refund Reason Code (TicketBai)'
  • l10n_es_tbai_state Selection
    compute='_compute_l10n_es_tbai_state' string='TicketBAI status' args: [('to_send', 'To Send'), ('sent', 'Sent')]
Public methods (3)
  • action_pos_order_paid(self)
  • get_l10n_es_pos_tbai_qrurl(self)
    Retrieve the QR Code from the related ticketbai document .
  • l10n_es_tbai_retry_post(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/l10n_es_edi_tbai_pos
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/Point of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Josse Colpaert, Laurent Smet, roen-odoo, Pedram (PEBR), Dylan Kiss (dyki), Arnaud Sibille, Louis Gobert, Junqi
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es_edi_tbai
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - certificate
    - point_of_sale
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_pos_order_form_inherit_l10n_es_pos_tbai pos.order.form.inherit.l10n_es_edi_tbai_pos pos.order xpath Inherits point_of_sale.view_pos_pos_form
Models touched (3)

New fields (7)
  • l10n_es_tbai_chain_index Integer
    help='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_required Boolean
    related='company_id.l10n_es_tbai_is_enabled' string='TicketBAI required'
  • l10n_es_tbai_post_document_id Many2one → l10n_es_edi_tbai.document
    comodel_name='l10n_es_edi_tbai.document' copy=False
  • l10n_es_tbai_post_file Binary
    related='l10n_es_tbai_post_document_id.xml_attachment_id.datas' string='TicketBAI Post File'
  • l10n_es_tbai_post_file_name Char
    related='l10n_es_tbai_post_document_id.xml_attachment_id.name' string='TicketBAI Post Attachment Name'
  • l10n_es_tbai_refund_reason Selection
    copy=False help='BOE-A-1992-28740. Ley 37/1992, de 28 de diciembre, del Impuesto sobre el Valor Añadido. Artículo 80. Modificación de la base imponible.' selection=TBAI_REFUND_REASONS string='Invoice Refund Reason Code (TicketBai)'
  • l10n_es_tbai_state Selection
    compute='_compute_l10n_es_tbai_state' string='TicketBAI status' args: [('to_send', 'To Send'), ('sent', 'Sent')]
Public methods (3)
  • action_pos_order_paid(self)
  • get_l10n_es_pos_tbai_qrurl(self)
    Retrieve the QR Code from the related ticketbai document .
  • l10n_es_tbai_retry_post(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.