SalesPurchase


Click here for a complete list of operations.

ServiceSalesInvoiceLineSearch

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/ServiceSalesInvoiceLineSearch"

<?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>
    <ServiceSalesInvoiceLineSearch xmlns="http://tempuri.org/">
      <ServiceInvoiceNumber>string</ServiceInvoiceNumber>
      <AuthorizationKey>string</AuthorizationKey>
      <ActiveCompany>string</ActiveCompany>
      <ActiveBranch>string</ActiveBranch>
    </ServiceSalesInvoiceLineSearch>
  </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>
    <ServiceSalesInvoiceLineSearchResponse xmlns="http://tempuri.org/">
      <ServiceSalesInvoiceLineSearchResult>
        <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>
      </ServiceSalesInvoiceLineSearchResult>
    </ServiceSalesInvoiceLineSearchResponse>
  </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>
    <ServiceSalesInvoiceLineSearch xmlns="http://tempuri.org/">
      <ServiceInvoiceNumber>string</ServiceInvoiceNumber>
      <AuthorizationKey>string</AuthorizationKey>
      <ActiveCompany>string</ActiveCompany>
      <ActiveBranch>string</ActiveBranch>
    </ServiceSalesInvoiceLineSearch>
  </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>
    <ServiceSalesInvoiceLineSearchResponse xmlns="http://tempuri.org/">
      <ServiceSalesInvoiceLineSearchResult>
        <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>
      </ServiceSalesInvoiceLineSearchResult>
    </ServiceSalesInvoiceLineSearchResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /SAASWebService/Sales/SalesPurchase.asmx/ServiceSalesInvoiceLineSearch?ServiceInvoiceNumber=string&AuthorizationKey=string&ActiveCompany=string&ActiveBranch=string HTTP/1.1
