- Loading...
When FI record is populated for AU, the below modifications to the XML will occur:
1.RefID naming convention
CRS XML Schema files must contain MessageRefID and DocRefID elements with the following format:
- AUReportingYearAUSendingCompanyINUniqueReference
The components of the above format are:
- Sending Country Code - must be, AU
- Reporting Year (the year in which the data relates) - for example, 2017 for a report period ending 2017-12-31
- Receiving Country Code - must be, AU
- Sending Company IN - for example, ABN, GIIN or TFN
- A unique string of characters the reporter can use to make the file unique - for example, UniqueReference.
2.Wrapper/Header
The software will generate XML with the required wrapper as screenshot below:
<BulkBusinessDocumentMessage xsi:schemaLocation="http://ato.gov.au/bde/bbdm bbdm.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ato.gov.au/bde/bbdm">
<BulkBusinessDocumentHeader>
<Message.Type.Text>crs.0001.lodge.request</Message.Type.Text>
<Message.Timestamp.Generation.Datetime>2018-06-23T15:26:00.2533315Z</Message.Timestamp.Generation.Datetime>
<Sender>
<IdentificationDetails.IdentifierName.Text>UEN-Business</IdentificationDetails.IdentifierName.Text ← (FI IN Type)
<IdentificationDetails.IdentifierValue.Text>12345678</IdentificationDetails.IdentifierValue.Text> ← (FI IN/ID#)
<Message.Identifier.Text>AU2017AU1234567820180623082600000</Message.Identifier.Text> ← (Message ID specific naming convention)
</Sender>
<SoftwareInformation> ← (software version generated by XML)
<OrganisationNameDetails.OrganisationalName.Text>1099 Pro, Inc.</OrganisationNameDetails.OrganisationalName.Text
<SoftwareInformation.ProductName.Text>MagCRS</SoftwareInformation.ProductName.Text
<SoftwareInformation.ProductVersion.Text>2018.06.22.003</SoftwareInformation.ProductVersion.Text>
</SoftwareInformation>
</BulkBusinessDocumentHeader>
<BulkBusinessDocumentBody>
<Record_Delimiter DocumentType="BASE" DocumentName="CRS" DocumentID="1"/>
<standard CRS XML generation placed after the above wrapper>
</BulkBusinessDocumentBody>
</BulkBusinessDocumentMessage>