SalesPurchase


Click here for a complete list of operations.

InvoiceSearch

Search Invoice By Class Id

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /SAASWebService/Sales/SalesPurchase.asmx HTTP/1.1
Host: vp.golfdondurma.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InvoiceSearch"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InvoiceSearch xmlns="http://tempuri.org/">
      <SearchParameter>
        <BeginDate>dateTime</BeginDate>
        <EndDate>dateTime</EndDate>
        <BeginDateTime>dateTime</BeginDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <BeginDocumentDate>dateTime</BeginDocumentDate>
        <EndDocumentDate>dateTime</EndDocumentDate>
      </SearchParameter>
      <InvoiceClassId>string</InvoiceClassId>
      <AuthorizationKey>string</AuthorizationKey>
      <ActiveCompany>string</ActiveCompany>
      <ActiveBranch>string</ActiveBranch>
    </InvoiceSearch>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InvoiceSearchResponse xmlns="http://tempuri.org/">
      <InvoiceSearchResult>
        <InvoiceParameter>
          <Lines>
            <InvoiceLineParameter xsi:nil="true" />
            <InvoiceLineParameter xsi:nil="true" />
          </Lines>
          <Discounts>
            <InvoiceDiscountParameter xsi:nil="true" />
            <InvoiceDiscountParameter xsi:nil="true" />
          </Discounts>
          <RefDocuments>
            <InvoiceRefDocumentParameter xsi:nil="true" />
            <InvoiceRefDocumentParameter xsi:nil="true" />
          </RefDocuments>
          <DiscountItemDetails>
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
          </DiscountItemDetails>
          <PaymentPlans>
            <InvoicePaymentPlanParameter xsi:nil="true" />
            <InvoicePaymentPlanParameter xsi:nil="true" />
          </PaymentPlans>
          <DiscountPrints>
            <InvoiceDiscountPrintParameter xsi:nil="true" />
            <InvoiceDiscountPrintParameter xsi:nil="true" />
          </DiscountPrints>
          <ProgressPayments>
            <InvoiceId>string</InvoiceId>
            <ItemId>string</ItemId>
            <RecordId>string</RecordId>
            <CustomerId>string</CustomerId>
            <PaymentTotal>decimal</PaymentTotal>
            <TransactionTotal>decimal</TransactionTotal>
            <Details xsi:nil="true" />
          </ProgressPayments>
          <PalletQuantityParams>
            <PalletQuantityParams xsi:nil="true" />
            <PalletQuantityParams xsi:nil="true" />
          </PalletQuantityParams>
          <InvoiceNumber>string</InvoiceNumber>
          <DocumentNumber>string</DocumentNumber>
          <InvoiceTypeId>string</InvoiceTypeId>
          <DocumentClassId>string</DocumentClassId>
          <InvoiceKindId>string</InvoiceKindId>
          <CustomerId>string</CustomerId>
          <DocumentDate>dateTime</DocumentDate>
          <DocumentTime>string</DocumentTime>
          <RecvLocationId>string</RecvLocationId>
          <WarehouseId>string</WarehouseId>
          <RepresentativeId>string</RepresentativeId>
          <Canceled>short</Canceled>
          <Printed>short</Printed>
          <TerminalOrPc>string</TerminalOrPc>
          <PaymentTypeId>string</PaymentTypeId>
          <PaymentPeriodId>string</PaymentPeriodId>
          <PriceListId>string</PriceListId>
          <CurrencyId>string</CurrencyId>
          <TotalUserDiscount>decimal</TotalUserDiscount>
          <TotalItemDiscount>decimal</TotalItemDiscount>
          <TotalOtherDiscount>decimal</TotalOtherDiscount>
          <TotalDiscount>decimal</TotalDiscount>
          <TotalVat>decimal</TotalVat>
          <GrossTotal>decimal</GrossTotal>
          <NetTotal>decimal</NetTotal>
          <ReportCurrency1Id>string</ReportCurrency1Id>
          <ReportCurrency1Rate>decimal</ReportCurrency1Rate>
          <ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
          <ReportCurrency2Id>string</ReportCurrency2Id>
          <ReportCurrency2Rate>decimal</ReportCurrency2Rate>
          <ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
          <Genexp1>string</Genexp1>
          <Genexp2>string</Genexp2>
          <Genexp3>string</Genexp3>
          <InvoiceGroupId>string</InvoiceGroupId>
          <CancelReasonId>string</CancelReasonId>
          <RouteId>string</RouteId>
          <StatusId>string</StatusId>
          <CanceledUser>string</CanceledUser>
          <CanceledDatetime>dateTime</CanceledDatetime>
          <PaymentStatusId>string</PaymentStatusId>
          <VehicleId>string</VehicleId>
          <AssetLocationId>string</AssetLocationId>
          <DocumentTypeId>string</DocumentTypeId>
          <DeliveryRepresentativeId>string</DeliveryRepresentativeId>
          <RecvLocationCustomerId>string</RecvLocationCustomerId>
          <IsVehicleWarehouse>short</IsVehicleWarehouse>
          <RmaReasonId>string</RmaReasonId>
          <RmaReasonDesc>string</RmaReasonDesc>
          <TransportTotal>decimal</TransportTotal>
          <InsuranceTotal>decimal</InsuranceTotal>
          <CurrencyRate>decimal</CurrencyRate>
          <ExportType>string</ExportType>
          <SalesNetTotal>decimal</SalesNetTotal>
          <SalesGrossTotal>decimal</SalesGrossTotal>
          <DeclarationDate>dateTime</DeclarationDate>
          <IsExport>short</IsExport>
          <DeclarationNo>string</DeclarationNo>
          <ExportNumber>string</ExportNumber>
          <DeliveryPlace>string</DeliveryPlace>
          <LoadingPlace>string</LoadingPlace>
          <CustomDate>dateTime</CustomDate>
          <CustomsAgencyId>string</CustomsAgencyId>
          <ExportTypeId>string</ExportTypeId>
          <DeliveryTypeId>string</DeliveryTypeId>
          <ExportPaymentTypeId>string</ExportPaymentTypeId>
          <ImportCreditTypeId>string</ImportCreditTypeId>
          <CustomsId>string</CustomsId>
          <TransportTypeId>string</TransportTypeId>
          <TransportCurrencyId>string</TransportCurrencyId>
          <InsuranceCurrencyId>string</InsuranceCurrencyId>
          <ArrivalCountryId>string</ArrivalCountryId>
          <ExportPaymentCredit>decimal</ExportPaymentCredit>
          <ForeignTransporterCompany>string</ForeignTransporterCompany>
          <DomesticTransporterCompany>string</DomesticTransporterCompany>
          <DeclarationStartDate>dateTime</DeclarationStartDate>
          <IsProforma>short</IsProforma>
          <SystemNumber>string</SystemNumber>
          <CustomerFinanceCode>string</CustomerFinanceCode>
          <WarehouseFinanceCode>string</WarehouseFinanceCode>
          <RepresentativeFinanceCode>string</RepresentativeFinanceCode>
          <RefSalesWaybillId>string</RefSalesWaybillId>
          <RmaTypeId>string</RmaTypeId>
          <CustomerRecordType>string</CustomerRecordType>
          <UpperCustomer>string</UpperCustomer>
          <CashPaymentFinanceSystemNumber>string</CashPaymentFinanceSystemNumber>
          <ConnectedReturnInvoiceExists>boolean</ConnectedReturnInvoiceExists>
          <CustomerName>string</CustomerName>
          <SalesRepCode>string</SalesRepCode>
          <CustomerBranchCode>string</CustomerBranchCode>
          <HasBrokenForm>boolean</HasBrokenForm>
          <PurchaseReturnWaybillNumber>string</PurchaseReturnWaybillNumber>
          <Category1Code>string</Category1Code>
          <Category2Code>string</Category2Code>
          <Category3Code>string</Category3Code>
          <RecordTypeCode>string</RecordTypeCode>
          <ShippingDate>dateTime</ShippingDate>
          <RmaStatus>string</RmaStatus>
          <RmaType>string</RmaType>
          <IsThereError>boolean</IsThereError>
          <InvoiceErrorDescription>string</InvoiceErrorDescription>
          <IsCentralCustomer>boolean</IsCentralCustomer>
          <RefDeliveryWaybillNumber>string</RefDeliveryWaybillNumber>
          <RefSalesWaybillNumber>string</RefSalesWaybillNumber>
          <RelatedDeliveryWaybill>boolean</RelatedDeliveryWaybill>
          <ManualDeliveryParam>
            <RecordId>long</RecordId>
            <DeliveryCompanyId>long</DeliveryCompanyId>
            <VehicleTypeId>long</VehicleTypeId>
            <TruckPlate>string</TruckPlate>
            <TrailerPlate>string</TrailerPlate>
          </ManualDeliveryParam>
        </InvoiceParameter>
        <InvoiceParameter>
          <Lines>
            <InvoiceLineParameter xsi:nil="true" />
            <InvoiceLineParameter xsi:nil="true" />
          </Lines>
          <Discounts>
            <InvoiceDiscountParameter xsi:nil="true" />
            <InvoiceDiscountParameter xsi:nil="true" />
          </Discounts>
          <RefDocuments>
            <InvoiceRefDocumentParameter xsi:nil="true" />
            <InvoiceRefDocumentParameter xsi:nil="true" />
          </RefDocuments>
          <DiscountItemDetails>
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
          </DiscountItemDetails>
          <PaymentPlans>
            <InvoicePaymentPlanParameter xsi:nil="true" />
            <InvoicePaymentPlanParameter xsi:nil="true" />
          </PaymentPlans>
          <DiscountPrints>
            <InvoiceDiscountPrintParameter xsi:nil="true" />
            <InvoiceDiscountPrintParameter xsi:nil="true" />
          </DiscountPrints>
          <ProgressPayments>
            <InvoiceId>string</InvoiceId>
            <ItemId>string</ItemId>
            <RecordId>string</RecordId>
            <CustomerId>string</CustomerId>
            <PaymentTotal>decimal</PaymentTotal>
            <TransactionTotal>decimal</TransactionTotal>
            <Details xsi:nil="true" />
          </ProgressPayments>
          <PalletQuantityParams>
            <PalletQuantityParams xsi:nil="true" />
            <PalletQuantityParams xsi:nil="true" />
          </PalletQuantityParams>
          <InvoiceNumber>string</InvoiceNumber>
          <DocumentNumber>string</DocumentNumber>
          <InvoiceTypeId>string</InvoiceTypeId>
          <DocumentClassId>string</DocumentClassId>
          <InvoiceKindId>string</InvoiceKindId>
          <CustomerId>string</CustomerId>
          <DocumentDate>dateTime</DocumentDate>
          <DocumentTime>string</DocumentTime>
          <RecvLocationId>string</RecvLocationId>
          <WarehouseId>string</WarehouseId>
          <RepresentativeId>string</RepresentativeId>
          <Canceled>short</Canceled>
          <Printed>short</Printed>
          <TerminalOrPc>string</TerminalOrPc>
          <PaymentTypeId>string</PaymentTypeId>
          <PaymentPeriodId>string</PaymentPeriodId>
          <PriceListId>string</PriceListId>
          <CurrencyId>string</CurrencyId>
          <TotalUserDiscount>decimal</TotalUserDiscount>
          <TotalItemDiscount>decimal</TotalItemDiscount>
          <TotalOtherDiscount>decimal</TotalOtherDiscount>
          <TotalDiscount>decimal</TotalDiscount>
          <TotalVat>decimal</TotalVat>
          <GrossTotal>decimal</GrossTotal>
          <NetTotal>decimal</NetTotal>
          <ReportCurrency1Id>string</ReportCurrency1Id>
          <ReportCurrency1Rate>decimal</ReportCurrency1Rate>
          <ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
          <ReportCurrency2Id>string</ReportCurrency2Id>
          <ReportCurrency2Rate>decimal</ReportCurrency2Rate>
          <ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
          <Genexp1>string</Genexp1>
          <Genexp2>string</Genexp2>
          <Genexp3>string</Genexp3>
          <InvoiceGroupId>string</InvoiceGroupId>
          <CancelReasonId>string</CancelReasonId>
          <RouteId>string</RouteId>
          <StatusId>string</StatusId>
          <CanceledUser>string</CanceledUser>
          <CanceledDatetime>dateTime</CanceledDatetime>
          <PaymentStatusId>string</PaymentStatusId>
          <VehicleId>string</VehicleId>
          <AssetLocationId>string</AssetLocationId>
          <DocumentTypeId>string</DocumentTypeId>
          <DeliveryRepresentativeId>string</DeliveryRepresentativeId>
          <RecvLocationCustomerId>string</RecvLocationCustomerId>
          <IsVehicleWarehouse>short</IsVehicleWarehouse>
          <RmaReasonId>string</RmaReasonId>
          <RmaReasonDesc>string</RmaReasonDesc>
          <TransportTotal>decimal</TransportTotal>
          <InsuranceTotal>decimal</InsuranceTotal>
          <CurrencyRate>decimal</CurrencyRate>
          <ExportType>string</ExportType>
          <SalesNetTotal>decimal</SalesNetTotal>
          <SalesGrossTotal>decimal</SalesGrossTotal>
          <DeclarationDate>dateTime</DeclarationDate>
          <IsExport>short</IsExport>
          <DeclarationNo>string</DeclarationNo>
          <ExportNumber>string</ExportNumber>
          <DeliveryPlace>string</DeliveryPlace>
          <LoadingPlace>string</LoadingPlace>
          <CustomDate>dateTime</CustomDate>
          <CustomsAgencyId>string</CustomsAgencyId>
          <ExportTypeId>string</ExportTypeId>
          <DeliveryTypeId>string</DeliveryTypeId>
          <ExportPaymentTypeId>string</ExportPaymentTypeId>
          <ImportCreditTypeId>string</ImportCreditTypeId>
          <CustomsId>string</CustomsId>
          <TransportTypeId>string</TransportTypeId>
          <TransportCurrencyId>string</TransportCurrencyId>
          <InsuranceCurrencyId>string</InsuranceCurrencyId>
          <ArrivalCountryId>string</ArrivalCountryId>
          <ExportPaymentCredit>decimal</ExportPaymentCredit>
          <ForeignTransporterCompany>string</ForeignTransporterCompany>
          <DomesticTransporterCompany>string</DomesticTransporterCompany>
          <DeclarationStartDate>dateTime</DeclarationStartDate>
          <IsProforma>short</IsProforma>
          <SystemNumber>string</SystemNumber>
          <CustomerFinanceCode>string</CustomerFinanceCode>
          <WarehouseFinanceCode>string</WarehouseFinanceCode>
          <RepresentativeFinanceCode>string</RepresentativeFinanceCode>
          <RefSalesWaybillId>string</RefSalesWaybillId>
          <RmaTypeId>string</RmaTypeId>
          <CustomerRecordType>string</CustomerRecordType>
          <UpperCustomer>string</UpperCustomer>
          <CashPaymentFinanceSystemNumber>string</CashPaymentFinanceSystemNumber>
          <ConnectedReturnInvoiceExists>boolean</ConnectedReturnInvoiceExists>
          <CustomerName>string</CustomerName>
          <SalesRepCode>string</SalesRepCode>
          <CustomerBranchCode>string</CustomerBranchCode>
          <HasBrokenForm>boolean</HasBrokenForm>
          <PurchaseReturnWaybillNumber>string</PurchaseReturnWaybillNumber>
          <Category1Code>string</Category1Code>
          <Category2Code>string</Category2Code>
          <Category3Code>string</Category3Code>
          <RecordTypeCode>string</RecordTypeCode>
          <ShippingDate>dateTime</ShippingDate>
          <RmaStatus>string</RmaStatus>
          <RmaType>string</RmaType>
          <IsThereError>boolean</IsThereError>
          <InvoiceErrorDescription>string</InvoiceErrorDescription>
          <IsCentralCustomer>boolean</IsCentralCustomer>
          <RefDeliveryWaybillNumber>string</RefDeliveryWaybillNumber>
          <RefSalesWaybillNumber>string</RefSalesWaybillNumber>
          <RelatedDeliveryWaybill>boolean</RelatedDeliveryWaybill>
          <ManualDeliveryParam>
            <RecordId>long</RecordId>
            <DeliveryCompanyId>long</DeliveryCompanyId>
            <VehicleTypeId>long</VehicleTypeId>
            <TruckPlate>string</TruckPlate>
            <TrailerPlate>string</TrailerPlate>
          </ManualDeliveryParam>
        </InvoiceParameter>
      </InvoiceSearchResult>
    </InvoiceSearchResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /SAASWebService/Sales/SalesPurchase.asmx HTTP/1.1
