Generated by
CSDiff on 2002/01/03 3:58 PM<?xml version = "1.0" encoding = "ISO-8859-1"?> <!-- Invoice Settlement Total 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 Total Main Section --> <!-- --> <xsd:complexType name = "InvoiceSettlementTotal"> <xsd:sequence> <xsd:element name = "MarketParticipantInformation" type = "MarketParticipantInformationInvoiceSettlementTotal"/> <xsd:element name = "InvoiceInformation"> <xsd:complexType> <xsd:sequence> <xsd:element name = "ServicePeriod" type = "ServicePeriod" minOccurs = "0" maxOccurs = "1"/> (Item #611) <xsd:element name = "InvoiceSummary" type = "InvoiceSummaryInvoiceSettlementTotal"/> <xsd:element name = "AccountCharges" type = "AccountChargesInvoiceSettlementTotal" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name = "BillPurpose" type = "billPurpose" use = "required"/> </xsd:complexType> <!-- --> <!-- Invoice Settlement Total Definitions --> <!-- --> <xsd:complexType name = "AccountChargesInvoiceSettlementTotal"> <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 = "Amount" type = "dollarAmount"/> <xsd:element name = "Taxes" type = "TaxesInvoiceSettlementTotal"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "InvoiceSummaryInvoiceSettlementTotal"> <xsd:sequence> <xsd:element name = "InvoiceDate" type = "date" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "InvoiceNumber" type = "lengthThirty"/> <xsd:element name = "InvoiceDueDate" type = "date"/> <xsd:element name = "TotalCurrentAmountDue" type = "dollarAmount"/> <xsd:element name = "TotalArrears" type = "dollarAmount" minOccurs = "0" maxOccurs = "1"/> (Item #610) <xsd:element name = "TotalAmountDue" type = "dollarAmount" minOccurs = "0" maxOccurs = "1"/> (Item #610) </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "MarketParticipantInformationInvoiceSettlementTotal"> <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"/> <xsd:element name = "BillingCycle" type = "BillingCycle" minOccurs = "0" maxOccurs = "1"/> (Item #611) </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "TaxesInvoiceSettlementTotal"> <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>