
using System;
using System.Collections.Generic;

namespace Ato.EN.IntegrationServices.CodeGenerationIEE
{
    public class IEE2021
    {

    public bool IntCollectionExists = false;
    public int IntCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:INT
    /// IEE:pyid.02.00:Identifiers.AustralianBusinessNumber.Identifier
    /// </summary>
    public string IEE200 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:INT
    /// IEE:pyid.02.00:Identifiers.TaxAgentNumber.Identifier
    /// </summary>
    public string IEE2 = null;

    public bool InT_ContactNameCollectionExists = false;
    public int InT_ContactNameCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:ContactName
    /// IEE:pyde.02.00:PersonUnstructuredName.FullName.Text
    /// </summary>
    public string IEE186 = null;

    public bool InT_ContactTelephoneCollectionExists = false;
    public int InT_ContactTelephoneCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:ContactTelephone
    /// IEE:pyde.02.00:ElectronicContact.Telephone.Area.Code
    /// </summary>
    public string IEE189 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:ContactTelephone
    /// IEE:pyde.02.00:ElectronicContact.Telephone.Minimal.Number
    /// </summary>
    public string IEE190 = null;

    public bool InT_DeclarationCollectionExists = false;
    public int InT_DeclarationCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:Declaration
    /// IEE:pyin.02.03:Declaration.StatementType.Code
    /// </summary>
    public string IEE159 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:Declaration
    /// IEE:pyin.02.28:Declaration.StatementAccepted.Indicator
    /// </summary>
    public bool? IEE179 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:Declaration
    /// IEE:pyin.02.29:Declaration.Signature.Date
    /// </summary>
    public DateTime? IEE181 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:Declaration
    /// IEE:pyin.02.00:Declaration.SignatoryIdentifier.Text
    /// </summary>
    public string IEE182 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:INT/:Declaration
    /// IEE:pyde.02.00:PersonUnstructuredName.FullName.Text
    /// </summary>
    public string IEE184 = null;

    public bool RpCollectionExists = false;
    public int RpCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyid.02.00:Identifiers.TaxFileNumber.Identifier
    /// </summary>
    public string IEE3 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyid.02.00:Identifiers.AustralianBusinessNumber.Identifier
    /// </summary>
    public string IEE162 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyde.02.00:OrganisationDetails.OrganisationBranch.Code
    /// </summary>
    public string IEE163 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyin.02.00:Lodgment.PeriodYear.Year
    /// </summary>
    public int? IEE1 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyin.02.00:Period.Start.Date
    /// </summary>
    public DateTime? IEE201 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyin.02.00:Period.End.Date
    /// </summary>
    public DateTime? IEE202 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyin.02.23:Report.CompletionHours.Number
    /// </summary>
    public decimal? IEE94 = null;

    public bool RP_CurrentNameCollectionExists = false;
    public int RP_CurrentNameCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentName
    /// IEE:pyde.02.00:OrganisationNameDetails.OrganisationalName.Text
    /// </summary>
    public string IEE4 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyid.02.00:Identifiers.AustralianCompanyNumber.Identifier
    /// </summary>
    public string IEE100 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP
    /// IEE:pyid.02.00:Identifiers.AustralianRegisteredBodyNumber.Identifier
    /// </summary>
    public string IEE101 = null;

    public bool RP_CurrentPostalAddressCollectionExists = false;
    public int RP_CurrentPostalAddressCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Line1.Text
    /// </summary>
    public string IEE5 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Line2.Text
    /// </summary>
    public string IEE122 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.LocalityName.Text
    /// </summary>
    public string IEE6 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Postcode.Text
    /// </summary>
    public string IEE8 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.StateOrTerritory.Code
    /// </summary>
    public string IEE7 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:CurrentPostalAddress
    /// IEE:pyde.02.08:AddressDetails.Country.Code
    /// </summary>
    public string IEE111 = null;

    public bool RP_PreviousNameCollectionExists = false;
    public int RP_PreviousNameCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousName
    /// IEE:pyde.02.00:OrganisationNameDetails.OrganisationalName.Text
    /// </summary>
    public string IEE10 = null;

