Skip to content

Import Invoices into HaloPSA

This task will allow you to import invoice data into your HaloPSA platform based on the task settings and XML data provided.

Settings

Connection

Required
The HaloPSA connection to use. See Connecting to HaloPSA.

File Settings

Fail File

Required
The XML file to save failed records to. The XML format will be the same as the input file.

Input File

Required
The XML file containing records to import into HaloPSA. An example of the XML format is shown below.

Success File

Required
The XML file to save successful records to. The XML format will be the same as the input file.

Import Settings

Prevent Reprocessing

Required
Set to true to prevent the same records being processed more than once, based on the value of the <ExternalId> element in the XML.

Zynk Settings

See Common Task Settings

Examples

Sample input file:

<?xml version="1.0" encoding="utf-8"?>
<Invoices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Invoice>
    <Id>255</Id>
    <Errors />
    <TopLevelId xsi:nil="true" />
    <CreatedDate xsi:nil="true" />
    <ModifiedDate xsi:nil="true" />
    <Status xsi:nil="true" />
    <SiteId xsi:nil="true" />
    <ClientId>15</ClientId>
    <ClientName>St Johns High School</ClientName>
    <Currency>£</Currency>
    <CurrencyCode>1</CurrencyCode>
    <CurrencyConversionRate>1</CurrencyConversionRate>
    <TotalTax xsi:nil="true" />
    <Total>14832</Total>
    <PercentageInvoiced xsi:nil="true" />
    <CreatedByAgentName>System</CreatedByAgentName>
    <Use>invoice</Use>
    <ShouldPrintHtml xsi:nil="true" />
    <ShouldCancelReserve xsi:nil="true" />
    <IsValidateOnly xsi:nil="true" />
    <ShouldShowPrintPreview xsi:nil="true" />
    <ShouldCreatePo xsi:nil="true" />
    <ShouldCreateInvoice xsi:nil="true" />
    <CreateInvoicePercentage xsi:nil="true" />
    <CreateInvoiceAmount xsi:nil="true" />
    <CreateInvoiceQty xsi:nil="true" />
    <ShouldReturnInvoice xsi:nil="true" />
    <IsCopy xsi:nil="true" />
    <PdfTemplateId xsi:nil="true" />
    <UId>0</UId>
    <SiteNumber>0</SiteNumber>
    <InvoiceNumber>0</InvoiceNumber>
    <DateSent>1899-12-30T00:00:00</DateSent>
    <DatePosted xsi:nil="true" />
    <IsPosted>false</IsPosted>
    <Name>St Johns High School</Name>
    <Address1 />
    <Address2 />
    <Address3 />
    <Address4 />
    <Address5 />
    <Address>
      <Id>0</Id>
      <Type xsi:nil="true" />
      <Line1 />
      <Line2 />
      <Line3 />
      <Line4 />
      <Postcode />
      <Primary xsi:nil="true" />
      <Inactive xsi:nil="true" />
      <DateActive xsi:nil="true" />
      <DateInactive xsi:nil="true" />
      <Lat xsi:nil="true" />
      <Long xsi:nil="true" />
      <SiteId xsi:nil="true" />
      <UserId xsi:nil="true" />
      <IsImport xsi:nil="true" />
    </Address>
    <DeliveryAddress1 />
    <DeliveryAddress2 />
    <DeliveryAddress3 />
    <DeliveryAddress4 />
    <DeliveryAddress5 />
    <InvoiceDate>2026-03-01T12:00:00</InvoiceDate>
    <ScheduleDate>2026-03-01T00:00:00</ScheduleDate>
    <Notes1 />
    <SalesOrderId>-2</SalesOrderId>
    <DateType>1</DateType>
    <OldPercentage>100</OldPercentage>
    <Percentage>100</Percentage>
    <Type>1</Type>
    <ContractId>6</ContractId>
    <Contract>
      <ItemDescription />
      <Id>6</Id>
      <ClientId>15</ClientId>
      <ClientName>St Johns High School</ClientName>
      <Reference>GP0002</Reference>
      <ReferenceExtra>GP0002</ReferenceExtra>
      <StartDate>2020-03-01T00:00:00</StartDate>
      <EndDate>2099-12-31T00:00:00</EndDate>
      <Started>true</Started>
      <Expired>false</Expired>
      <NumberOfUnitsFree>0</NumberOfUnitsFree>
      <BillingPeriod>3</BillingPeriod>
      <ContractTypeId>1</ContractTypeId>
      <ContractType>
        <Id>1</Id>
        <LookupId>28</LookupId>
        <Value>Gold Package</Value>
        <Value2>GP</Value2>
        <Value4 />
        <Value5 />
        <Value6 />
        <Custom1 />
        <Custom2 />
      </ContractType>
      <Status>3</Status>
      <SiteId>-1</SiteId>
      <SiteName />
      <UserId>0</UserId>
      <UserName />
      <SlaId>-1</SlaId>
      <PeriodicInvoiceNextDate>2020-03-01T12:00:00</PeriodicInvoiceNextDate>
      <NextInvoiceDate>2026-08-31T23:00:00</NextInvoiceDate>
      <PeriodChargeAmount>0</PeriodChargeAmount>
      <ReferenceExtra2>St Johns High School: GP0002</ReferenceExtra2>
      <AccountsOverrideMailbox>-1</AccountsOverrideMailbox>
      <StartBalance xsi:nil="true" />
      <PaymentScheme xsi:nil="true" />
      <ChargeHoursPerPeriod>0</ChargeHoursPerPeriod>
      <ChargeRollover>false</ChargeRollover>
      <OutOfHoursMultiplier xsi:nil="true" />
      <RequestMinimum xsi:nil="true" />
      <InvoiceMinimum xsi:nil="true" />
      <AllowFixedPrice>false</AllowFixedPrice>
      <AllowPyg>false</AllowPyg>
      <AllowPrepay>false</AllowPrepay>
      <ChargePerDevice>false</ChargePerDevice>
      <PrepayRecurringCharge xsi:nil="true" />
      <ChargePrepayTravel>false</ChargePrepayTravel>
      <ChargePrepayMileage>false</ChargePrepayMileage>
      <ChargePygTravel>false</ChargePygTravel>
      <ChargePygMileage>false</ChargePygMileage>
      <OnlyBillAtEndOfPeriod>false</OnlyBillAtEndOfPeriod>
      <UnmatchedCombinations xsi:nil="true" />
      <TermMonths xsi:nil="true" />
      <PercentageIncrease xsi:nil="true" />
      <NextIncrementDate xsi:nil="true" />
      <DateReceived xsi:nil="true" />
      <InvoiceDescription>Contract Charge</InvoiceDescription>
      <PaymentMethod>0</PaymentMethod>
      <DontSendAlarm>false</DontSendAlarm>
      <CreatedFromId>0</CreatedFromId>
      <CostPerPeriod>35</CostPerPeriod>
      <RollingContract>false</RollingContract>
      <PreviousContract xsi:nil="true" />
      <BillingCategory>0</BillingCategory>
      <DontInvoice>true</DontInvoice>
      <OhId>0</OhId>
      <ScheduleSendAccountManager xsi:nil="true" />
      <HasActions>false</HasActions>
      <Users />
      <SurchargeId>-1</SurchargeId>
      <ChargerateMethod>0</ChargerateMethod>
      <DontChargeForItems xsi:nil="true" />
      <PdfTemplateId>0</PdfTemplateId>
      <AutotaskId>-1</AutotaskId>
      <NewInvoiceStartDate>2020-03-01T00:00:00</NewInvoiceStartDate>
      <NewInvoiceEndDate>2099-12-31T00:00:00</NewInvoiceEndDate>
      <ChargerateMultiplier>1</ChargerateMultiplier>
      <Contracts />
      <Sites />
      <EmailAddressTo />
      <EmailAddressCc />
      <UseCostCalculation>false</UseCostCalculation>
      <PrepayItemId>0</PrepayItemId>
      <Use>contract</Use>
      <Type>0</Type>
      <ContractTypeName>Fixed</ContractTypeName>
      <CostCalculation />
      <Active>true</Active>
      <CustomFields />
      <CreatedById>3</CreatedById>
      <CreatedByName>Joe Harrison</CreatedByName>
    </Contract>
    <ContractReference>GP0002</ContractReference>
    <PaymentTerms>0</PaymentTerms>
    <ShouldHideInvoice>false</ShouldHideInvoice>
    <TicketId>0</TicketId>
    <InvoiceType>0</InvoiceType>
    <DatePaid xsi:nil="true" />
    <PaymentStatus>-1</PaymentStatus>
    <XeroId />
    <AmountPaid>0</AmountPaid>
    <AmountDue>14832</AmountDue>
    <EmailStatus>0</EmailStatus>
    <PdfAttachmentId>669</PdfAttachmentId>
    <Revenue>12360</Revenue>
    <TaxTotal>2472</TaxTotal>
    <IsRecurringInvoice>false</IsRecurringInvoice>
    <RecurringInvoiceId>-12</RecurringInvoiceId>
    <ShouldAddContractAssets>0</ShouldAddContractAssets>
    <ShouldAddLabour>0</ShouldAddLabour>
    <ShouldAddProject>0</ShouldAddProject>
    <ShouldAddTravel>0</ShouldAddTravel>
    <ShouldAddMileage>0</ShouldAddMileage>
    <ShouldAddItemsIssued>0</ShouldAddItemsIssued>
    <ShouldAddPrePay>0</ShouldAddPrePay>
    <ShouldAddSalesOrder>0</ShouldAddSalesOrder>
    <QboId>0</QboId>
    <BillingCategory>0</BillingCategory>
    <XeroTenantId />
    <XeroBrandingThemeId />
    <XeroBrandingThemeName />
    <DueDate>2026-03-01T12:00:00</DueDate>
    <DueDateInt>0</DueDateInt>
    <DueDateType>0</DueDateType>
    <InternalNote />
    <KashflowTenantId>0</KashflowTenantId>
    <KashflowId>0</KashflowId>
    <KashflowPdf />
    <OriginalClientId>0</OriginalClientId>
    <OriginalClientName />
    <XeroStatus />
    <SnelstartId />
    <DbcId />
    <DbcCompanyId />
    <CreditLinkedToInvoiceId>0</CreditLinkedToInvoiceId>
    <CreditLinkedToInvoiceIdThirdPartyNumber />
    <InvoiceAutoIncreasePeriod>-1</InvoiceAutoIncreasePeriod>
    <InvoicePercentIncrease>0</InvoicePercentIncrease>
    <ShouldRequestApproval>false</ShouldRequestApproval>
    <ShouldTakePaymentOnDueDate>0</ShouldTakePaymentOnDueDate>
    <Customer>
      <Id>15</Id>
      <Errors />
      <TopLevelId>1</TopLevelId>
      <TopLevelName>Areas</TopLevelName>
      <CreatedDate>2020-10-12T13:11:44.347</CreatedDate>
      <ModifiedDate>2023-04-18T18:23:08.977</ModifiedDate>
      <Name>St Johns High School</Name>
      <IsInactive>false</IsInactive>
      <Colour>#009ce0</Colour>
      <ConfirmEmail>1</ConfirmEmail>
      <ActionEmail>1</ActionEmail>
      <ClearEmail>1</ClearEmail>
      <MessageGroupId>-1</MessageGroupId>
      <OverrideOrganisationLogo xsi:nil="true" />
      <ShouldOverrideMailbox>-1</ShouldOverrideMailbox>
      <DefaultMailboxId>0</DefaultMailboxId>
      <CallDate>2024-01-31T12:00:00</CallDate>
      <ItemTaxCode>1</ItemTaxCode>
      <ServiceTaxCode>1</ServiceTaxCode>
      <PrepayTaxCode>1</PrepayTaxCode>
      <ContractTaxCode>1</ContractTaxCode>
      <PrimaryTechnician>0</PrimaryTechnician>
      <SecondaryTechnician>0</SecondaryTechnician>
      <AccountManagerTechnician>12</AccountManagerTechnician>
      <AccountManagerTechnicianName>James Brown</AccountManagerTechnicianName>
      <CreatedFromId>0</CreatedFromId>
      <PrimaryNotification>false</PrimaryNotification>
      <SecondaryNotification>false</SecondaryNotification>
      <PrimaryAssignee>false</PrimaryAssignee>
      <ScondaryAssignee>false</ScondaryAssignee>
      <ChargePeriod xsi:nil="true" />
      <PrimaryHoursToCharge xsi:nil="true" />
      <SecondaryHoursToCharge xsi:nil="true" />
      <CarryOverCharge xsi:nil="true" />
      <ShouldInvoice>false</ShouldInvoice>
      <FlOverride>false</FlOverride>
      <FlUserDefinition1Hide>false</FlUserDefinition1Hide>
      <FlUserDefinition2Hide>false</FlUserDefinition2Hide>
      <FlUserDefinition3Hide>false</FlUserDefinition3Hide>
      <FlUserDefinition4Hide>false</FlUserDefinition4Hide>
      <FlUserDefinition5Hide>false</FlUserDefinition5Hide>
      <FlUserDefinition1Mandatory>false</FlUserDefinition1Mandatory>
      <FlUserDefinition2Mandatory>false</FlUserDefinition2Mandatory>
      <FlUserDefinition3Mandatory>false</FlUserDefinition3Mandatory>
      <FlUserDefinition4Mandatory>false</FlUserDefinition4Mandatory>
      <FlUserDefinition5Mandatory>false</FlUserDefinition5Mandatory>
      <ShouldIncludeActions>false</ShouldIncludeActions>
      <StartDate xsi:nil="true" />
      <StartBalance xsi:nil="true" />
      <PrimaryHourlyRate xsi:nil="true" />
      <SecondaryHourlyRate xsi:nil="true" />
      <ShouldNotInvoice>false</ShouldNotInvoice>
      <ShouldShowSla>false</ShouldShowSla>
      <ImageIndex>1</ImageIndex>
      <Enddate xsi:nil="true" />
      <UcEmail xsi:nil="true" />
      <FcEmail>1</FcEmail>
      <SmsBalance xsi:nil="true" />
      <Hv xsi:nil="true" />
      <HvDate xsi:nil="true" />
      <ShouldEmailInvoice>false</ShouldEmailInvoice>
      <ShouldNotSendInvoices>false</ShouldNotSendInvoices>
      <SeriousnessLevel xsi:nil="true" />
      <IsThresholdBreached xsi:nil="true" />
      <ShouldIncludeMonthlyReport>false</ShouldIncludeMonthlyReport>
      <ShouldEmailMonthlyReportDirect>false</ShouldEmailMonthlyReportDirect>
      <ShouldEmailMonthlyReportToManager>false</ShouldEmailMonthlyReportToManager>
      <ShowMonthlyReports>false</ShowMonthlyReports>
      <AreaTypeId xsi:nil="true" />
      <UnmatchedCombinations>1</UnmatchedCombinations>
      <NextPrepayRecurringChargeDate xsi:nil="true" />
      <ShouldBillForRecurringPrepayAmount>false</ShouldBillForRecurringPrepayAmount>
      <RecurringPrepayCharge xsi:nil="true" />
      <RecurringPrepayHours xsi:nil="true" />
      <RecurringPrepayChargeBp xsi:nil="true" />
      <ShouldShowNonBillable xsi:nil="true" />
      <BillingGroup xsi:nil="true" />
      <AutoTopUpThreshhold xsi:nil="true" />
      <AutoTopUpAmount xsi:nil="true" />
      <AutoTopUpHourlyCost xsi:nil="true" />
      <AutoTopUpByAmount xsi:nil="true" />
      <SurchargeId>0</SurchargeId>
      <BillingTemplateId xsi:nil="true" />
      <ClientPackageId xsi:nil="true" />
      <ScopeOfBusinessId xsi:nil="true" />
      <PreferredAgentId xsi:nil="true" />
      <DiscountPercentage xsi:nil="true" />
      <ShouldShowFaqForTopLevel xsi:nil="true" />
      <IsOpportunity>0</IsOpportunity>
      <MainSiteId>23</MainSiteId>
      <MainSiteName>Main</MainSiteName>
      <LinkedOrganisationId xsi:nil="true" />
      <ShouldAllOrganisationsBeAllowed>true</ShouldAllOrganisationsBeAllowed>
      <PopUpNote />
      <ShouldAllowAllTicketTypes>true</ShouldAllowAllTicketTypes>
      <AllowedTicketTypes />
      <ShouldAllowAllCategory1>true</ShouldAllowAllCategory1>
      <ShouldAllowAllCategory2>true</ShouldAllowAllCategory2>
      <ShouldAllowAllCategory3>true</ShouldAllowAllCategory3>
      <ShouldAllowAllCategory4>true</ShouldAllowAllCategory4>
      <IsLocked>false</IsLocked>
      <ShouldAllowAllChargeRates>true</ShouldAllowAllChargeRates>
      <ShouldExcludeInvoiceSync>false</ShouldExcludeInvoiceSync>
      <OverridePortalColour>false</OverridePortalColour>
      <PortalColour />
      <PortalBackgroundImageUrl />
      <NinjaRmmId>0</NinjaRmmId>
      <IsArchivedInXero xsi:nil="true" />
      <PurchaseTaxCode xsi:nil="true" />
      <RecurringPrepayMinimumDeduction xsi:nil="true" />
      <IsRecurringPrepayMinimumDeductionActive xsi:nil="true" />
      <RecurringPrepayAutomaticDeduction>0</RecurringPrepayAutomaticDeduction>
      <DeliveryMethodId>0</DeliveryMethodId>
      <QboDefaultTaxId>0</QboDefaultTaxId>
      <Device42Id>0</Device42Id>
      <ServiceNowId />
      <IsNhServerEmailDefault>false</IsNhServerEmailDefault>
      <DattoId />
      <DattoAlternateId>0</DattoAlternateId>
      <DattoUrl />
      <QboDefaultTaxCode>0</QboDefaultTaxCode>
      <QboDefaultTaxCodeName />
      <ConnectWiseId>0</ConnectWiseId>
      <AutoTaskId>-1</AutoTaskId>
      <AteraId>0</AteraId>
      <KashflowId>0</KashflowId>
      <Website />
      <SnelStartId />
      <DattoCommerceId>-1</DattoCommerceId>
      <SyncroidId>0</SyncroidId>
      <ShouldNotSyncToHubspot>false</ShouldNotSyncToHubspot>
      <IsArchivedInHubspot>false</IsArchivedInHubspot>
      <AccountsBccEmail />
      <ShouldDefaultTeamToSalesRepOverride>false</ShouldDefaultTeamToSalesRepOverride>
      <PortalChatProfileName />
      <KaseyaId />
      <TradingName>St Johns High School</TradingName>
      <ServiceNowUrl />
      <ServiceNowLocale />
      <ServicenNwUsername />
      <JiraUrl />
      <JiraUsername />
      <Use>client</Use>
      <Logo>https://zynksoftwareltd.halopsa.com/api/attachment/image/1B1E0765-BA5C-4F17-A3DD-F9E228927C0A</Logo>
      <XeroTenantId />
      <ShouldOverrideInvoicePdftemplate>-1</ShouldOverrideInvoicePdftemplate>
      <KashflowTenantId>0</KashflowTenantId>
      <ClientToInvoice>0</ClientToInvoice>
      <ClientToInvoiceName />
      <ExtraDueDays>0</ExtraDueDays>
      <ItGlueId />
      <ClientCurrency />
      <SentinelSubscriptionId />
      <SentinelWorkspaceName />
      <SentinelResourceGroupName />
      <DefaultCurrencyCode>0</DefaultCurrencyCode>
      <DefaultCurrencyCodeName />
      <ClientToInvoiceRecurring>0</ClientToInvoiceRecurring>
      <ClientToInvoiceRecurringName />
      <Cautomateid xsi:nil="true" />
      <DbcCompanyId />
      <Stopped>0</Stopped>
      <CustomerType>1</CustomerType>
      <SentinelDefaultUserOverride>0</SentinelDefaultUserOverride>
      <TicketInvoicesForEachSite>false</TicketInvoicesForEachSite>
      <IsVip>false</IsVip>
      <Taxable>false</Taxable>
      <PercentageToSurvey>0</PercentageToSurvey>
    </Customer>
    <InvoiceItems>
      <InvoiceItem>
        <Id>457</Id>
        <SalesOrderId xsi:nil="true" />
        <Sort xsi:nil="true" />
        <ItemId>10</ItemId>
        <ItemExternalReference />
        <Price xsi:nil="true" />
        <TotalPrice>12000</TotalPrice>
        <TotalNetTotal>14400</TotalNetTotal>
        <TotalTax>2400</TotalTax>
        <Tax xsi:nil="true" />
        <Quantity xsi:nil="true" />
        <ItemTaxCode>0</ItemTaxCode>
        <AssetTypeId xsi:nil="true" />
        <GroupId>0</GroupId>
        <LineSiteId xsi:nil="true" />
        <ShouldSerialiseOnlyOne xsi:nil="true" />
        <PercentageInvoiced xsi:nil="true" />
        <InvoicedQuantity xsi:nil="true" />
        <IhId>255</IhId>
        <ItemCode />
        <ItemShortDescription>Contract Charge 01/03/2026</ItemShortDescription>
        <ItemLongDescription>Contract Charge 01/03/2026</ItemLongDescription>
        <NominalCode />
        <TaxCode>1</TaxCode>
        <QtyOrder>1</QtyOrder>
        <UnitPrice>12000</UnitPrice>
        <NetAmount>12000</NetAmount>
        <TaxAmount>2400</TaxAmount>
        <TaxRate>20</TaxRate>
        <IsItemOnOrder>false</IsItemOnOrder>
        <Dsite>0</Dsite>
        <Ddevnum>0</Ddevnum>
        <ProductNumber />
        <UnitCost>0</UnitCost>
        <AssetId>-1</AssetId>
        <AssetInventoryNumber />
        <ContractId>6</ContractId>
        <Contract>
          <ItemDescription />
          <Id>6</Id>
          <ClientId>15</ClientId>
          <ClientName>St Johns High School</ClientName>
          <Reference>GP0002</Reference>
          <ReferenceExtra>GP0002</ReferenceExtra>
          <StartDate>2020-03-01T00:00:00</StartDate>
          <EndDate>2099-12-31T00:00:00</EndDate>
          <Started>true</Started>
          <Expired>false</Expired>
          <NumberOfUnitsFree>0</NumberOfUnitsFree>
          <BillingPeriod>3</BillingPeriod>
          <ContractTypeId>1</ContractTypeId>
          <ContractType>
            <Id>1</Id>
            <LookupId>28</LookupId>
            <Value>Gold Package</Value>
            <Value2>GP</Value2>
            <Value4 />
            <Value5 />
            <Value6 />
            <Custom1 />
            <Custom2 />
          </ContractType>
          <Status>3</Status>
          <SiteId>-1</SiteId>
          <SiteName />
          <UserId>0</UserId>
          <UserName />
          <SlaId>-1</SlaId>
          <PeriodicInvoiceNextDate>2020-03-01T12:00:00</PeriodicInvoiceNextDate>
          <NextInvoiceDate>2026-08-31T23:00:00</NextInvoiceDate>
          <PeriodChargeAmount>0</PeriodChargeAmount>
          <ReferenceExtra2>St Johns High School: GP0002</ReferenceExtra2>
          <AccountsOverrideMailbox>-1</AccountsOverrideMailbox>
          <StartBalance xsi:nil="true" />
          <PaymentScheme xsi:nil="true" />
          <ChargeHoursPerPeriod>0</ChargeHoursPerPeriod>
          <ChargeRollover>false</ChargeRollover>
          <OutOfHoursMultiplier xsi:nil="true" />
          <RequestMinimum xsi:nil="true" />
          <InvoiceMinimum xsi:nil="true" />
          <AllowFixedPrice>false</AllowFixedPrice>
          <AllowPyg>false</AllowPyg>
          <AllowPrepay>false</AllowPrepay>
          <ChargePerDevice>false</ChargePerDevice>
          <PrepayRecurringCharge xsi:nil="true" />
          <ChargePrepayTravel>false</ChargePrepayTravel>
          <ChargePrepayMileage>false</ChargePrepayMileage>
          <ChargePygTravel>false</ChargePygTravel>
          <ChargePygMileage>false</ChargePygMileage>
          <OnlyBillAtEndOfPeriod>false</OnlyBillAtEndOfPeriod>
          <UnmatchedCombinations xsi:nil="true" />
          <TermMonths xsi:nil="true" />
          <PercentageIncrease xsi:nil="true" />
          <NextIncrementDate xsi:nil="true" />
          <DateReceived xsi:nil="true" />
          <InvoiceDescription>Contract Charge</InvoiceDescription>
          <PaymentMethod>0</PaymentMethod>
          <DontSendAlarm>false</DontSendAlarm>
          <CreatedFromId>0</CreatedFromId>
          <CostPerPeriod>35</CostPerPeriod>
          <RollingContract>false</RollingContract>
          <PreviousContract xsi:nil="true" />
          <BillingCategory>0</BillingCategory>
          <DontInvoice>true</DontInvoice>
          <OhId>0</OhId>
          <ScheduleSendAccountManager xsi:nil="true" />
          <HasActions>false</HasActions>
          <Users />
          <SurchargeId>-1</SurchargeId>
          <ChargerateMethod>0</ChargerateMethod>
          <DontChargeForItems xsi:nil="true" />
          <PdfTemplateId>0</PdfTemplateId>
          <AutotaskId>-1</AutotaskId>
          <NewInvoiceStartDate>2020-03-01T00:00:00</NewInvoiceStartDate>
          <NewInvoiceEndDate>2099-12-31T00:00:00</NewInvoiceEndDate>
          <ChargerateMultiplier>1</ChargerateMultiplier>
          <Contracts />
          <Sites />
          <EmailAddressTo />
          <EmailAddressCc />
          <UseCostCalculation>false</UseCostCalculation>
          <PrepayItemId>0</PrepayItemId>
          <Use>contract</Use>
          <Type>0</Type>
          <ContractTypeName>Fixed</ContractTypeName>
          <CostCalculation />
          <Active>true</Active>
          <CustomFields />
          <CreatedById>3</CreatedById>
          <CreatedByName>Joe Harrison</CreatedByName>
        </Contract>
        <RecurringInvoiceId>-12</RecurringInvoiceId>
        <RecurringInvoiceLineId>7</RecurringInvoiceLineId>
        <ActionCode>-1</ActionCode>
        <Site>-1</Site>
        <MeterId>-1</MeterId>
        <TicketId>-1</TicketId>
        <LineActionDate>1899-12-30T00:00:00</LineActionDate>
        <LabourDepartmentId>0</LabourDepartmentId>
        <SalesOrderLine>0</SalesOrderLine>
        <SalesOrderLineId>0</SalesOrderLineId>
        <TotalDiscount>0</TotalDiscount>
        <PrepayId>-1</PrepayId>
        <CalculatePriceFromAssets>false</CalculatePriceFromAssets>
        <CalculatePriceFromUsers>false</CalculatePriceFromUsers>
        <RecurringInvoicePriceType>0</RecurringInvoicePriceType>
        <ItemTaxName>Sales Tax 20%</ItemTaxName>
        <OverrideAstTotal>0</OverrideAstTotal>
        <ProrataNextInvoice>false</ProrataNextInvoice>
        <ProrataQuantity>0</ProrataQuantity>
        <ProrataUnitPrice>0</ProrataUnitPrice>
        <IsInactive>false</IsInactive>
        <IsGroupDesc>false</IsGroupDesc>
        <KashflowLineId>0</KashflowLineId>
        <IsTaxCodeOverridden>false</IsTaxCodeOverridden>
        <IsMeter>false</IsMeter>
        <RecurringInvoiceQuantityType>0</RecurringInvoiceQuantityType>
        <SequenceId>10</SequenceId>
        <ShouldHideItems>false</ShouldHideItems>
        <IncludeGroupPriceAndQty>false</IncludeGroupPriceAndQty>
        <OneTimeChargeInvoiceId>0</OneTimeChargeInvoiceId>
        <MeterType>0</MeterType>
        <DbcId />
        <BasePrice>12000</BasePrice>
        <DiscountPercentage>0</DiscountPercentage>
        <ShouldExcludeAutoIncrease>false</ShouldExcludeAutoIncrease>
        <SupplierName />
        <PercentInvoiced>100</PercentInvoiced>
      </InvoiceItem>
      <InvoiceItem>
        <Id>458</Id>
        <SalesOrderId xsi:nil="true" />
        <Sort xsi:nil="true" />
        <ItemId>16</ItemId>
        <ItemExternalReference />
        <Price xsi:nil="true" />
        <TotalPrice>360</TotalPrice>
        <TotalNetTotal>432</TotalNetTotal>
        <TotalTax>72</TotalTax>
        <Tax xsi:nil="true" />
        <Quantity xsi:nil="true" />
        <ItemTaxCode>0</ItemTaxCode>
        <AssetTypeId xsi:nil="true" />
        <GroupId>0</GroupId>
        <LineSiteId xsi:nil="true" />
        <ShouldSerialiseOnlyOne xsi:nil="true" />
        <PercentageInvoiced xsi:nil="true" />
        <InvoicedQuantity xsi:nil="true" />
        <IhId>255</IhId>
        <ItemCode />
        <ItemShortDescription>Microsoft 365 Business Standard 01/03/2026</ItemShortDescription>
        <ItemLongDescription>Microsoft 365 Business Standard 01/03/2026</ItemLongDescription>
        <NominalCode />
        <TaxCode>1</TaxCode>
        <QtyOrder>30</QtyOrder>
        <UnitPrice>12</UnitPrice>
        <NetAmount>360</NetAmount>
        <TaxAmount>72</TaxAmount>
        <TaxRate>20</TaxRate>
        <IsItemOnOrder>false</IsItemOnOrder>
        <Dsite>0</Dsite>
        <Ddevnum>0</Ddevnum>
        <ProductNumber />
        <UnitCost>0</UnitCost>
        <AssetId>-1</AssetId>
        <AssetInventoryNumber />
        <ContractId>6</ContractId>
        <Contract>
          <ItemDescription />
          <Id>6</Id>
          <ClientId>15</ClientId>
          <ClientName>St Johns High School</ClientName>
          <Reference>GP0002</Reference>
          <ReferenceExtra>GP0002</ReferenceExtra>
          <StartDate>2020-03-01T00:00:00</StartDate>
          <EndDate>2099-12-31T00:00:00</EndDate>
          <Started>true</Started>
          <Expired>false</Expired>
          <NumberOfUnitsFree>0</NumberOfUnitsFree>
          <BillingPeriod>3</BillingPeriod>
          <ContractTypeId>1</ContractTypeId>
          <ContractType>
            <Id>1</Id>
            <LookupId>28</LookupId>
            <Value>Gold Package</Value>
            <Value2>GP</Value2>
            <Value4 />
            <Value5 />
            <Value6 />
            <Custom1 />
            <Custom2 />
          </ContractType>
          <Status>3</Status>
          <SiteId>-1</SiteId>
          <SiteName />
          <UserId>0</UserId>
          <UserName />
          <SlaId>-1</SlaId>
          <PeriodicInvoiceNextDate>2020-03-01T12:00:00</PeriodicInvoiceNextDate>
          <NextInvoiceDate>2026-08-31T23:00:00</NextInvoiceDate>
          <PeriodChargeAmount>0</PeriodChargeAmount>
          <ReferenceExtra2>St Johns High School: GP0002</ReferenceExtra2>
          <AccountsOverrideMailbox>-1</AccountsOverrideMailbox>
          <StartBalance xsi:nil="true" />
          <PaymentScheme xsi:nil="true" />
          <ChargeHoursPerPeriod>0</ChargeHoursPerPeriod>
          <ChargeRollover>false</ChargeRollover>
          <OutOfHoursMultiplier xsi:nil="true" />
          <RequestMinimum xsi:nil="true" />
          <InvoiceMinimum xsi:nil="true" />
          <AllowFixedPrice>false</AllowFixedPrice>
          <AllowPyg>false</AllowPyg>
          <AllowPrepay>false</AllowPrepay>
          <ChargePerDevice>false</ChargePerDevice>
          <PrepayRecurringCharge xsi:nil="true" />
          <ChargePrepayTravel>false</ChargePrepayTravel>
          <ChargePrepayMileage>false</ChargePrepayMileage>
          <ChargePygTravel>false</ChargePygTravel>
          <ChargePygMileage>false</ChargePygMileage>
          <OnlyBillAtEndOfPeriod>false</OnlyBillAtEndOfPeriod>
          <UnmatchedCombinations xsi:nil="true" />
          <TermMonths xsi:nil="true" />
          <PercentageIncrease xsi:nil="true" />
          <NextIncrementDate xsi:nil="true" />
          <DateReceived xsi:nil="true" />
          <InvoiceDescription>Contract Charge</InvoiceDescription>
          <PaymentMethod>0</PaymentMethod>
          <DontSendAlarm>false</DontSendAlarm>
          <CreatedFromId>0</CreatedFromId>
          <CostPerPeriod>35</CostPerPeriod>
          <RollingContract>false</RollingContract>
          <PreviousContract xsi:nil="true" />
          <BillingCategory>0</BillingCategory>
          <DontInvoice>true</DontInvoice>
          <OhId>0</OhId>
          <ScheduleSendAccountManager xsi:nil="true" />
          <HasActions>false</HasActions>
          <Users />
          <SurchargeId>-1</SurchargeId>
          <ChargerateMethod>0</ChargerateMethod>
          <DontChargeForItems xsi:nil="true" />
          <PdfTemplateId>0</PdfTemplateId>
          <AutotaskId>-1</AutotaskId>
          <NewInvoiceStartDate>2020-03-01T00:00:00</NewInvoiceStartDate>
          <NewInvoiceEndDate>2099-12-31T00:00:00</NewInvoiceEndDate>
          <ChargerateMultiplier>1</ChargerateMultiplier>
          <Contracts />
          <Sites />
          <EmailAddressTo />
          <EmailAddressCc />
          <UseCostCalculation>false</UseCostCalculation>
          <PrepayItemId>0</PrepayItemId>
          <Use>contract</Use>
          <Type>0</Type>
          <ContractTypeName>Fixed</ContractTypeName>
          <CostCalculation />
          <Active>true</Active>
          <CustomFields />
          <CreatedById>3</CreatedById>
          <CreatedByName>Joe Harrison</CreatedByName>
        </Contract>
        <RecurringInvoiceId>-12</RecurringInvoiceId>
        <RecurringInvoiceLineId>22</RecurringInvoiceLineId>
        <ActionCode>-1</ActionCode>
        <Site>-1</Site>
        <MeterId>-1</MeterId>
        <TicketId>-1</TicketId>
        <LineActionDate>1899-12-30T00:00:00</LineActionDate>
        <LabourDepartmentId>0</LabourDepartmentId>
        <SalesOrderLine>0</SalesOrderLine>
        <SalesOrderLineId>0</SalesOrderLineId>
        <TotalDiscount>0</TotalDiscount>
        <PrepayId>-1</PrepayId>
        <CalculatePriceFromAssets>false</CalculatePriceFromAssets>
        <CalculatePriceFromUsers>false</CalculatePriceFromUsers>
        <RecurringInvoicePriceType>0</RecurringInvoicePriceType>
        <ItemTaxName>Sales Tax 20%</ItemTaxName>
        <OverrideAstTotal>0</OverrideAstTotal>
        <ProrataNextInvoice>false</ProrataNextInvoice>
        <ProrataQuantity>0</ProrataQuantity>
        <ProrataUnitPrice>0</ProrataUnitPrice>
        <IsInactive>false</IsInactive>
        <IsGroupDesc>false</IsGroupDesc>
        <KashflowLineId>0</KashflowLineId>
        <IsTaxCodeOverridden>false</IsTaxCodeOverridden>
        <IsMeter>false</IsMeter>
        <RecurringInvoiceQuantityType>0</RecurringInvoiceQuantityType>
        <SequenceId>10</SequenceId>
        <ShouldHideItems>false</ShouldHideItems>
        <IncludeGroupPriceAndQty>false</IncludeGroupPriceAndQty>
        <OneTimeChargeInvoiceId>0</OneTimeChargeInvoiceId>
        <MeterType>0</MeterType>
        <DbcId />
        <BasePrice>12</BasePrice>
        <DiscountPercentage>0</DiscountPercentage>
        <ShouldExcludeAutoIncrease>false</ShouldExcludeAutoIncrease>
        <SupplierName />
        <PercentInvoiced>100</PercentInvoiced>
      </InvoiceItem>
    </InvoiceItems>
  </Invoice>
</Invoices>