TAXATION MANAGEMENT USING ASYCUDA++
Ó UNCTAD - SITE (V1.15)
A.29
DelTax(...)
Logic
to delete a calculated tax
Syntax:
Action is Deltax("Tax Code" )
Purpose:
This function will physically delete the tax from the taxation database, it
will neither be stored nor displayed.
Example :
Action is Deltax("ICD" ). The tax ICD will disappear from the declaration
and from the database.
Note: The same result can be achieved with the following line: UpdTax(
"ICD", "PR1", Statval , 0 , 0 ), and this line is displayed on the
declaration and the officer will know that a tax has been deleted.
DelAllTax(0)
Logic
Sets all taxes on declaration to 0.
Syntax:
Action is DelAlltax(0).
Purpose:
When used in Global rules this function will set all calculated Duties and
Taxes on the declaration to 0. Must have highest priority. The Zero is
mandatory.
Example :
Action is DelAlltax(0). All taxes will be displayed with the normal base
and rate shown but the tax amount will be zero.
Retrieving previous tax details
These functions are used to retrieve the elements of taxes previously calculated and to be used in
the current tax, the first element in the brackets must be a Tax Code . In the case of a tax
update the system always retrieves the latest value (i.e. after update the value is the new value).
Function
Logic
TaxMP(s, t)
Get ("TaxCod", "MP")
TaxBasisVal(x)
Get ("TaxCod")
TaxRate(x)
Get ("TaxCod")
TaxAmount(x)
Get ("TaxCod")
CurRate(s)
Exchange Rate for currency s
TaxMP(s, t)
Logic
Get the Means of Payment Code for the Tax Rule
Syntax:
Purpose:
This permits the mode of payment of an existing tax to be retrieved (egg for
selection purposes);
Example:
TaxMP( "VAT", "1")