
using System;
using System.Collections.Generic;

namespace Ato.EN.IntegrationServices.CodeGenerationLS
{
    public class LS2017
    {
    
    public string RPId = null;
    public bool RPExists = false;
    public int RPCount = 0;
    public int RPOccurrenceIndex = 0;
    public int RPLastOccurrenceIndex = 0;
    public string RPIdentifier = null;
    public string RPIdentifierScheme = null;
        public string RPIdentifierTFN = null;
        public DateTime? RPStartDate = null;
        public DateTime? RPEndDate = null;

        /// <summary>
        /// RP:tns:Identifiers.TaxFileNumber.Identifier
        /// </summary>
        public string LS1 = null;

        /// <summary>
        /// RP:tns:Identifiers.AustralianBusinessNumber.Identifier
        /// </summary>
        public string LS3 = null;
    
        public bool OrganisationNameDetailsCollectionExists = false;
        public int OrganisationNameDetailsCollectionCount = 0;

        /// <summary>
        /// xbrli:xbrl/tns:OrganisationNameDetails
        /// RP:tns:OrganisationNameDetails.OrganisationalNameType.Code
        /// </summary>
        public string LS75 = null;

        /// <summary>
        /// xbrli:xbrl/tns:OrganisationNameDetails
        /// RP:tns:OrganisationNameDetails.OrganisationalName.Text
        /// </summary>
        public string LS2 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.CurrentYearLossProvisionsApply.Indicator
        /// </summary>
        public bool? LS24 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.DeductedOwnershipTestFailContinuityTestPass.Amount
        /// </summary>
        public decimal? LS20 = null;

        /// <summary>
        /// RP:tns:Capital.Losses.DeductedOwnershipTestFailContinuityTestPass.Amount
        /// </summary>
        public decimal? LS21 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.CarriedForward.BusinessContinuityTestPassed.Amount
        /// </summary>
        public decimal? LS22 = null;

        /// <summary>
        /// RP:tns:Capital.Losses.CarriedForward.BusinessContinuityTestPassedNet.Amount
        /// </summary>
        public decimal? LS80 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.ChangeOfOwnershipOrControlAfterReferenceTime.Indicator
        /// </summary>
        public bool? LS25 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.MaximumNetAssetValueTestPassedAtChangeoverTime.Indicator
        /// </summary>
        public bool? LS26 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.UnrealisedNetLossAtChangeoverTime.Indicator
        /// </summary>
        public bool? LS27 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.UnrealisedNetLossAtChangeoverTime.Amount
        /// </summary>
        public decimal? LS28 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.CarriedForward.ComplyingSuperannuationClass.Amount
        /// </summary>
        public decimal? LS81 = null;

        /// <summary>
        /// RP:tns:Capital.Losses.CarriedForward.ComplyingSuperannuationClassNet.Amount
        /// </summary>
        public decimal? LS82 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.ControlledForeignCompany.Amount
        /// </summary>
        public decimal? LS64 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.ControlledForeignCompanyDeducted.Amount
        /// </summary>
        public decimal? LS44 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.CarriedForward.ControlledForeignCompany.Amount
        /// </summary>
        public decimal? LS45 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.BalanceOfTaxLossesBroughtForwardFromPriorYear.Amount
        /// </summary>
        public decimal? LS65 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.Uplift.Amount
        /// </summary>
        public decimal? LS79 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.ForgivenDebtNet.Amount
        /// </summary>
        public decimal? LS67 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.Incurred.Amount
        /// </summary>
        public decimal? LS68 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.ConversionOfExcessFrankingOffsets.Amount
        /// </summary>
        public decimal? LS69 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.ExemptIncomeNet.Amount
        /// </summary>
        public decimal? LS70 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.Forgone.Amount
        /// </summary>
        public decimal? LS71 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.Total.Amount
        /// </summary>
        public decimal? LS72 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.TransferredOut.Amount
        /// </summary>
        public decimal? LS73 = null;

        /// <summary>
        /// RP:tns:Tax.Losses.CarriedForward.LaterIncomeYearsTotal.Amount
        /// </summary>
        public decimal? LS74 = null;

        public string RPY0Id = null;
        public bool RPY0Exists = false;
        public int RPY0Count = 0;
        public int RPY0OccurrenceIndex = 0;
        public int RPY0LastOccurrenceIndex = 0;
        public string RPY0Identifier = null;
        public string RPY0IdentifierScheme = null;
        public string RPY0IdentifierTFN = null;
        public DateTime? RPY0StartDate = null;
        public DateTime? RPY0EndDate = null;

        /// <summary>
        /// RPY0:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS5 = null;

