<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2014 (x64) (http://www.altova.com) by Group IT (PostNL Groep) -->
<!--

major/ minor versie:	0.8
datum creatie:			16-12-2015
datum akkoord:			
datum productie:		
gemaakt door			NM + PP
doelgroep					Externe verzenders van partijenpost. Het XSD wordt gebruikt in berichten tussen de B2B webservices van mijnpost en de applicaties van externe partijen. PI wordt niet gebruikt. 

  	
     -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:postnl/mail/bulkmailorderconfirmation/1" xmlns:co1="urn:postnl/mail/components/1" xmlns:me1="urn:postnl/mail/meta/1" xmlns:fi1="urn:postnl/mail/fields1" xmlns:ma1="urn:postnl/mail/manufacturingcomponents/1" xmlns:co2="urn:postnl/mail/components/2" targetNamespace="urn:postnl/mail/bulkmailorderconfirmation/1" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:import namespace="urn:postnl/mail/components/1" schemaLocation="../../Common/OAGI/Components/Components1.xsd"/>
	<xsd:import namespace="urn:postnl/mail/components/2" schemaLocation="../../Common/OAGI/Components/Components2.xsd"/>
	<xsd:import namespace="urn:postnl/mail/meta/1" schemaLocation="../../Common/OAGI/Components/Meta1.xsd"/>
	<xsd:import namespace="urn:postnl/mail/fields1" schemaLocation="../../Common/OAGI/Components/Fields1.xsd"/>
	<xsd:import namespace="urn:postnl/mail/manufacturingcomponents/1" schemaLocation="../../Common/OAGI/Components/ManufacturingComponents1.xsd"/>
	<xsd:element name="BulkmailIOrderConfirmation" type="BulkmailIOrderConfirmationType">
		<xsd:annotation>
			<xsd:documentation>BulkmailOrderConfirmation wordt gebruikt om de aanbieder van partijenpost (bulkmail) te informeren over de door PostNL aangemaakte order die ontstaan is vanuit een aanbieding van partijenpost. Dit document kan opgevat worden als een voorlopige factuur (pre-invoice)</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="BulkmailIOrderConfirmationHeader" type="BulkmailIOrderConfirmationHeaderType">
		<xsd:annotation>
			<xsd:documentation>Information that applies to the entire document. The Header supports summary amounts for line items, charges, taxes and allowances.

It also supports itemizing Header level charges, taxes and allowances for use in credit or debit invoices. In this case Line items are not needed. 

The summary amounts in the Header include the Line level amounts and Header level amounts.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="BulkmailIOrderConfirmationLine" type="BulkmailIOrderConfirmationLineType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/oagis/9">In general an Invoice Line can be aligned with Order Lines. The ItemQuantity and Price are used to compute the Total. The Total is a sum of the Total and any Charges, Taxes or Allowances.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="BulkmailIOrderConfirmationType">
		<xsd:sequence>
			<xsd:element ref="BulkmailIOrderConfirmationHeader" minOccurs="0"/>
			<xsd:element ref="BulkmailIOrderConfirmationLine" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="BulkmailIOrderConfirmationHeaderType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/oagis/9">The InvoiceHeader type supports summary amounts for line items, charges and allowances.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="co1:StatusEnabledHeaderType">
				<xsd:sequence>
					<xsd:choice>
						<xsd:element ref="fi1:SalesOrderID" minOccurs="0"/>
						<xsd:element ref="fi1:CorrectionOrderNumber" minOccurs="0"/>
					</xsd:choice>
					<xsd:element ref="fi1:CustomerOrderID" minOccurs="0"/>
					<xsd:element ref="co2:CustomerParty" minOccurs="0"/>
					<xsd:element ref="fi1:ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="fi1:TotalAmount" minOccurs="0"/>
					<xsd:element ref="co1:QualifiedAmount" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:VATQualifiedAmount" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:InvoiceDocumentReference" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="BulkmailIOrderConfirmationLineType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/oagis/9">The InvoiceLine type supports order line invoicing.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="fi1:OrderLineNumber" minOccurs="0"/>
			<xsd:element ref="fi1:CorrectedOrderLineNumber" minOccurs="0"/>
			<xsd:element ref="fi1:CorrectedOrderNumber" minOccurs="0"/>
			<xsd:element ref="fi1:PriceDateTime" minOccurs="0"/>
			<xsd:element ref="fi1:LocationShortName" minOccurs="0"/>
			<xsd:element name="ReceivingAddress" type="co1:AddressType" minOccurs="0"/>
			<xsd:element ref="fi1:ExtendedAmount" minOccurs="0"/>
			<xsd:element ref="fi1:TotalAmount" minOccurs="0"/>
			<xsd:element ref="co1:QualifiedAmount" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="co1:Rate" minOccurs="0"/>
			<xsd:element ref="fi1:ConsignmentID" minOccurs="0"/>
			<xsd:element ref="co1:CommercialItem" minOccurs="0"/>
			<xsd:element ref="fi1:DestinationCountryCode" minOccurs="0"/>
			<xsd:element ref="fi1:DestinationZone" minOccurs="0"/>
			<xsd:element ref="co1:PostagePaymentMethod" minOccurs="0"/>
			<xsd:element ref="fi1:ConsignmentDeliveryDate" minOccurs="0"/>
			<xsd:element ref="co1:ConsignmentDeliveryWeek" minOccurs="0"/>
			<xsd:element ref="co1:ConsignmentContract" minOccurs="0"/>
			<xsd:element ref="co2:CustomerConsignment" minOccurs="0"/>
			<xsd:element ref="co2:ConsignmentPhysicalData" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