Host: vp.golfdondurma.com.tr
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InvoiceSearch xmlns="http://tempuri.org/">
      <SearchParameter>
        <BeginDate>dateTime</BeginDate>
        <EndDate>dateTime</EndDate>
        <BeginDateTime>dateTime</BeginDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <BeginDocumentDate>dateTime</BeginDocumentDate>
        <EndDocumentDate>dateTime</EndDocumentDate>
      </SearchParameter>
      <InvoiceClassId>string</InvoiceClassId>
      <AuthorizationKey>string</AuthorizationKey>
      <ActiveCompany>string</ActiveCompany>
      <ActiveBranch>string</ActiveBranch>
    </InvoiceSearch>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InvoiceSearchResponse xmlns="http://tempuri.org/">
      <InvoiceSearchResult>
        <InvoiceParameter>
          <Lines>
            <InvoiceLineParameter xsi:nil="true" />
            <InvoiceLineParameter xsi:nil="true" />
          </Lines>
          <Discounts>
            <InvoiceDiscountParameter xsi:nil="true" />
            <InvoiceDiscountParameter xsi:nil="true" />
          </Discounts>
          <RefDocuments>
            <InvoiceRefDocumentParameter xsi:nil="true" />
            <InvoiceRefDocumentParameter xsi:nil="true" />
          </RefDocuments>
          <DiscountItemDetails>
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
          </DiscountItemDetails>
          <PaymentPlans>
            <InvoicePaymentPlanParameter xsi:nil="true" />
            <InvoicePaymentPlanParameter xsi:nil="true" />
          </PaymentPlans>
          <DiscountPrints>
            <InvoiceDiscountPrintParameter xsi:nil="true" />
            <InvoiceDiscountPrintParameter xsi:nil="true" />
          </DiscountPrints>
          <ProgressPayments>
            <InvoiceId>string</InvoiceId>
            <ItemId>string</ItemId>
            <RecordId>string</RecordId>
            <CustomerId>string</CustomerId>
            <PaymentTotal>decimal</PaymentTotal>
            <TransactionTotal>decimal</TransactionTotal>
            <Details xsi:nil="true" />
          </ProgressPayments>
          <PalletQuantityParams>
            <PalletQuantityParams xsi:nil="true" />
            <PalletQuantityParams xsi:nil="true" />
          </PalletQuantityParams>
          <InvoiceNumber>string</InvoiceNumber>
          <DocumentNumber>string</DocumentNumber>
          <InvoiceTypeId>string</InvoiceTypeId>
          <DocumentClassId>string</DocumentClassId>
          <InvoiceKindId>string</InvoiceKindId>
          <CustomerId>string</CustomerId>
          <DocumentDate>dateTime</DocumentDate>
          <DocumentTime>string</DocumentTime>
          <RecvLocationId>string</RecvLocationId>
          <WarehouseId>string</WarehouseId>
          <RepresentativeId>string</RepresentativeId>
          <Canceled>short</Canceled>
          <Printed>short</Printed>
          <TerminalOrPc>string</TerminalOrPc>
          <PaymentTypeId>string</PaymentTypeId>
          <PaymentPeriodId>string</PaymentPeriodId>
          <PriceListId>string</PriceListId>
          <CurrencyId>string</CurrencyId>
          <TotalUserDiscount>decimal</TotalUserDiscount>
          <TotalItemDiscount>decimal</TotalItemDiscount>
          <TotalOtherDiscount>decimal</TotalOtherDiscount>
          <TotalDiscount>decimal</TotalDiscount>
          <TotalVat>decimal</TotalVat>
          <GrossTotal>decimal</GrossTotal>
          <NetTotal>decimal</NetTotal>
          <ReportCurrency1Id>string</ReportCurrency1Id>
          <ReportCurrency1Rate>decimal</ReportCurrency1Rate>
          <ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
          <ReportCurrency2Id>string</ReportCurrency2Id>
          <ReportCurrency2Rate>decimal</ReportCurrency2Rate>
          <ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
          <Genexp1>string</Genexp1>
          <Genexp2>string</Genexp2>
          <Genexp3>string</Genexp3>
          <InvoiceGroupId>string</InvoiceGroupId>
          <CancelReasonId>string</CancelReasonId>
          <RouteId>string</RouteId>
          <StatusId>string</StatusId>
          <CanceledUser>string</CanceledUser>
          <CanceledDatetime>dateTime</CanceledDatetime>
          <PaymentStatusId>string</PaymentStatusId>
          <VehicleId>string</VehicleId>
          <AssetLocationId>string</AssetLocationId>
          <DocumentTypeId>string</DocumentTypeId>
          <DeliveryRepresentativeId>string</DeliveryRepresentativeId>
          <RecvLocationCustomerId>string</RecvLocationCustomerId>
          <IsVehicleWarehouse>short</IsVehicleWarehouse>
          <RmaReasonId>string</RmaReasonId>
          <RmaReasonDesc>string</RmaReasonDesc>
          <TransportTotal>decimal</TransportTotal>
          <InsuranceTotal>decimal</InsuranceTotal>
          <CurrencyRate>decimal</CurrencyRate>
          <ExportType>string</ExportType>
          <SalesNetTotal>decimal</SalesNetTotal>
          <SalesGrossTotal>decimal</SalesGrossTotal>
          <DeclarationDate>dateTime</DeclarationDate>
          <IsExport>short</IsExport>
          <DeclarationNo>string</DeclarationNo>
          <ExportNumber>string</ExportNumber>
          <DeliveryPlace>string</DeliveryPlace>
          <LoadingPlace>string</LoadingPlace>
          <CustomDate>dateTime</CustomDate>
          <CustomsAgencyId>string</CustomsAgencyId>
          <ExportTypeId>string</ExportTypeId>
          <DeliveryTypeId>string</DeliveryTypeId>
          <ExportPaymentTypeId>string</ExportPaymentTypeId>
          <ImportCreditTypeId>string</ImportCreditTypeId>
          <CustomsId>string</CustomsId>
          <TransportTypeId>string</TransportTypeId>
          <TransportCurrencyId>string</TransportCurrencyId>
          <InsuranceCurrencyId>string</InsuranceCurrencyId>
          <ArrivalCountryId>string</ArrivalCountryId>
          <ExportPaymentCredit>decimal</ExportPaymentCredit>
          <ForeignTransporterCompany>string</ForeignTransporterCompany>
          <DomesticTransporterCompany>string</DomesticTransporterCompany>
          <DeclarationStartDate>dateTime</DeclarationStartDate>
          <IsProforma>short</IsProforma>
          <SystemNumber>string</SystemNumber>
          <CustomerFinanceCode>string</CustomerFinanceCode>
          <WarehouseFinanceCode>string</WarehouseFinanceCode>
          <RepresentativeFinanceCode>string</RepresentativeFinanceCode>
          <RefSalesWaybillId>string</RefSalesWaybillId>
          <RmaTypeId>string</RmaTypeId>
          <CustomerRecordType>string</CustomerRecordType>
          <UpperCustomer>string</UpperCustomer>
          <CashPaymentFinanceSystemNumber>string</CashPaymentFinanceSystemNumber>
          <ConnectedReturnInvoiceExists>boolean</ConnectedReturnInvoiceExists>
          <CustomerName>string</CustomerName>
          <SalesRepCode>string</SalesRepCode>
          <CustomerBranchCode>string</CustomerBranchCode>
          <HasBrokenForm>boolean</HasBrokenForm>
          <PurchaseReturnWaybillNumber>string</PurchaseReturnWaybillNumber>
          <Category1Code>string</Category1Code>
          <Category2Code>string</Category2Code>
          <Category3Code>string</Category3Code>
          <RecordTypeCode>string</RecordTypeCode>
          <ShippingDate>dateTime</ShippingDate>
          <RmaStatus>string</RmaStatus>
          <RmaType>string</RmaType>
          <IsThereError>boolean</IsThereError>
          <InvoiceErrorDescription>string</InvoiceErrorDescription>
          <IsCentralCustomer>boolean</IsCentralCustomer>
          <RefDeliveryWaybillNumber>string</RefDeliveryWaybillNumber>
          <RefSalesWaybillNumber>string</RefSalesWaybillNumber>
          <RelatedDeliveryWaybill>boolean</RelatedDeliveryWaybill>
          <ManualDeliveryParam>
            <RecordId>long</RecordId>
            <DeliveryCompanyId>long</DeliveryCompanyId>
            <VehicleTypeId>long</VehicleTypeId>
            <TruckPlate>string</TruckPlate>
            <TrailerPlate>string</TrailerPlate>
          </ManualDeliveryParam>
        </InvoiceParameter>
        <InvoiceParameter>
          <Lines>
            <InvoiceLineParameter xsi:nil="true" />
            <InvoiceLineParameter xsi:nil="true" />
          </Lines>
          <Discounts>
            <InvoiceDiscountParameter xsi:nil="true" />
            <InvoiceDiscountParameter xsi:nil="true" />
          </Discounts>
          <RefDocuments>
            <InvoiceRefDocumentParameter xsi:nil="true" />
            <InvoiceRefDocumentParameter xsi:nil="true" />
          </RefDocuments>
          <DiscountItemDetails>
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
            <InvoiceDiscountItemDetailParameter xsi:nil="true" />
          </DiscountItemDetails>
          <PaymentPlans>
            <InvoicePaymentPlanParameter xsi:nil="true" />
            <InvoicePaymentPlanParameter xsi:nil="true" />
          </PaymentPlans>
          <DiscountPrints>
            <InvoiceDiscountPrintParameter xsi:nil="true" />
            <InvoiceDiscountPrintParameter xsi:nil="true" />
          </DiscountPrints>
          <ProgressPayments>
            <InvoiceId>string</InvoiceId>
            <ItemId>string</ItemId>
            <RecordId>string</RecordId>
            <CustomerId>string</CustomerId>
            <PaymentTotal>decimal</PaymentTotal>
            <TransactionTotal>decimal</TransactionTotal>
            <Details xsi:nil="true" />
          </ProgressPayments>
          <PalletQuantityParams>
            <PalletQuantityParams xsi:nil="true" />
            <PalletQuantityParams xsi:nil="true" />
          </PalletQuantityParams>
          <InvoiceNumber>string</InvoiceNumber>
          <DocumentNumber>string</DocumentNumber>
          <InvoiceTypeId>string</InvoiceTypeId>
          <DocumentClassId>string</DocumentClassId>
          <InvoiceKindId>string</InvoiceKindId>
          <CustomerId>string</CustomerId>
          <DocumentDate>dateTime</DocumentDate>
          <DocumentTime>string</DocumentTime>
          <RecvLocationId>string</RecvLocationId>
          <WarehouseId>string</WarehouseId>
          <RepresentativeId>string</RepresentativeId>
          <Canceled>short</Canceled>
          <Printed>short</Printed>
          <TerminalOrPc>string</TerminalOrPc>
          <PaymentTypeId>string</PaymentTypeId>
          <PaymentPeriodId>string</PaymentPeriodId>
          <PriceListId>string</PriceListId>
          <CurrencyId>string</CurrencyId>
          <TotalUserDiscount>decimal</TotalUserDiscount>
          <TotalItemDiscount>decimal</TotalItemDiscount>
          <TotalOtherDiscount>decimal</TotalOtherDiscount>
          <TotalDiscount>decimal</TotalDiscount>
          <TotalVat>decimal</TotalVat>
          <GrossTotal>decimal</GrossTotal>
          <NetTotal>decimal</NetTotal>
          <ReportCurrency1Id>string</ReportCurrency1Id>
          <ReportCurrency1Rate>decimal</ReportCurrency1Rate>
          <ReportCurrency1NetTotal>decimal</ReportCurrency1NetTotal>
          <ReportCurrency2Id>string</ReportCurrency2Id>
          <ReportCurrency2Rate>decimal</ReportCurrency2Rate>
          <ReportCurrency2NetTotal>decimal</ReportCurrency2NetTotal>
          <Genexp1>string</Genexp1>
          <Genexp2>string</Genexp2>
          <Genexp3>string</Genexp3>
          <InvoiceGroupId>string</InvoiceGroupId>
          <CancelReasonId>string</CancelReasonId>
          <RouteId>string</RouteId>
          <StatusId>string</StatusId>
          <CanceledUser>string</CanceledUser>
          <CanceledDatetime>dateTime</CanceledDatetime>
          <PaymentStatusId>string</PaymentStatusId>
          <VehicleId>string</VehicleId>
          <AssetLocationId>string</AssetLocationId>
          <DocumentTypeId>string</DocumentTypeId>
          <DeliveryRepresentativeId>string</DeliveryRepresentativeId>
          <RecvLocationCustomerId>string</RecvLocationCustomerId>
          <IsVehicleWarehouse>short</IsVehicleWarehouse>
          <RmaReasonId>string</RmaReasonId>
          <RmaReasonDesc>string</RmaReasonDesc>
          <TransportTotal>decimal</TransportTotal>
          <InsuranceTotal>decimal</InsuranceTotal>
          <CurrencyRate>decimal</CurrencyRate>
          <ExportType>string</ExportType>
          <SalesNetTotal>decimal</SalesNetTotal>
          <SalesGrossTotal>decimal</SalesGrossTotal>
          <DeclarationDate>dateTime</DeclarationDate>
          <IsExport>short</IsExport>
          <DeclarationNo>string</DeclarationNo>
          <ExportNumber>string</ExportNumber>
          <DeliveryPlace>string</DeliveryPlace>
          <LoadingPlace>string</LoadingPlace>
          <CustomDate>dateTime</CustomDate>
          <CustomsAgencyId>string</CustomsAgencyId>
          <ExportTypeId>string</ExportTypeId>
          <DeliveryTypeId>string</DeliveryTypeId>
          <ExportPaymentTypeId>string</ExportPaymentTypeId>
          <ImportCreditTypeId>string</ImportCreditTypeId>
          <CustomsId>string</CustomsId>
          <TransportTypeId>string</TransportTypeId>
          <TransportCurrencyId>string</TransportCurrencyId>
          <InsuranceCurrencyId>string</InsuranceCurrencyId>
          <ArrivalCountryId>string</ArrivalCountryId>
          <ExportPaymentCredit>decimal</ExportPaymentCredit>
          <ForeignTransporterCompany>string</ForeignTransporterCompany>
          <DomesticTransporterCompany>string</DomesticTransporterCompany>
          <DeclarationStartDate>dateTime</DeclarationStartDate>
          <IsProforma>short</IsProforma>
          <SystemNumber>string</SystemNumber>
          <CustomerFinanceCode>string</CustomerFinanceCode>
          <WarehouseFinanceCode>string</WarehouseFinanceCode>
          <RepresentativeFinanceCode>string</RepresentativeFinanceCode>
          <RefSalesWaybillId>string</RefSalesWaybillId>
          <RmaTypeId>string</RmaTypeId>
          <CustomerRecordType>string</CustomerRecordType>
          <UpperCustomer>string</UpperCustomer>
          <CashPaymentFinanceSystemNumber>string</CashPaymentFinanceSystemNumber>
          <ConnectedReturnInvoiceExists>boolean</ConnectedReturnInvoiceExists>
          <CustomerName>string</CustomerName>
          <SalesRepCode>string</SalesRepCode>
          <CustomerBranchCode>string</CustomerBranchCode>
          <HasBrokenForm>boolean</HasBrokenForm>
          <PurchaseReturnWaybillNumber>string</PurchaseReturnWaybillNumber>
          <Category1Code>string</Category1Code>
          <Category2Code>string</Category2Code>
          <Category3Code>string</Category3Code>
          <RecordTypeCode>string</RecordTypeCode>
          <ShippingDate>dateTime</ShippingDate>
          <RmaStatus>string</RmaStatus>
          <RmaType>string</RmaType>
          <IsThereError>boolean</IsThereError>
          <InvoiceErrorDescription>string</InvoiceErrorDescription>
          <IsCentralCustomer>boolean</IsCentralCustomer>
          <RefDeliveryWaybillNumber>string</RefDeliveryWaybillNumber>
          <RefSalesWaybillNumber>string</RefSalesWaybillNumber>
          <RelatedDeliveryWaybill>boolean</RelatedDeliveryWaybill>
          <ManualDeliveryParam>
            <RecordId>long</RecordId>
            <DeliveryCompanyId>long</DeliveryCompanyId>
            <VehicleTypeId>long</VehicleTypeId>
            <TruckPlate>string</TruckPlate>
            <TrailerPlate>string</TrailerPlate>
          </ManualDeliveryParam>
        </InvoiceParameter>
      </InvoiceSearchResult>
    </InvoiceSearchResponse>
  </soap12:Body>
</soap12:Envelope>