PayrollService


Click here for a complete list of operations.

SendFacturation

Send element to the facturation service (SAP)

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 /Payroll/PayrollService.asmx HTTP/1.1
Host: ws-app.ebp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ws-app.ebp.com/Payroll/SendFacturation"

<?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>
    <SendFacturation xmlns="https://ws-app.ebp.com/Payroll/">
      <applicationInfo>
        <ShortName>string</ShortName>
        <License>int</License>
        <WebKey>string</WebKey>
        <Version>string</Version>
        <CountryId>string</CountryId>
        <LanguageId>string</LanguageId>
        <MachineKey>string</MachineKey>
        <ActivationCode>string</ActivationCode>
        <ProductID>string</ProductID>
        <ParamVersion>string</ParamVersion>
        <CorporateBranch>None or France or Belgium or Switzerland or Spain or Mexico or UnitedKingdom or Automotive</CorporateBranch>
      </applicationInfo>
      <facturation>
        <LicenceID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">int</LicenceID>
        <WebKey xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">string</WebKey>
        <NoticePoste xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">string</NoticePoste>
        <UniqueID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">string</UniqueID>
        <DtCloture xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">dateTime</DtCloture>
        <DtPeriodeDebut xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">dateTime</DtPeriodeDebut>
        <DtPeriodeFin xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">dateTime</DtPeriodeFin>
        <Details xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">
          <SemiExtFacturationInfoDetail>
            <ArticleID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</ArticleID>
            <Qte xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">decimal</Qte>
            <UniqueID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</UniqueID>
            <DtCloture xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">dateTime</DtCloture>
          </SemiExtFacturationInfoDetail>
          <SemiExtFacturationInfoDetail>
            <ArticleID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</ArticleID>
            <Qte xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">decimal</Qte>
            <UniqueID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</UniqueID>
            <DtCloture xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">dateTime</DtCloture>
          </SemiExtFacturationInfoDetail>
        </Details>
      </facturation>
    </SendFacturation>
  </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>
    <SendFacturationResponse xmlns="https://ws-app.ebp.com/Payroll/">
      <SendFacturationResult>
        <Errors xmlns="EBP.SIWS.Common.IO">
          <Error>
            <Kind xmlns="EBP.SIWS.Common.Errors">Aucun or Information or Warning or Error or Critical</Kind>
            <Message xmlns="EBP.SIWS.Common.Errors">string</Message>
            <Number xmlns="EBP.SIWS.Common.Errors">int</Number>
            <Code xmlns="EBP.SIWS.Common.Errors">string</Code>
          </Error>
          <Error>
            <Kind xmlns="EBP.SIWS.Common.Errors">Aucun or Information or Warning or Error or Critical</Kind>
            <Message xmlns="EBP.SIWS.Common.Errors">string</Message>
            <Number xmlns="EBP.SIWS.Common.Errors">int</Number>
            <Code xmlns="EBP.SIWS.Common.Errors">string</Code>
          </Error>
        </Errors>
        <ReturnObject xmlns="EBP.SIWS.Common.IO">boolean</ReturnObject>
        <AllOk xmlns="EBP.SIWS.Common.IO">boolean</AllOk>
      </SendFacturationResult>
    </SendFacturationResponse>
  </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 /Payroll/PayrollService.asmx HTTP/1.1
Host: ws-app.ebp.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>
    <SendFacturation xmlns="https://ws-app.ebp.com/Payroll/">
      <applicationInfo>
        <ShortName>string</ShortName>
        <License>int</License>
        <WebKey>string</WebKey>
        <Version>string</Version>
        <CountryId>string</CountryId>
        <LanguageId>string</LanguageId>
        <MachineKey>string</MachineKey>
        <ActivationCode>string</ActivationCode>
        <ProductID>string</ProductID>
        <ParamVersion>string</ParamVersion>
        <CorporateBranch>None or France or Belgium or Switzerland or Spain or Mexico or UnitedKingdom or Automotive</CorporateBranch>
      </applicationInfo>
      <facturation>
        <LicenceID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">int</LicenceID>
        <WebKey xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">string</WebKey>
        <NoticePoste xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">string</NoticePoste>
        <UniqueID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">string</UniqueID>
        <DtCloture xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">dateTime</DtCloture>
        <DtPeriodeDebut xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">dateTime</DtPeriodeDebut>
        <DtPeriodeFin xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">dateTime</DtPeriodeFin>
        <Details xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfo">
          <SemiExtFacturationInfoDetail>
            <ArticleID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</ArticleID>
            <Qte xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">decimal</Qte>
            <UniqueID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</UniqueID>
            <DtCloture xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">dateTime</DtCloture>
          </SemiExtFacturationInfoDetail>
          <SemiExtFacturationInfoDetail>
            <ArticleID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</ArticleID>
            <Qte xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">decimal</Qte>
            <UniqueID xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">string</UniqueID>
            <DtCloture xmlns="EBP.SIWS.Dev.SemiExtFacturationInfo.SemiExtFacturationInfoDetail">dateTime</DtCloture>
          </SemiExtFacturationInfoDetail>
        </Details>
      </facturation>
    </SendFacturation>
  </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>
    <SendFacturationResponse xmlns="https://ws-app.ebp.com/Payroll/">
      <SendFacturationResult>
        <Errors xmlns="EBP.SIWS.Common.IO">
          <Error>
            <Kind xmlns="EBP.SIWS.Common.Errors">Aucun or Information or Warning or Error or Critical</Kind>
            <Message xmlns="EBP.SIWS.Common.Errors">string</Message>
            <Number xmlns="EBP.SIWS.Common.Errors">int</Number>
            <Code xmlns="EBP.SIWS.Common.Errors">string</Code>
          </Error>
          <Error>
            <Kind xmlns="EBP.SIWS.Common.Errors">Aucun or Information or Warning or Error or Critical</Kind>
            <Message xmlns="EBP.SIWS.Common.Errors">string</Message>
            <Number xmlns="EBP.SIWS.Common.Errors">int</Number>
            <Code xmlns="EBP.SIWS.Common.Errors">string</Code>
          </Error>
        </Errors>
        <ReturnObject xmlns="EBP.SIWS.Common.IO">boolean</ReturnObject>
        <AllOk xmlns="EBP.SIWS.Common.IO">boolean</AllOk>
      </SendFacturationResult>
    </SendFacturationResponse>
  </soap12:Body>
</soap12:Envelope>