I made a little survey of the Peppol service providers.
I found at least this three which are API oriented:
2 of them are using UBL as exchange format for the outgoing and incoming invoices.
And Billit has its own JSON format (from which, I guess, they convert into UBL (or any other allowed format by Peppol)) but also support SFTP. (I do not think the API is great because they recompute the taxes.)
So I think that adding support for Peppol should be done first by creating a edocument_ubl
and document_incoming_ubl
which support the Invoice document.
After that the connection to specific providers will be just about implemented the submission and webhook routes and authentication.
I think it will be good to have options for the service providers (as we have already for the carriers).
What do you think?