<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions 	xmlns:easybill="http://www.easybill.de/webservice/"
					xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
					xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
					xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
					xmlns:customer="http://www.easybill.de/webservice/customer/"
					xmlns:companyposition="http://www.easybill.de/webservice/companyposition/"
					xmlns:document="http://www.easybill.de/webservice/document/"
					name="easybill" 
					targetNamespace="http://www.easybill.de/webservice/">
									
	<wsdl:types>
	
		<xsd:schema targetNamespace="http://www.easybill.de/webservice/">
		
			<xsd:import 	namespace="http://www.easybill.de/webservice/customer/"
							schemaLocation="https://soap.easybill.de/wsdl/soap.customer.xsd" />
							
			<xsd:import 	namespace="http://www.easybill.de/webservice/companyposition/"
							schemaLocation="https://soap.easybill.de/wsdl/soap.companyposition.xsd" />
							
			<xsd:import 	namespace="http://www.easybill.de/webservice/document/"
							schemaLocation="https://soap.easybill.de/wsdl/soap.document.xsd" />
							
	      	<xsd:simpleType name="AuthKeyType">
				<xsd:restriction base="xsd:string">
					<xsd:minLength value="64" />
					<xsd:maxLength value="64" />
				</xsd:restriction>
			</xsd:simpleType>
			
			<xsd:complexType name="EasybillFaultType">
				<xsd:sequence>
					<xsd:element name="code" type="xsd:integer" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="IllegalAccessFaultType">
				<xsd:sequence>
					<xsd:element name="authkey" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="DataNotValidFaultType">
				<xsd:sequence>
					<xsd:element name="datafield" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:element name="EasybillFault" type="easybill:EasybillFaultType"/>
			<xsd:element name="IllegalAccessFault" type="easybill:IllegalAccessFaultType"/>
			<xsd:element name="DataNotValidFault" type="easybill:DataNotValidFaultType" />
			<xsd:element name="UserAuthKey" type="easybill:AuthKeyType" />
			 
		</xsd:schema>
	    
		
	</wsdl:types>
	  
	<wsdl:message name="UserAuthKeyMessage">
		<wsdl:part element="easybill:UserAuthKey" name="HeaderAuthKey" />	
	</wsdl:message>
	

	<!-- customer -->
	<wsdl:message name="GetCustomerRequest">
		<wsdl:part element="customer:GetCustomerRequest" name="customerID" />
	</wsdl:message>
	<wsdl:message name="GetCustomerResponse">
		<wsdl:part element="customer:GetCustomerResponse" name="customer" />
	</wsdl:message>
	
	<wsdl:message name="GetCustomerByCustomerNumberRequest">
		<wsdl:part element="customer:GetCustomerByCustomerNumberRequest" name="customerNumber" />
	</wsdl:message>
	<wsdl:message name="GetCustomerByCustomerNumberResponse">
		<wsdl:part element="customer:GetCustomerByCustomerNumberResponse" name="customer" />
	</wsdl:message>
	
	<wsdl:message name="SetCustomerRequest">
		<wsdl:part element="customer:SetCustomerRequest" name="customer" />
	</wsdl:message>
	<wsdl:message name="SetCustomerResponse">
		<wsdl:part element="customer:SetCustomerResponse" name="customer" />
	</wsdl:message>
	
	<wsdl:message name="SearchCustomersRequest">
		<wsdl:part element="customer:SearchCustomersRequest" name="searchInfo" />
	</wsdl:message>
	<wsdl:message name="SearchCustomersResponse">
		<wsdl:part element="customer:SearchCustomersResponse" name="customers" />
	</wsdl:message>
	
	<!-- customer group -->
	<wsdl:message name="GetCustomerGroupRequest">
		<wsdl:part element="customer:GetCustomerGroupRequest" name="customergroupid" />
	</wsdl:message>
	<wsdl:message name="GetCustomerGroupResponse">
		<wsdl:part element="customer:GetCustomerGroupResponse" name="customergroup" />
	</wsdl:message>
	<wsdl:message name="SetCustomerGroupRequest">
		<wsdl:part element="customer:SetCustomerGroupRequest" name="customergroup" />
	</wsdl:message>
	<wsdl:message name="SetCustomerGroupResponse">
		<wsdl:part element="customer:SetCustomerGroupResponse" name="customergroup" />
	</wsdl:message>
	<wsdl:message name="getAllCustomerGroups">
		<wsdl:part element="customer:getAllCustomerGroupsPHPBugfix" name="nothing" />
	</wsdl:message>
	<wsdl:message name="GetAllCustomerGroupsResponse">
		<wsdl:part element="customer:AllCustomerGroupsResponse" name="customergroups" />
	</wsdl:message>
	
	<!-- company position -->
	<wsdl:message name="GetCompanyPositionRequest">
		<wsdl:part element="companyposition:GetCompanyPositionRequest" name="companypositionId" />
	</wsdl:message>
	<wsdl:message name="GetCompanyPositionResponse">
		<wsdl:part element="companyposition:GetCompanyPositionResponse" name="companyposition" />
	</wsdl:message>
	
	<wsdl:message name="SetCompanyPositionRequest">
		<wsdl:part element="companyposition:SetCompanyPositionRequest" name="companyposition" />
	</wsdl:message>
	<wsdl:message name="SetCompanyPositionResponse">
		<wsdl:part element="companyposition:SetCompanyPositionResponse" name="companyposition" />
	</wsdl:message>
	
	<wsdl:message name="SearchCompanyPositionsRequest">
		<wsdl:part element="companyposition:SearchCompanyPositionsRequest" name="searchInfo" />
	</wsdl:message>
	<wsdl:message name="SearchCompanyPositionsResponse">
		<wsdl:part element="companyposition:SearchCompanyPositionsResponse" name="companyposition" />
	</wsdl:message>
	
	<!-- company position groups -->
	<wsdl:message name="GetCompanyPositionGroupRequest">
		<wsdl:part element="companyposition:GetCompanyPositionGroupRequest" name="companypositiongroupid" />
	</wsdl:message>
	<wsdl:message name="GetCompanyPositionGroupResponse">
		<wsdl:part element="companyposition:GetCompanyPositionGroupResponse" name="companypositiongroup" />
	</wsdl:message>
	<wsdl:message name="SetCompanyPositionGroupRequest">
		<wsdl:part element="companyposition:SetCompanyPositionGroupRequest" name="companypositiongroup" />
	</wsdl:message>
	<wsdl:message name="SetCompanyPositionGroupResponse">
		<wsdl:part element="companyposition:SetCompanyPositionGroupResponse" name="companypositiongroup" />
	</wsdl:message>
	<wsdl:message name="GetAllCompanyPositionGroupsRequest">
		<wsdl:part element="companyposition:AllCompanyPositionGroupsRequestPHPBugfix" name="nothing" />
	</wsdl:message>
	<wsdl:message name="GetAllCompanyPositionGroupsResponse">
		<wsdl:part element="companyposition:AllCompanyPositionGroupsResponse" name="companypositiongroups" />
	</wsdl:message>
	
	<!--  document -->
	<wsdl:message name="CreateDocumentRequestMessage">
		<wsdl:part element="document:CreateDocumentRequest" name="documentdetails" />
	</wsdl:message>
	<wsdl:message name="CreateDocumentResponseMessage">
		<wsdl:part element="document:CreateDocumentResponse" name="document" />
	</wsdl:message>

	<wsdl:message name="GetDocumentsByCustomerRequestMessage">
		<wsdl:part element="document:GetDocumentsByCustomerRequest" name="customer" />
	</wsdl:message>
	<wsdl:message name="GetDocumentsByCustomerResponseMessage">
		<wsdl:part element="document:GetDocumentsByCustomerResponse" name="documents" />
	</wsdl:message>

	<wsdl:message name="GetDocumentRequestMessage">
		<wsdl:part element="document:GetDocumentRequest" name="documentid" />
	</wsdl:message>
	<wsdl:message name="GetDocumentResponseMessage">
		<wsdl:part element="document:GetDocumentResponse" name="document" />
	</wsdl:message>
	
	<wsdl:message name="SetDocumentAddPaymentRequestMessage">
		<wsdl:part element="document:SetDocumentAddPaymentRequest" name="payment" />
	</wsdl:message>
	<wsdl:message name="SetDocumentAddPaymentResponseMessage">
		<wsdl:part element="document:SetDocumentAddPaymentResponse" name="result" />
	</wsdl:message>

	<!-- Faults -->
	<wsdl:message name="EasybillFaultMessage">
		<wsdl:part element="easybill:EasybillFault" name="parameters" />
	</wsdl:message>
	<wsdl:message name="IllegalAccessFaultMessage">
		<wsdl:part element="easybill:IllegalAccessFault" name="parameters" />
	</wsdl:message>
	<wsdl:message name="DataNotValidFaultMessage">
		<wsdl:part element="easybill:DataNotValidFault" name="parameters" />
	</wsdl:message>
	
	<!-- fault messages customer -->
	<wsdl:message name="CustomerNotFoundFaultMessage">
		<wsdl:part element="customer:CustomerNotFoundFault" name="parameters" />
	</wsdl:message>
	<wsdl:message name="CustomerGroupNotFoundFaultMessage">
		<wsdl:part element="customer:CustomerGroupNotFoundFault" name="parameters" />
	</wsdl:message>
	
	<!-- fault messages company position -->
	<wsdl:message name="CompanyPositionNotFoundFaultMessage">
		<wsdl:part element="companyposition:CompanyPositionNotFoundFault" name="parameters" />
	</wsdl:message>
	<wsdl:message name="CompanyPositionGroupNotFoundFaultMessage">
		<wsdl:part element="companyposition:CompanyPositionGroupNotFoundFault" name="parameters" />
	</wsdl:message>

	<!-- fault messages document -->
	<wsdl:message name="DocumentNotFoundFaultMessage">
		<wsdl:part element="document:DocumentNotFoundFault" name="parameters" />
	</wsdl:message>
	
	
	<wsdl:portType name="easybillPortType">
		<wsdl:operation name="getCustomer">
			<wsdl:documentation>Gibt den Kunden mit der ID zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetCustomerRequest" />
			<wsdl:output message="easybill:GetCustomerResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CustomerNotFoundFault" message="easybill:CustomerNotFoundFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="getCustomerByCustomerNumber">
			<wsdl:documentation>Gibt den Kunden mit der Kundennummer zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetCustomerByCustomerNumberRequest" />
			<wsdl:output message="easybill:GetCustomerByCustomerNumberResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CustomerNotFoundFault" message="easybill:CustomerNotFoundFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="setCustomer">
			<wsdl:documentation>Anlegen oder Bearbeiten eines Kunden.
			Anlegen geschieht automatisch, falls die CustomerID null ist.</wsdl:documentation>
			<wsdl:input message="easybill:SetCustomerRequest" />
			<wsdl:output message="easybill:SetCustomerResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CustomerNotFoundFault" message="easybill:CustomerNotFoundFaultMessage" />
			<wsdl:fault name="DataNotValidFault" message="easybill:DataNotValidFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="searchCustomers">
			<wsdl:documentation>Suche alle Kunden, eingeschränkt auf den Suchstring</wsdl:documentation>
			<wsdl:input message="easybill:SearchCustomersRequest" />
			<wsdl:output message="easybill:SearchCustomersResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>
		
		
		<wsdl:operation name="getCustomerGroup">
			<wsdl:documentation>Gibt eine Kundengruppe zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetCustomerGroupRequest" />
			<wsdl:output message="easybill:GetCustomerGroupResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CustomerGroupNotFoundFault" message="easybill:CustomerGroupNotFoundFaultMessage" />
		</wsdl:operation>
		<wsdl:operation name="setCustomerGroup">
			<wsdl:documentation>Erstellt oder bearbeitet einen Kundengruppe.
			Erstellen geschieht automatisch, falls customergroupid null ist.</wsdl:documentation>
			<wsdl:input message="easybill:SetCustomerGroupRequest" />
			<wsdl:output message="easybill:SetCustomerGroupResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="DataNotValidFault" message="easybill:DataNotValidFaultMessage" />
		</wsdl:operation>
		<wsdl:operation name="getAllCustomerGroups">
			<wsdl:documentation>Gibt alle gespeicherten Kundengruppen zurück</wsdl:documentation>
			<wsdl:input message="easybill:getAllCustomerGroups" /> 
			<wsdl:output message="easybill:GetAllCustomerGroupsResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>
		
		
		<wsdl:operation name="getCompanyPosition">
			<wsdl:documentation>Gibt den Rechnungsposten zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetCompanyPositionRequest" />
			<wsdl:output message="easybill:GetCompanyPositionResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CompanyPositionNotFoundFault" message="easybill:CompanyPositionNotFoundFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="setCompanyPosition">
			<wsdl:documentation>Erstellt oder bearbeitet Rechnungsposten.
			Erstellen geschieht automatisch, falls companypositionid null ist.</wsdl:documentation>
			<wsdl:input message="easybill:SetCompanyPositionRequest" />
			<wsdl:output message="easybill:SetCompanyPositionResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CompanyPositionNotFoundFault" message="easybill:CompanyPositionNotFoundFaultMessage" />
			<wsdl:fault name="DataNotValidFault" message="easybill:DataNotValidFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="searchCompanyPositions">
			<wsdl:documentation>Suche eine bestimmte Menge von Rechnungsposten</wsdl:documentation>
			<wsdl:input message="easybill:SearchCompanyPositionsRequest" />
			<wsdl:output message="easybill:SearchCompanyPositionsResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>
		
		
		<wsdl:operation name="getCompanyPositionGroup">
			<wsdl:documentation>Gibt die bestimmte Rechnungspostengruppe zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetCompanyPositionGroupRequest" />
			<wsdl:output message="easybill:GetCompanyPositionGroupResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="CompanyPositionGroupNotFoundFault" message="easybill:CompanyPositionGroupNotFoundFaultMessage" />
		</wsdl:operation>
		<wsdl:operation name="setCompanyPositionGroup">
			<wsdl:documentation>Erstellt oder bearbeitet einen Rechnungspostengruppe.
			Erstellen geschieht automatisch, falls companypositiongroupid null ist.</wsdl:documentation>
			<wsdl:input message="easybill:SetCompanyPositionGroupRequest" />
			<wsdl:output message="easybill:SetCompanyPositionGroupResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
			<wsdl:fault name="DataNotValidFault" message="easybill:DataNotValidFaultMessage" />
		</wsdl:operation>
		<wsdl:operation name="getAllCompanyPositionGroups">
			<wsdl:documentation>Gibt alle Rechnungspostengruppen zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetAllCompanyPositionGroupsRequest" /> 
			<wsdl:output message="easybill:GetAllCompanyPositionGroupsResponse" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="createDocument">
			<wsdl:documentation>Erstellt ein Dokument</wsdl:documentation>
			<wsdl:input message="easybill:CreateDocumentRequestMessage" /> 
			<wsdl:output message="easybill:CreateDocumentResponseMessage" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>
		
		<wsdl:operation name="getDocumentsByCustomer">
			<wsdl:documentation>Gibt alle Dokumente eines Kunden zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetDocumentsByCustomerRequestMessage" /> 
			<wsdl:output message="easybill:GetDocumentsByCustomerResponseMessage" />
			<wsdl:fault name="CustomerNotFoundFault" message="easybill:CustomerNotFoundFaultMessage" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>

		<wsdl:operation name="getDocument">
			<wsdl:documentation>Gibt ein spezielles Dokument zurück</wsdl:documentation>
			<wsdl:input message="easybill:GetDocumentRequestMessage" /> 
			<wsdl:output message="easybill:GetDocumentResponseMessage" />
			<wsdl:fault name="DocumentNotFoundFault" message="easybill:DocumentNotFoundFaultMessage" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>
	
		<wsdl:operation name="setDocumentAddPayment">
			<wsdl:documentation>Hängt eine neue Zahlung an das Dokument an</wsdl:documentation>
			<wsdl:input message="easybill:SetDocumentAddPaymentRequestMessage" /> 
			<wsdl:output message="easybill:SetDocumentAddPaymentResponseMessage" />
			<wsdl:fault name="DocumentNotFoundFault" message="easybill:DocumentNotFoundFaultMessage" />
			<wsdl:fault name="EasybillFault" message="easybill:EasybillFaultMessage" />
			<wsdl:fault name="IllegalAccessFault" message="easybill:IllegalAccessFaultMessage" />
		</wsdl:operation>

	</wsdl:portType>
	
	
	
	<wsdl:binding name="easybillBinding" type="easybill:easybillPortType">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
				
		<wsdl:operation name="getCustomer">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/getCustomer" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CustomerNotFoundFault">
				<soap:fault name="CustomerNotFoundFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		
		<wsdl:operation name="getCustomerByCustomerNumber">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/getCustomerByCustomerNumber" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CustomerNotFoundFault">
				<soap:fault name="CustomerNotFoundFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
	
		<wsdl:operation name="setCustomer">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/SetCustomer" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CustomerNotFoundFault">
				<soap:fault name="CustomerNotFoundFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="DataNotValidFault">
				<soap:fault name="DataNotValidFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
			 
		
		<wsdl:operation name="searchCustomers">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/searchCustomers" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
				
		<wsdl:operation name="getCustomerGroup">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/getCustomerGroup" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CustomerGroupNotFoundFault">
				<soap:fault name="CustomerGroupNotFoundFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="setCustomerGroup">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/setCustomerGroup" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="DataNotValidFault">
				<soap:fault name="DataNotValidFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="getAllCustomerGroups">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/getAllCustomerGroups" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		
		
		<!-- company positions -->
		<wsdl:operation name="getCompanyPosition">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/getCompanyPosition" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CompanyPositionNotFoundFault">
				<soap:fault name="CompanyPositionNotFoundFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
	
		<wsdl:operation name="setCompanyPosition">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/SetCompanyPosition" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CompanyPositionNotFoundFault">
				<soap:fault name="CompanyPositionNotFoundFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="DataNotValidFault">
				<soap:fault name="DataNotValidFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
			 
		
		<wsdl:operation name="searchCompanyPositions">
			<soap:operation soapAction="http://www.easybill.de/webservice/customer/searchCustomers" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		
		<!-- company position groups -->
		<wsdl:operation name="getCompanyPositionGroup">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/getCompanyPositionGroup" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="CompanyPositionGroupNotFoundFault">
				<soap:fault name="CompanyPositionGroupNotFoundFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="setCompanyPositionGroup">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/setCompanyPositionGroup" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="DataNotValidFault">
				<soap:fault name="DataNotValidFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="getAllCompanyPositionGroups">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/allCompanyPositionGroups" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
		
		<wsdl:operation name="createDocument">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/createDocument" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>

		<wsdl:operation name="getDocumentsByCustomer">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/getDocumentsByCustomer" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="CustomerNotFoundFault">
				<soap:fault name="CustomerNotFoundFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>

		<wsdl:operation name="getDocument">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/getDocument" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="DocumentNotFoundFault">
				<soap:fault name="DocumentNotFoundFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>


		<wsdl:operation name="setDocumentAddPayment">
			<soap:operation soapAction="http://www.easybill.de/webservice/companyposition/setDocumentAddPayment" />
			<wsdl:input>
				<soap:header message="easybill:UserAuthKeyMessage" part="HeaderAuthKey" use="literal" />
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="DocumentNotFoundFault">
				<soap:fault name="DocumentNotFoundFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="EasybillFault">
				<soap:fault name="EasybillFault" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="IllegalAccessFault">
				<soap:fault name="IllegalAccessFault" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
				
	</wsdl:binding>
	<wsdl:service name="easybillService">
		<wsdl:port binding="easybill:easybillBinding" name="easybillPort">
			<!-- http://devel.easybill.de -->
			<soap:address location="https://soap.easybill.de/soap.easybill.php" />
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>
