<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.cobraconto.net/webservices/wapi/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.cobraconto.net/webservices/wapi/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.cobraconto.net/webservices/wapi/">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="GetPartnerList">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="AAuth" type="tns:Auth" />
            <s:element minOccurs="0" maxOccurs="1" name="ATransactionId" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="AFromDate" type="s:dateTime" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="Auth">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="User" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetPartnerListResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetPartnerListResult" type="tns:PartnerList" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="PartnerList">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="TransactionId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="Partners" type="tns:Partner" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Partner">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="Id" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="GlobalId" nillable="true" type="s1:guid" />
          <s:element minOccurs="0" maxOccurs="1" name="Timestamp" type="s:base64Binary" />
          <s:element minOccurs="1" maxOccurs="1" name="AvatarId" nillable="true" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PaymentId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PriceTypeId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PartNoId" nillable="true" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="DefaultCurrencyId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="DefaultEcoTaxCode" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="VatRegistated" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="EUVatRegistrated" nillable="true" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="OtherVatRegistrated" nillable="true" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="CashAccounting" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="Inactive" nillable="true" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="ReceivesEInvoiceFrom" nillable="true" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="ReceivesEInvoiceTo" nillable="true" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="SendsEInvoiceFrom" nillable="true" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="SendsEInvoiceTo" nillable="true" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="ExternalMaintained" nillable="true" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="Anonymized" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="NaturalPerson" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="KATA" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="ExtraChargeApplicable" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="DelayCostLump" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="VoucherPrintMode" nillable="true" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="EDIManagerId" nillable="true" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="SeatDepartment" type="tns:Department" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="Departments" type="tns:Department" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="PartnerBankAccounts" type="tns:PartnerBankAccount" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="PartnerClientNos" type="tns:PartnerClientNo" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="PartnerDiscountPercents" type="tns:PartnerDiscountPercent" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Department">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PartnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="Id" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="LanguageId" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="RealAddrInherited" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="RealCountryId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealStreet" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealCity" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealRegion" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealZip" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealAddress" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PostAddrReal" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="PostAddrInherited" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="PostCountryId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PostStreet" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PostCity" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PostRegion" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PostZip" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PostAddress" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="GLN" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ExciseAuthorisationNumber" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="InvoiceAddress" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="InvoicePostAddress" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="VoucherName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealDistrict" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealPublicPlaceName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealPublicPlaceKind" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealPublicPlaceNumber" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealBuilding" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealStairWay" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealStorey" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RealDoorNumber" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="Inactive" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="HandoverStockId" nillable="true" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="DefaultTransactionTypeId" nillable="true" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="PostVoucherName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PostGLN" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MOSZRHash" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="MOSZRSync" nillable="true" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="DepartmentChannels" type="tns:DepartmentChannel" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="DepartmentContacts" type="tns:DepartmentContact" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="DepartmentAgentPartners" type="tns:DepartmentAgentPartner" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="DepartmentChannel">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PartnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="DepartmentId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ChannelId" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="DepartmentContact">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PartnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="DepartmentId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ContactId" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="DepartmentAgentPartner">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PartnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="DepartmentId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ValidFrom" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="ValidUntil" nillable="true" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="AgentPartnerId" type="s:int" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="PartnerBankAccount">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Number" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="ParnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="BankId" nillable="true" type="s:int" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="PartnerClientNo">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="PartnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ClientNoId" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="PartnerDiscountPercent">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="RowState" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ParnerId" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ValidFrom" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="CategoryId" nillable="true" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ValidUntil" nillable="true" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="Percent" type="s:decimal" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetPartner">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="AAuth" type="tns:Auth" />
            <s:element minOccurs="0" maxOccurs="1" name="ATransactionId" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="AId" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetPartnerResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetPartnerResult" type="tns:PartnerList" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SetPartner">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="AAuth" type="tns:Auth" />
            <s:element minOccurs="0" maxOccurs="1" name="ATransactionId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="clsPartner" type="tns:Partner" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SetPartnerResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="SetPartnerResult" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetPartnerByClientNo">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="AAuth" type="tns:Auth" />
            <s:element minOccurs="0" maxOccurs="1" name="ATransactionId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="AClientNo" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetPartnerByClientNoResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetPartnerByClientNoResult" type="tns:PartnerList" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetPartnerByClientNoEx">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="AAuth" type="tns:Auth" />
            <s:element minOccurs="0" maxOccurs="1" name="ATransactionId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="AClientNo" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="AClientNoId" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetPartnerByClientNoExResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetPartnerByClientNoExResult" type="tns:PartnerList" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
      <s:simpleType name="guid">
        <s:restriction base="s:string">
          <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetPartnerListSoapIn">
    <wsdl:part name="parameters" element="tns:GetPartnerList" />
  </wsdl:message>
  <wsdl:message name="GetPartnerListSoapOut">
    <wsdl:part name="parameters" element="tns:GetPartnerListResponse" />
  </wsdl:message>
  <wsdl:message name="GetPartnerSoapIn">
    <wsdl:part name="parameters" element="tns:GetPartner" />
  </wsdl:message>
  <wsdl:message name="GetPartnerSoapOut">
    <wsdl:part name="parameters" element="tns:GetPartnerResponse" />
  </wsdl:message>
  <wsdl:message name="SetPartnerSoapIn">
    <wsdl:part name="parameters" element="tns:SetPartner" />
  </wsdl:message>
  <wsdl:message name="SetPartnerSoapOut">
    <wsdl:part name="parameters" element="tns:SetPartnerResponse" />
  </wsdl:message>
  <wsdl:message name="GetPartnerByClientNoSoapIn">
    <wsdl:part name="parameters" element="tns:GetPartnerByClientNo" />
  </wsdl:message>
  <wsdl:message name="GetPartnerByClientNoSoapOut">
    <wsdl:part name="parameters" element="tns:GetPartnerByClientNoResponse" />
  </wsdl:message>
  <wsdl:message name="GetPartnerByClientNoExSoapIn">
    <wsdl:part name="parameters" element="tns:GetPartnerByClientNoEx" />
  </wsdl:message>
  <wsdl:message name="GetPartnerByClientNoExSoapOut">
    <wsdl:part name="parameters" element="tns:GetPartnerByClientNoExResponse" />
  </wsdl:message>
  <wsdl:portType name="PartnerServiceSoap">
    <wsdl:operation name="GetPartnerList">
      <wsdl:input message="tns:GetPartnerListSoapIn" />
      <wsdl:output message="tns:GetPartnerListSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetPartner">
      <wsdl:input message="tns:GetPartnerSoapIn" />
      <wsdl:output message="tns:GetPartnerSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="SetPartner">
      <wsdl:input message="tns:SetPartnerSoapIn" />
      <wsdl:output message="tns:SetPartnerSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetPartnerByClientNo">
      <wsdl:input message="tns:GetPartnerByClientNoSoapIn" />
      <wsdl:output message="tns:GetPartnerByClientNoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetPartnerByClientNoEx">
      <wsdl:input message="tns:GetPartnerByClientNoExSoapIn" />
      <wsdl:output message="tns:GetPartnerByClientNoExSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PartnerServiceSoap" type="tns:PartnerServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetPartnerList">
      <soap:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartnerList" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetPartner">
      <soap:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartner" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SetPartner">
      <soap:operation soapAction="http://www.cobraconto.net/webservices/wapi/SetPartner" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetPartnerByClientNo">
      <soap:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartnerByClientNo" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetPartnerByClientNoEx">
      <soap:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartnerByClientNoEx" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="PartnerServiceSoap12" type="tns:PartnerServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetPartnerList">
      <soap12:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartnerList" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetPartner">
      <soap12:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartner" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SetPartner">
      <soap12:operation soapAction="http://www.cobraconto.net/webservices/wapi/SetPartner" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetPartnerByClientNo">
      <soap12:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartnerByClientNo" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetPartnerByClientNoEx">
      <soap12:operation soapAction="http://www.cobraconto.net/webservices/wapi/GetPartnerByClientNoEx" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PartnerService">
    <wsdl:port name="PartnerServiceSoap" binding="tns:PartnerServiceSoap">
      <soap:address location="http://support.cobraconto.net/WAPI/PartnerService.asmx" />
    </wsdl:port>
    <wsdl:port name="PartnerServiceSoap12" binding="tns:PartnerServiceSoap12">
      <soap12:address location="http://support.cobraconto.net/WAPI/PartnerService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>