OdooWiki OCA HUB

TicketBAI - Point of Sale - declaración de todas las operaciones de venta realizadas por las personas y entidades que desarrollan actividades económicas

l10n_es_ticketbai_pos folder_open OCA/l10n-spain open_in_new
Accounting & Finance License: AGPL-3

TicketBAI - Point of Sale - declaración de todas las operaciones de venta realizadas por las personas y entidades que desarrollan actividades económicas

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds TicketBAI compliance to the Point of Sale: each POS sale is signed and chained with a TicketBAI simplified invoice, and the order is blocked if required customer, company or tax data is missing.

This module connects the Point of Sale with the Spanish TicketBAI electronic invoicing rules. When TicketBAI is enabled for the company, every POS order that is not invoiced to a customer generates a TicketBAI simplified invoice, signed with the configured certificate and linked to the previous invoice in a chain.

In the Point of Sale, before an order can be validated, the system checks that the company VAT is set, that the customer has a country, a VAT or identification number and a valid 5-digit ZIP code, that products have taxes, and that the fiscal position has a VAT regime key. If any check fails, an error popup blocks the validation. The signed invoice and its QR code are shown on the ticket.

In the back office, POS orders get a TicketBAI tab showing the linked invoice, the VAT regime, the files sent and the responses received from the tax agency. A new menu under Point of Sale configuration gives access to TicketBAI certificates. The POS configuration screen lets you set a device serial number and an optional certificate, and requires the simplified invoice ID sequence when TicketBAI is enabled.

Refunds and customer invoices linked to a POS order are handled so the original ticket is referenced as the substituted invoice.

Menus it adds

TicketBAI Certificates
Models and fields (6)
  • pos.order · extends an existing modeltbai_enabled, tbai_invoice_id (TicketBAI PoS Order), tbai_invoice_ids (TicketBAI Invoices), tbai_response_ids (Responses), tbai_vat_regime_key (VAT Regime Key)
  • pos.config · extends an existing modeltbai_enabled, tbai_certificate_id (TicketBAI Certificate), tbai_last_invoice_id (Last TicketBAI Invoice sent), tbai_device_serial_number (Device Serial Number), iface_l10n_es_simplified_invoice
  • pos.session · extends an existing model
  • account.move · extends an existing modeltbai_substitution_pos_order_id
  • tbai.invoice · extends an existing modelpos_order_id
  • res.config.settings · extends an existing modelpos_tbai_certificate_id, pos_tbai_device_serial_number (PoS TicketBAI Device Serial Number)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-spain.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.