    public bool RP_PreviousPostalAddressCollectionExists = false;
    public int RP_PreviousPostalAddressCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Line1.Text
    /// </summary>
    public string IEE11 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Line2.Text
    /// </summary>
    public string IEE126 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousPostalAddress
    /// IEE:pyde.02.00:AddressDetails.LocalityName.Text
    /// </summary>
    public string IEE12 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Postcode.Text
    /// </summary>
    public string IEE14 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousPostalAddress
    /// IEE:pyde.02.00:AddressDetails.StateOrTerritory.Code
    /// </summary>
    public string IEE13 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:PreviousPostalAddress
    /// IEE:pyde.02.08:AddressDetails.Country.Code
    /// </summary>
    public string IEE112 = null;

    public bool RP_InterposedEntityElectionRevocationDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetailsCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails
    /// IEE:pyde.02.21:Party.Type.Code
    /// </summary>
    public string IEE16 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails
    /// IEE:rvctc3.02.02:Elections.InterposedEntityElectionOrRevocation.Code
    /// </summary>
    public string IEE116 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails
    /// IEE:rvctc3.02.00:Elections.Commencement.Date
    /// </summary>
    public DateTime? IEE49 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails
    /// IEE:rvctc3.02.00:Elections.Revocation.Year
    /// </summary>
    public int? IEE82 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformationCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformationCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:CentralManagementAndControlInformation
    /// IEE:pyde.02.00:Residency.CentralManagementAndControlOutsideAustralia.Indicator
    /// </summary>
    public bool? IEE17 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:CentralManagementAndControlInformation
    /// IEE:pyde.02.00:Residency.CentralManagementAndControlOutsideAustraliaFullPeriod.Indicator
    /// </summary>
    public bool? IEE18 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformation_ControlOutsideAustraliaPartPeriodDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformation_ControlOutsideAustraliaPartPeriodDetailsCollectionCount = 0;
    
    public List<RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformation_ControlOutsideAustraliaPartPeriodDetails> RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformation_ControlOutsideAustraliaPartPeriodDetailsCollection = null;
    
    public class RP_InterposedEntityElectionRevocationDetails_CentralManagementAndControlInformation_ControlOutsideAustraliaPartPeriodDetails 
    {
        public int OccurrenceIndex = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:CentralManagementAndControlInformation/:ControlOutsideAustraliaPartPeriodDetails
        /// IEE:pyin.02.00:Period.Start.Date
        /// </summary>
        public DateTime? IEE19 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:CentralManagementAndControlInformation/:ControlOutsideAustraliaPartPeriodDetails
        /// IEE:pyin.02.00:Period.End.Date
        /// </summary>
        public DateTime? IEE20 = null;
    }

    public bool RP_InterposedEntityElectionRevocationDetails_NonResidentInformationCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_NonResidentInformationCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:NonResidentInformation
    /// IEE:pyde.02.10:Residency.TaxPurposesOrganisationStatus.Code
    /// </summary>
    public string IEE21 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:NonResidentInformation
    /// IEE:pyde.02.00:Residency.NonResidentFullPeriod.Indicator
    /// </summary>
    public bool? IEE22 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_NonResidentInformation_CompanyNonResidentPartPeriodDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_NonResidentInformation_CompanyNonResidentPartPeriodDetailsCollectionCount = 0;
    
    public List<RP_InterposedEntityElectionRevocationDetails_NonResidentInformation_CompanyNonResidentPartPeriodDetails> RP_InterposedEntityElectionRevocationDetails_NonResidentInformation_CompanyNonResidentPartPeriodDetailsCollection = null;
    
    public class RP_InterposedEntityElectionRevocationDetails_NonResidentInformation_CompanyNonResidentPartPeriodDetails 
    {
        public int OccurrenceIndex = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:NonResidentInformation/:CompanyNonResidentPartPeriodDetails
        /// IEE:pyin.02.00:Period.Start.Date
        /// </summary>
        public DateTime? IEE23 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:NonResidentInformation/:CompanyNonResidentPartPeriodDetails
        /// IEE:pyin.02.00:Period.End.Date
        /// </summary>
        public DateTime? IEE24 = null;
    }

    public bool RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartnerCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartnerCollectionCount = 0;
    
    public List<RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner> RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartnerCollection = null;
    
