pondersource / peppol-php

An implementation of Peppol in PHP
MIT License
15 stars 5 forks source link

two or three KYC implementations for CYB #147

Closed michielbdejong closed 2 years ago

michielbdejong commented 2 years ago

I'll try to produce some GUI content that we can use for this.

michielbdejong commented 2 years ago

Basically, we need CYB as a basic Laravel app, where the user can follow a wizard to claim a Peppol ID. They also need to put in their domain name. We can use /.well-known/as4-direct as the location of the certificate pem.

michielbdejong commented 2 years ago

VIES only counts as one, even though it covers many countries. It also doesn't provide proof-of-possession, just proof-of-existence. In cases where it mentions a postal address, it could be completed with sending a letter with a code to that address (e.g. I noticed MoneyBird use this technique).

As a second one we could do KvK. I requested an API key (5 eur/month). Basisprofiel and Vestigingsprofiel both have 'websites'.

michielbdejong commented 2 years ago

90003942 -> ["www.domeinnaam1.nl","www.domeinnaam2.nl","www.domeinnaam3.nl"]

michielbdejong commented 2 years ago

I was thinking whether the register UI should be in the Nextcloud app or in the re-signing-gateway GUI. The advantage of doing it in Nextcloud is that all registrations are automatically linked to a public key. Maybe we can offer both in the future. For now, I think it's easiest to demonstrate with GUI on the re-signing-gateway. In any case, it needs a user database. I'll add a backend class to the re-signing-gateway that takes care of storing the registrations so that the forwarder can look them up.

michielbdejong commented 2 years ago

Done, see https://github.com/pondersource/peppol-php/tree/main/re-signing-gateway#re-signing-gateway