TAXATION MANAGEMENT USING ASYCUDA++ Ó UNCTAD - SITE (V1.15) A.31 Attached document management These functions manage the documents requested for the particular taxation case. Function Logic AddAttDoc(x) Add("Attached document code") DelAttDoc(x) Delete("Attached document code") AddAttDoc(x) Logic Syntax: Purpose: This  function  displays  on  the  declaration  the  document  code  requested  for the specific taxation case. Example: In case of a preferential trade agreement the reduced taxation requires a Certificate of origin If prefercod = "EU" then            Action is Updtax...            Action is AddAttDoc( "861"); DelAttDoc(x) Logic Syntax: Purpose: This function cancels the need to attach a document for the particular taxation case. Example: In the case of preferential trade agreement the reduced taxation requires a Certificate of origin except for values less than 1000 NCU. If value < "1001" then Action is DelAttDoc( "861"); Listing Commodity Codes for rules Function Logic InListTar(x) In list Tariff (“List name” ) InListTar Logic Syntax: If InListTar( “List Name”) = 0 Then Purpose: Used to simplify rule management in MODCHQ by allowing lists of commodities to be maintained outside the rule in a separate list. Example : If only a limited number of commodities are eligible for a particular relief then you could include them in the rule with repeated If ComCod =  “ x ” statements. This is difficult to maintain and it is much easier if the Commodity Codes are held in a list and the rule merely uses one  Inlist statement.