Sin impuesto Con impuesto
Second-hand margin scheme (REBU) in PrestaShop: VAT on the margin for used goods
Read also on our blog

Second-hand margin scheme (REBU) in PrestaShop: VAT on the margin for used goods

Price: €217.68
First year: €217.68 tax incl.
From the second year: €54.43/year tax incl.
  • One year of technical support and lifetime updates; from the second year, support is extended for €54.43/year and includes taking on your general improvement ideas for the module.
  • Renews automatically; cancel whenever you want, with no minimum term.
One-time payment: €217.68 tax incl.
  • One year of technical support and lifetime updates; after that, support ends (with the subscription it is extended for €54.43/year).
  • A single payment, with no automatic charges.
€179.90 + VAT = €217.68

Sell used goods, art, antiques, and collectibles with VAT on the margin: calculate the margin for each line item using your bulk purchase prices, replace the itemized breakdown with the VAT regime information on the product page, shopping cart, checkout, emails, and PDF invoices, and maintain a linked ledger using SHA-256 hashes, with period closing and export in AEAT format. Features include VAT references for Spain, Germany, France, and the EU framework, and support for multiple stores. Rekire module, tested on PrestaShop 1.7.8 , 9.0, and 9.2.

Compatible with PrestaShop 1.7.8 to 9.x.

Expert content

Reviewed by our experts

Written by

Reviewed by

See all our experts

Content written and reviewed by qualified professionals. Information is provided for guidance only.

Questions about this product?

Second-hand · REBU

You sell second-hand items. VAT is not calculated on what you charge.

It's calculated based on your profit margin, and the invoice doesn't itemize it. Doing it manually for each order is time-consuming and increases the risk of errors. RKR REBU - VAT on margin for used goods It calculates the margin of each line, places the mention in each document, and keeps a logbook in which any alteration is detected by verifying the chain.

4 regimes
Used goods, works of art, antiques and collectibles, and exempt operation, by product or by category
4 legal mentions
Spain, Germany, France and the European framework: the store cites the standard of its country
1.7.8 → 9.x
a single version of the module for all your PrestaShop stores

/ From purchase price to margin, without spreadsheets

You record each purchase with its supplier, document number, date, units, and price. The module tracks the remaining units in each batch and, upon sale, calculates the margin for each line item: sale price minus the applied batch cost. If you prefer to adjust the margins for the month, you can also work with an overall margin per period, which is resolved in a single adjusting entry during the closing process.

Product with no purchase price
You decide what happens: zero margin, the entire price as margin, or return to standard VAT and draw the line.
Negative margin
Choose between 0% VAT without offsetting, recording the loss in the ledger, or applying standard VAT.
Mixed carts
If the customer mixes new and second-hand items, you choose how the VAT and mention are displayed.
Cancelled orders
The states you configure (default, voided, and refund cancellation) revert the lines in the book.

The module It does not modify any native PrestaShop totalsIt calculates and saves its own REBU figures in the module's tables. There is an advanced option to align the native rate with the margin, which is disabled by default.

/ A chained logbook: a retouch does not go unnoticed

Each transaction is recorded in the REBU ledger and sealed, linked to the previous one, using a unique SHA-256 fingerprint sequence. If someone alters or deletes a row, Verify string It tells you and points out where it breaks. When a period closes, its rows are sealed: the module rejects and records subsequent entries, and reopening it is an explicit action that is also recorded.

Closing of periods
You close the month from the book, or you schedule it with the module's cron job (tools/cron.php, (via command line).
Configurable retention
You set how many months to keep the book; the purge only removes sealed and already exported rows, and 0 means to keep it forever.
Audit
Sensitive actions are recorded with employee, IP address, and whether the token was valid.

/ Export for your manager

From the Import/Export menu, you extract the ledger in the AEAT format, with the columns and order of the Spanish VAT ledger (Article 137 of the VAT Law): chronological order, tax ID number and counterparty, document, description, margin as base, rate, and amount. It's sent as a CSV file with semicolons and UTF-8 encoding, ready to open with Excel in Spanish. The rest of the module's data (products, purchases, notifications, statistics) is exported in CSV, JSON, or XLSX, and imports are simulated before confirmation.

/ Your client sees what they need to see