        /// <summary>
        /// RPY0:tns:Tax.Losses.CarriedForward.ContinuityOfMajorityOwnershipTestPassed.Indicator
        /// </summary>
        public bool? LS15 = null;

        public string RPY0Minus1Id = null;
        public bool RPY0Minus1Exists = false;
        public int RPY0Minus1Count = 0;
        public int RPY0Minus1OccurrenceIndex = 0;
        public int RPY0Minus1LastOccurrenceIndex = 0;
        public string RPY0Minus1Identifier = null;
        public string RPY0Minus1IdentifierScheme = null;
        public string RPY0Minus1IdentifierTFN = null;
        public DateTime? RPY0Minus1StartDate = null;
        public DateTime? RPY0Minus1EndDate = null;

        /// <summary>
        /// RPY0Minus1:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS6 = null;

        /// <summary>
        /// RPY0Minus1:tns:Tax.Losses.CarriedForward.ContinuityOfMajorityOwnershipTestPassed.Indicator
        /// </summary>
        public bool? LS16 = null;

        public string RPY0Minus2Id = null;
        public bool RPY0Minus2Exists = false;
        public int RPY0Minus2Count = 0;
        public int RPY0Minus2OccurrenceIndex = 0;
        public int RPY0Minus2LastOccurrenceIndex = 0;
        public string RPY0Minus2Identifier = null;
        public string RPY0Minus2IdentifierScheme = null;
        public string RPY0Minus2IdentifierTFN = null;
        public DateTime? RPY0Minus2StartDate = null;
        public DateTime? RPY0Minus2EndDate = null;

        /// <summary>
        /// RPY0Minus2:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS7 = null;

        /// <summary>
        /// RPY0Minus2:tns:Tax.Losses.CarriedForward.ContinuityOfMajorityOwnershipTestPassed.Indicator
        /// </summary>
        public bool? LS17 = null;

        public string RPY0Minus3Id = null;
        public bool RPY0Minus3Exists = false;
        public int RPY0Minus3Count = 0;
        public int RPY0Minus3OccurrenceIndex = 0;
        public int RPY0Minus3LastOccurrenceIndex = 0;
        public string RPY0Minus3Identifier = null;
        public string RPY0Minus3IdentifierScheme = null;
        public string RPY0Minus3IdentifierTFN = null;
        public DateTime? RPY0Minus3StartDate = null;
        public DateTime? RPY0Minus3EndDate = null;

        /// <summary>
        /// RPY0Minus3:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS8 = null;

        /// <summary>
        /// RPY0Minus3:tns:Tax.Losses.CarriedForward.ContinuityOfMajorityOwnershipTestPassed.Indicator
        /// </summary>
        public bool? LS18 = null;

        public string RPY0Minus4Id = null;
        public bool RPY0Minus4Exists = false;
        public int RPY0Minus4Count = 0;
        public int RPY0Minus4OccurrenceIndex = 0;
        public int RPY0Minus4LastOccurrenceIndex = 0;
        public string RPY0Minus4Identifier = null;
        public string RPY0Minus4IdentifierScheme = null;
        public string RPY0Minus4IdentifierTFN = null;
        public DateTime? RPY0Minus4StartDate = null;
        public DateTime? RPY0Minus4EndDate = null;

        /// <summary>
        /// RPY0Minus4:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS9 = null;

        /// <summary>
        /// RPY0Minus4:tns:Tax.Losses.CarriedForward.ContinuityOfMajorityOwnershipTestPassed.Indicator
        /// </summary>
        public bool? LS19 = null;

        public string RPY0Minus5PId = null;
        public bool RPY0Minus5PExists = false;
        public int RPY0Minus5PCount = 0;
        public int RPY0Minus5POccurrenceIndex = 0;
        public int RPY0Minus5PLastOccurrenceIndex = 0;
        public string RPY0Minus5PIdentifier = null;
        public string RPY0Minus5PIdentifierScheme = null;
        public string RPY0Minus5PIdentifierTFN = null;
        public DateTime? RPY0Minus5PStartDate = null;
        public DateTime? RPY0Minus5PEndDate = null;

        /// <summary>
        /// RPY0Minus5P:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS49 = null;

        /// <summary>
        /// RPY0Minus5P:tns:Tax.Losses.CarriedForward.ContinuityOfMajorityOwnershipTestPassed.Indicator
        /// </summary>
        public bool? LS53 = null;

        public string RPALLId = null;
        public bool RPALLExists = false;
        public int RPALLCount = 0;
        public int RPALLOccurrenceIndex = 0;
        public int RPALLLastOccurrenceIndex = 0;
        public string RPALLIdentifier = null;
        public string RPALLIdentifierScheme = null;
        public string RPALLIdentifierTFN = null;
        public DateTime? RPALLStartDate = null;
        public DateTime? RPALLEndDate = null;