    public class RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner 
    {
        public int OccurrenceIndex = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyid.02.00:Identifiers.TaxFileNumber.Identifier
        /// </summary>
        public string IEE25 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyid.02.00:Identifiers.TaxFileNumberInexistent.Indicator
        /// </summary>
        public bool? IEE26 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyde.02.00:Residency.NonResidentFullPeriod.Indicator
        /// </summary>
        public bool? IEE42 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyde.02.25:Residency.TaxPurposesPersonStatus.Indicator
        /// </summary>
        public bool? IEE41 = null;
    
        public bool RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_NonResidentPartPeriodDetailsCollectionExists = false;
        public int RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_NonResidentPartPeriodDetailsCollectionCount = 0;

        public List<RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_NonResidentPartPeriodDetails> RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_NonResidentPartPeriodDetailsCollection = null;

        public class RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_NonResidentPartPeriodDetails 
        {
            public int OccurrenceIndex = 0;
    
            /// <summary>
            /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:NonResidentPartPeriodDetails
            /// IEE:pyin.02.00:Period.Start.Date
            /// </summary>
            public DateTime? IEE43 = null;
    
            /// <summary>
            /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:NonResidentPartPeriodDetails
            /// IEE:pyin.02.00:Period.End.Date
            /// </summary>
            public DateTime? IEE44 = null;
        }

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyde.02.00:OrganisationNameDetails.OrganisationalName.Text
        /// </summary>
        public string IEE32 = null;
    
        public bool RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_IndividualNameDetailsCollectionExists = false;
        public int RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_IndividualNameDetailsCollectionCount = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:IndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.Title.Text
        /// </summary>
        public string IEE27 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:IndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.NameSuffix.Text
        /// </summary>
        public string IEE29 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:IndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.FamilyName.Text
        /// </summary>
        public string IEE28 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:IndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.GivenName.Text
        /// </summary>
        public string IEE30 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:IndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.OtherGivenName.Text
        /// </summary>
        public string IEE31 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyid.02.00:Identifiers.AustralianCompanyNumber.Identifier
        /// </summary>
        public string IEE34 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner
        /// IEE:pyid.02.00:Identifiers.AustralianRegisteredBodyNumber.Identifier
        /// </summary>
        public string IEE95 = null;
    
        public bool RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_CurrentPostalAddressCollectionExists = false;
        public int RP_InterposedEntityElectionRevocationDetails_TrusteeOrPartner_CurrentPostalAddressCollectionCount = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:CurrentPostalAddress
        /// IEE:pyde.02.00:AddressDetails.Line1.Text
        /// </summary>
        public string IEE35 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:CurrentPostalAddress
        /// IEE:pyde.02.00:AddressDetails.Line2.Text
        /// </summary>
        public string IEE36 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:CurrentPostalAddress
        /// IEE:pyde.02.00:AddressDetails.LocalityName.Text
        /// </summary>
        public string IEE37 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:CurrentPostalAddress
        /// IEE:pyde.02.00:AddressDetails.Postcode.Text
        /// </summary>
        public string IEE39 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:CurrentPostalAddress
        /// IEE:pyde.02.00:AddressDetails.StateOrTerritory.Code
        /// </summary>
        public string IEE38 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:TrusteeOrPartner/:CurrentPostalAddress
        /// IEE:pyde.02.08:AddressDetails.Country.Code
        /// </summary>
        public string IEE113 = null;
    }

