The Dibito REST API provides services to submit, verify and deliver eBills. The API is designed to be used by biller integrations.
https://app.dibito.ch/
email address of the bill recipient
SIX ID of the bill recipient
Swiss enterprise identification number (UID) without dashes, dots or extension. Note that this has to contain the swiss enterprise identification number (UID) from the commercial register (Handelsregister) which may be different from the VAT UID (Mehrwertsteuer UID).
https://app.dibito.ch/api/v1/bill-recipients/search
curl -i -X POST \
https://app.dibito.ch/api/v1/bill-recipients/search \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"items": [
{
"emailAddress": "peter@muster.ch",
"billRecipientSixId": 41010560425610180,
"enterpriseIdentificationNumber": "CHE123456789"
}
]
}'
Search successfully executed
email address of the bill recipient
SIX ID of the bill recipient
Swiss enterprise identification number (UID) without dashes, dots or extension. Note that this has to contain the swiss enterprise identification number (UID) from the commercial register (Handelsregister) which may be different from the VAT UID (Mehrwertsteuer UID).
{ "items": [ { … } ] }
Verify if a bill recipient is part of the eBill infrastructure by its billRecipientSixId. The call will return the billRecipientSixId if the bill recipient has been found in the eBill infrastructure. Receiving a billRecipientSixId does not necessary mean that the corresponding bill recipient is an active eBill user, it only means that this billRecipientSixId exists in the eBill infrastructure.
https://app.dibito.ch/api/v1/bill-recipients/{billRecipientSixId}
curl -i -X GET \
'https://app.dibito.ch/api/v1/bill-recipients/{billRecipientSixId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'
{ "billRecipientSixId": 41010560425610180 }