Jarne Staelens (Dochy Glas) asked a question.

Is it possible to generate the xml used in Peppol e-invoicing from code?

In or old application, we used eConnect to integrate with the peppol network. And this is working fine. We still use our old application for invoicing.

 

But our (new) Progress OpenEdge application does not yes send invoices via the peppol network. Can I build the xml that is nessesary for peppol in my Progress OpenEdge application? And then send the xml, with a HttpClient to a peppol access point?

 

I found this Progress article, but other that that there is not much practical information.

 

I now that you can make xml files in Progress, but I don't know difficult it is to build the correct structure needed for Peppol (correct field and mappings so it passes the Peppol validation).

 

What is the simpelest way to integrate with peppol for an OpenEdge application? Do you recomend eConnect or someting similar?

 

 


Peter Judge likes this.
  • Peter Judge (Consultingwerk)

    YOu can certainly build the XML and send it via HTTP to the Peppol . it _looks_ like peppol uses SOAP (and publishes a WSDL), which you can use with the OE-shipped bprowsdldoc script to generate a sample Prodataset which can then be passed to the endpoints.

     

    There are also (at least on the site I guessed, https://docs.peppol.eu/edelivery/) XSD files which might be used to create temp-tables.

  • Jarne Staelens (Dochy Glas)

    Hello Peter,

    Is it possible to show an example off how the XML is build? I used the bprowsdldoc script to generate te dataset. But there where many datasets generated, and I am now confused which dataset that I heve to use.

  • Peter Judge (Consultingwerk)

    @Jarne Staelens (Dochy Glas)​ You will first need to identify which operations you want to call. Hopefully that has a dataset defined for it, and then you can populate the temp-tables as typically, and run the webservice.

     

     

  • kabab bodum (Customer)

    It is possible in OpenEdge, but I wouldn’t build the entire Peppol integration yourself unless you have a strong reason to. OpenEdge can create XML and send it through its HTTP client, so technically the approach you describe is feasible.