    public bool RP_InterposedEntityElectionRevocationDetails_ElectionDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_ElectionDetailsCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:ElectionDetails
    /// IEE:rvctc3.02.00:Elections.InterposedEntityElectionStatus.Year
    /// </summary>
    public int? IEE45 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:ElectionDetails
    /// IEE:rvctc3.02.00:Elections.DateSpecified.Date
    /// </summary>
    public DateTime? IEE46 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_ElectionDetails_SubstitutedAccountingPeriodDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_ElectionDetails_SubstitutedAccountingPeriodDetailsCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:ElectionDetails/:SubstitutedAccountingPeriodDetails
    /// IEE:pyin.02.00:Period.Start.Date
    /// </summary>
    public DateTime? IEE47 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:ElectionDetails/:SubstitutedAccountingPeriodDetails
    /// IEE:pyin.02.00:Period.End.Date
    /// </summary>
    public DateTime? IEE48 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_FamilyTrustCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_FamilyTrustCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust
    /// IEE:rvctc3.02.00:Elections.Commencement.Date
    /// </summary>
    public DateTime? IEE59 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust
    /// IEE:rvctc3.02.00:Elections.FamilyTrustElectionStatus.Year
    /// </summary>
    public int? IEE58 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_FamilyTrust_SubstitutedAccountingPeriodDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_FamilyTrust_SubstitutedAccountingPeriodDetailsCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:SubstitutedAccountingPeriodDetails
    /// IEE:pyin.02.00:Period.Start.Date
    /// </summary>
    public DateTime? IEE60 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:SubstitutedAccountingPeriodDetails
    /// IEE:pyin.02.00:Period.End.Date
    /// </summary>
    public DateTime? IEE61 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust
    /// IEE:pyid.02.00:Identifiers.TaxFileNumber.Identifier
    /// </summary>
    public string IEE50 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust
    /// IEE:pyid.02.00:Identifiers.TaxFileNumberInexistent.Indicator
    /// </summary>
    public bool? IEE51 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust
    /// IEE:pyde.02.00:OrganisationNameDetails.OrganisationalName.Text
    /// </summary>
    public string IEE52 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_FamilyTrust_CurrentPostalAddressCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_FamilyTrust_CurrentPostalAddressCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Line1.Text
    /// </summary>
    public string IEE53 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Line2.Text
    /// </summary>
    public string IEE134 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.LocalityName.Text
    /// </summary>
    public string IEE54 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.Postcode.Text
    /// </summary>
    public string IEE56 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:CurrentPostalAddress
    /// IEE:pyde.02.00:AddressDetails.StateOrTerritory.Code
    /// </summary>
    public string IEE55 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:FamilyTrust/:CurrentPostalAddress
    /// IEE:pyde.02.08:AddressDetails.Country.Code
    /// </summary>
    public string IEE155 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_SpecifiedIndividualCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_SpecifiedIndividualCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyid.02.00:Identifiers.TaxFileNumber.Identifier
    /// </summary>
    public string IEE62 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyid.02.00:Identifiers.TaxFileNumberInexistent.Indicator
    /// </summary>
    public bool? IEE63 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyde.02.00:PersonDemographicDetails.Birth.Date
    /// </summary>
    public DateTime? IEE64 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyde.02.00:PersonNameDetails.Title.Text
    /// </summary>
    public string IEE65 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyde.02.00:PersonNameDetails.NameSuffix.Text
    /// </summary>
    public string IEE67 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyde.02.00:PersonNameDetails.FamilyName.Text
    /// </summary>
    public string IEE66 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyde.02.00:PersonNameDetails.GivenName.Text
    /// </summary>
    public string IEE68 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual
    /// IEE:pyde.02.00:PersonNameDetails.OtherGivenName.Text
    /// </summary>
    public string IEE69 = null;

    public bool RP_InterposedEntityElectionRevocationDetails_SpecifiedIndividual_CurrentResidentialAddressDetailsCollectionExists = false;
    public int RP_InterposedEntityElectionRevocationDetails_SpecifiedIndividual_CurrentResidentialAddressDetailsCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual/:CurrentResidentialAddressDetails
    /// IEE:pyde.02.00:AddressDetails.Line1.Text
    /// </summary>
    public string IEE70 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual/:CurrentResidentialAddressDetails
    /// IEE:pyde.02.00:AddressDetails.Line2.Text
    /// </summary>
    public string IEE138 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual/:CurrentResidentialAddressDetails
    /// IEE:pyde.02.00:AddressDetails.LocalityName.Text
    /// </summary>
    public string IEE71 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual/:CurrentResidentialAddressDetails
    /// IEE:pyde.02.00:AddressDetails.Postcode.Text
    /// </summary>
    public string IEE73 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual/:CurrentResidentialAddressDetails
    /// IEE:pyde.02.00:AddressDetails.StateOrTerritory.Code
    /// </summary>
    public string IEE72 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:InterposedEntityElectionRevocationDetails/:SpecifiedIndividual/:CurrentResidentialAddressDetails
    /// IEE:pyde.02.08:AddressDetails.Country.Code
    /// </summary>
    public string IEE114 = null;

