WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • VAT is taken off
  • Print
Pages: [1]   Go Down

Author Topic: VAT is taken off  (Read 5795 times)

Offline mgeene

  • Posts: 148
VAT is taken off
« on: July 07, 2014, 10:00:32 AM »
Hello,

If you fill in the order form and use a VAT number, it is automatically in the (sub) total calculating the tax taken off, i don't want this to happen? Can someone explain how to adjust this?

Thanks!
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: VAT is taken off
« Reply #1 on: July 07, 2014, 10:28:09 AM »
Just switch off the question for the VAT number?
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline mgeene

  • Posts: 148
Re: VAT is taken off
« Reply #2 on: July 07, 2014, 11:09:47 AM »
But the client wants an optional entry field for the VAT number in the form, so that when this field is filled in, the VAT number will be placed on the invoice. But the cost must be the same and not minus the VAT costs.
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: VAT is taken off
« Reply #3 on: July 07, 2014, 11:33:58 AM »
Untested, but it might work....  :-D

in view_summary.php find:
Code: (untested) [Select]
if ($cust_tax_no == '') {
$pay_sales_tax = true;
}

and replace these lines by:
Code: (untested) [Select]
$pay_sales_tax = true;
That might do the trick.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline mgeene

  • Posts: 148
Re: VAT is taken off
« Reply #4 on: July 07, 2014, 11:38:34 AM »
Thanks, i will test it, but do you know this?

I get often this error:

SERVER_BUSY in line (49) of (/modules/bakery/check_vat.php)

But what is this?
Logged

Offline mgeene

  • Posts: 148
Re: VAT is taken off
« Reply #5 on: July 07, 2014, 12:13:29 PM »
Hi Ruud,

It WORKS!!!!!!! THANKS!
And i deleted the check on the VAT number, this giving the errors.

Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: VAT is taken off
« Reply #6 on: July 07, 2014, 12:14:31 PM »
check_vat.php is calling a webservice to check if the taxnumber is valid.
( http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl )
All accountant/invoicing software and webshops in the European community are using this same service to check validity of taxnumbers.

My guess is that "Server_busy" means that this remote server is too busy :)
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • VAT is taken off
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2