a number down to the nearest specified increment. Usage: ROUNDDOWN(0.05,[CTR120]) ROUNDDOWN(<A>,<B>) Means round the value of CTR120 to the .05. ROUNDDOWN Where In this example, if [CTR120] = 99.93, the amount <A> is the configurable to be supplied for CTR120 is 99.90. increment to down to <B> is the value that is to be rounded down. Used on a main ‘parent’ form to refer to a schedule that could be attached to the parent return. IF = = 0. “S25A”) In of SBR, a schedule if there is no instance of a Schedule 25A refers to a business included in the business document body. document submitted within SCHEDULE the same standard IF = > 50. “RSPT”) business document body Means if there are more than 50 occurrences of a structure as a business Rental schedule in the business document body. document for a main tax return form. Usage: SCHEDULE = <A>. IF <a> <> SET(“a”,”b”,”c”). if <a> does not equal a or b or c. Defines an explicit set of values, where if one value IF <a> = SET(“a”,”b”,”c”) SET meets the criteria for Means if <a> is equal to a or b or c. comparison, a true response is given. IF <a> = SET(0-3). Means if <a> is equal to 0 or 1 or 2 or 3 A string searches for text IF <a> STARTSWITH “T/A”. at the start of a field. STARTSWITH the condition is true if field <a> contains a Usage: <a> STARTSWITH value that starts with the text string ‘T/A’ <B> The sum of all instances of an element. SUM(<a>) Usage: SUM(<A>), SUM Means the total value of all instances of <a>, where <A> is an element when each <a> is added up. that appears in a repeating tuple or is a repeating element.
ROUNDDOWN a number down to the nearest specified increment. Usage: ROUNDDOWN(<A>,<B>) Where <A> is the configurable increment to down to <B> is the value that is to be rounded down. ROUNDDOWN(0.05,[CTR120]) Means round the value of CTR120 to the .05. In this example, if [CTR120] = 99.93, the amount to be supplied for CTR120 is 99.90. SCHEDULE Used on a main ‘parent’ form to refer to a schedule that could be attached to the parent return. In of SBR, a schedule refers to a business document submitted within the same standard business document body structure as a business document for a main tax return form. Usage: SCHEDULE = <A>. IF = “S25A”) = 0. if there is no instance of a Schedule 25A included in the business document body. IF = “RSPT”) > 50. Means if there are more than 50 occurrences of a Rental schedule in the business document body. SET Defines an explicit set of values, where if one value meets the criteria for comparison, a true response is given. IF <a> <> SET(“a”,”b”,”c”). if <a> does not equal a or b or c. IF <a> = SET(“a”,”b”,”c”) Means if <a> is equal to a or b or c. IF <a> = SET(0-3). Means if <a> is equal to 0 or 1 or 2 or 3 STARTSWITH A string searches for text at the start of a field. Usage: <a> STARTSWITH <B> IF <a> STARTSWITH “T/A”. the condition is true if field <a> contains a value that starts with the text string ‘T/A’ SUM The sum of all instances of an element. Usage: SUM(<A>), where <A> is an element that appears in a repeating tuple or is a repeating element. SUM(<a>) Means the total value of all instances of <a>, when each <a> is added up.
ATO-Validation-Rule-Expression.docx