At every step of the purchase
Notice on the product page, shopping cart, checkout and order confirmation, with the texts that you edit by language.
In the PDF invoice
Replace the VAT breakdown with the mention of the regime, both in the PDF engine of PrestaShop 1.7 and 8 as well as in version 9, without duplication.
In the order emails
The mention also appears in order emails.
Public explanatory page
An indexable page (by default, /margin-vat) which explains the system with numerical examples and the legal reference for your country.

Mentions by country. In automatic mode, the module uses the default country for each store: Spain, Germany, and France use their respective regulations (Articles 136 to 138 of the VAT Law, Section 25a of the German VAT Act, Article 297 A of the General Tax Code), while any other country uses Directive 2006/112/EC. You can manually set the jurisdiction. The texts are editable: review them with your advisor.

/ It's managed from one panel, not three screens.

Product
REBU tab within the product sheet (native in PrestaShop 8.1 and 9, classic block in 1.7.8), map of regimes and mass allocation by category.
Statistics
Monthly and daily charts, by regime, by margin bands and with the best-selling products, served from a snapshot so that the panel opens quickly.
Multistore
Each store has its own configuration, its own book, and its own chain; the security keys are common to the facility.
Example data
You install a demo to train your team and remove it with the touch of a button.
Diagnosis
An exportable JSON report (without keys) with versions, chain status, hooks, and tabs, for when you need to ask for help.

/ What you should know

Calculation tool, not consulting
The module applies the rules you configure and keeps a record of them. You and your tax advisor decide which products qualify for REBU (Special Regime for Second-Hand Goods) and when a purchase qualifies.
REBU products without VAT rule
To prevent the PrestaShop invoice from itemizing VAT, second-hand products are not subject to any tax rules; the module calculates the VAT on the margin using your store's standard rate (21% by default).
In your language
Panel and store in Spanish and English.
If you uninstall it
By default, it retains your book, purchases, and notifications: deleting your data doesn't erase your record. Complete deletion must be expressly requested.
Security
Each back-office action requires a token, employee permission, and, if enabled, a list of allowed IPs.

Compatible with PrestaShop 1.7.8 a 9.x

Developed and maintained by REQUIRE

  • Reference
    rkrvatusedgoods

v1.6.6

  • A logged-in customer with no address and items in their cart was receiving an error on all pages of the store, including requests from other modules. The module no longer checks the cart while PrestaShop is loading it.

v1.6.5

  • Checkout: each second-hand product is listed with its name and quantity ("× 1") instead of "Used goods x1,000,000".
  • The second-hand section of the shopping cart and checkout always appears, even on the first visit of a newly created cart.
  • Back-office messages: the Book, Purchases, Products, Statistics, Import/Export, Themes and Guide screens did not show the result of your actions; now they do ("Verify the hash chain" says if it is intact).
  • Purchase entry: displays the name of the chosen product, the price excluding VAT with two decimal places, and a preview of the margin calculated with the actual price of the product, which is updated when the cost is entered.
  • Import/Export: the export of the book in AEAT format has its name and description.
  • Statistics: without the Chart.js technical line (only appears if a chart fails), monthly table amounts with their currency, named margin bands, the translated notification of products with accredited cost, and the activity map with the actual time of the sale.
  • Panel: the legal notice icons are visible (the name used to appear as text), the titles are no longer split word by word, and the legal texts section no longer spills out to the right with multiple languages.
  • Demonstration data: no dates after today, purchases with their amount, sales to "End Consumer" instead of to the supplier, and months prior to last year closed.
  • Products and categories: the total and pages match the category filter and the search by EAN13.

v1.6.4

  • REBU book: In a production-mode store, the secret keys were regenerating on the first request (a query would request a column that doesn't exist, and PrestaShop, outside of debug mode, doesn't warn you), and the entire book would go into "broken chain" status. Now the keys are read correctly and don't change on their own.
  • REBU book: each actual sale started a new chain, and the book was corrupted from the very first order. The query for the last stamp contained a LIMIT 1 that PrestaShop automatically adds, and it always failed. The same thing happened with seven other queries (nonce check, panel indicators, last line sold for a product, demo data).
  • Products without their own specific regulations are excluded from REBU by default, as stated in the documentation (it was initially listed as "Used Goods," and upon installation of the module, the entire catalog was moved to REBU). Stores that already have it installed retain their settings.
  • A REBU product can (and should) go without a VAT rule in PrestaShop, which is what prevents the core invoice from breaking down the VAT: the margin VAT is then calculated with the general store rate (21% by default) instead of coming out to 0.
  • A partial payment only reflects the paid units in the book, not the entire line.
  • In multi-stores, the book seatings and product and category listings are no longer repeated once per store.
  • Book exports are no longer cut off at 1,000 rows.
  • The tax name that the module leaves in the order lines is "REBU" (the column allows 16 characters and the mention was cut off).
  • Removing the demo data also deletes your translated texts.

