TAXATION MANAGEMENT USING ASYCUDA++ Ó UNCTAD - SITE (V1.15) A.26 Functions used for tax rate retrieval Function Logic Rate(s) Rate for commodity s Ratecol(s,x) Rate for commodity s and column x Rate(s) Logic Rate for commodity s Use: This function must be written in a Customs Tariff rule in  MODCHQCF. In such a case the line number of the rule gives the number of the column where the appropriate rate will be found. Purpose: Retrieve a tax rate directly from the Customs Tariff. Example : Path MODCHQCF/Functions/Taxation standards/National Tariff: 1 Customs duty 1/3 Country 2 Customs duty preference #1 3 Customs duty preference #2 Rate(Comcod) means retrieve from the Customs Tariff the rate for the Commodity Code. In the rule for line number 2 this function retrieves the rate in the first column of the Tariff. In the rule for line number 3 this function retrieves the rate in the second column of the Tariff. Ratecol(s) Logic Rate for commodity s and column x Use: Can be used in any rule, as the number of the column is specified in the rule and it permits the appropriate rate to be found. Purpose: Retrieve a tax rate directly from the customs tariff. Example : Ratecol(Comcod, 3) means retrieve from the Customs Tariff the rate in the third column for the Commodity Code. Functions used for tax calculations These functions perform the tax calculation and in all cases are preceded by the Keyword ‘Action’. Function Logic AskTax(…) Input tax data DoTax(...) Create ("TaxCod", "MP", TaxBase, Rate, Amount UpdTax(...) Update ("TaxCod", "MP", TaxBase, Rate, Amount) RelTax(...) Relieve("TaxCod", "Relcode", TaxBs, Rate, Amount) RelTaxPart(...) Relieve Part (" TaxCod","Relcode",TaxBase, Rate, Amount) DelTax(...) Delete ("TaxCod") DelAllTax(0) Delete all taxes belonging to a declaration