it sounds like this is for the PayPal eCommerce Toolkit and not eCart correct?
with the paypal add to cart buttons, you usually set the tax in your paypal account, not on an item by item basis in the add to cart code.
you can add tax to the code by adding a hidden form element see the paypal html reference for details:
e_howto_html_Appx_websitestandard_htmlvariables#id08A6HH0D0TA