<?xml version="1.0" encoding="utf-8"?>
<!--
        
        ** OAGIS® Revision: 9.1  **
        ** Date: 11 May 2007 **
        ** Copyright 1997-2007, All Rights Reserved **
        
        This is an OAGIS® BOD XML Schema (XSD) Definition.
        
       License information for this file is provided in the file **OAGi License Agreement.txt** that is provided with this download package.
        
        For support, more information, or to report implementation bugs, please contact the Open Applications Group at xml@openapplications.org.
        
        XML Schema 
        
-->
 
<!--
© Copyright 2007 Infor Global Solutions Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. The 
word and design marks set forth herein are trademarks and/or registered trademarks of Infor Global Solutions 
Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. All other trademarks listed herein 
are the property of their respective owners.
 
-->
 
<!--    *****     Update Log     *****
 
Date          By      Note
10 Apr 2008    JB      Added correct Copyright and update comments to schema.
01 Oct 2010    NO      Added ReportingCurrencyAmount and AlternativeCurrencyAmount elements in the row.

        *****     Update End     *****
 
-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns="http://schema.infor.com/InforOAGIS/2"
	targetNamespace="http://schema.infor.com/InforOAGIS/2" elementFormDefault="qualified"
	attributeFormDefault="unqualified">

	<xsd:include schemaLocation="../Common/Components.xsd"/>
	<xsd:complexType name="LedgerEntryHeaderType">
		<xsd:sequence>
			<xsd:element ref="LedgerID" minOccurs="0"/>
			<xsd:element ref="GLEntityID" minOccurs="0"/>
			<xsd:element ref="DocumentDateTime" minOccurs="0"/>
			<xsd:element ref="AccountingDate" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the date
						that is used to determine the accounting period the transaction is posted
						within. It is also known as the effective or post date.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="SourceDocumentReference" minOccurs="0"/>
			<xsd:group ref="LedgerAmountGroup" minOccurs="0"/>
			<xsd:element ref="EntryCreator" minOccurs="0"/>
			<xsd:element ref="PaymentTerm" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="Party" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:group ref="FreeFormTextGroup" minOccurs="0"/>
			<xsd:group ref="ReferencesGroup" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="LedgerEntryLineType">
		<xsd:sequence>
			<xsd:element ref="GLDestinationEntityID" minOccurs="0"/>
			<xsd:group ref="LedgerEntryContent" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:group name="LedgerEntryContent">
		<xsd:sequence>
			<xsd:group ref="LedgerAmountGroup" minOccurs="0"/>
			<xsd:element ref="GLAccount" minOccurs="0"/>
			<xsd:element ref="DimensionCodes" minOccurs="0"/>
			<xsd:element ref="ProjectReference" minOccurs="0"/>
			<xsd:element ref="Item" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">A product or
						substance that is bought, sold, manufactured, delivered, or is somehow
						handled in similar business processes. It is the identifier of a
						"thing".SYNONYMS Material Part Resource Stock Keeping Unit
						(SKU)</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="Quantity" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Identifies the
						quantity of the item that was specified on the source
						transaction</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="BaseUOMQuantity" minOccurs="0"/>
			<xsd:element ref="EnterpriseUnit" minOccurs="0"/>
			<xsd:element ref="Employee" minOccurs="0"/>
			<xsd:element ref="EntryCreator" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the user
						enterprise-wide identifier. It is also known as the user
						code.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:group>
	<xsd:element name="TransactionAnalysisCode" type="CodeType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is a segmenting code
				used to analyze accounting transactions. It is commonly used in project accounting
				applications.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="CreditBaseType">
		<xsd:sequence>
			<xsd:group ref="IDsGroup" minOccurs="0"/>
			<xsd:element ref="GLElement" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the primary
						balancing segment of the GL Account structure. Typically, this is the owning
						entity for the transaction. A G/L entity is the smallest organizational unit
						for which individual financial statements must be drawn up according to
						relevant commercial law. P&amp;L statements are required at this level.
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="ApprovalStatus" minOccurs="0"/>
			<xsd:group ref="FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="Party" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:group ref="ReferencesGroup" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TransferPaymentType">
		<xsd:sequence>
			<xsd:group ref="IDsGroup" minOccurs="0"/>
			<xsd:element ref="RequestedExecutionDateTime" minOccurs="0"/>
			<xsd:element ref="FirstAgentPaymentMethodCode" minOccurs="0"/>
			<xsd:element ref="DebtorParty" minOccurs="0"/>
			<xsd:element ref="FirstAgentParty" minOccurs="0"/>
			<xsd:group ref="FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="PaymentTransaction" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TransferAgreementType">
		<xsd:sequence>
			<xsd:choice>
				<xsd:element ref="CreditTransferType" minOccurs="0"/>
				<xsd:element ref="ProprietaryText" minOccurs="0"/>
			</xsd:choice>
			<xsd:element ref="PriorityCode" minOccurs="0"/>
			<xsd:element ref="SettlementPriority" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PaymentTransaction" type="PaymentTransactionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information to
				communicate the payment transaction.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="PaymentTransactionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information to
				communicate the payment transaction.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:group ref="PaymentIDGroup" minOccurs="0"/>
			<xsd:choice>
				<xsd:element ref="PaymentPurposeCode" minOccurs="0"/>
				<xsd:element ref="ProprietaryText" minOccurs="0"/>
			</xsd:choice>
			<xsd:choice>
				<xsd:element ref="InstructedAmount" minOccurs="0"/>
				<xsd:element ref="EquivalentAmount" minOccurs="0"/>
			</xsd:choice>
			<xsd:element ref="ChequeInstruction" minOccurs="0"/>
			<xsd:element ref="OriginatorParty" minOccurs="0"/>
			<xsd:element ref="IntermediaryFinancialParty" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="CreditorParty" minOccurs="0"/>
			<xsd:element ref="FinalAgentFinancialParty" minOccurs="0"/>
			<xsd:element ref="FinalParty" minOccurs="0"/>
			<xsd:element ref="ChargeBearerCode" minOccurs="0"/>
			<xsd:element ref="ExchangeContractReference" minOccurs="0"/>
			<xsd:element ref="RegulatoryReporting" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="FinalAgentInstructions" minOccurs="0"/>
			<xsd:element ref="FirstAgentInstruction" minOccurs="0"/>
			<xsd:element ref="RemittanceInformation" minOccurs="0"/>
			<xsd:group ref="FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="Status" minOccurs="0"/>
			<xsd:element ref="RejectionStatus" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="sequence" type="PositiveIntegerNumericType" use="optional"/>
	</xsd:complexType>
	<xsd:group name="PaymentIDGroup">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Group of elements used
				to provide further means of identifying the payment transaction.
			</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="InstructionID" minOccurs="0"/>
			<xsd:element ref="TransactionID" minOccurs="0"/>
			<xsd:element ref="RemitID" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<xsd:element name="RegulatoryReporting" type="RegulatoryReportingType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information needed due
				to regulatory and statutory requirements,.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="RegulatoryReportingType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information needed due
				to regulatory and statutory requirements. Code - Specifies the regulatory reporting
				code. Amount - Amount of money and currency that may need to be reported for
				regulatory and statutory requirements. Note - Or Information - Additional details
				that cater for domestic regulatory requirements. </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="Code" minOccurs="0"/>
			<xsd:element ref="Amount" minOccurs="0"/>
			<xsd:element ref="Note" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="ChequeInstruction" type="ChequeInstructionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information related to
				a cheque instruction. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="ChequeInstructionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
				>PmtInf/PmtTx/ChqInstr</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="ChequeNumber" minOccurs="0"/>
			<xsd:element ref="DeliveryMethodCode" minOccurs="0"/>
			<xsd:element ref="ChequeFromParty" minOccurs="0"/>
			<xsd:element ref="DeliverToParty" minOccurs="0"/>
			<xsd:element ref="PriorityCode" minOccurs="0"/>
			<xsd:element ref="ChequeMaturityDate" minOccurs="0"/>
			<xsd:element ref="ChequeFormsCode" minOccurs="0"/>
			<xsd:element ref="ChequeMemoFieldText" minOccurs="0"/>
			<xsd:element ref="RegionalClearingZoneID" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="type" type="ChequeInstructionCodeContentType">
			<xsd:annotation>
				<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Specifies the type
					of checque to be issued.</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:element name="FirstAgentInstruction" type="FirstAgentInstructionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Further information
				related to the processing of the payment instruction, which may need to be acted
				upon by the first agent, depending on agreement between customer and the first
				agent. The instruction can relate to a level of service between the customer and the
				first agent, or can be information required by the first agent.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="FirstAgentInstructionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
				>PmtInf/PmtTx/InstrForFrstAgt</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="ProprietaryText" minOccurs="0"/>
			<xsd:element ref="DebitPurposeText" minOccurs="0"/>
			<xsd:element ref="RemitLocationMethodCode" minOccurs="0"/>
			<xsd:element ref="RemitLocationURI" minOccurs="0"/>
			<xsd:element ref="RemitLocationPostalAddress" minOccurs="0"/>
			<xsd:element ref="PaymentTransactionTax" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PaymentTransactionTax" type="PaymentTransactionTaxType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Amount of money due to
				government or tax authority, according to various pre-defined parameters such as
				thresholds or income.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="PaymentTransactionTaxType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
				>PmtInf/PmtTx/InstrForFrstAgt/Tax</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="CreditorTaxID" minOccurs="0"/>
			<xsd:element ref="CreditorTaxType" minOccurs="0"/>
			<xsd:element ref="DebtorTaxID" minOccurs="0"/>
			<xsd:element ref="TaxReferenceNumber" minOccurs="0"/>
			<xsd:element ref="TotalTaxableBaseAmount" minOccurs="0"/>
			<xsd:element ref="TotalTaxAmount" minOccurs="0"/>
			<xsd:element ref="Tax" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="RemittanceInformation" type="RemittanceInformationType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information supplied to
				enable the matching of an entry with the items that the payment is intended to
				settle, eg, commercial invoices in an Accounts Receivable
				system.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="RemittanceInformationType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
				>PmtInf/PmtTx/RmtInf</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:group ref="IDsGroup" minOccurs="0"/>
			<!-- BOD-2321 included maxOccurs for structured and unstructured elements -->
			<xsd:element ref="UnstructuredRemittanceText" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="StructuredRemittanceInformation" minOccurs="0" maxOccurs="unbounded"/> 
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="CreditorDebitorPartyType">
		<xsd:complexContent>
			<xsd:extension base="PayerPartyBaseType">
				<xsd:sequence>
					<xsd:element ref="CountryCode" minOccurs="0"/>
					<xsd:element ref="FinancialAccount" minOccurs="0"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="DebtorParty" type="CreditorDebitorPartyType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Party that owes an
				amount of money to the creditor. In the context of the payment model, the debtor is
				also the debit account owner.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CreditorParty" type="CreditorDebitorPartyType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Party that receives an
				amount of money from the debtor. In the context of the payment model, the creditor
				is also the credit account owner.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="SettlementPriorityType">
		<xsd:sequence>
			<xsd:choice>
				<xsd:element ref="PaymentScheme" minOccurs="0"/>
				<xsd:element ref="PriorityCode" minOccurs="0"/>
			</xsd:choice>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="SettlementPriority" type="SettlementPriorityType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates the priority
				with which or the system through which the agents in the payment chain will clear
				and settle the payment transaction. IST requires the PriorityCode to contain one of
				two values: HIGH - Indicates a prioity level of high. NORM - Indicates a priority
				level of normal</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="PaymentSchemeType">
		<xsd:sequence>
			<xsd:choice>
				<xsd:element ref="PaymentSchemeCode" minOccurs="0"/>
				<xsd:element ref="ProprietarySchemeText" minOccurs="0"/>
			</xsd:choice>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PaymentScheme" type="PaymentSchemeType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Pre agreed offering
				between clearing agents or channel through which the payment instruction is to be
				processed. This payment scheme can point to a specific rulebook governing the rules
				of clearing and settlement between two parties.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:group name="LedgerAmountGroup">
		<xsd:sequence>
			<xsd:element ref="Amount" minOccurs="0"/>
			<xsd:element ref="TaxBaseAmount" minOccurs="0"/>
			<xsd:element ref="FunctionalAmount" minOccurs="0"/>
			<xsd:element ref="TaxBaseFunctionalAmount" minOccurs="0"/>
			<xsd:element ref="SourceAmount" minOccurs="0"/>
			<xsd:element ref="SourceToFunctionalExchangeRate" minOccurs="0"/>
			<xsd:element ref="AmountToFunctionalExchangeRate" minOccurs="0"/>
			<xsd:element ref="ReportingCurrencyAmount" minOccurs="0"/>
			<xsd:element ref="AlternativeCurrencyAmount" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<xsd:element name="SourceDocumentReference" type="DocumentReferenceType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This is the link that
				ties back to a sub ledger transaction entry ID. It is the identifier of an original/
				source transaction or document. The type indicates the type of document i.e.
				PurchaseOrder, Invoice, Receipt, Credit Memo, Voucher etc. For example, it could be
				the receipt or the summarized inventory activity. This is the singular field that
				refers to an audit record. Together with the Sender information, this is part of the
				referencing system, which will enable drill back audit trail
				functionality.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="FinalAgentInstructionsType">
		<xsd:sequence>
			<xsd:element ref="FinalAgentInstructionCode" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="ProprietaryText" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="StructuredRemittanceInformationType">
		<xsd:sequence>
			<xsd:element ref="DocumentReference" minOccurs="0"/>
			<xsd:element ref="RemittanceReferredDocumentAmounts" minOccurs="0"/>
			<xsd:element ref="StructuredCreditorReference" minOccurs="0"/>		<!--BOD-2321 - for Bank statement CreditorReference -->
			<xsd:element ref="InvoicerParty" minOccurs="0"/>
			<xsd:element ref="InvoiceeParty" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="StructuredRemittanceInformation" type="StructuredRemittanceInformationType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Information, in
				structured form, which is supplied to enable the matching (reconciliation) of a
				payment with the items that the payment is intended to settle, such as commercial
				invoices in an Accounts Receivable system.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="RemittanceReferredDocumentAmountType">
		
			<xsd:sequence>
				<xsd:element ref="DuePayableAmount" minOccurs="0"/>
				<xsd:element ref="DuePayableBaseAmount" minOccurs="0"/>
				<xsd:element ref="DuePayableReportAmount" minOccurs="0"/>
			
				<xsd:element ref="DiscountAppliedAmount" minOccurs="0"/>
				<xsd:element ref="DiscountAppliedBaseAmount" minOccurs="0"/>
				<xsd:element ref="DiscountAppliedReportAmount" minOccurs="0"/>
			
				<xsd:element ref="RemittedAmount" minOccurs="0"/>
				<xsd:element ref="RemittedBaseAmount" minOccurs="0"/>
				<xsd:element ref="RemittedReportAmount" minOccurs="0"/>
			
				<xsd:element ref="CreditNoteAmount" minOccurs="0"/>
				<xsd:element ref="CreditNoteBaseAmount" minOccurs="0"/>
				<xsd:element ref="CreditNoteReportAmount" minOccurs="0"/>
			
				<xsd:element ref="TaxAmount" minOccurs="0"/>
				<xsd:element ref="TaxBaseAmount" minOccurs="0"/>
				<xsd:element ref="TaxReportAmount" minOccurs="0"/>
			</xsd:sequence>
		
	</xsd:complexType>
	<xsd:element name="RemittanceReferredDocumentAmounts"
		type="RemittanceReferredDocumentAmountType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Amount of money and
				currency of a document referred to in the remittance section. The amount is
				typically either the original amount due and payable, or the amount actually
				remitted for the referenced document.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="StructuredCreditorReference" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>
				Indicates creditor reference for remittances. This could either be the Structured Creditor Reference 
				in accordance with ISO 11649 or other proprietary references.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="FinalAgentInstructions" type="FinalAgentInstructionsType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Further information
				related to the processing of the payment instruction, provided by the initiating
				party, and intended for the final agent.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:complexType name="DimensionUsageType">
		<xsd:sequence>
			<xsd:element ref="ListID"/>
			<xsd:element ref="Usage" minOccurs="0" maxOccurs="unbounded"> </xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="DimensionProfileType">
		<xsd:sequence>
			<xsd:element ref="ID" minOccurs="0"/>
			<xsd:element ref="Name" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="Status" minOccurs="0"/>
			<xsd:element ref="EffectiveTimePeriod" minOccurs="0"/>
			<xsd:element ref="DimensionUsage" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="DimensionProfileSetType">
		<xsd:sequence>
			<xsd:element ref="ID" minOccurs="0"/>
			<xsd:element ref="Name" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="Description" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="Status" minOccurs="0"/>
			<xsd:element ref="EffectiveTimePeriod" minOccurs="0"/>
			<xsd:element ref="DimensionProfile" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="DimensionSequenceType">
		<xsd:annotation>
			<xsd:documentation> The DimensionSequence is used to define a set of up to 30 Dimensions
				that can be associated to a chart of accounts. Each account can be associated to
				exactly one set. </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="SequencedDimension" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="JournalUsage" type="CodeType">
		<xsd:annotation>
			<xsd:documentation> A "Standard", "Correction" or "Reversal" Journal. A Reversal Journal
				is the exact reverse of an existing posted journal. A Correction replaces the
				original posted journal or journal lines on a journal. Reversal and correction for
				MBL use only. All source systems will use standard (FC generates
				correction/reversal) Will be a codelist </xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="DimensionUsage" type="DimensionUsageType"/>

	<xsd:element name="DimensionProfile" type="DimensionProfileType"/>

	<xsd:element name="DimensionProfileSet" type="DimensionProfileSetType"/>

	<xsd:element name="DimensionSequence" type="DimensionSequenceType"/>

	<xsd:element name="AlternateCurrencyAmount" type="AlternateCurrencyAmountType"/>
	<xsd:element name="BatchReference" type="BatchReferenceType"/>
	<xsd:element name="JournalStatus" type="StatusType"/>
	<xsd:element name="MemoAmount" type="MemoAmountType"/>
	<xsd:element name="TaxReference" type="TaxReferenceType"/>
	<xsd:element name="TransactionDate" type="DateTimeType"/>
	<xsd:element name="Usage" type="UsageType"/>

	<xsd:complexType name="DimensionProfileReferenceType">
		<xsd:sequence>
			<xsd:element ref="DimensionProfileSetReference" minOccurs="0"/>
			<xsd:element ref="ProfileReference" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="DimensionProfileReference" type="DimensionProfileReferenceType"/>

	<xsd:complexType name="SequencedDimensionType">
		<xsd:sequence>
			<xsd:element ref="ListID"/>
			<xsd:element ref="DerivationType" minOccurs="0"/>
			<xsd:element ref="DerivedHierarchyReference" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="sequence" type="PositiveIntegerNumericType"/>
		<xsd:attribute name="derivedIndicator" type="IndicatorType"/>
		<xsd:attribute name="memoIndicator" type="IndicatorType"/>
		<xsd:attribute name="defaultCode" type="NormalizedStringType"/>
	</xsd:complexType>
	<xsd:element name="SequencedDimension" type="SequencedDimensionType"/>

	<xsd:element name="DimensionProfileSetReference" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>Identifies the dimension profile set that is publsihed as part of the
				AccountingBook.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="ProfileReference" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation> Identifies the individual profile within the
				set.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="AccountingBookDefinitionReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="DimensionCodes" type="DimensionCodesType"/>
	<xsd:element name="AccountingBookTypeCode" type="CodeType"/>


	<xsd:complexType name="JournalExchangeRateType">
		<xsd:sequence>
			<xsd:element ref="RateNumeric" minOccurs="0"/>
			<xsd:element ref="SourceUnitBaseNumeric" minOccurs="0"/>
			<xsd:element ref="TargetUnitBaseNumeric" minOccurs="0"/>
			<xsd:element ref="DivisionIndicator" minOccurs="0"/>
			<xsd:element ref="CurrencyRateTypeReference" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="LedgerSetupReferenceType">
		<xsd:complexContent>
			<xsd:extension base="DocumentReferenceBaseType">
				<xsd:sequence>
					<xsd:element ref="BookInstanceID" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:complexType name="RevaluationProfileDetailType">
		<xsd:sequence>
			<xsd:element ref="AccountRevaluationProfile" minOccurs="0"/>
			<xsd:element ref="CurrencyRevaluationProfile" minOccurs="0"/>
			<xsd:element ref="JournalRevaluationProfile" minOccurs="0"/>
			<xsd:element ref="DimensionRevaluationProfile" minOccurs="0"/>
			<xsd:element ref="RevaluationPostingRules" minOccurs="0"/>
			<xsd:element ref="RevaluationSumarizationRules" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="RevaluationProfileDetail" type="RevaluationProfileDetailType"/>

	<xsd:complexType name="RevaluationProfileIDType">
		<xsd:sequence>
			<xsd:element ref="ID" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="RevaluationProfileID" type="RevaluationProfileIDType"/>

	<xsd:complexType name="RevaluationProfileReferenceType">
		<xsd:sequence>
			<xsd:element ref="RevaluationProfileID" minOccurs="0"/>
			<xsd:element ref="Name" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="AccountRevaluationProfileType">
		<xsd:sequence>
			<xsd:element ref="RunTimeRequestIndicator" minOccurs="0"/>
			<xsd:element ref="AccountType" minOccurs="0"/>
			<xsd:choice>
				<xsd:element ref="GLNominalAccount" minOccurs="0"/>
				<xsd:element ref="GLNominalAccountRange" minOccurs="0"/>
				<xsd:element ref="HierarchyNodeReference" minOccurs="0"/>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="AccountRevaluationProfile" type="AccountRevaluationProfileType"/>

	<xsd:complexType name="JournalRevaluationProfileType">
		<xsd:sequence>
			<xsd:element ref="RunTimeRequestIndicator" minOccurs="0"/>
			<xsd:choice>
				<xsd:element ref="AccountingJournalReference" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="JournalRange" minOccurs="0"/>
				<xsd:element ref="HierarchyNodeReference" minOccurs="0"/>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="JournalRevaluationProfile" type="JournalRevaluationProfileType"/>

	<xsd:complexType name="CurrencyRevaluationProfileType">
		<xsd:sequence>
			<xsd:element ref="RunTimeRequestIndicator" minOccurs="0"/>
			<xsd:choice>
				<xsd:element ref="CurrencyCode" minOccurs="0"/>
				<xsd:element ref="HierarchyNodeReference" minOccurs="0"/>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CurrencyRevaluationProfile" type="CurrencyRevaluationProfileType"/>

	<xsd:complexType name="DimensionRevaluationProfileType">
		<xsd:sequence>
			<xsd:element ref="RunTimeRequestIndicator" minOccurs="0"/>
			<xsd:choice>
				<xsd:element ref="DimensionCode" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="DimensionCodeRange" minOccurs="0"/>
				<xsd:element ref="HierarchyNodeReference" minOccurs="0"/>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="DimensionRevaluationProfile" type="DimensionRevaluationProfileType"/>

	<xsd:complexType name="RevaluationPostingRulesType">
		<xsd:sequence>
			<xsd:element ref="RevaluationMethod" minOccurs="0"/>
			<xsd:element ref="CurrencyRateTypeReference" minOccurs="0"/>
			<xsd:element ref="ReverseBalanceSheetPostingIndicator" minOccurs="0"/>
			<xsd:element ref="UseOriginatingAmountIndicator" minOccurs="0"/>
			<xsd:element ref="PostToSourceAccountIndicator" minOccurs="0"/>
			<xsd:element ref="ReserveAccount" minOccurs="0"/>
			<xsd:element ref="OffsetGainAccount" minOccurs="0"/>
			<xsd:element ref="OffsetLossAccount" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="RevaluationPostingRules" type="RevaluationPostingRulesType"/>

	<xsd:complexType name="RevaluationSumarizationType">
		<xsd:sequence>
			<xsd:element ref="DimensionCode" minOccurs="0"/>
			<xsd:element ref="SummarizeOptionalDimensionIndicator" minOccurs="0"/>
			<xsd:element ref="SummaryCodeValue" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="RevaluationSumarizationRules" type="RevaluationSumarizationType"/>

	<xsd:complexType name="GLNominalAccountRangeType">
		<xsd:sequence>
			<xsd:element ref="GLNominalAccountFrom"/>
			<xsd:element ref="GLNominalAccountTo"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="JournalRangeType">
		<xsd:sequence>
			<xsd:element ref="AccountingJournalReferenceFrom" minOccurs="0"/>
			<xsd:element ref="AccountingJournalReferenceTo" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="JournalRange" type="JournalRangeType"/>

	<xsd:complexType name="DimensionCodeRangeType">
		<xsd:sequence>
			<xsd:element ref="DimensionCodeFrom"/>
			<xsd:element ref="DimensionCodeTo"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="DimensionCodeRange" type="DimensionCodeRangeType"/>

	<xsd:complexType name="OutOfBalanceSuspenseType">
		<xsd:sequence>
			<xsd:element ref="GLAccount" minOccurs="0"/>
			<xsd:element ref="ThresholdAmount" minOccurs="0"/>
			<xsd:element ref="JournalLineDescription" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="OutOfBalanceSuspense" type="OutOfBalanceSuspenseType"/>
	<xsd:element name="AccountingJournalReferenceFrom" type="AccountingJournalReferenceType"/>
	<xsd:element name="AccountingJournalReferenceTo" type="AccountingJournalReferenceType"/>

	<xsd:element name="ThresholdAmount" type="AmountType"/>

	<xsd:element name="DerivationType" type="CodeType"/>

	<xsd:element name="DimensionCodeFrom" type="DimensionCodeType"/>
	<xsd:element name="DimensionCodeTo" type="DimensionCodeType"/>

	<xsd:element name="GLNominalAccountRange" type="GLNominalAccountRangeType"/>

	<xsd:element name="ReserveAccount" type="GLAccountType"/>
	<xsd:element name="OffsetGainAccount" type="GLAccountType"/>
	<xsd:element name="OffsetLossAccount" type="GLAccountType"/>

	<xsd:element name="DerivedHierarchyReference" type="DocumentReferenceType"/>

	<xsd:element name="RevaluationProfileReference" type="RevaluationProfileReferenceType"/>

	<xsd:element name="LedgerSetupReference" type="LedgerSetupReferenceType"/>

	<xsd:element name="SourceToFunctionalExchangeRate" type="JournalExchangeRateType"/>
	<xsd:element name="AmountToFunctionalExchangeRate" type="JournalExchangeRateType"/>

	<xsd:element name="RevaluationCode" type="CodeType"/>
	<xsd:element name="RevaluationMethod" type="CodeType"/>
	<xsd:element name="SummaryCodeValue" type="CodeType"/>

	<xsd:element name="BookInstanceID" type="IdentifierType"/>

	<xsd:element name="DivisionIndicator" type="IndicatorType"/>
	<xsd:element name="PostToSourceAccountIndicator" type="IndicatorType"/>
	<xsd:element name="ReverseBalanceSheetPostingIndicator" type="IndicatorType"/>
	<xsd:element name="RunTimeRequestIndicator" type="IndicatorType"/>
	<xsd:element name="SummarizeOptionalDimensionIndicator" type="IndicatorType"/>
	<xsd:element name="UseOriginatingAmountIndicator" type="IndicatorType"/>

	<xsd:element name="DefaultCodeString" type="NormalizedStringType"/>
	<xsd:element name="GLNominalAccountFrom" type="NormalizedStringType"/>
	<xsd:element name="GLNominalAccountTo" type="NormalizedStringType"/>
	<xsd:element name="MassUOMCode" type="UOMCodeType"/>
	<xsd:element name="VolumeUOMCode" type="UOMCodeType"/>
	<xsd:element name="AreaUOMCode" type="UOMCodeType"/>
	<xsd:element name="LengthUOMCode" type="UOMCodeType"/>

	<xsd:element name="ReportingCurrencyAmount" type="AmountType">
		<xsd:annotation>
			<xsd:documentation> This element will used to store SunSystems 'Value 3' which is used
				as the reporting currency. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="AlternativeCurrencyAmount" type="AmountType">
		<xsd:annotation>
			<xsd:documentation> This element will used to store SunSystems 'Value 4' which is used
				as either a secondary reporting currency, or secondary base currency
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="ExchangeRateDateTime" type="DateTimeType"/>
	<xsd:complexType name="GLMovementType">
		<xsd:complexContent>
			<xsd:extension base="StatusEnabledStandardHeaderType">
				<xsd:sequence>
					<xsd:element ref="BookCode" minOccurs="0"/>
					<xsd:element ref="ThreadSequence" minOccurs="0"/>
					<xsd:element ref="GLMovementRow" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:complexType name="GLMovementRowType">
		<xsd:sequence>
			<xsd:element ref="LastJournalSequenceID" minOccurs="0"/>
			<xsd:element ref="AccountingJournalReference" minOccurs="0"/>
			<xsd:element ref="LedgerSetupReference" minOccurs="0"/>
			<xsd:element ref="AccountingBookTypeCode" minOccurs="0"/>
			<xsd:element ref="PostingKey" minOccurs="0"/>
			<xsd:element ref="GLAccount" minOccurs="0"/>
			<xsd:element ref="AccountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation> AccountType is an account classification that specifies the
						use of this account. Balance Sheet, P+L, Statistical Single Year,
						Statistical Multi-year. Other classifications can be associated to the
						account through the classification element especially the AccountSubType
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="DimensionCodes" minOccurs="0"/>
			<xsd:element ref="LineType" minOccurs="0"/>
			<xsd:element ref="FinancialCalendarReference" minOccurs="0"/>
			<xsd:element ref="AccountingDate" minOccurs="0"/>
			<xsd:element ref="AccountingDayNumber" minOccurs="0"/>
			<xsd:element ref="SourcePostingDate" minOccurs="0"/>
			<xsd:element ref="SourceDayNumber" minOccurs="0"/>
			<xsd:element ref="DebitMovement" minOccurs="0"/>
			<xsd:element ref="CreditMovement" minOccurs="0"/>
			<xsd:element ref="NetMovement" minOccurs="0"/>
			<xsd:element ref="MemoValue" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
			<xsd:element ref="GLFullAccount" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="GLMovementRow" type="GLMovementRowType"/>
	<xsd:element name="BookCode" type="CodeType"/>
	<xsd:element name="ThreadSequence" type="IdentifierType"/>
	<xsd:complexType name="MovementType">
		<xsd:sequence>
			<xsd:element ref="FunctionalAmount" minOccurs="0"/>
			<xsd:element ref="SourceAmount" minOccurs="0"/>
			<xsd:element ref="Amount" minOccurs="0"/>
			<xsd:element ref="ReportingCurrencyAmount" minOccurs="0"/>
			<xsd:element ref="AlternativeCurrencyAmount" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="MemoValueType">
		<xsd:sequence>
			<xsd:element ref="MemoType" minOccurs="0"/>
			<xsd:element ref="MemoDebit" minOccurs="0"/>
			<xsd:element ref="MemoCredit" minOccurs="0"/>
			<xsd:element ref="MemoNet" minOccurs="0"/>
			<xsd:element ref="Code" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation> Used to define the measure of this amount. eg. lines,
						pounds, gallons or orders. </xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
		<xsd:attribute name="sequence" type="PositiveIntegerNumericType"/>
	</xsd:complexType>

	<xsd:element name="SourcePostingDate" type="DateType"/>
	<xsd:element name="MemoValue" type="MemoValueType"/>

	<xsd:element name="DebitMovement" type="MovementType"/>
	<xsd:element name="CreditMovement" type="MovementType"/>
	<xsd:element name="NetMovement" type="MovementType"/>

	<xsd:element name="LastJournalSequenceID" type="NormalizedStringType"/>
	<xsd:element name="SourcePeriodID" type="NormalizedStringType"/>

	<xsd:element name="MemoDebit" type="NumericType"/>
	<xsd:element name="MemoCredit" type="NumericType"/>
	<xsd:element name="MemoNet" type="NumericType"/>

	<xsd:element name="AccountingDayNumber" type="PositiveIntegerNumericType"/>
	<xsd:element name="SourceDayNumber" type="PositiveIntegerNumericType"/>

	<xsd:element name="DestinationAccountingEntity" type="IdentifierType"/>
	<xsd:element name="PostingKey" type="StringType">
		<xsd:annotation>
			<xsd:documentation> A string that uniquely identifies the combination of account and
				dimensions to facilitate better update performance. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="GLFullAccount" type="StringType">
		<xsd:annotation>
			<xsd:documentation> This this a segmented account with the Nominal Account and then a
				delimited list of the dimension values. As an example, SX.e uses division,
				department, account, sub-account.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="LineTypeCode" type="CodeType"/>
	<xsd:element name="BaseCurrency" type="CodeType"/>
	<xsd:element name="ReportCurrency" type="CodeType"/>
	<xsd:element name="SecondaryCurrency" type="CodeType"/>
	
	<xsd:element name="WageComponentCode" type="CodeType"/>
	<xsd:element name="ExpenseReportReference" type="DocumentReferenceType"/>
	
	<xsd:complexType name="EntityPartyType">
		<xsd:complexContent>
			<xsd:extension base="SemanticPartyType">
				
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	
	<xsd:complexType name="AccountBalanceType">
		<xsd:sequence>
			<xsd:element ref="BalanceType" minOccurs="0"/>
			<xsd:element ref="DebitCreditFlag" minOccurs="0"/>
			<xsd:element ref="Amount" minOccurs="0"/>
			<xsd:element ref="BalanceDateTime" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	
	<xsd:complexType name="BankAccountType">
		<xsd:complexContent>
			<xsd:extension base="FinancialAccountType">
				<xsd:sequence>
					<xsd:element ref="AccountBalance" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	
	<xsd:complexType name="SummaryType">
		<xsd:sequence>
			<xsd:element ref="NumberOfEntries" minOccurs="0"/>
			<xsd:element ref="TotalAmount" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	
	<xsd:complexType name="TotalSummaryType">
		<xsd:complexContent>
			<xsd:extension base="SummaryType">
				<xsd:sequence>
					<xsd:element ref="DebitCreditFlag" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	
	<xsd:element name="RecepientParty" type="EntityPartyType">						<!--BOD-2321 -->
		<xsd:annotation>
			<xsd:documentation>Indicates the details of the recepient party. Generally this would be an accounting entity</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="AccountOwnerParty" type="EntityPartyType">
		<xsd:annotation>
			<xsd:documentation>Indicates the details of the account owner for which the bank statement is published</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="AccountBalance" type="AccountBalanceType">
		<xsd:annotation>
			<xsd:documentation>Indicates the account balance for the statement account. 
				Typically, opening balance and closing balance as on a date would be specified</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="BalanceDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation>Indicates the date time at which the balance of an account is specified</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="BalanceType" type="CodeType">
		<xsd:annotation>
			<xsd:documentation>Indicates the type of balance on the account. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="BankAccount" type="BankAccountType">
		<xsd:annotation>
			<xsd:documentation>Indicates the details of the bank account for which the bank statement is published</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="CreditSummary" type="SummaryType">
		<xsd:annotation>
			<xsd:documentation>Indicates the total credit entry details for the bank statement</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="DebitSummary" type="SummaryType">
		<xsd:annotation>
			<xsd:documentation>Indicates the total debit entry details of the bank statement</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="TotalSummary" type="TotalSummaryType">
		<xsd:annotation>
			<xsd:documentation>Indicates the summary inforrmation for all the credit and debit entries together</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="BookingDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation>
				Date and time when an entry is posted to an account on the account servicer's books.
				Booking date is the expected booking date, unless the status is booked, in which case it is the
				actual booking date.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="ValueDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation>
				Date and time at which assets become available to the account owner in case of a credit
				entry, or cease to be available to the account owner in case of a debit entry.
				If entry status is pendng and value date is present, then the value date refers to an expected/
				requested value date.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="ReversalIndicator" type="IndicatorType"/>
	
	<xsd:element name="MessageID" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>
				Indicates the external message identifier sent from the transaction initiator
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PaymentInformationID" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>
				Indicates the payment reference that would exist for a payment transaction
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
<!--	<xsd:element name="InstructionID" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>
				Unique identification, as assigned by an instructing party for an instructed party, to unambiguously
				identify the instruction. The instruction identification is a point to point reference that can be used between the instructing
				party and the instructed party to refer to the individual instruction. It can be included in several messages
				related to the instruction.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>  -->
	
