Zen Cart Logo
Forums / Features Wish List / Customer Tax ID

Customer Tax ID

Views: 39

Results 1 to 2 of 2
01 Aug 2017, 09:20
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Customer Tax ID

Hi,
while long-overdue fields are being added to 1.6, I would like to suggest a tax id is added to the customer sign up.

I can't speak for other countries but in Spain an invoice is not a invoice legally unless it has the purchasers (individual = identity number, company= tax code) id number on it. It cannot be issued without said number and cannot be reclaimed as a cost by the purchaser without their number on it.
(So all references to "invoice" are removed from my shop and replaced by "order", invoices are only created by our invoicing software.)

For B2B sales within the EU, the purchaser with a EU-registered VAT number can purchase without paying vat. We often get that request.

I understand exactly what the addition of this field entails as I have done it.
Registration & account details pages:
field with onchange javascript error-checking for number format per country, with corresponding error/validation messages, similar php error-checking post-submit.
Fields for admin: customer details and order details.
Emails: for admin order copy email footer.

My error-checking for format is comprehensive as it is my responsibility that it is correct. If not, the invoice gets spat out by my accountant's software a couple of months later and I would have to go back to the customer to get the correction.
Although I have the format-check done by local code, it is supposed to be done via an api call to the spanish tax authorities for validation: they don't publish all the formats (!) possible.
I also check country postcode format for the most common countries that buy from us.

For a ZC implementation I would only suggest a very simple format-checking to be used as an example to provide a base for localised versions to be done by shop owners.

So does any other country have similar tax id requirements to judge the interest in this funcionality?

23 Oct 2017, 22:32
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Customer Tax ID

To continue my monologue and to help the (apparently non-existent) others who may be desiring such functionality, there is this:
https://www.zen-cart.com/showthread.php?223003-VAT4EU

which could of course be adapted for end-user tax ids as well as business customers.