4 other products in the same category

Viewed products

Questions and answers

  • ¿Cómo calcula el margen de cada venta?

    Equipo de Rekire

    0
    • Registras cada compra con proveedor, documento, fecha, unidades y precio, y el módulo lleva los lotes con las unidades que quedan. Al vender calcula el margen de cada línea: precio de venta menos coste del lote aplicado. Si lo prefieres, puedes trabajar con un margen global por periodo, que el cierre resuelve en un único asiento de ajuste.

      Equipo de Rekire The shop

  • ¿Qué ve el cliente en la factura?

    Equipo de Rekire

    0
    • En la factura PDF el módulo sustituye el desglose del IVA por la mención del régimen, tanto en el motor de PDF de PrestaShop 1.7 y 8 como en el de la 9. La mención aparece también en la ficha, el carrito, el checkout, la confirmación y los correos del pedido, con textos que editas por idioma.

      Equipo de Rekire The shop

  • ¿Sirve para tiendas fuera de España?

    Equipo de Rekire

    0
    • Trae menciones legales para España (arts. 136 a 138 LIVA), Alemania (§25a UStG), Francia (art. 297 A del CGI) y, para cualquier otro país, la Directiva 2006/112/CE. En modo automático toma el país por defecto de cada tienda, y puedes fijar la jurisdicción a mano. Los textos son editables: revísalos con tu asesor.

      Equipo de Rekire The shop

  • ¿Qué es el libro registro encadenado?

    Equipo de Rekire

    0
    • Cada operación se anota en el libro REBU y se sella enlazada con la anterior mediante una cadena de huellas SHA-256 con clave propia. Si alguien altera o borra una fila, «Verificar cadena» lo detecta y señala dónde se rompe. Al cerrar un periodo sus filas quedan selladas, y reabrirlo es una acción explícita que también queda registrada.

      Equipo de Rekire The shop

  • ¿Puedo pasarle el libro a mi gestor?

    Equipo de Rekire

    0
    • Sí. Desde Import/Export sacas el libro en formato AEAT, con las columnas y el orden del libro registro del artículo 137 de la Ley del IVA, en CSV con punto y coma y UTF-8 listo para Excel. El resto de datos (productos, compras, avisos, estadísticas) se exporta en CSV, JSON o XLSX.

      Equipo de Rekire The shop

  • ¿El módulo decide qué productos van por REBU?

    Equipo de Rekire

    0
    • No. Es una herramienta de cálculo, no asesoría: aplica las reglas que configuras (régimen por producto o por categoría) y deja constancia de ellas. Qué productos van por REBU lo decides tú con tu asesor fiscal. Los productos REBU van sin regla de impuestos en PrestaShop y el módulo calcula el IVA del margen con el tipo general de tu tienda.

      Equipo de Rekire The shop

  • ¿Con qué versiones de PrestaShop funciona?

    Equipo de Rekire

    0
    • Una sola versión del módulo funciona de PrestaShop 1.7.8 a 9.x, y se ha probado en 1.7.8, 9.0 y 9.2. Es multitienda: cada tienda tiene su configuración, su libro y su cadena. Lo tienes con la Suscripción anual a todos los módulos de Rekire o con un bono de horas de soporte.

      Equipo de Rekire The shop

Customer reviews

– 0 reviews

There are no reviews yet. Bought it? Tell other customers what you think.

Reviews marked "Verified purchase" come from customers who bought the module on rekire.com or hold the Annual Pass, which includes all our modules: we match them with their order before publishing them. We publish positive and negative ratings alike; we only hold back reviews that break our rules (insults, personal data or advertising). See all the shop reviews

Loading...
Cookie consent
Back to top