[Skip to main content](#vessel-content)

#   special tax for some situation in Spain

##

- **[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")**
- [![alejandrojaramiranda's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.gif)](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile") Topic Author
- [ Offline](/forum/user/36049-alejandrojaramiranda)

Less More

- Posts: 17
- Thank you received: 0
-
-
-

11 years 6 months ago [\#199836](#199836) by [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")  *[special tax for some situation in Spain](/forum/40-taxes/876604-special-tax-for-some-situation-in-spain#199836 "-- HikaShop version -- : 2.4.1 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi,  I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation: In Spain, some taxpayer are &quot;committed&quot; (compeled by tax law) to pay an extra tax called &quot;recargo de equivalencia&quot;. This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (&#42;).  I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.  In Hikashop when you create a tax rule you can restrict by &quot;Customer Type&quot;: Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the &quot;recargo de equivalencia&quot; tax, and if the answer is yes, to apply it  (I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )  Any ideas, help or clues are greatly appreciated.  (&#42;)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. &quot;canon digital&quot; tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)")* was created by *[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")*

-- HikaShop version -- : 2.4.1
-- Joomla version -- : 3.4.1
-- Error-message(debug-mod must be tuned on) -- : none

Hi,

I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation:
In Spain, some taxpayer are "committed" (compeled by tax law) to pay an extra tax called "recargo de equivalencia". This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (*).

I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.

In Hikashop when you create a tax rule you can restrict by "Customer Type": Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the "recargo de equivalencia" tax, and if the answer is yes, to apply it

(I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )

Any ideas, help or clues are greatly appreciated.

(*)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. "canon digital" tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjYwNC1zcGVjaWFsLXRheC1mb3Itc29tZS1zaXR1YXRpb24taW4tc3BhaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 6 months ago [\#199849](#199849) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[special tax for some situation in Spain](/forum/40-taxes/876604-special-tax-for-some-situation-in-spain#199849 "-- HikaShop version -- : 2.4.1 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi,  I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation: In Spain, some taxpayer are &quot;committed&quot; (compeled by tax law) to pay an extra tax called &quot;recargo de equivalencia&quot;. This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (&#42;).  I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.  In Hikashop when you create a tax rule you can restrict by &quot;Customer Type&quot;: Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the &quot;recargo de equivalencia&quot; tax, and if the answer is yes, to apply it  (I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )  Any ideas, help or clues are greatly appreciated.  (&#42;)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. &quot;canon digital&quot; tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)")*

Hello,

> In Spain, some taxpayer are "committed" (compeled by tax law) to pay an extra tax called "recargo de equivalencia". This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax.

The solution will be to :
- Directly restrict your custom tax to a specific user group
- Regarding your customer user group, a solution can be to use that plugin : [ extensions.4u2.co.il/hikasop-user-group-ftw](https://extensions.4u2.co.il/hikasop-user-group-ftw)

The following user(s) said Thank You: [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjYwNC1zcGVjaWFsLXRheC1mb3Itc29tZS1zaXR1YXRpb24taW4tc3BhaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")**
- [![alejandrojaramiranda's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.gif)](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile") Topic Author
- [ Offline](/forum/user/36049-alejandrojaramiranda)

Less More

- Posts: 17
- Thank you received: 0
-
-
-

11 years 6 months ago [\#199946](#199946) by [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")  Replied by *[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")* on topic *[special tax for some situation in Spain](/forum/40-taxes/876604-special-tax-for-some-situation-in-spain#199946 "-- HikaShop version -- : 2.4.1 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi,  I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation: In Spain, some taxpayer are &quot;committed&quot; (compeled by tax law) to pay an extra tax called &quot;recargo de equivalencia&quot;. This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (&#42;).  I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.  In Hikashop when you create a tax rule you can restrict by &quot;Customer Type&quot;: Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the &quot;recargo de equivalencia&quot; tax, and if the answer is yes, to apply it  (I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )  Any ideas, help or clues are greatly appreciated.  (&#42;)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. &quot;canon digital&quot; tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)")*

Hi Mohamed,
doing this way &lt;u&gt;I suppose&lt;/u&gt; the rate would appear on the lists of products next to VAT...but what I'm looking for is a way to add it upon arrival at checkout, after I asked the customer if he/she wants or do not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjYwNC1zcGVjaWFsLXRheC1mb3Itc29tZS1zaXR1YXRpb24taW4tc3BhaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 6 months ago [\#200016](#200016) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[special tax for some situation in Spain](/forum/40-taxes/876604-special-tax-for-some-situation-in-spain#200016 "-- HikaShop version -- : 2.4.1 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi,  I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation: In Spain, some taxpayer are &quot;committed&quot; (compeled by tax law) to pay an extra tax called &quot;recargo de equivalencia&quot;. This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (&#42;).  I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.  In Hikashop when you create a tax rule you can restrict by &quot;Customer Type&quot;: Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the &quot;recargo de equivalencia&quot; tax, and if the answer is yes, to apply it  (I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )  Any ideas, help or clues are greatly appreciated.  (&#42;)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. &quot;canon digital&quot; tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)")*

Hi,

The only solution I see with the features by default in HikaShop is wtih the ACL or the customer type on tax rules.
Using one or the other you can have the taxes apply to the product prices or not.
You can potentially have these taxes apply only on the checkout by turning off the "show taxed prices" option of the HikaShop configuration, but that means that the prices on the products listing and product pages will be displayed without any tax.
Otherwise, the taxes will apply everywhere, once the user is logged in with his user account.

An alternative will be to develop a plugin and have it add taxes itself to the cart on the checkout. I've built such plugin before: [ www.hikashop.com/forum/taxes/873285-fix-tax-import.html#190511](http://www.hikashop.com/forum/taxes/873285-fix-tax-import.html#190511)
But that plugin is to add fixed amount taxes during the checkout. So I don't think that it will work out for you since I suppose that the tax that you want to add is percentage based. So it would require a modified version of the plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjYwNC1zcGVjaWFsLXRheC1mb3Itc29tZS1zaXR1YXRpb24taW4tc3BhaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")**
- [![alejandrojaramiranda's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.gif)](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile") Topic Author
- [ Offline](/forum/user/36049-alejandrojaramiranda)

Less More

- Posts: 17
- Thank you received: 0
-
-
-

11 years 6 months ago [\#200172](#200172) by [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")  Replied by *[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")* on topic *[special tax for some situation in Spain](/forum/40-taxes/876604-special-tax-for-some-situation-in-spain#200172 "-- HikaShop version -- : 2.4.1 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi,  I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation: In Spain, some taxpayer are &quot;committed&quot; (compeled by tax law) to pay an extra tax called &quot;recargo de equivalencia&quot;. This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (&#42;).  I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.  In Hikashop when you create a tax rule you can restrict by &quot;Customer Type&quot;: Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the &quot;recargo de equivalencia&quot; tax, and if the answer is yes, to apply it  (I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )  Any ideas, help or clues are greatly appreciated.  (&#42;)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. &quot;canon digital&quot; tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)")*

Thanks Nicolas,

regarding your mention of the customer type, now there are three types: Individual/Company with VAT number/Company whitout VAT number. I suppose that those types are determinate by the field "VAT number" at table address (when you ask the billing address), aren't?, I imagine asking the customer the same way using a custom field: if he need or not the "equivalence surcharge", and if the answer is yes, to change the type of customer and add this one to the total amount before to pay.

Is it possible? I was looking for doing some test at "Custom Fields", but I didn't find how to.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjYwNC1zcGVjaWFsLXRheC1mb3Itc29tZS1zaXR1YXRpb24taW4tc3BhaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#200308](#200308) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[special tax for some situation in Spain](/forum/40-taxes/876604-special-tax-for-some-situation-in-spain#200308 "-- HikaShop version -- : 2.4.1 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi,  I need some help for configuring some special tax for some customers (sometimes), not defined by address, state nor country. I have to explain the situation: In Spain, some taxpayer are &quot;committed&quot; (compeled by tax law) to pay an extra tax called &quot;recargo de equivalencia&quot;. This depends on the customer, not on the seller, so the customer have to ask to pay this at checkout, and ask for invoices including this tax. (&#42;).  I thought doing a tax rule (System&gt;Taxes) BUT doing this way I'm only able to restrict it by ACL, and it would force me to sort my clients accordingly; moreover, doing this way, I suppose the rate would appear on the lists of products next to VAT, when in truth the appropriate is to add it only upon arrival at checkout after I asked the customer.  In Hikashop when you create a tax rule you can restrict by &quot;Customer Type&quot;: Individual/Company with VAT number/Company whitout VAT number. I imagine asking the customer the same way: if he need or not the &quot;recargo de equivalencia&quot; tax, and if the answer is yes, to apply it  (I tought to solve this using custom fields but frankly I have not known how to do for add some rate to the total due. :blush: )  Any ideas, help or clues are greatly appreciated.  (&#42;)Note for developers: In Spain, the accounting systems include this posibility of charge extra taxes like this one (there are others also depending on the kind of products, e.g. &quot;canon digital&quot; tax for digital media). It would be great Hikashop having this feature. (or maybe it's there and I have not heard yet?)")*

Hi,

If the field "vat number" is filled with a correct VAT number, the custom type become "company with vat number".

If you goal is to change the type according to another custom field ; you won't be able to do it without modify some HikaShop core files (which are not recommend, specially if you want to update HikaShop afterwards)
So at this moment the best is to use a custom tax plugin like Nicolas told you in the previous message.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjYwNC1zcGVjaWFsLXRheC1mb3Itc29tZS1zaXR1YXRpb24taW4tc3BhaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
