Generated by
CSDiff on 2002/01/03 3:41 PM<?xml version = "1.0" encoding = "ISO-8859-1"?> <!-- Invoice Market Participant 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/" (Item #570) targetNamespace = "http://www.oeb.gov.on.ca/" (Item #570) elementFormDefault="qualified"> <xsd:include schemaLocation = "SimpleTypes.xsd"/> <xsd:include schemaLocation = "CommonTypes.xsd"/> <!-- --> <!-- Invoice Market Participant Main Section --> <!-- --> <xsd:complexType name = "InvoiceMarketParticipant"> <xsd:sequence> <xsd:element name = "MarketParticipantInformation" type = "MarketParticipantInformationInvoiceMarketParticipant"/> <xsd:element name = "InvoiceInformation"> <xsd:complexType> <xsd:sequence> <xsd:element name = "ServicePeriod" type = "ServicePeriod"/> <xsd:element name = "InvoiceSummary" type = "InvoiceSummaryInvoiceMarketParticipant"/> <xsd:element name = "AccountCharges" type = "AccountChargesInvoiceMarketParticipant" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name = "BillPurpose" type = "billPurpose" use = "required"/> </xsd:complexType> <!-- --> <!-- Invoice Market Participant Definitions --> <!-- --> <xsd:complexType name = "AccountChargesInvoiceMarketParticipant"> <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" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ChargeQuantity" type = "lengthEleven"/> <xsd:element name = "Amount" type = "dollarAmount"/> <xsd:element name = "Taxes" type = "TaxesInvoiceMarketParticipant"minOccurs = "0" maxOccurs = "1"/> (Item #579) <xsd:element name = "MessageInformation" type = "MessageInformation" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "InvoiceSummaryInvoiceMarketParticipant"> <xsd:sequence> <xsd:element name = "InvoiceDate" type = "date"/> <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 #641) <xsd:element name = "TotalAmountDue" type = "dollarAmount" minOccurs = "0" maxOccurs = "1"/> (Item #641) </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "MarketParticipantInformationInvoiceMarketParticipant"> <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"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "MessageInformation"> <xsd:sequence> <xsd:element name = "Message" type ="lengthEighty" minOccurs = "1" maxOccurs = "unbounded"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "TaxesInvoiceMarketParticipant"> <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>