Second-hand margin scheme (REBU) in PrestaShop: VAT on the margin for used goods
- 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 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.
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.
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.
/ 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.
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.
tools/cron.php, (via command line)./ 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
/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.
/ What you should know
Compatible with PrestaShop 1.7.8 a 9.x
Developed and maintained by REQUIRE
-
Referencerkrvatusedgoods
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 1that 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
You might also be interested in
Questions and answers
-
¿Cómo calcula el margen de cada venta?
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.
-
-
¿Qué ve el cliente en la factura?
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.
-
-
¿Sirve para tiendas fuera de España?
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.
-
-
¿Qué es el libro registro encadenado?
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.
-
-
¿Puedo pasarle el libro a mi gestor?
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.
-
-
¿El módulo decide qué productos van por REBU?
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.
-
-
¿Con qué versiones de PrestaShop funciona?
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.
-
Customer 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