Generating and Preparing the XML for Submission

To generate the AU STP XML File Generation Report (R75A730) and prepare the XML for submission:

  1. In the STP workbench, select an STP record on the Work with STP Submissions form (P75A700), and select Generate XML from the Row menu.

    After generating the XML, the system:

    • Generates the XML file in the shared path specified in the P95641 program.

    • Changes the status of the STP record to XML Generated (G) and enables the Prepare XML for Submission option on the Row menu to display the Submit option that you use to prepare the XML in the format prescribed by the ATO.

    • Updates the Sending Service Provider Address No (as set up in the R75A730 processing option) and records the XML Generation Date in the P75A700 form.

    Note: When you select the Generate XML option from the Row menu, if the system finds any errors in the STP record based on the validation rules provided by the ATO, it displays the Australia STP Workbench - Errors form to list the errors for your perusal. You have the option to fix the errors or to ignore them and generate the XML with the current data. You can also correct the errors through an Update event on the Create STP Submissions form.
  2. To prepare the XML, select the record for which the XML has been generated on the Work with STP Submissions form, navigate to the Prep XML Submission option on the Row menu, and then select the Submit option.

  3. Select the check box in the Declaration Form to accept the terms and declare the authenticity of the XML content. The system then enables the Confirm button.

  4. Click Confirm to proceed with preparing the XML for submission.

    The system formats the saved XML file as per ATO specifications and changes the status of the STP record to XML Prepared for Submission (P).

    Note: If you generate an XML more than once, it saves the XML with an incremental value appended to the end of the name in the shared path location that you defined in P95641. In such a case, the system retrieves the first XML for submission. Therefore, if you need to regenerate an XML, you must first delete the already generated XML from the specified shared path location to ensure the latest one is the only XML in the system.