Service


Click here for a complete list of operations.

DeliverOrderEu

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 /SveaWebPay.asmx HTTP/1.1
Host: webpaywsstage.svea.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://webservices.sveaekonomi.se/webpay/DeliverOrderEu"

<?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>
    <DeliverOrderEu xmlns="https://webservices.sveaekonomi.se/webpay">
      <request>
        <DeliverOrderInformation>
          <SveaOrderId>long</SveaOrderId>
          <OrderType>Invoice or PaymentPlan or Loan or AccountCredit</OrderType>
          <DeliverInvoiceDetails>
            <NumberOfCreditDays>int</NumberOfCreditDays>
            <InvoiceDistributionType>NotDefined or Post or Email or EInvoiceB2B or Peppol or Omni or Omni20 or Omni21 or Omni22 or Omni23 or Omni24</InvoiceDistributionType>
            <IsCreditInvoice>boolean</IsCreditInvoice>
            <InvoiceIdToCredit>long</InvoiceIdToCredit>
            <OrderRows xsi:nil="true" />
            <PrintType>int</PrintType>
            <Notes>string</Notes>
          </DeliverInvoiceDetails>
          <DeliverAccountCreditDetails>
            <OrderRows xsi:nil="true" />
          </DeliverAccountCreditDetails>
        </DeliverOrderInformation>
      </request>
    </DeliverOrderEu>
  </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>
    <DeliverOrderEuResponse xmlns="https://webservices.sveaekonomi.se/webpay">
      <DeliverOrderEuResult>
        <ResultCode>int</ResultCode>
        <DeliverOrderResult>
          <Amount>decimal</Amount>
          <OrderType>Invoice or PaymentPlan or Loan or AccountCredit</OrderType>
          <InvoiceResultDetails>
            <InvoiceId>long</InvoiceId>
            <DueDate>dateTime</DueDate>
            <InvoiceDate>dateTime</InvoiceDate>
            <InvoiceDistributionType>NotDefined or Post or Email or EInvoiceB2B or Peppol or Omni or Omni20 or Omni21 or Omni22 or Omni23 or Omni24</InvoiceDistributionType>
            <Ocr>string</Ocr>
            <LowestAmountToPay>decimal</LowestAmountToPay>
          </InvoiceResultDetails>
          <PaymentPlanResultDetails>
            <ContractNumber>long</ContractNumber>
          </PaymentPlanResultDetails>
          <AccountCreditResultDetails>
            <ContractNumber>long</ContractNumber>
            <AccountCreditId>long</AccountCreditId>
          </AccountCreditResultDetails>
        </DeliverOrderResult>
      </DeliverOrderEuResult>
    </DeliverOrderEuResponse>
  </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 /SveaWebPay.asmx HTTP/1.1
Host: webpaywsstage.svea.com
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>
    <DeliverOrderEu xmlns="https://webservices.sveaekonomi.se/webpay">
      <request>
        <DeliverOrderInformation>
          <SveaOrderId>long</SveaOrderId>
          <OrderType>Invoice or PaymentPlan or Loan or AccountCredit</OrderType>
          <DeliverInvoiceDetails>
            <NumberOfCreditDays>int</NumberOfCreditDays>
            <InvoiceDistributionType>NotDefined or Post or Email or EInvoiceB2B or Peppol or Omni or Omni20 or Omni21 or Omni22 or Omni23 or Omni24</InvoiceDistributionType>
            <IsCreditInvoice>boolean</IsCreditInvoice>
            <InvoiceIdToCredit>long</InvoiceIdToCredit>
            <OrderRows xsi:nil="true" />
            <PrintType>int</PrintType>
            <Notes>string</Notes>
          </DeliverInvoiceDetails>
          <DeliverAccountCreditDetails>
            <OrderRows xsi:nil="true" />
          </DeliverAccountCreditDetails>
        </DeliverOrderInformation>
      </request>
    </DeliverOrderEu>
  </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>
    <DeliverOrderEuResponse xmlns="https://webservices.sveaekonomi.se/webpay">
      <DeliverOrderEuResult>
        <ResultCode>int</ResultCode>
        <DeliverOrderResult>
          <Amount>decimal</Amount>
          <OrderType>Invoice or PaymentPlan or Loan or AccountCredit</OrderType>
          <InvoiceResultDetails>
            <InvoiceId>long</InvoiceId>
            <DueDate>dateTime</DueDate>
            <InvoiceDate>dateTime</InvoiceDate>
            <InvoiceDistributionType>NotDefined or Post or Email or EInvoiceB2B or Peppol or Omni or Omni20 or Omni21 or Omni22 or Omni23 or Omni24</InvoiceDistributionType>
            <Ocr>string</Ocr>
            <LowestAmountToPay>decimal</LowestAmountToPay>
          </InvoiceResultDetails>
          <PaymentPlanResultDetails>
            <ContractNumber>long</ContractNumber>
          </PaymentPlanResultDetails>
          <AccountCreditResultDetails>
            <ContractNumber>long</ContractNumber>
            <AccountCreditId>long</AccountCreditId>
          </AccountCreditResultDetails>
        </DeliverOrderResult>
      </DeliverOrderEuResult>
    </DeliverOrderEuResponse>
  </soap12:Body>
</soap12:Envelope>