Payroll Export API

The Payroll Export API exposes the XML that is used to map the data to the user after the export has been processed. This API lets users alter specific fields to ensure that they are not exported in a subsequent run. For example, a row with emp_val5 is exported if the value is 0 (according to XML), so post-export the Java class alters emp_val5 to null to ensure that the row is not exported.

To modify the logic for comparison against null values:

  • not_equal operator on a null value should evaluate to true
  • If compareValues[i] is "null", then a null value evaluates to true

For example, if emp_val1 of employee_1 is null, then this match tag in the Payroll Export XML is evaluated to true:

<match field="emp_val1" value="null"/>