All return types
XML04 error usually means you’ve not completed a mandatory field.
CMN.ATO.GEN.XML04
A mandatory field has not been completed.
The value specified for an item does not match the item type (value =
"", item type = Decimal, uniqueID =
Identifying the field name from the ATO rejection report
To fix the error, it's important to identify the specific field where it occurred.
Follow the steps below on how to find the field.
Open the rejection report.
In the Details section, get the field name after /ato.
http://www.sbr.gov.au/ato/incdtls:IncomeTaxPartnershipExcludingForeignIncomeNonPrimaryProductionA)
Check the Hint to see if it is an invalid value, mandatory field, or exceeding character limit.
Hint: The string '' is not a valid Decimal value.
Fixing the error
This is the list of common fields in which this error can happen.
Trust return
trt.OrganisationNameDetailsOrganisationalNameT'
The element 'BusinessAndProfessionalInformation' in namespace 'http://www.sbr.gov.au/ato/trt' has invalid child element 'BusinessAndProfessionaltems' in namespace 'http://www.sbr.gov.au/ato/trt'. List of possible elements expected: 'OrganisationNameDetailsOrganisationalNameT' in namespace 'http://www.sbr.gov.au/ato/trt'. Hint: while processing parent element [BusinessAndProfessionalInformation] child mandatory element [OrganisationNameDetailsOrganisationalNameT] was expected but not found
Check the fields
trt.BusinessAndProfessionalInformation
The element 'BusinessAndProfessionalInformation' in namespace
'http://www.sbr.gov.au/ato/trt' has invalid child element
Check the fields
trt.intermediaryContactCollection
The element 'Declaration" in namespace "http://www.sbr.gov.au/trt' has invalid child element 'intermediaryContactCollection' in namespace 'http://www.sbr.gov.au/trt'. List of possible elements expected: 'SignatoryIndentifierT' in namespace 'http://www.sbr.gov.au/ato/trt'.
Hint: while processing parent element [Declaration} child mandatory element [SignatoryidentifierT] was expected but not found
Check the fields
trt.PersonUnstructuredNameFullNameT
The element 'ReportingPartyDeclaration' in namespace 'http://www.sbr.gov.au/'trt' has incomplete content. List of possible elements expected: 'PersonUnstructuredNameFullNameT' in namespace 'http://www.sbr.gov.au/'trt'.
Hint: while processing parent element [ReportingPartyDeclaration] child mandatory element [PersonUnstructuredNameFullNameT] was not found
Check the fields
International Dealings schedule (IDS)
ids.MiscellaneousAcquisitionsAndDisposalsPricingMethodC
The element 'TangiblePropertyNonRevenue' in namespace 'http://www.sbr.gov.au/ato/ids' has incomplete content. List of possible elements expected: 'AssetsConsiderationPaidA, AssetsConsiderationReceivedA, MiscellaneousAcquisitionsAndDisposalsPricingMethodC' in namespace 'http://www.sbr.gov.au/ato/ids'.
Hint: while processing parent element [TangiblePropertyNonRevenue] child mandatory element [MiscellaneousAcquisitionsAndDisposalsPricingMethodC] was not found
Check the fields