OdooWiki OCA HUB

Punto de venta adaptado a la legislación española

l10n_es_pos_oca folder_open OCA/l10n-spain open_in_new
Sales/Point Of Sale License: AGPL-3
  • Adapta el terminal punto de venta a la legislación Española (no se permite la emisión de tiquets, todo deben ser facturas o facturas simplificadas con numeración)
  • Adapta el ticket de venta a la factura simplificada, añadiendo una secuencia correlativa y el NIF del emisor.
  • Incluye los datos del cliente (nombre, NIF y dirección) si hay uno asignado.
  • Chequea que no se realice una factura simplificada con valor superior a 3.000 euros (la cantidad es configurable por TPV).

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adapts the Point of Sale to Spanish invoicing rules: every sale gets a numbered simplified invoice instead of a plain ticket, with a configurable amount limit and optional blocking of offline validation.

When this module is installed, each Point of Sale can be switched to "Use simplified invoices for this POS". From then on, sales made at that terminal are no longer plain tickets: they receive a simplified invoice number built from a dedicated sequence (prefix, padding and next number are shown in the POS settings). The receipt header prints "Simplified invoice" plus that number, and the company's address and the customer's name, tax ID and address are shown when a customer is assigned.

Business rules added by the module: - A simplified invoice cannot be issued above the configured limit (default 3,000, editable per POS). Above that amount the order is forced to become a full invoice. - If "Prevent order validation when the POS is offline" is enabled, the cashier cannot validate an order without connection and gets an alert dialog. - Simplified invoice sequences must have a unique prefix; a duplicate prefix raises an error. - Refunds of simplified invoices get their own new simplified invoice number.

In the back office, the POS order form and list show the simplified invoice number and a flag, and the order search adds "Invoices" and "Simplified invoices" filters. The POS settings screen exposes the sequence, the amount limit and the offline option. The module touches pos.config, pos.order, pos.session, ir.sequence and res.config.settings.

Depends on

point_of_salel10n_es

Required by other modules

Models and fields (4)
  • pos.order · extends an existing modell10n_es_unique_id (Simplified invoice number), l10n_es_simplified_number (Simplified invoice sequence number), is_l10n_es_simplified_invoice (Simplified invoice)
  • pos.config · extends an existing modelis_simplified_config, simplified_partner_id (Simplified invoice partner), prevent_offline_validation, iface_l10n_es_simplified_invoice (Use simplified invoices for this POS), l10n_es_simplified_invoice_limit (Sim.Inv limit amount), l10n_es_simplified_invoice_number (Sim.Inv number), l10n_es_simplified_invoice_prefix (Simplified Invoice prefix), l10n_es_simplified_invoice_padding (Simplified Invoice padding), l10n_es_simplified_invoice_sequence_id (Simplified Invoice IDs Sequence)
  • ir.sequence · extends an existing model
  • res.config.settings · extends an existing modelpos_iface_l10n_es_simplified_invoice, pos_iface_prevent_offline_validation, pos_l10n_es_simplified_invoice_limit, pos_l10n_es_simplified_invoice_number, pos_l10n_es_simplified_invoice_prefix, pos_l10n_es_simplified_invoice_padding, pos_l10n_es_simplified_invoice_sequence_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

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

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

Antes de instalar el módulo, podemos definir el relleno y el prefijo automático en _Configuración \> Parámetros del sistema_:

  • l10n_es_pos.simplified_invoice_sequence.padding (o 4 cifras por defecto)
  • l10n_es_pos.simplified_invoice_sequence.prefix (nombre del TPV más este valor)

Al instalarse el módulo, se define una secuencia para factura simplificada por cada TPV existente.

Para activar la factura simplificada en un TPV, iremos a _Punto de Venta \> Configuración \> Punto de Venta_ y escogeremos uno de la lista. En la sección _Facturación y recibos_ activaremos la opción _Secuencia de Factura Simplificada_. Podemos configurar el límite a partir del cual no se considera factura simplificada, que por defecto es 3.000,00 €.

En caso de utilizar múltiples dispositivos para el mismo TPV se puede activar el campo "Prevenir validación offline" evitando posibles duplicidades en los números de factura simplificada, en caso de que algún dispositivo pierda conexión momentáneamente.

Si entramos en la configuración del TPV en modo debug, podremos también configurar la sequencia asociada al TPV.

Ver enlace de la AEAT

No verified information in OCA: Usage.

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.