Host: vp.golfdondurma.com.tr
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfInvoiceParameter xmlns="http://tempuri.org/">
  <InvoiceParameter>
    <Lines>
      <InvoiceLineParameter>
        <ProgressPaymentDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProgressPaymentCustomerDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceLineSerial d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineRefDocuments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineNumber>long</LineNumber>
        <ItemId>string</ItemId>
        <UnitSetId>string</UnitSetId>
        <UnitId>string</UnitId>
        <ConvFact1>decimal</ConvFact1>
        <ConvFact2>decimal</ConvFact2>
        <InvoiceQuantity>decimal</InvoiceQuantity>
        <VatRate>decimal</VatRate>
        <TotalVat>decimal</TotalVat>
        <TotalItemDiscount>decimal</TotalItemDiscount>
        <TotalOtherDiscount>decimal</TotalOtherDiscount>
        <Price>decimal</Price>
        <GrossTotal>decimal</GrossTotal>
        <NetTotal>decimal</NetTotal>
        <Genexp1>string</Genexp1>
        <IsFreeItem>short</IsFreeItem>
        <StatusId>string</StatusId>
        <IsCanceled>short</IsCanceled>
        <CancelReasonId>string</CancelReasonId>
        <RefDocumentId>string</RefDocumentId>
        <FreeReasonId>string</FreeReasonId>
        <CalculatedVat>decimal</CalculatedVat>
        <ContractId>string</ContractId>
        <SalesVolumeId>string</SalesVolumeId>
        <PriceListPrice>decimal</PriceListPrice>
        <ProgressTransactionId>string</ProgressTransactionId>
        <SalesQuantity1>decimal</SalesQuantity1>
        <SalesUnit1Id>string</SalesUnit1Id>
        <SalesQuantity2>decimal</SalesQuantity2>
        <SalesUnit2Id>string</SalesUnit2Id>
        <SalesGrossTotal>decimal</SalesGrossTotal>
        <SalesNetTotal>decimal</SalesNetTotal>
        <SalesPrice>decimal</SalesPrice>
        <SalesTotalVat>decimal</SalesTotalVat>
        <SalesVatRate>decimal</SalesVatRate>
        <DiscountRateText>string</DiscountRateText>
        <PackageQuantity>decimal</PackageQuantity>
        <PieceQuantity>decimal</PieceQuantity>
        <ContractDiscountRate>decimal</ContractDiscountRate>
        <ItemCardType>string</ItemCardType>
        <RejectedQuantity>decimal</RejectedQuantity>
        <RejectedQuantity1>decimal</RejectedQuantity1>
        <RejectedQuantity2>decimal</RejectedQuantity2>
      </InvoiceLineParameter>
      <InvoiceLineParameter>
        <ProgressPaymentDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProgressPaymentCustomerDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceLineSerial d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineRefDocuments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineNumber>long</LineNumber>
        <ItemId>string</ItemId>
        <UnitSetId>string</UnitSetId>
        <UnitId>string</UnitId>
        <ConvFact1>decimal</ConvFact1>
        <ConvFact2>decimal</ConvFact2>
        <InvoiceQuantity>decimal</InvoiceQuantity>
        <VatRate>decimal</VatRate>
        <TotalVat>decimal</TotalVat>
        <TotalItemDiscount>decimal</TotalItemDiscount>
        <TotalOtherDiscount>decimal</TotalOtherDiscount>
        <Price>decimal</Price>
        <GrossTotal>decimal</GrossTotal>
        <NetTotal>decimal</NetTotal>
        <Genexp1>string</Genexp1>
        <IsFreeItem>short</IsFreeItem>
        <StatusId>string</StatusId>
        <IsCanceled>short</IsCanceled>
        <CancelReasonId>string</CancelReasonId>
        <RefDocumentId>string</RefDocumentId>
        <FreeReasonId>string</FreeReasonId>
        <CalculatedVat>decimal</CalculatedVat>
        <ContractId>string</ContractId>
        <SalesVolumeId>string</SalesVolumeId>
        <PriceListPrice>decimal</PriceListPrice>
        <ProgressTransactionId>string</ProgressTransactionId>
        <SalesQuantity1>decimal</SalesQuantity1>
        <SalesUnit1Id>string</SalesUnit1Id>
        <SalesQuantity2>decimal</SalesQuantity2>
        <SalesUnit2Id>string</SalesUnit2Id>
        <SalesGrossTotal>decimal</SalesGrossTotal>
        <SalesNetTotal>decimal</SalesNetTotal>
        <SalesPrice>decimal</SalesPrice>
        <SalesTotalVat>decimal</SalesTotalVat>
        <SalesVatRate>decimal</SalesVatRate>
        <DiscountRateText>string</DiscountRateText>
        <PackageQuantity>decimal</PackageQuantity>
        <PieceQuantity>decimal</PieceQuantity>
        <ContractDiscountRate>decimal</ContractDiscountRate>
        <ItemCardType>string</ItemCardType>
        <RejectedQuantity>decimal</RejectedQuantity>
        <RejectedQuantity1>decimal</RejectedQuantity1>
        <RejectedQuantity2>decimal</RejectedQuantity2>
      </InvoiceLineParameter>
    </Lines>
    <Discounts>
      <InvoiceDiscountParameter>
        <DiscountClassId>string</DiscountClassId>
        <DiscountReasonId>string</DiscountReasonId>
        <DiscountId>string</DiscountId>
        <IsItemLineDiscount>short</IsItemLineDiscount>
        <TotalDiscount>decimal</TotalDiscount>
        <DiscountPercent>float</DiscountPercent>
        <LoyaltyId>string</LoyaltyId>
        <LoyaltyValue>decimal</LoyaltyValue>
        <SalesVolumeId>string</SalesVolumeId>
        <ContractId>string</ContractId>
        <ContractDescription>string</ContractDescription>
        <ItemId>string</ItemId>
        <IsContractDiscount>short</IsContractDiscount>
        <DiscountCategoryId>string</DiscountCategoryId>
        <DiscountKindId>string</DiscountKindId>
      </InvoiceDiscountParameter>
      <InvoiceDiscountParameter>
        <DiscountClassId>string</DiscountClassId>
        <DiscountReasonId>string</DiscountReasonId>
        <DiscountId>string</DiscountId>
        <IsItemLineDiscount>short</IsItemLineDiscount>
        <TotalDiscount>decimal</TotalDiscount>
        <DiscountPercent>float</DiscountPercent>
        <LoyaltyId>string</LoyaltyId>
        <LoyaltyValue>decimal</LoyaltyValue>
        <SalesVolumeId>string</SalesVolumeId>
        <ContractId>string</ContractId>
        <ContractDescription>string</ContractDescription>
        <ItemId>string</ItemId>
        <IsContractDiscount>short</IsContractDiscount>
        <DiscountCategoryId>string</DiscountCategoryId>
        <DiscountKindId>string</DiscountKindId>
      </InvoiceDiscountParameter>
    </Discounts>
    <RefDocuments>
      <InvoiceRefDocumentParameter>
        <InvoiceId>string</InvoiceId>
        <RefDocumentTypeId>string</RefDocumentTypeId>
        <RefDocumentId>string</RefDocumentId>
        <RefDocumentNumber>string</RefDocumentNumber>
        <RefDocumentSystemNumber>string</RefDocumentSystemNumber>
        <RefDocumentRepresentativeId>string</RefDocumentRepresentativeId>
        <RefDocumentCustomerId>string</RefDocumentCustomerId>
        <RefDocumentDate>dateTime</RefDocumentDate>
      </InvoiceRefDocumentParameter>
      <InvoiceRefDocumentParameter>
        <InvoiceId>string</InvoiceId>
        <RefDocumentTypeId>string</RefDocumentTypeId>
        <RefDocumentId>string</RefDocumentId>
        <RefDocumentNumber>string</RefDocumentNumber>
        <RefDocumentSystemNumber>string</RefDocumentSystemNumber>
        <RefDocumentRepresentativeId>string</RefDocumentRepresentativeId>
        <RefDocumentCustomerId>string</RefDocumentCustomerId>
        <RefDocumentDate>dateTime</RefDocumentDate>
      </InvoiceRefDocumentParameter>
    </RefDocuments>
    <DiscountItemDetails>
      <InvoiceDiscountItemDetailParameter>
        <InvoiceId>long</InvoiceId>
        <DiscountTotal>decimal</DiscountTotal>
        <StatusId>long</StatusId>
        <DiscountId>string</DiscountId>
        <DiscountRate>decimal</DiscountRate>
        <GivenQuantity>decimal</GivenQuantity>
        <ItemId>string</ItemId>
      </InvoiceDiscountItemDetailParameter>
      <InvoiceDiscountItemDetailParameter>
        <InvoiceId>long</InvoiceId>
        <DiscountTotal>decimal</DiscountTotal>
        <StatusId>long</StatusId>
        <DiscountId>string</DiscountId>
        <DiscountRate>decimal</DiscountRate>
        <GivenQuantity>decimal</GivenQuantity>
        <ItemId>string</ItemId>
      </InvoiceDiscountItemDetailParameter>
    </DiscountItemDetails>
    <PaymentPlans>
      <InvoicePaymentPlanParameter>
        <InvoiceId>long</InvoiceId>
        <PaymentPeriod>long</PaymentPeriod>
        <PaymentDate>dateTime</PaymentDate>
        <Amount>decimal</Amount>
        <Paid>decimal</Paid>
        <ReorganizationId>long</ReorganizationId>
      </InvoicePaymentPlanParameter>
      <InvoicePaymentPlanParameter>
        <InvoiceId>long</InvoiceId>
        <PaymentPeriod>long</PaymentPeriod>
        <PaymentDate>dateTime</PaymentDate>
        <Amount>decimal</Amount>
        <Paid>decimal</Paid>
        <ReorganizationId>long</ReorganizationId>
      </InvoicePaymentPlanParameter>
    </PaymentPlans>
    <DiscountPrints>
      <InvoiceDiscountPrintParameter>
        <DiscountRate>decimal</DiscountRate>
        <DiscountTotal>decimal</DiscountTotal>
      </InvoiceDiscountPrintParameter>
      <InvoiceDiscountPrintParameter>
        <DiscountRate>decimal</DiscountRate>
        <DiscountTotal>decimal</DiscountTotal>
      </InvoiceDiscountPrintParameter>
    </DiscountPrints>
    <ProgressPayments>
      <InvoiceId>string</InvoiceId>
      <ItemId>string</ItemId>
      <RecordId>string</RecordId>
      <CustomerId>string</CustomerId>
      <PaymentTotal>decimal</PaymentTotal>
      <TransactionTotal>decimal</TransactionTotal>
      <Details>
        <InvoiceProgressPaymentDetailParameter d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceProgressPaymentDetailParameter d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Details>
    </ProgressPayments>
    <PalletQuantityParams>
      <PalletQuantityParams>
        <Code>string</Code>
        <CompanyId>decimal</CompanyId>
        <BranchId>decimal</BranchId>
        <Description1>string</Description1>
        <UserId>decimal</UserId>
        <Barcode>string</Barcode>
        <Quantity>decimal</Quantity>
        <DocumentId>decimal</DocumentId>
        <DespatchNumber>string</DespatchNumber>
        <CompanyCode>string</CompanyCode>
        <CustomerCode>string</CustomerCode>
      </PalletQuantityParams>
      <PalletQuantityParams>
        <Code>string</Code>
        <CompanyId>decimal</CompanyId>
        <BranchId>decimal</BranchId>
        <Description1>string</Description1>
        <UserId>decimal</UserId>
        <Barcode>string</Barcode>
        <Quantity>decimal</Quantity>
        <DocumentId>decimal</DocumentId>
        <DespatchNumber>string</DespatchNumber>
        <CompanyCode>string</CompanyCode>
        <CustomerCode>string</CustomerCode>
      </PalletQuantityParams>
    </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>
        <ProgressPaymentDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProgressPaymentCustomerDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceLineSerial d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineRefDocuments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineNumber>long</LineNumber>
        <ItemId>string</ItemId>
        <UnitSetId>string</UnitSetId>
        <UnitId>string</UnitId>
        <ConvFact1>decimal</ConvFact1>
        <ConvFact2>decimal</ConvFact2>
        <InvoiceQuantity>decimal</InvoiceQuantity>
        <VatRate>decimal</VatRate>
        <TotalVat>decimal</TotalVat>
        <TotalItemDiscount>decimal</TotalItemDiscount>
        <TotalOtherDiscount>decimal</TotalOtherDiscount>
        <Price>decimal</Price>
        <GrossTotal>decimal</GrossTotal>
        <NetTotal>decimal</NetTotal>
        <Genexp1>string</Genexp1>
        <IsFreeItem>short</IsFreeItem>
        <StatusId>string</StatusId>
        <IsCanceled>short</IsCanceled>
        <CancelReasonId>string</CancelReasonId>
        <RefDocumentId>string</RefDocumentId>
        <FreeReasonId>string</FreeReasonId>
        <CalculatedVat>decimal</CalculatedVat>
        <ContractId>string</ContractId>
        <SalesVolumeId>string</SalesVolumeId>
        <PriceListPrice>decimal</PriceListPrice>
        <ProgressTransactionId>string</ProgressTransactionId>
        <SalesQuantity1>decimal</SalesQuantity1>
        <SalesUnit1Id>string</SalesUnit1Id>
        <SalesQuantity2>decimal</SalesQuantity2>
        <SalesUnit2Id>string</SalesUnit2Id>
        <SalesGrossTotal>decimal</SalesGrossTotal>
        <SalesNetTotal>decimal</SalesNetTotal>
        <SalesPrice>decimal</SalesPrice>
        <SalesTotalVat>decimal</SalesTotalVat>
        <SalesVatRate>decimal</SalesVatRate>
        <DiscountRateText>string</DiscountRateText>
        <PackageQuantity>decimal</PackageQuantity>
        <PieceQuantity>decimal</PieceQuantity>
        <ContractDiscountRate>decimal</ContractDiscountRate>
        <ItemCardType>string</ItemCardType>
        <RejectedQuantity>decimal</RejectedQuantity>
        <RejectedQuantity1>decimal</RejectedQuantity1>
        <RejectedQuantity2>decimal</RejectedQuantity2>
      </InvoiceLineParameter>
      <InvoiceLineParameter>
        <ProgressPaymentDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProgressPaymentCustomerDetail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceLineSerial d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineRefDocuments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LineNumber>long</LineNumber>
        <ItemId>string</ItemId>
        <UnitSetId>string</UnitSetId>
        <UnitId>string</UnitId>
        <ConvFact1>decimal</ConvFact1>
        <ConvFact2>decimal</ConvFact2>
        <InvoiceQuantity>decimal</InvoiceQuantity>
        <VatRate>decimal</VatRate>
        <TotalVat>decimal</TotalVat>
        <TotalItemDiscount>decimal</TotalItemDiscount>
        <TotalOtherDiscount>decimal</TotalOtherDiscount>
        <Price>decimal</Price>
        <GrossTotal>decimal</GrossTotal>
        <NetTotal>decimal</NetTotal>
        <Genexp1>string</Genexp1>
        <IsFreeItem>short</IsFreeItem>
        <StatusId>string</StatusId>
        <IsCanceled>short</IsCanceled>
        <CancelReasonId>string</CancelReasonId>
        <RefDocumentId>string</RefDocumentId>
        <FreeReasonId>string</FreeReasonId>
        <CalculatedVat>decimal</CalculatedVat>
        <ContractId>string</ContractId>
        <SalesVolumeId>string</SalesVolumeId>
        <PriceListPrice>decimal</PriceListPrice>
        <ProgressTransactionId>string</ProgressTransactionId>
        <SalesQuantity1>decimal</SalesQuantity1>
        <SalesUnit1Id>string</SalesUnit1Id>
        <SalesQuantity2>decimal</SalesQuantity2>
        <SalesUnit2Id>string</SalesUnit2Id>
        <SalesGrossTotal>decimal</SalesGrossTotal>
        <SalesNetTotal>decimal</SalesNetTotal>
        <SalesPrice>decimal</SalesPrice>
        <SalesTotalVat>decimal</SalesTotalVat>
        <SalesVatRate>decimal</SalesVatRate>
        <DiscountRateText>string</DiscountRateText>
        <PackageQuantity>decimal</PackageQuantity>
        <PieceQuantity>decimal</PieceQuantity>
        <ContractDiscountRate>decimal</ContractDiscountRate>
        <ItemCardType>string</ItemCardType>
        <RejectedQuantity>decimal</RejectedQuantity>
        <RejectedQuantity1>decimal</RejectedQuantity1>
        <RejectedQuantity2>decimal</RejectedQuantity2>
      </InvoiceLineParameter>
    </Lines>
    <Discounts>
      <InvoiceDiscountParameter>
        <DiscountClassId>string</DiscountClassId>
        <DiscountReasonId>string</DiscountReasonId>
        <DiscountId>string</DiscountId>
        <IsItemLineDiscount>short</IsItemLineDiscount>
        <TotalDiscount>decimal</TotalDiscount>
        <DiscountPercent>float</DiscountPercent>
        <LoyaltyId>string</LoyaltyId>
        <LoyaltyValue>decimal</LoyaltyValue>
        <SalesVolumeId>string</SalesVolumeId>
        <ContractId>string</ContractId>
        <ContractDescription>string</ContractDescription>
        <ItemId>string</ItemId>
        <IsContractDiscount>short</IsContractDiscount>
        <DiscountCategoryId>string</DiscountCategoryId>
        <DiscountKindId>string</DiscountKindId>
      </InvoiceDiscountParameter>
      <InvoiceDiscountParameter>
        <DiscountClassId>string</DiscountClassId>
        <DiscountReasonId>string</DiscountReasonId>
        <DiscountId>string</DiscountId>
        <IsItemLineDiscount>short</IsItemLineDiscount>
        <TotalDiscount>decimal</TotalDiscount>
        <DiscountPercent>float</DiscountPercent>
        <LoyaltyId>string</LoyaltyId>
        <LoyaltyValue>decimal</LoyaltyValue>
        <SalesVolumeId>string</SalesVolumeId>
        <ContractId>string</ContractId>
        <ContractDescription>string</ContractDescription>
        <ItemId>string</ItemId>
        <IsContractDiscount>short</IsContractDiscount>
        <DiscountCategoryId>string</DiscountCategoryId>
        <DiscountKindId>string</DiscountKindId>
      </InvoiceDiscountParameter>
    </Discounts>
    <RefDocuments>
      <InvoiceRefDocumentParameter>
        <InvoiceId>string</InvoiceId>
        <RefDocumentTypeId>string</RefDocumentTypeId>
        <RefDocumentId>string</RefDocumentId>
        <RefDocumentNumber>string</RefDocumentNumber>
        <RefDocumentSystemNumber>string</RefDocumentSystemNumber>
        <RefDocumentRepresentativeId>string</RefDocumentRepresentativeId>
        <RefDocumentCustomerId>string</RefDocumentCustomerId>
        <RefDocumentDate>dateTime</RefDocumentDate>
      </InvoiceRefDocumentParameter>
      <InvoiceRefDocumentParameter>
        <InvoiceId>string</InvoiceId>
        <RefDocumentTypeId>string</RefDocumentTypeId>
        <RefDocumentId>string</RefDocumentId>
        <RefDocumentNumber>string</RefDocumentNumber>
        <RefDocumentSystemNumber>string</RefDocumentSystemNumber>
        <RefDocumentRepresentativeId>string</RefDocumentRepresentativeId>
        <RefDocumentCustomerId>string</RefDocumentCustomerId>
        <RefDocumentDate>dateTime</RefDocumentDate>
      </InvoiceRefDocumentParameter>
    </RefDocuments>
    <DiscountItemDetails>
      <InvoiceDiscountItemDetailParameter>
        <InvoiceId>long</InvoiceId>
        <DiscountTotal>decimal</DiscountTotal>
        <StatusId>long</StatusId>
        <DiscountId>string</DiscountId>
        <DiscountRate>decimal</DiscountRate>
        <GivenQuantity>decimal</GivenQuantity>
        <ItemId>string</ItemId>
      </InvoiceDiscountItemDetailParameter>
      <InvoiceDiscountItemDetailParameter>
        <InvoiceId>long</InvoiceId>
        <DiscountTotal>decimal</DiscountTotal>
        <StatusId>long</StatusId>
        <DiscountId>string</DiscountId>
        <DiscountRate>decimal</DiscountRate>
        <GivenQuantity>decimal</GivenQuantity>
        <ItemId>string</ItemId>
      </InvoiceDiscountItemDetailParameter>
    </DiscountItemDetails>
    <PaymentPlans>
      <InvoicePaymentPlanParameter>
        <InvoiceId>long</InvoiceId>
        <PaymentPeriod>long</PaymentPeriod>
        <PaymentDate>dateTime</PaymentDate>
        <Amount>decimal</Amount>
        <Paid>decimal</Paid>
        <ReorganizationId>long</ReorganizationId>
      </InvoicePaymentPlanParameter>
      <InvoicePaymentPlanParameter>
        <InvoiceId>long</InvoiceId>
        <PaymentPeriod>long</PaymentPeriod>
        <PaymentDate>dateTime</PaymentDate>
        <Amount>decimal</Amount>
        <Paid>decimal</Paid>
        <ReorganizationId>long</ReorganizationId>
      </InvoicePaymentPlanParameter>
    </PaymentPlans>
    <DiscountPrints>
      <InvoiceDiscountPrintParameter>
        <DiscountRate>decimal</DiscountRate>
        <DiscountTotal>decimal</DiscountTotal>
      </InvoiceDiscountPrintParameter>
      <InvoiceDiscountPrintParameter>
        <DiscountRate>decimal</DiscountRate>
        <DiscountTotal>decimal</DiscountTotal>
      </InvoiceDiscountPrintParameter>
    </DiscountPrints>
    <ProgressPayments>
      <InvoiceId>string</InvoiceId>
      <ItemId>string</ItemId>
      <RecordId>string</RecordId>
      <CustomerId>string</CustomerId>
      <PaymentTotal>decimal</PaymentTotal>
      <TransactionTotal>decimal</TransactionTotal>
      <Details>
        <InvoiceProgressPaymentDetailParameter d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceProgressPaymentDetailParameter d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Details>
    </ProgressPayments>
    <PalletQuantityParams>
      <PalletQuantityParams>
        <Code>string</Code>
        <CompanyId>decimal</CompanyId>
        <BranchId>decimal</BranchId>
        <Description1>string</Description1>
        <UserId>decimal</UserId>
        <Barcode>string</Barcode>
        <Quantity>decimal</Quantity>
        <DocumentId>decimal</DocumentId>
        <DespatchNumber>string</DespatchNumber>
        <CompanyCode>string</CompanyCode>
        <CustomerCode>string</CustomerCode>
      </PalletQuantityParams>
      <PalletQuantityParams>
        <Code>string</Code>
        <CompanyId>decimal</CompanyId>
        <BranchId>decimal</BranchId>
        <Description1>string</Description1>
        <UserId>decimal</UserId>
        <Barcode>string</Barcode>
        <Quantity>decimal</Quantity>
        <DocumentId>decimal</DocumentId>
        <DespatchNumber>string</DespatchNumber>
        <CompanyCode>string</CompanyCode>
        <CustomerCode>string</CustomerCode>
      </PalletQuantityParams>
    </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>
</ArrayOfInvoiceParameter>