Generated by
CSDiff on 2002/01/03 3:42 PM<?xml version = "1.0" encoding = "ISO-8859-1"?> <!-- Invoice Settlement Detail Schema for Ontario v2.0 2001/08/031 2001/12/21 --> <xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema" xmlns = "http://www.oeb.gov.on.ca/" targetNamespace = "http://www.oeb.gov.on.ca/" elementFormDefault="qualified"> <xsd:include schemaLocation = "SimpleTypes.xsd"/> <xsd:include schemaLocation = "CommonTypes.xsd"/> <!-- --> <!-- Invoice Settlement Detail Main Section --> <!-- --> <xsd:complexType name = "InvoiceSettlementDetail"> <xsd:sequence> <xsd:element name = "MarketParticipantInformation" type = "MarketParticipantInformationInvoiceSettlementDetail"/> <xsd:element name = "ConsumerInformation" type = "ConsumerInformationStandard"/> <xsd:element name = "AccountInformation" type = "AccountInformationInvoiceSettlementDetail"/> <xsd:element name = "InvoiceInformation"> <xsd:complexType> <xsd:sequence> <xsd:element name = "ServicePeriod" type = "ServicePeriod"/> <xsd:element name = "InvoiceSummary" type = "InvoiceSummaryInvoiceSettlementDetail"/> <xsd:element name = "AccountCharges" type= "AccountChargesInvoiceSettlementDetail" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name = "BillPurpose" type = "billPurpose" use = "required"/> <xsd:attribute name = "TransactionCrossReferenceNumber" type = "lengthThirty" use = "required"/> </xsd:complexType> <!-- --> <!-- Invoice Settlement Detail Definitions --> <!-- --> <xsd:complexType name = "AccountChargesInvoiceSettlementDetail"> <xsd:sequence> <xsd:element name = "AccountCharge" minOccurs = "1" maxOccurs = "unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name = "ChargeCategory" type = "chargeCategory"/> <xsd:element name = "ChargeDescription" type = "lengthEighty"/> <xsd:element name = "ChargeQuantity" type = "lengthEleven" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "WAHSP" type = "wahsp" minOccurs = "0" maxOccurs = "1"/> (Item #609) <xsd:element name = "Amount" type = "dollarAmount"/> <xsd:element name = "Taxes" type = "TaxesInvoiceSettlementDetail"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "AccountInformationInvoiceSettlementDetail"> <xsd:sequence> <xsd:element name = "ValidationInformation" type = "ValidationInformationStandard"/> <xsd:element name = "ConsumerAccountNumber" type = "ConsumerAccountNumber" minOccurs = "1" maxOccurs = "2"/> <xsd:element name = "CommodityType" type = "commodityType"/> <xsd:element name = "BillingCycle" type = "BillingCycle" minOccurs = "0" maxOccurs = "1"/> (Item #611) </xsd:sequence> <xsd:attribute name = "BillingMethod" type = "billingMethod" use = "required"/> </xsd:complexType> <!-- --> <xsd:complexType name = "InvoiceSummaryInvoiceSettlementDetail"> <xsd:sequence> <xsd:element name = "InvoiceDate" type = "date" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "InvoiceDueDate" type = "date"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "MarketParticipantInformationInvoiceSettlementDetail"> <xsd:sequence> <xsd:element name = "CompanyName" type ="lengthSixty"/> <xsd:element name = "GSTRegistrationNumber" type ="lengthThirty"/> <xsd:element name = "MarketParticipantAccountNumber" type = "MarketParticipantAccountNumber"/> <xsd:element name = "CommodityType" type = "commodityType" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "BillingCycle" type = "BillingCycle" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "TaxesInvoiceSettlementDetail"> <xsd:sequence> <xsd:element name = "Tax" minOccurs = "1" maxOccurs = "unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name = "TaxDescription" type = "lengthEighty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Amount" type = "dollarAmount"/> </xsd:sequence> <xsd:attribute name = "TaxType" type = "taxType" use = "required"/> <xsd:attribute name = "TaxExemptStatus" type = "yesNo" use = "required"/> <xsd:attribute name = "TaxExemptNumber" type = "lengthThirty" use = "optional"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:schema>