<!--	<xsd:element name="TransactionID" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>
				Unique identification, as assigned by the initiating party, to unambiguously identify the transaction.
				This identification is passed on, unchanged, throughout the entire end-to-end chain.
				The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction.
				It can be included in several messages related to the transaction. This is same as EndToEndIdentification in ISO camt.053
				message
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>  -->
	<xsd:element name="MandateID" type="IdentifierType">
		<xsd:annotation>
			<xsd:documentation>
				Unique identification, as assigned by the creditor, to unambiguously identify the mandate
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="NumberOfTransactions" type="PositiveIntegerNumericType"/>
	<xsd:element name="NumberOfEntries" type="PositiveIntegerNumericType">
		<xsd:annotation>
			<xsd:documentation>Indicates the total count of entries for the summary</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="AcceptanceDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation>
				Point in time when the payment order from the initiating party meets the processing conditions
				of the account servicing agent. This means that the account servicing agent has received the payment
				order and has applied checks such as authorisation, availability of funds.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="InterBankSettlementDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation>
				Date on which the amount of money ceases to be available to the agent that owes it and
				when the amount of money becomes available to the agent to which it is due.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	
	<xsd:element name="ReturnReasonCode" type="CodeType"/>
	<xsd:element name="ReturnReason" type="NormalizedStringType"/>
	
</xsd:schema>

