Projects/EcoTaxFrance
Contents |
Introduction
An Eco tax is a tax levied on activities which are considered to be harmful to the environment, for instance Electronics or Furnitures production/distribution.
The particularity of this tax is that it is a fixed amount per product, based on arbitrary criteria, and the same product can be affected by more than one Eco tax.
In Openbravo terms, Eco tax functionality is delivered as two commercial modules, one that covers Eco Tax configuration in the backoffice, and another one that uses backoffice Eco Tax configuration in the frontoffice.
Objectives of the document
The main objective of this document is to describe how Eco tax functionality needs to be configured in Openbravo and how it can to be used.
Eco Tax configuration
The first step is to create the required Eco Tax category types in the window “Gestion Eco-taxe”. Openbravo delivers two Eco Tax types:
- DEA (in french “Déchets d'eléments d'ameublemen”), for Furnitures
- DEEE (in french “Déschets équipements électriques et éléctroniques”), for Electronics
An Eco tax Category type can be created by entering below listed information:
- the “Organisation” for which the Eco Tax needs to be created
- its “Code”, for instance “DEEE 0.75”
- its “Type”, for instance select “DEEE”
- its “Montant HT”, that is its basic amount without VAT per product unit, for instance “0.75”
- and its “Nom” (Name) and “Description”
See image below.
The second step is to configure the products for which an Eco Tax must be calculated at the time of its sale. Product Eco Tax configuration needs to be done in the window “Article” (Product), by searching the products and adding below configuration, under the section ”Eco Tax Configuration”:
- the Eco Tax category type previously configured, for instance “DEEE 0.75”
- and the corresponding Eco Tax “Quantité”
For instance, a DEEE Quantité of “5”, in combination with the “DEEE 0.75” Eco Tax Type category, will result in a Montant DEEE of 3.75. This montant will be calculated for each unit sold of the product.
It is important to remark that a product can be related to more than one Eco Tax, or to be related with the other type, that is DEA type. See image below. In our example below product has a Montant DEA of 1.20
Eco Tax usage
Once a product configured with an Eco Tax is used in a Sales Order Line, and therefore Sales Invoice Line, Eco Tax information is calculated by multiplying the product Eco Tax montant by the sold quantity of the product. See image below:
As shown in the image above, Eco Tax amounts, do not increase sales amount, as Eco Tax amounts are already included in the product prices. Same applies to taxes, sales tax amount is not impacted by Eco Tax amounts anyhow.
Eco Tax usage in Web POS
As already mentioned, this module allows to use product’s Eco Tax configuration and therefore calculate the corresponding Eco Tax amount per sold product quantity, same as for the backoffice.
As shown in the image below, Eco Tax amounts, do not increase sales amount, as Eco Tax amounts are already included in the product prices. Same applies to taxes, sales tax amount is not impacted by Eco Tax amounts anyhow.
Finally, this module includes a sample receipt print template that shows Eco Tax information, once sale receipt is booked and paid in Web POS. It is important to remark that receipt/ticket templates can be always customized.
To get such printing, follow the steps listed below:
- Review the wiki document How to create and modify new receipt documents from other module
- Enable the template in ChangePrintreceipt.js as shown below OB.OBPOSPointOfSale.Print.ReceiptTemplate = '../org.openbravo.retail.france.ecotax/res/printreceipt.xml';
- Execute an “ant smartbuild”, therefore the default template is overwritten by this template.