<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="OS_OpretFaktura" targetNamespace="http://kmd.dk/dkd/ext/opretfaktura" xmlns:p2="urn:kmd.dk:dkd:erp:opretfaktura" xmlns:p1="http://kmd.dk/dkd/ext/opretfaktura" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
	<wsdl:documentation/>
	<wsp:UsingPolicy wsdl:required="true"/>
	<wsp:Policy wsu:Id="OP_OS_OpretFaktura"/>
	<wsdl:types>
		<xsd:schema targetNamespace="urn:kmd.dk:dkd:erp:opretfaktura" xmlns="urn:kmd.dk:dkd:erp:opretfaktura" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element name="OpretFaktura_Response" type="T_Modtag_Krav_MT"/>
			<xsd:element name="OpretFaktura_Request" type="Modtag_Krav_DT"/>
			<xsd:simpleType name="LeveranceIdentifikation_DT">
				<xsd:annotation>
					<xsd:documentation xml:lang="EN">LeveranceIdentifikation</xsd:documentation>
				</xsd:annotation>
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="35"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Cpr_DT">
				<xsd:restriction base="xsd:integer">
					<xsd:totalDigits value="10"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="candkod_DT">
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="4"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Valuta_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:maxLength value="3"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_PartnerTypeS_DT">
				<xsd:restriction base="xsd:string">
					<xsd:minLength value="1"/>
					<xsd:maxLength value="6"/>
					<xsd:enumeration value="ZCPR"/>
					<xsd:enumeration value="ZCVR"/>
					<xsd:enumeration value="ZEPNR"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Beloeb12_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="12"/>
					<xsd:pattern value="(\d|\d\d|\d\d\d|\d\d\d\d|\d\d\d\d\d|\d\d\d\d\d\d|\d\d\d\d\d\d\d|\d\d\d\d\d\d\d\d|\d\d\d\d\d\d\d\d\d|\d\d\d\d\d\d\d\d\d\d|\d\d\d\d\d\d\d\d\d\d\d)[+|-]"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_ID25_DT">
				<xsd:restriction base="xsd:integer">
					<xsd:totalDigits value="25"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="handtxt_DT">
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="100"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_PartnerType_DT">
				<xsd:restriction base="xsd:string">
					<xsd:minLength value="1"/>
					<xsd:maxLength value="6"/>
					<xsd:enumeration value="ZCPR"/>
					<xsd:enumeration value="ZCVR"/>
					<xsd:enumeration value="ZP"/>
					<xsd:enumeration value="ZADM"/>
					<xsd:enumeration value="ZALT"/>
					<xsd:enumeration value="ZEPNR"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_AftIndHoldType_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="4"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Slet_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="1"/>
					<xsd:pattern value="[x|X]"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_ModtKode_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="2"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Paragraf_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="6"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_OrgEnhed_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="8"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_EanNummer_DT">
				<xsd:restriction base="xsd:integer">
					<xsd:totalDigits value="13"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Trans_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="4"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Dato_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:maxLength value="8"/>
					<xsd:minLength value="8"/>
					<xsd:pattern value="([1-9]\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01]))"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_enhed">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="3"/>
					<xsd:enumeration value="STK"/>
					<xsd:enumeration value="ENH"/>
					<xsd:enumeration value="G"/>
					<xsd:enumeration value="KG"/>
					<xsd:enumeration value="L"/>
					<xsd:enumeration value="M"/>
					<xsd:enumeration value="TON"/>
					<xsd:enumeration value="M3"/>
					<xsd:enumeration value="M2"/>
					<xsd:enumeration value="KM"/>
					<xsd:enumeration value="TIM"/>
					<xsd:enumeration value="DAG"/>
					<xsd:enumeration value="MIN"/>
					<xsd:enumeration value="S"/>
					<xsd:enumeration value="KWH"/>
					<xsd:enumeration value="KJ"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Bruger_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="4"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_Modt_DT">
				<xsd:restriction base="xsd:integer">
					<xsd:totalDigits value="14"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:simpleType name="Z_AftIndHold_DT">
				<xsd:restriction base="xsd:string">
					<xsd:whiteSpace value="preserve"/>
					<xsd:minLength value="0"/>
					<xsd:maxLength value="25"/>
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:complexType name="Modtag_Krav_AendrLinjeHaeftelse_Medhaefter_DT">
				<xsd:sequence>
					<xsd:element name="MedhaefterType" type="Z_PartnerTypeS_DT"/>
					<xsd:element name="Medhaefter" type="Z_Cpr_DT"/>
					<xsd:element name="MedhaefterSlet" type="Z_Slet_DT" minOccurs="0"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_Fakturalinje_Medhaefter_DT">
				<xsd:sequence>
					<xsd:element name="MedhaefterType" type="Z_PartnerTypeS_DT"/>
					<xsd:element name="Medhaefter" type="Z_Cpr_DT"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Z_Modtag_Krav_Header_DT">
				<xsd:sequence>
					<xsd:element name="Tidsstempel">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="1"/>
								<xsd:maxLength value="19"/>
								<xsd:pattern value="([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]).\d{2}:\d{2}:\d{2})"/>
								<xsd:pattern value=""/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Bruger">
						<xsd:simpleType>
							<xsd:restriction base="Z_Bruger_DT">
								<xsd:maxLength value="3"/>
								<xsd:minLength value="1"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="LeveranceIdentifikation">
						<xsd:simpleType>
							<xsd:restriction base="LeveranceIdentifikation_DT">
								<xsd:minLength value="1"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Versionsnummer">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="3"/>
								<xsd:pattern value="1.[1-2]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_AendrLinjeHaeftelse_DT">
				<xsd:sequence>
					<xsd:element name="LinjeEkstID">
						<xsd:simpleType>
							<xsd:restriction base="xsd:integer">
								<xsd:totalDigits value="10"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Medhaefter" type="Modtag_Krav_AendrLinjeHaeftelse_Medhaefter_DT" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element name="LinjeHaeftelseSlet" type="Z_Slet_DT" minOccurs="0"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_Fakturalinje_DT">
				<xsd:sequence>
					<xsd:element name="Antal" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:integer">
								<xsd:minInclusive value="1"/>
								<xsd:maxInclusive value="9999999999"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Enhed" type="Z_enhed" minOccurs="0"/>
					<xsd:element name="EnhedsPris" type="Z_Beloeb12_DT" minOccurs="0"/>
					<xsd:element name="Beloeb" type="Z_Beloeb12_DT"/>
					<xsd:element name="InklMoms" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[xX]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MomsKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="0"/>
								<xsd:maxLength value="2"/>
								<xsd:enumeration value="P0"/>
								<xsd:enumeration value="P1"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Skattebeloeb" type="Z_Beloeb12_DT" minOccurs="0"/>
					<xsd:element name="Stiftelsesdato" type="Z_Dato_DT" minOccurs="0"/>
					<xsd:element name="LinjePeriodeFra" type="Z_Dato_DT"/>
					<xsd:element name="LinjePeriodeTil" type="Z_Dato_DT"/>
					<xsd:element name="LinjeTekst" minOccurs="0" maxOccurs="unbounded">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="60"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="FritagRente" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[xX]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="LinjeEkstID" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="0"/>
								<xsd:maxLength value="10"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="HovedTrans" type="Z_Trans_DT"/>
					<xsd:element name="DelTrans" type="Z_Trans_DT"/>
					<xsd:element name="Aendringsaarsagskode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="candkod_DT">
								<xsd:enumeration value="INDB"/>
								<xsd:enumeration value="FEJL"/>
								<xsd:enumeration value="HAFO"/>
								<xsd:enumeration value="SOPH"/>
								<xsd:enumeration value="GLDS"/>
								<xsd:enumeration value="AKRD"/>
								<xsd:enumeration value="ANDN"/>
								<xsd:enumeration value="REGU"/>
								<xsd:enumeration value="FEJL"/>
								<xsd:enumeration value="TIND"/>
								<xsd:enumeration value="ANDN"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Aendringsaarsagstekst" type="handtxt_DT" minOccurs="0"/>
					<xsd:element name="Valoerdato" type="Z_Dato_DT" minOccurs="0"/>
					<xsd:element name="Posteringstekst" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="35"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BetalingsModtKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="Z_ModtKode_DT">
								<xsd:pattern value="(0[1-8])|(1[0-2])"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BetalingsModt" type="Z_Modt_DT" minOccurs="0"/>
					<xsd:element name="YdelsesModtKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="Z_ModtKode_DT">
								<xsd:pattern value="(0[1-8])|(1[0-2])"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="YdelsesModt" type="Z_Modt_DT" minOccurs="0"/>
					<xsd:element name="OplysPligtModtKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="Z_ModtKode_DT">
								<xsd:pattern value="(0[1-8])|(1[0-2])"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="OplysPligtModt" type="Z_Modt_DT" minOccurs="0"/>
					<xsd:element name="PostUdtKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:maxLength value="5"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="FirmaKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:integer">
								<xsd:totalDigits value="4"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="KontoKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="10"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="KontoNummer" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="35"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="FordringType" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="7"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Inddrivelsestekst" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="100"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Medhaefter" type="Modtag_Krav_Fakturalinje_Medhaefter_DT" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element name="RateID" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="36"/>
								<xsd:minLength value="36"/>
								<xsd:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="ReferenceRateID" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="36"/>
								<xsd:maxLength value="36"/>
								<xsd:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Forfaldsdato" type="Z_Dato_DT" minOccurs="0"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Z_Modtag_Krav_Trailer_DT">
				<xsd:sequence>
					<xsd:element name="TotalAntal">
						<xsd:simpleType>
							<xsd:restriction base="xsd:integer">
								<xsd:minInclusive value="1"/>
								<xsd:maxInclusive value="9999999"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="TotalBeloeb">
						<xsd:simpleType>
							<xsd:restriction base="Z_Beloeb12_DT"/>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Valuta">
						<xsd:simpleType>
							<xsd:restriction base="Z_Valuta_DT">
								<xsd:pattern value="[d|D][k|K][k|K]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_Ejerskifte_DT">
				<xsd:sequence>
					<xsd:element name="EjerType" type="Z_PartnerTypeS_DT"/>
					<xsd:element name="EjerID" type="Z_ID25_DT"/>
					<xsd:element name="EjerskifteDato" type="Z_Dato_DT"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_AftaleHaeftelse_DT">
				<xsd:sequence>
					<xsd:element name="MedhaefterType" type="Z_PartnerTypeS_DT"/>
					<xsd:element name="Medhaefter" type="Z_Cpr_DT"/>
					<xsd:element name="MedhaefterSlet" type="Z_Slet_DT" minOccurs="0"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_Aftaleindhold_DT">
				<xsd:sequence>
					<xsd:element name="AftaleindholdType">
						<xsd:simpleType>
							<xsd:restriction base="Z_AftIndHoldType_DT">
								<xsd:minLength value="1"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Aftaleindhold">
						<xsd:simpleType>
							<xsd:restriction base="Z_AftIndHold_DT">
								<xsd:minLength value="1"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="ForPartnerType" type="Z_PartnerTypeS_DT"/>
					<xsd:element name="ForPartner" type="Z_ID25_DT"/>
					<xsd:element name="LigePartnerType" type="Z_PartnerTypeS_DT" minOccurs="0"/>
					<xsd:element name="LigePartner" type="Z_Cpr_DT" minOccurs="0"/>
					<xsd:element name="LigePartnerSlet" type="Z_Slet_DT" minOccurs="0"/>
					<xsd:element name="BetalingsSpec" minOccurs="0" maxOccurs="3">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="0"/>
								<xsd:maxLength value="60"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BetalingsSpecSlet" type="Z_Slet_DT" minOccurs="0"/>
					<xsd:element name="UdbetalParagraf" type="Z_Paragraf_DT" minOccurs="0"/>
					<xsd:element name="TilbagebetalParagraf" type="Z_Paragraf_DT" minOccurs="0"/>
					<xsd:element name="StopMarkering" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[sSeE ]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="AftaleHaeftelseSlet" type="Z_Slet_DT" minOccurs="0"/>
					<xsd:element name="AftaleHaeftelse" type="Modtag_Krav_AftaleHaeftelse_DT" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element name="EanOplysning" type="Modtag_Krav_EanOplysning_DT" minOccurs="0"/>
					<xsd:element name="MatModt" type="Modtag_Krav_Materialemodtager_DT" minOccurs="0"/>
					<xsd:element name="Ejerskifte" type="Modtag_Krav_Ejerskifte_DT" minOccurs="0"/>
					<xsd:element name="AendrLinjeHaeftelse" type="Modtag_Krav_AendrLinjeHaeftelse_DT" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:choice minOccurs="0">
						<xsd:element name="Fakturagruppe" type="Modtag_Krav_Fakturagruppe_DT" minOccurs="0"/>
						<xsd:element name="Nedregulering" minOccurs="0" maxOccurs="unbounded">
							<xsd:complexType>
								<xsd:sequence>
									<xsd:element name="RateID">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:maxLength value="36"/>
												<xsd:minLength value="36"/>
												<xsd:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:element>
									<xsd:element name="ReferenceRateID">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:minLength value="36"/>
												<xsd:maxLength value="36"/>
												<xsd:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:element>
									<xsd:element name="KreditNota" minOccurs="0">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:whiteSpace value="preserve"/>
												<xsd:minLength value="0"/>
												<xsd:maxLength value="1"/>
												<xsd:pattern value="[xX]"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:element>
									<xsd:element name="Antal" minOccurs="0">
										<xsd:simpleType>
											<xsd:restriction base="xsd:integer">
												<xsd:minInclusive value="1"/>
												<xsd:maxInclusive value="9999999999"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:element>
									<xsd:element name="Enhed" type="Z_enhed" minOccurs="0"/>
									<xsd:element name="EnhedsPris" type="Z_Beloeb12_DT" minOccurs="0"/>
									<xsd:element name="Beloeb" type="Z_Beloeb12_DT"/>
									<xsd:element name="LinjeTekst" minOccurs="0" maxOccurs="unbounded">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:whiteSpace value="preserve"/>
												<xsd:minLength value="0"/>
												<xsd:maxLength value="60"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:element>
								</xsd:sequence>
							</xsd:complexType>
						</xsd:element>
					</xsd:choice>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="T_Modtag_Krav_MT">
				<xsd:sequence>
					<xsd:element name="StatusKode" type="xsd:integer"/>
					<xsd:element name="StatusTekst" type="xsd:string"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_Materialemodtager_DT">
				<xsd:sequence>
					<xsd:element name="MatModtType" type="Z_PartnerType_DT"/>
					<xsd:element name="MatModtID" type="Z_ID25_DT" minOccurs="0"/>
					<xsd:element name="MatModtSlet" type="Z_Slet_DT" minOccurs="0"/>
					<xsd:element name="MatModtAnv" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[FBR]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtNavn" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="40"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtCO" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="40"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtVej" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="60"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtHusNr" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="10"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtLejl" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="10"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtBy" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="40"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtPostNr" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:integer">
								<xsd:totalDigits value="10"/>
								<xsd:minInclusive value="1"/>
								<xsd:maxInclusive value="9999999999"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtPostDist" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="40"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="MatModtLand" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="2"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_Fakturagruppe_DT">
				<xsd:sequence>
					<xsd:element name="Forfaldsdato" type="Z_Dato_DT"/>
					<xsd:element name="FaktTekst" minOccurs="0" maxOccurs="unbounded">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="60"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="FaktureringsType" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[iI ]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="KreditNota" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[xX]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BetalingsRef" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="30"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="FakturaNr" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="35"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="OrdreNr" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="35"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BetalingsTermin" type="Z_Dato_DT" minOccurs="0"/>
					<xsd:element name="OrgEnhed" type="Z_OrgEnhed_DT" minOccurs="0"/>
					<xsd:element name="BilagsRef" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="60"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Bogfoeringsdato" type="Z_Dato_DT"/>
					<xsd:element name="Bilagsdato" type="Z_Dato_DT" minOccurs="0"/>
					<xsd:element name="MomsBeregning" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
								<xsd:pattern value="[xX]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="PersonRefNavn" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="35"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="PersonRefId" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="17"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="KontoKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="10"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="KontoNummer" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:whiteSpace value="preserve"/>
								<xsd:minLength value="0"/>
								<xsd:maxLength value="35"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="SikkerhedsKode" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:minLength value="0"/>
								<xsd:maxLength value="1"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BSKreditorNummer" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="8"/>
								<xsd:pattern value="[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BSDebGrNummer" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="5"/>
								<xsd:pattern value="[0-9][0-9][0-9][0-9][0-9]"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="BSKundeNummer" minOccurs="0">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="15"/>
								<xsd:pattern value="(([0-9]|[a-z])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-Ww]|[yY-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ])([0-9]|[aA-zZ]))"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:element>
					<xsd:element name="Fakturalinje" type="Modtag_Krav_Fakturalinje_DT" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_DT">
				<xsd:sequence>
					<xsd:element name="Header" type="Z_Modtag_Krav_Header_DT"/>
					<xsd:element name="Aftaleindhold">
						<xsd:complexType>
							<xsd:complexContent>
								<xsd:extension base="Modtag_Krav_Aftaleindhold_DT"/>
							</xsd:complexContent>
						</xsd:complexType>
					</xsd:element>
					<xsd:element name="Trailer" type="Z_Modtag_Krav_Trailer_DT"/>
				</xsd:sequence>
			</xsd:complexType>
			<xsd:complexType name="Modtag_Krav_EanOplysning_DT">
				<xsd:sequence>
					<xsd:element name="EanNummer" type="Z_EanNummer_DT"/>
					<xsd:element name="EanSlet" type="Z_Slet_DT" minOccurs="0"/>
				</xsd:sequence>
			</xsd:complexType>
		</xsd:schema>
	</wsdl:types>
	<wsdl:message name="p2.OpretFaktura_Request">
		<wsdl:documentation/>
		<wsdl:part name="OpretFaktura_Request" element="p2:OpretFaktura_Request"/>
	</wsdl:message>
	<wsdl:message name="p2.OpretFaktura_Response">
		<wsdl:documentation/>
		<wsdl:part name="OpretFaktura_Response" element="p2:OpretFaktura_Response"/>
	</wsdl:message>
	<wsdl:portType name="OS_OpretFaktura">
		<wsdl:documentation/>
		<wsdl:operation name="OS_OpretFaktura">
			<wsdl:documentation/>
			<wsp:Policy>
				<wsp:PolicyReference URI="#OP_OS_OpretFaktura"/>
			</wsp:Policy>
			<wsdl:input message="p1:p2.OpretFaktura_Request"/>
			<wsdl:output message="p1:p2.OpretFaktura_Response"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="OS_OpretFakturaBinding" type="p1:OS_OpretFaktura">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
		<wsdl:operation name="OS_OpretFaktura">
			<soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
			<wsdl:input>
				<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="OS_OpretFakturaService">
		<wsdl:port name="HTTPS_Port" binding="p1:OS_OpretFakturaBinding">
			<soap:address location="located_in_documentation" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>
