STANDARD BUSINESS REPORTING ATO INCOME TAX LODGMENT STATUS CONFORMANCE TEST SUITE (Taxonomy version: ITLDGSTS.0001.02.00) Standard Business Reporting 2 Purpose: This document provides advice to Software Developers on testing and self-certification of SBR2-enabled software for the ATO Income Tax Lodgment Status Date: 14th July 2014 Contact: For further information or questions, contact the SBR Core Services Operating Unit at [email protected] or call 1300 488 231 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite DOCUMENT CHANGE CONTROL Ver sion Date issued Author(s) Brief description of change 0.1 27/06/2014 eCommerce Test Team Initial draft 0.2 27/06/2014 eCommerce Test Team Submit for acceptance 0.3 14/07/2014 eCommerce Test Team Applied Business feedback CONTACT DETAILS AND APPROVALS Contact Name Position Phone No. SBR SBR Program office 1300 488 231 This document was approved by: Name Title Graham Dunnicliff Project Manager ATO SWS – SBR Nicola Black Program Director - TPALS Date COPYRIGHT © Commonwealth of Australia 2014 This work is copyright. Use of the Information and Material is subject to the terms and conditions in the "Standard Business Reporting (SBR) Disclaimer and Conditions of Use" which is available at http://www.sbr.gov.au. You must ensure that you comply with those terms and conditions. In particular, those terms and conditions include disclaimers and limitations on the liability of the Commonwealth and the SBR Agencies and an indemnity from you to the Commonwealth and its personnel, the SBR Agencies and their personnel. You must include this copyright notice in all copies of this Information and Material which you create. If you modify, adapt or prepare derivative works of the Information and Material, the notice must still be included but you must add your own copyright statement to your modification, adaptation or derivative work which makes clear the nature of your modification, adaptation or derivative work and you must include an acknowledgement that the adaptation, modification or derivative work is based on Commonwealth owned Information and Material. Version: 0.3 UNCLASSIFIED Page 2 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite TABLE OF CONTENTS 1. INTRODUCTION ............................................................................................................... 4 1.1. 1.2. 1.3. 1.4. 1.5. 1.6. Purpose ..........................................................................................................................................4 Audience ........................................................................................................................................4 Document Conext...........................................................................................................................4 Other Related Documents ..............................................................................................................4 Terminology....................................................................................................................................5 ATO Information .............................................................................................................................5 2. TAXONOMY LEVEL CONFORMANCE SUITE ........................................................................ 5 2.1. 2.2. 2.3. 2.4. 2.5. 2.6. 2.7. 2.8. 2.9. Test Cases Summary .....................................................................................................................5 Negative Test Cases ......................................................................................................................5 Test Case Matrix ............................................................................................................................6 Test Case Execution ....................................................................................................................11 Testing Environment ....................................................................................................................11 Test Steps ....................................................................................................................................11 Credentials ...................................................................................................................................11 Reporting Taxonomy References ................................................................................................12 Test Cases ...................................................................................................................................13 Version: 0.3 UNCLASSIFIED Page 3 Standard Business Reporting Program 1. ATO ITLDGSTS Conformance Test Suite INTRODUCTION 1.1. PURPOSE The purpose of this document is to support software developers in completing the conformance testing for the ATO’s Get Income Tax Lodgment Status (ITLDGSTS) through the SBR2 platform. 1.2. AUDIENCE The audience for this document is any Software Developer that will be extending their software to make it SBR2-enabled. The document should also contain information about the test business profiles associated with each test case, expected requests and responses within the conformance test suite that can be understood by any Software Developer and their testers. It is assumed that this document has been written for an audience who is familiar with the following: • SBR Program – www.sbr.gov.au. • XBRL – www.xbrl.org • ebMS3 – please see ebMS3 Core Features and Advanced features • AS4 – please see AS4 profile of ebMS3.0 V1.0 1.3. DOCUMENT CONEXT The document provides the test cases in the conformance suite to be executed by Software Developers as part of the self-certification process. This document contains a list of test cases to validate the following: • The application code complies with the business rules defined in the corresponding Message Implementation Guide (MIG) for the report. • The application code generates an XBRL report instance that complies with the XBRL Definitional and Report Taxonomies and associated Schematron rules. • The application code would test the business logic, sequencing and exception handling. This document contains a subset of test cases necessary to test the ITLDGSTS reports in the initial release of the ATO SBR2 external testing environment. 1.4. OTHER RELATED DOCUMENTS This document is to be used in conjunction with these other documents: • Web Services Implementation Guide (WIG). • Software Developers Kit (SDK). • Message Implementation Guide (MIG) package comprising the: – ATO common MIG – ITLDGSTS MIG – ITLDGSTS Message Structure Table spreadsheet – ITLDGSTS Validation Rules spreadsheet, and – XBRL reporting taxonomy. These documents are available on request from the SBR Service Desk. Version: 0.3 UNCLASSIFIED Page 4 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite 1.5. TERMINOLOGY For definition of the terminology and acronyms used within this document, please refer to the glossary on the SBR website. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC2119 http://www.ietf.org/rfc/rfc2119.txt. The use of the word "MANDATORY" is to be read as must. 1.6. ATO INFORMATION For more information about Income Tax Lodgment Status go to ato.gov.au. 2. TAXONOMY LEVEL CONFORMANCE SUITE 2.1. TEST CASES SUMMARY The purpose of this index is an outline of the types of test, test cases and associated business profiles included in the conformance suite. This table is a summary of the test cases, business profiles and conformance criteria which will test the ITLDGSTS report. 2.2. NEGATIVE TEST CASES Test cases marked with an asterisk (*) have been included for the purposes of negative testing and are to give examples of invalid XBRL and the resulting error messages. These negative conformance tests are recommended and should be completed. You are not required to change your code base for the purposes of triggering the failure condition. These tests are designed to encompass common validation, platform and backend system errors; however, your software may be designed to deal with these types of errors prior to submission of a message, and therefore may not be necessary to test against these scenarios. Version: 0.3 UNCLASSIFIED Page 5 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite 2.3. TEST CASE MATRIX Test Case Id Service Message Type Test Case Name ABN, TAN and TFN’s Credentials Test case purpose CONF-ATO-ITLDGSTS001.01 List Single ITLDGSTS TFN RP: 28936913 Valid Individual ABN INT: 78330347529 Alan Donald (24442222) or Device: Tax Agent sends a valid List ITLDGSTS for a Single request message for an individual to get their income tax lodgment status history and receives a valid response. TAN INT: 17801003 CONF-ATO-ITLDGSTS002.01 List Single ITLDGSTS ABN RP: 18083973826 Valid NonIndividual ABN INT: 78330347529 TAN INT: 17801003 CONF-ATO-ITLDGSTS003.01* CONF-ATO-ITLDGSTS004.01* List List Single Single ITLDGSTS TFN RP: 22112211 Invalid Individual ABN INT: 78330347529 Single Invalid Error TAN INT: 17801003 ITLDGSTS ABN RP: 12345678912 Invalid NonIndividual ABN INT: 78330347529 TAN INT: 17801003 Single Invalid Error CONF-ATO-ITLDGSTS005.01* List Single ITDGSTS ABN RP: 18083973826 Invalid Non- Version: 0.3 UNCLASSIFIED (Adalta312) Alan Donald (24442222) or Device: (Adalta312) Alan Donald (24442222) or Device: (Adalta312) Alan Donald (24442222) or Device: (Adalta312) Alan Donald (24442222) or Tax Agent sends a valid List ITLDGSTS for a Single request message for a non-individual to get their income tax lodgment status history and receives a valid response. Tax Agent sends an invalid List ITLDGSTS for a Single request message (TFN of reporting party fails algorithm check) for an individual to get their income tax lodgment status history and receives an error message. Tax Agent sends an invalid List ITLDGSTS for a Single request message (ABN of reporting party fails algorithm check) for a non-individual to get their income tax lodgment status history and receives an error message. Tax Agent sends an invalid List ITLDGSTS for a Single request message (Invalid End Date) for a non- Page 6 Standard Business Reporting Program Test Case Id Service ATO ITLDGSTS Conformance Test Suite Message Type Test Case Name ABN, TAN and TFN’s Credentials Test case purpose Individual ABN INT: 78330347529 Device: individual to get their income tax lodgment status history and receives an error message. (Adalta312) CONF-ATO-ITLDGSTS006.01* CONF-ATO-ITLDGSTS07.01 List List Single Batch Single Invalid Error TAN INT: 17801003 ITLDGSTS TFN RP: 28936913 Invalid Individual ABN INT: 78330347529 Multiple Invalid Errors TAN INT: 17801003 ITLDGSTS Transaction 1: TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Valid Individual and Valid NonIndividual Transaction 2: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Alan Donald (24442222) or Device: (Adalta312) Alan Donald (24442222) or Device: Tax Agent sends an invalid List ITLDGSTS for a Single request message (multiple invalid errors) for an individual to get their income tax lodgment status history and receives multiple error messages. Tax Agent sends a valid List ITLDGSTS for a Batch request message and receives valid responses for 1st & 2nd Transactions. (Adalta312) 1st Transaction: ITLDGSTS for a valid individual to get their income tax lodgment status history and receives a valid response. 2nd Transaction: ITLDGSTS for a valid non-individual to get their income tax lodgment status history and receives a valid response. CONF-ATO-ITLDGSTS08.01* List Batch ITLDGSTS Invalid Individual and Valid Non- Version: 0.3 Transaction 1: TFN RP: 22112211 ABN INT: 78330347529 TAN INT: 17801003 UNCLASSIFIED Alan Donald (24442222) or Device: Tax Agent sends an invalid/valid List ITLDGSTS for a Batch request message and receives invalid/valid responses for 1st & 2nd Transactions respectively. Page 7 Standard Business Reporting Program Test Case Id Service ATO ITLDGSTS Conformance Test Suite Message Type Test Case Name ABN, TAN and TFN’s Credentials Individual Transaction 2: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 (Adalta312) Single Invalid Error Test case purpose 1st Transaction: ITLDGSTS for an individual (TFN of reporting party fails algorithm check) to get their income tax lodgment status history and receives an error message. 2nd Transaction: ITLDGSTS for a nonindividual to get their income tax lodgment status history and receives a valid response. CONF-ATO-ITLDGSTS09.01* List Batch ITLDGSTS Invalid NonIndividual and Valid Individual Single Invalid Error Transaction 1: ABN RP: 12345678912 ABN INT: 78330347529 TAN INT: 17801003 Alan Donald (24442222) or Device: Transaction 2: TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 (Adalta312) Tax Agent sends an invalid/valid List ITLDGSTS for a Batch request message and receives invalid/valid responses for 1st & 2nd Transactions respectively. 1st Transaction: ITLDGSTS for a nonindividual (ABN of reporting party fails algorithm check) to get their income tax lodgment status history and receives an error message. 2nd Transaction: ITLDGSTS for a valid individual to get their income tax lodgment status history and receives a valid response. CONF-ATO-ITLDGSTS010.01* List Batch ITLDGSTS Invalid NonIndividual and Valid Individual Transaction 1: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Transaction 2: Version: 0.3 UNCLASSIFIED Alan Donald (24442222) or Device: (Adalta312) Tax Agent sends an invalid/valid List ITLDGSTS for a Batch request message and receives invalid/valid responses for 1st & 2nd Transactions respectively. Page 8 Standard Business Reporting Program Test Case Id Service ATO ITLDGSTS Conformance Test Suite Message Type Test Case Name ABN, TAN and TFN’s Single Invalid Error TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Credentials Test case purpose 1st Transaction: ITLDGSTS for a nonindividual (Invalid End Date) to get their income tax lodgment status history and receives an error message. 2nd Transaction: ITLDGSTS for a valid individual to get their income tax lodgment status history and receives a valid response. CONF-ATO-ITLDGSTS011.01* List Batch ITLDGSTS Transaction 1: TFN RP: 28936913 Invalid Individual and valid NonIndividual Multiple Invalid Errors ABN INT: 78330347529 TAN INT: 17801003 Alan Donald (24442222) or Device: (Adalta312) Transaction 2: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Tax Agent sends an invalid/valid List ITLDGSTS for a Batch request message and receives invalid/valid responses for 1st & 2nd Transactions respectively. 1st Transaction: ITLDGSTS for an individual (multiple errors) to get their income tax lodgment status history and receives multiple error message. 2nd Transaction: ITLDGSTS for a valid non-individual to get their income tax lodgment status history and receives a valid response. CONF-ATO-ITLDGSTS012.01* Version: 0.3 List Single ITLDGSTS ABN INT: 11000002568 Invalid Individual TAN INT: 88888881 Invalid no permitted actions in Access TFN RP: 42656503 UNCLASSIFIED Guy Mallam (20080153) or Device (INGLETON153) Tax Agent sends an invalid List ITLDGSTS for a Single request message for an individual with no permitted actions in Access Manager and receives an error message. Page 9 Standard Business Reporting Program Test Case Id Service ATO ITLDGSTS Conformance Test Suite Message Type ABN, TAN and TFN’s Credentials Test case purpose ITLDGSTS ABN INT: 11000002568 Invalid Individual TAN INT: 88888881 Guy Mallam (20080153) or Device Invalid no permitted actions in Access Manager TFN RP: 42656503 (INGLETON153) Tax Agent sends an invalid List ITLDGSTS for a Batch request message for an individual with no permitted actions in Access Manager and receives an error message. ITLDGSTS TFN RP: 999999688 Invalid Individual ABN INT: 78330347529 Alan Donald (24442222) or Device: Error returned from Backend Systems TAN INT: 17801003 (Adalta312) ITLDGSTS ABN RP: 51009679127 Valid NonIndividual ABN INT: 78330347529 Alan Donald (24442222) or Device: Test Case Name Manager CONF-ATO-ITLDGSTS013.01* CONF-ATO-ITLDGSTS014.01* CONF-ATO-ITLDGSTS015.01 List List List Batch Single Batch TAN INT: 17801003 Warning returned from Backend System Version: 0.3 UNCLASSIFIED (Adalta312) Tax Agent sends an invalid List ITLDGSTS for a Single request message for an individual and receives an “Unexpected Error” message from the Backend System. Tax Agent sends an invalid List ITLDGSTS for a Batch request message for a non-individual and receives a “Due date cannot be determined for client” warning message from the Backend System. Page 10 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite 2.4. TEST CASE EXECUTION The scope of this self-certification test is limited to the following: Compliance to the defined standards, format and data validation with respect to the taxonomy. Compliance to the report business logic, sequencing and exception handling. Accordingly, the test cases outlined in this document do not include any reference to user actions through a software product user interface, nor do they address other aspects such as performance and scalability. It is expected that software developers will adapt their software in order to satisfy themselves that their software has complied with this report. Each test case defines the required test data for the business profile, credential to be used, context for the sample instance files, the test execution steps, and the conformance criteria. It is anticipated that as part of the self certification process, software developers must complete all steps in the test case and maintain records as evidence that the specified conformance criteria have been met. 2.5. TESTING ENVIRONMENT The ATO SBR2 external testing environment has been configured to be idempotent. That is, all test cases can be run multiple times, always receive the same response and not require rollback. The ATO SBR2 external testing environment will be available for testing with support provided during normal business hours 8:00 am – 5:00 pm AEDT Monday to Friday. The environment will also be available outside of business hours, seven days a week, but with no guarantee as to availability, and with no support. As with all test environments, the ATO can not guarantee the environment will be available at all times due to internal maintenance, defect resolution and build processes outside of normal business hours. SBR Service Desk will be the first point of contact for Software Developers, with the SBR Test Team being the first resolver group, and resolution of issues will follow the SBR Defect Management processes. ATO SBR support will be provided within normal business hours 8:00 am – 7:00 pm AEDT Monday to Friday. 2.6. TEST STEPS The steps of each test case must be executed in the specified sequence. Sample payloads will be provided which will show what the expected requests should be to receive the anticipated error messages. 2.7. CREDENTIALS Person ID and Device credentials have been provided for each test case to enable scenarios to be tested with one and/or both of these credential types if required. Version: 0.3 UNCLASSIFIED Page 11 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite 2.8. REPORTING TAXONOMY REFERENCES The following table lists the reporting taxonomy references for the service types as required in the test cases for this report. Service Name Request/ Response URL List Request http://sbr.gov.au/taxonomy/sbr_au_reports/ato/itldgsts/itldgsts_0001/itldgs ts.0001.list.request.02.00.report.xsd Note: The taxonomy is still not published for this report. The ELS2SBR MDT will need to provide the links once they are published. Response http://sbr.gov.au/taxonomy/sbr_au_reports/ato/itldgsts/itldgsts_0001/itldgs ts.0001.list.response.02.00.report.xsd Note: The taxonomy is still not published for this report. The ELS2SBR MDT will need to provide the links once they are published. Prefill Prelodge Lodge Request N/A Response N/A Request N/A Response N/A Request Response Version: 0.3 N/A N/A UNCLASSIFIED Page 12 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite 2.9. TEST CASES Test Case ID CONF-ATO-ITLDGSTS-001.01 Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send a valid Single message to enquire into the status of a client’s income tax lodgment history. This request is to get a valid income tax lodgment history for an individual. Business Profile(s) Required TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with the valid ABNs and credentials Receive ITLDGSTS response containing the business response message with Income Tax Lodgment Status History and receive the validation response message with Message Event element containing: Result EventItem Error.Code =CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-001.01_List_Request.xml UNCLASSIFIED Page 13 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-002.01 Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send a valid Single message to enquire into the status of a client’s income tax lodgment history. This request is to get a valid income tax lodgment history for a non-individual. Business Profile(s) Required ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with the valid ABNs and credentials Receive ITLDGSTS response containing the business response message with Income Tax Lodgment Status History and receive the validation response message with Message Event element containing: Result EventItem Error.Code =CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-002.01_List_Request.xml UNCLASSIFIED Page 14 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-003.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that if a Tax Agent sends an invalid Single message to enquire into the status of an Individual client’s income tax lodgment history with an invalid reporting party TFN, they will receive an error message. Business Profile(s) Required TFN RP: 22112211 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with valid ABNs and credentials and an invalid reporting party TFN. Receive ITLDGSTS response containing the Message Event element containing error message: TFN set to “22112211” and fails the algorithm check. 2 Save all request and response envelopes together with this completed test case for audit purposes Result EventItem Error.Code = CMN.ATO.GEN.500009 and EventItem Short.Description = “Reporting Party Tax File Number has failed the algorithm check”. N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-003.01_List_Request.xml UNCLASSIFIED Page 15 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-004.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that if a Tax Agent sends an invalid Single message to enquire into the status of a non-individual client’s income tax lodgment history with an invalid reporting party ABN, they will receive an error message. Business Profile(s) Required ABN RP: 12345678912 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with valid ABNs and credentials and an invalid reporting party ABN. Receive the ITLDGSTS response containing the Message Event element containing error message: ABN set to “12345678912” and fails the algorithm check. 2 Save all request and response envelopes together with this completed test case for audit purposes Result EventItem Error.Code = CMN.ATO.ITLDGSTS.000005 and EventItem Short.Description = “Reporting Party Australian Business Number has failed the algorithm check”. N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-004.01_List_Request.xml UNCLASSIFIED Page 16 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-005.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that if a Tax Agent sends an invalid Single message to enquire into the status of a non-individual client’s income tax lodgment history with an invalid reporting party End Date, they will receive an error message. Business Profile(s) Required ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Additional Notes Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with valid ABNs and credentials and an invalid reporting party End Date . Receive the ITLDGSTS response containing the Message Event element containing error message: End Date set to “2014-13-03” EventItem Error.Code = CMN.ATO.GEN.XBRL03 and Result EventItem Short.Description = “A field contains invalid data (such as letters in numeric or date field).” 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-005.01_List_Request.xml UNCLASSIFIED Page 17 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-006.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that if a Tax Agent sends an invalid Single message to enquire into the status of an individual client’s income tax lodgment history with multiple invalid errors, they will receive multiple error messages. 1. Report submission date not present 2. Period start date different from end date 3. Period start and end date different in both RP and INT contexts Business Profile(s) Required TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with valid ABNs and credentials and the following invalid data: Receive the ITLDGSTS response containing the Message Event element containing the following multiple error messages: 1. Report submission date not provided 2. Period start date different from end date 3. Period start date in future. 4. Period start and end date different in both RP and INT contexts Result 1. EventItem Error.Code = CMN.ATO.GEN.500034 and EventItem Short.Description = “Invalid context. Period start date must be the same as the Period end date for this form.” 2. EventItem Error.Code = CMN.ATO.GEN.500030 and EventItem Short.Description = “Invalid context. Period start date must be the same across all duration contexts.” 3. EventItem Error.Code = CMN.ATO.ITLDGSTS.000002 and EventItem Short.Description = “Report submission date must be present” 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-006.01_List_Request.xml UNCLASSIFIED Page 18 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-07.01 Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send a valid Batch message for ITLDGSTS with 2 Transactions and receive valid responses. 1st Transaction is for a valid ‘Individual’ to get their income tax lodgment status history and receive a valid response 2nd Transaction is for a valid ‘Non-Individual’ to get their income tax lodgment status history and receives a valid response. Business Profile(s) Required Transaction 1: TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Transaction 2: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Batch service with valid ABNs and credentials. Result 1st Pull response for ITLDGSTS contains the validation response messages for Transactions 1 and 2 with Message Event element containing: EventItem Error.Code = CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2nd Pull response for ITLDGSTS contains the business response messages with Income Tax Lodgment Status History for Transactions 1 and 2. 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List CONF-ATO-ITLDGSTS-007.01_List_Request.xml CONF-ATO-ITLDGSTS-007.02_List_Request.xml Version: 0.3 UNCLASSIFIED Page 19 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-08.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send an invalid/valid Batch message for ITLDGSTS with 2 Transactions and receive invalid and valid responses. 1st Transaction is for an invalid ‘Individual’ to get their income tax lodgment status history and receive an error message. 2nd Transaction is for a valid ‘Non-Individual’ to get their income tax lodgment status history and receives a valid response. Business Profile(s) Required Transaction 1: TFN RP: 22112211 ABN INT: 78330347529 TAN INT: 17801003 Transaction 2: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Batch service with valid ABNs and credentials. 1st Pull response for ITLDGSTS contains the validation response messages for Transactions 1 and 2 with Message Event element containing: 1st Transaction: TFN is set “22112211” and fails algorithm check. 2nd Transaction: Valid data Result 1st Transaction EventItem Error.Code = CMN.ATO.GEN.500009 and EventItem Short.Description = “Reporting Party Tax File Number has failed the algorithm check”. 2nd Transaction EventItem Error.Code = CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2nd Pull response for ITLDGSTS contains the business response messages with Income Tax Lodgment Status History for Transaction 2. Version: 0.3 UNCLASSIFIED Page 20 Standard Business Reporting Program 2 ATO ITLDGSTS Conformance Test Suite Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List CONF-ATO-ITLDGSTS-008.01_List_Request.xml CONF-ATO-ITLDGSTS-008.02_List_Request.xml Version: 0.3 UNCLASSIFIED Page 21 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-09.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send an invalid/valid Batch message for ITLDGSTS with 2 Transactions and receive invalid and valid responses. 1st Transaction is for an invalid ‘Non-Individual’ to get their income tax lodgment status history and receive an error message. Business Profile(s) Required 2nd Transaction is for a valid ‘Individual’ to get their income tax lodgment status history and receives a valid response. Transaction 1: ABN RP: 12345678912 ABN INT: 78330347529 TAN INT: 17801003 Transaction 2: TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Batch service with valid ABNs and credentials. 1st Pull response for ITLDGSTS contains the validation response messages for Transactions 1 and 2 with Message Event element containing: 1st Transaction: Reporting party ABN is set “12345678912” and fails algorithm check. 2nd Transaction: Valid data Result 1st Transaction EventItem Error.Code = CMN.ATO.ITLDGSTS.000005 and EventItem Short.Description = “Reporting Party Australian Business Number has failed the algorithm check”. 2nd Transaction EventItem Error.Code = CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2nd Pull response for ITLDGSTS contains the business response messages with Income Tax Lodgment Status History for Version: 0.3 UNCLASSIFIED Page 22 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Transaction 2 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List CONF-ATO-ITLDGSTS-009.01_List_Request.xml CONF-ATO-ITLDGSTS-009.02_List_Request.xml Version: 0.3 UNCLASSIFIED Page 23 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-10.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send an invalid/valid Batch message for ITLDGSTS with 2 Transactions and receive invalid and valid responses. 1st Transaction is for an invalid ‘Non-Individual’ to get their income tax lodgment status history and receive an error message. 2nd Transaction is for a valid ‘Individual’ to get their income tax lodgment status history and receives a valid response. Business Profile(s) Required Transaction 1: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Transaction 2: TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step 1 Description Conformance Criteria Call the ITLDGSTS List Batch service with valid ABNs and credentials. 1st 1st Transaction: Reporting party End Date is set to “2014-13-03” and fails algorithm check. 2nd Transaction: Valid data Result Pull response for ITLDGSTS contains the validation response messages for Transactions 1 and 2 with Message Event element containing: 1st Transaction EventItem Error.Code = CMN.ATO.GEN.XBRL03 and EventItem Short.Description = “A field contains invalid data (such as letters in numeric or date field).” 2nd Transaction EventItem Error.Code = CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2nd Pull response for ITLDGSTS contains the business response messages with Income Tax Lodgment Status History for Version: 0.3 UNCLASSIFIED Page 24 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Transaction 2. 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List CONF-ATO-ITLDGSTS-010.01_List_Request.xml CONF-ATO-ITLDGSTS-010.02_List_Request.xml Version: 0.3 UNCLASSIFIED Page 25 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-11.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send an invalid/valid Batch message for ITLDGSTS with 2 Transactions and receive invalid and valid responses. 1st Transaction is for an invalid ‘Individual’ to get their income tax lodgment status history and receive multiple error message. 2nd Transaction is for a valid ‘Non-Individual’ to get their income tax lodgment status history and receives a valid response. Business Profile(s) Required Transaction 1: TFN RP: 28936913 ABN INT: 78330347529 TAN INT: 17801003 Transaction 2: ABN RP: 18083973826 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Alan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Batch service with valid ABNs and credentials. 1st Pull response for ITLDGSTS contains the validation response messages for Transactions 1 and 2 with Message Event element containing: 1st Transaction contains the following invalid data: 1. Report submission date not provided 2. Period start date different from end date 3. Period start date in future. 4. Period start and end date different in both RP and INT contexts 2nd Transaction: Valid data Result 1st Transaction EventItem Error.Code = CMN.ATO.GEN.500034 and EventItem Short.Description = “Invalid context. Period start date must be the same as the Period end date for this form.” EventItem Error.Code = CMN.ATO.GEN.500030 and EventItem Short.Description = “Invalid context. Period start date must be the same across all duration contexts.” EventItem Error.Code = CMN.ATO.ITLDGSTS.000002 and EventItem Short.Description = “Report submission date must be present” Version: 0.3 UNCLASSIFIED Page 26 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite 2nd Transaction EventItem Error.Code = CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2nd Pull response for ITLDGSTS contains the business response messages with Income Tax Lodgment Status History for Transaction 2 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List CONF-ATO-ITLDGSTS-011.01_List_Request.xml CONF-ATO-ITLDGSTS-011.02_List_Request.xml Version: 0.3 UNCLASSIFIED Page 27 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-12.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that if a Tax Agent sends an invalid Single message to enquire into the status of an Individual client’s income tax lodgment history with no permitted actions in Access Manager, they will receive an error. Business Profile(s) Required ABN INT: 11000002568 TAN INT: 88888881 TFN RP: 42656503 Credential(s) Required Authorised person: Guy Mallam Person Id: 20080153 Or Authorised Device: INGLETON153 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with valid ABNs and credentials. Receive the ITLDGSTS response containing platform response message with Message Event element containing Result EventItem Error.Code = 25027 and EventItem Detailed.Description = “Unable to Authorise” 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-012.01_List_Request.xml UNCLASSIFIED Page 28 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-13.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that if a Tax Agent sends an invalid Batch message to enquire into the status of an Individual client’s income tax lodgment history with no permitted actions in Access Manager, they will receive an error. Business Profile(s) Required ABN INT: 11000002568 TAN INT: 88888881 TFN RP: 42656503 Credential(s) Required Authorised person: Guy Mallam Person Id: 20080153 Or Authorised Device: INGLETON153 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step 1 Description Conformance Criteria Call the ITLDGSTS List Batch service with valid ABNs and credentials. 1st Result Pull response for ITLDGSTS contains the validation response messages with Message Event element containing: EventItem Error.Code = 25027 and EventItem Detailed.Description = “Unable to Authorise” Please note: There is no 2nd Pull response for this test case. 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-013.01_List_Request.xml UNCLASSIFIED Page 29 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-14.01* Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send an invalid Single message to enquire into the status of an Individual client’s income tax lodgment history and receive an error response from the Backend System. Business Profile(s) Required TFN RP: 999999688 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Allan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step Description Conformance Criteria 1 Call the ITLDGSTS List Single service with valid ABNs and credentials. Receive the ITLDGSTS response containing the business response message with Message Event element containing: Result EventItem Error.Code = CMN.ATO.AIS.010001 and EventItem Short.Description = “UNEXPECTED ERROR” 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-014.01_List_Request.xml UNCLASSIFIED Page 30 Standard Business Reporting Program ATO ITLDGSTS Conformance Test Suite Test Case ID CONF-ATO-ITLDGSTS-15.01 Conformance Suite ID ATO-ITLDGSTS Purpose To confirm that a Tax Agent can send a valid Batch message to enquire into the status of a Non-Individual client’s income tax lodgment history and receive a warning message from the Backend System. Business Profile(s) Required ABN RP: 51009679127 ABN INT: 78330347529 TAN INT: 17801003 Credential(s) Required Authorised person: Allan Donald Person Id: 24442222 Or Authorised Device: Adalta312 Additional Notes This case is a ‘repeatable’ test case. That is, the same test results are returned on subsequent execution of this script. Test Case Execution Step 1 Description Conformance Criteria Call the ITLDGSTS List Batch service with valid ABNs and credentials. 1st Result Pull response for ITLDGSTS contains the validation response messages with Message Event element containing: EventItem Error.Code = CMN.ATO.GEN.OK and EventItem Short.Description = “Message accepted”. 2nd Pull response for ITLDGSTS contains the business response messages with Income Tax Lodgment Status History and Message Event element containing: EventItem Error.Code = CMN.ATO.AIS.010002 and EventItem Short.Description = “DUE DATE CANNOT BE DETERMINED FOR CLIENT” 2 Save all request and response envelopes together with this completed test case for audit purposes N/A Test Instance Data List Version: 0.3 CONF-ATO-ITLDGSTS-015.01_List_Request.xml UNCLASSIFIED Page 31
© Copyright 2026 Paperzz