Hi,

I would like to know if you have any info on how to exclude the VAT if I sell from DK to another EU country, and they provide a valid VAT number.
I have the the VAT Number module and the RC module running, it is extremely slow, and dosn't really seem to do any validation, but it lets me continue
to the review page, though keeping the VAT for my items.

Any suggestions?

Comments

dwkitchen’s picture

Project: Commerce European Union VAT » VAT Number
Version: 7.x-1.0-beta5 » 7.x-1.x-dev
Component: Reverse Charge » Code
Status: Active » Postponed (maintainer needs more info)

It sounds like the issue is with the validation in the VAT number module.

Which version are you using.

roball’s picture

Title: Remove VAT if valid VAT number » Remove VAT if customer provided valid VAT number
Version: 7.x-1.x-dev » 7.x-1.0-rc1
Status: Postponed (maintainer needs more info) » Active

The described problem sounds clear to me:

The VAT Number module has been installed to provide a VAT number field on the checkout form that customers may fill. When customers are eligible to purchase VAT-free, the VAT should be removed from the order.

The question asked in the starting post was how to do this. I am doing the same, with the latest official version of the module.

danmurf’s picture

Subscribe.

I guess the answer to this lies in creating a rule to work with the VAT number field which modifies the VAT rate depending on the buyer country + valid VAT number present.

Did you manage to get this working?

danmurf’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

I just found out that you need to enable the 'Commerce EU VAT Intra-community Supply' module, which is in the 'COMMERCE EU VAT' module group. Enabling this module will install the rules needed to add zero-rated VAT to other EU countries when a valid VAT Number is supplied.

I hope this helps.

maxplus’s picture

Hi,
I made a custom pricing rule that checks if the vat number field is not empty in combination with the country of the customer his company.
Then I use the rules action "Remove taxes applied to a line item".

Branislav Radovanovic’s picture

@maxplus Can you please provide more details how you mange to do this.

React on which event and what selectors did you use to get to the VAT number field?

I'm currently trying to add tax condition only if vat number is empty, but the data selector seems to be the issue.

Branislav Radovanovic’s picture

Update: I've managed to add taxes only is vat field is empty by adding condition on tax rate.

My scenario: VAT number filed was added on billing information.

I've used condition "entity has field" data selector: commerce-line-item:order
Field value: commerce_customer_billing

AND (condition)

Entity has field commerce-line-item:order:commerce-customer-billing

filed value: field_vat_number

AND

Data value is empty commerce-line-item:order:commerce-customer-billing:field-vat-number

Action ofcourse is Apply a tax rate to a line item and that's it.