    public bool RP_DeclarationOfTrusteeOrPartnerCollectionExists = false;
    public int RP_DeclarationOfTrusteeOrPartnerCollectionCount = 0;
    
    public List<RP_DeclarationOfTrusteeOrPartner> RP_DeclarationOfTrusteeOrPartnerCollection = null;
    
    public class RP_DeclarationOfTrusteeOrPartner 
    {
        public int OccurrenceIndex = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner
        /// IEE:pyde.02.00:OrganisationNameDetails.OrganisationalName.Text
        /// </summary>
        public string IEE300 = null;
    
        public bool RP_DeclarationOfTrusteeOrPartner_TrusteeOrPartnerIndividualNameDetailsCollectionExists = false;
        public int RP_DeclarationOfTrusteeOrPartner_TrusteeOrPartnerIndividualNameDetailsCollectionCount = 0;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner/:TrusteeOrPartnerIndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.Title.Text
        /// </summary>
        public string IEE301 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner/:TrusteeOrPartnerIndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.NameSuffix.Text
        /// </summary>
        public string IEE302 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner/:TrusteeOrPartnerIndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.FamilyName.Text
        /// </summary>
        public string IEE303 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner/:TrusteeOrPartnerIndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.GivenName.Text
        /// </summary>
        public string IEE304 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner/:TrusteeOrPartnerIndividualNameDetails
        /// IEE:pyde.02.00:PersonNameDetails.OtherGivenName.Text
        /// </summary>
        public string IEE305 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner
        /// IEE:pyin.02.03:Declaration.StatementType.Code
        /// </summary>
        public string IEE193 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner
        /// IEE:pyin.02.28:Declaration.StatementAccepted.Indicator
        /// </summary>
        public bool? IEE146 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner
        /// IEE:pyin.02.29:Declaration.Signature.Date
        /// </summary>
        public DateTime? IEE90 = null;

        /// <summary>
        /// /xbrli:xbrl/:RP/:DeclarationOfTrusteeOrPartner
        /// IEE:pyin.02.00:Declaration.SignatoryIdentifier.Text
        /// </summary>
        public string IEE195 = null;
    }

    public bool RP_DeclarationOfPublicOfficerCollectionExists = false;
    public int RP_DeclarationOfPublicOfficerCollectionCount = 0;

    public bool RP_DeclarationOfPublicOfficer_PublicOfficerNameDetailsCollectionExists = false;
    public int RP_DeclarationOfPublicOfficer_PublicOfficerNameDetailsCollectionCount = 0;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer/:PublicOfficerNameDetails
    /// IEE:pyde.02.00:PersonNameDetails.Title.Text
    /// </summary>
    public string IEE83 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer/:PublicOfficerNameDetails
    /// IEE:pyde.02.00:PersonNameDetails.NameSuffix.Text
    /// </summary>
    public string IEE85 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer/:PublicOfficerNameDetails
    /// IEE:pyde.02.00:PersonNameDetails.FamilyName.Text
    /// </summary>
    public string IEE84 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer/:PublicOfficerNameDetails
    /// IEE:pyde.02.00:PersonNameDetails.GivenName.Text
    /// </summary>
    public string IEE86 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer/:PublicOfficerNameDetails
    /// IEE:pyde.02.00:PersonNameDetails.OtherGivenName.Text
    /// </summary>
    public string IEE87 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer
    /// IEE:pyin.02.03:Declaration.StatementType.Code
    /// </summary>
    public string IEE147 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer
    /// IEE:pyin.02.28:Declaration.StatementAccepted.Indicator
    /// </summary>
    public bool? IEE192 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer
    /// IEE:pyin.02.29:Declaration.Signature.Date
    /// </summary>
    public DateTime? IEE191 = null;
    
    /// <summary>
    /// /xbrli:xbrl/:RP/:DeclarationOfPublicOfficer
    /// IEE:pyin.02.00:Declaration.SignatoryIdentifier.Text
    /// </summary>
    public string IEE148 = null;

    }
}