// vatdetails.js

// VALUE ADDED TAX

function valueAddedTax(){
TaxRegistered=false;// true means registered, false un-registered
TaxRegNumber="GB 999 9999 99";// Vat Registration Number (domestic)

// Rates of tax
TAXRATE=new Array();
// TAXRATE[ tax code (numeric) ] = Percent Rate of Tax  e.g. 17.5 for 17.50%

TAXRATE[0]=0;   // Zero Rate
TAXRATE[1]=17.5;// Standard Rate
TAXRATE[2]=0;   // Exempt
TAXRATE[3]=0;   // non-standard
TAXRATE[4]=0;   // |
TAXRATE[5]=0;   // |
TAXRATE[6]=0;   // |
TAXRATE[7]=0;   // |
TAXRATE[8]=0;   // |
TAXRATE[9]=0;   // non-standard

// more TAXRATE[n]=rate data may be added.

// Default tax code
TAX_DEFAULT=0;// sets VAT at Standard Rate if no code sent, by using tax code 1


// Pricing exclusive of tax (true) or inclusive (false)
TaxExcluded=false;// false;

// Display of VAT for each item, controls column layout of Review and Summary
TaxPerItem=false;

// Show in total column the multiplication for each item of the quantity
// by the NET price (true) or  GROSS price (false) for a tax INCLUSIVE item total
TaxExclusiveTotal=true;
} // end of vat fn

////////////////////
vatDetailsReady=true;
// end