        /// <summary>
        /// RPALL:tns:Tax.Losses.CarriedForward.Total.Amount
        /// </summary>
        public decimal? LS50 = null;

        public string RPY0InstantId = null;
        public bool RPY0InstantExists = false;
        public int RPY0InstantCount = 0;
        public int RPY0InstantOccurrenceIndex = 0;
        public int RPY0InstantLastOccurrenceIndex = 0;
        public string RPY0InstantIdentifier = null;
        public string RPY0InstantIdentifierScheme = null;
        public string RPY0InstantIdentifierTFN = null;
        public DateTime? RPY0InstantInstantDate = null;

        /// <summary>
        /// RPY0Instant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS10 = null;

        public string RPY0Minus1InstantId = null;
        public bool RPY0Minus1InstantExists = false;
        public int RPY0Minus1InstantCount = 0;
        public int RPY0Minus1InstantOccurrenceIndex = 0;
        public int RPY0Minus1InstantLastOccurrenceIndex = 0;
        public string RPY0Minus1InstantIdentifier = null;
        public string RPY0Minus1InstantIdentifierScheme = null;
        public string RPY0Minus1InstantIdentifierTFN = null;
        public DateTime? RPY0Minus1InstantInstantDate = null;

        /// <summary>
        /// RPY0Minus1Instant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS11 = null;

        public string RPY0Minus2InstantId = null;
        public bool RPY0Minus2InstantExists = false;
        public int RPY0Minus2InstantCount = 0;
        public int RPY0Minus2InstantOccurrenceIndex = 0;
        public int RPY0Minus2InstantLastOccurrenceIndex = 0;
        public string RPY0Minus2InstantIdentifier = null;
        public string RPY0Minus2InstantIdentifierScheme = null;
        public string RPY0Minus2InstantIdentifierTFN = null;
        public DateTime? RPY0Minus2InstantInstantDate = null;

        /// <summary>
        /// RPY0Minus2Instant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS12 = null;

        public string RPY0Minus3InstantId = null;
        public bool RPY0Minus3InstantExists = false;
        public int RPY0Minus3InstantCount = 0;
        public int RPY0Minus3InstantOccurrenceIndex = 0;
        public int RPY0Minus3InstantLastOccurrenceIndex = 0;
        public string RPY0Minus3InstantIdentifier = null;
        public string RPY0Minus3InstantIdentifierScheme = null;
        public string RPY0Minus3InstantIdentifierTFN = null;
        public DateTime? RPY0Minus3InstantInstantDate = null;

        /// <summary>
        /// RPY0Minus3Instant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS13 = null;

        public string RPY0Minus4InstantId = null;
        public bool RPY0Minus4InstantExists = false;
        public int RPY0Minus4InstantCount = 0;
        public int RPY0Minus4InstantOccurrenceIndex = 0;
        public int RPY0Minus4InstantLastOccurrenceIndex = 0;
        public string RPY0Minus4InstantIdentifier = null;
        public string RPY0Minus4InstantIdentifierScheme = null;
        public string RPY0Minus4InstantIdentifierTFN = null;
        public DateTime? RPY0Minus4InstantInstantDate = null;

        /// <summary>
        /// RPY0Minus4Instant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS14 = null;

        public string RPY0Minus5PInstantId = null;
        public bool RPY0Minus5PInstantExists = false;
        public int RPY0Minus5PInstantCount = 0;
        public int RPY0Minus5PInstantOccurrenceIndex = 0;
        public int RPY0Minus5PInstantLastOccurrenceIndex = 0;
        public string RPY0Minus5PInstantIdentifier = null;
        public string RPY0Minus5PInstantIdentifierScheme = null;
        public string RPY0Minus5PInstantIdentifierTFN = null;
        public DateTime? RPY0Minus5PInstantInstantDate = null;

        /// <summary>
        /// RPY0Minus5PInstant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS51 = null;

        public string RPALLInstantId = null;
        public bool RPALLInstantExists = false;
        public int RPALLInstantCount = 0;
        public int RPALLInstantOccurrenceIndex = 0;
        public int RPALLInstantLastOccurrenceIndex = 0;
        public string RPALLInstantIdentifier = null;
        public string RPALLInstantIdentifierScheme = null;
        public string RPALLInstantIdentifierTFN = null;
        public DateTime? RPALLInstantInstantDate = null;

        /// <summary>
        /// RPALLInstant:tns:Capital.Losses.CarriedForward.Net.Amount
        /// </summary>
        public decimal? LS52 = null;

    }
}