Events for status changes of instalment bills only.
Dibito REST API (1.1)
The Dibito REST API provides services to submit, verify and deliver eBills. The API is designed to be used by biller integrations.
Please refer to the API tutorial for your first eBill submission.
API Key
This API requires an API key to be passed in the `X-API-Key` header.Generate your API key in the Dibito application under "Dibito -> API Keys".
Top level overview
- Create bills by posting either a QR-Invoice as PDF to the /v1/business-cases` endpoint or a fully populated JSON object to one of the business case type endpoints.
- If the request succeeds, it passed validation and can be delivered to the eBill recipients.
- Use the webhook endpoints to be notified about changes to your recipient subscriptions or business case statuses.
Referencing existing bills
If you pass one of the reference parameters or fill in the referenced bills section in your business case, the submitted eBill will:- In case of a reminder: Add a reminder to the eBill portal of the reciepient for the referenced bill.
- In case of a donation inquiry: Will do nothing. Donation inquiries cannot be referenced.
- In any other case: Replace the referenced bill with the new one in the eBill portal of the recipient. (Hint: Use advices to effectively cancel delivered eBills.)
Product Website
https://www.dibito.chFurther Informations
Consult our documentation for further informations about creating and handling eBills.https://app.dibito.ch/
- Generated server url
https://app.dibito.ch/api/v1/events/six/instalment-status-changed
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://app.dibito.ch/api/v1/events/six/instalment-status-changed?lastEventSixId=string&limit=100' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Instalment status changed events found
SIX event ID
business case SIX ID
external ID of the respective paymentByInstalment
external ID of the instalment
the new status of the instalment
[ { "id": 12345, "sixId": "EVID82A65938766547EBBBA39BA6F7B07F24", "timestamp": "2015-01-01T10:00Z", "businessCaseId": 12345, "businessCaseSixId": "BCID0FB909852BBC4D06AD8336AAE87D7FC9", "paymentByInstalmentsId": 12345, "paymentByInstalmentsSixId": "298031-2999", "instalmentId": 12345, "instalmentSixId": "298031-2999-ACX01", "newStatus": "OPEN", "approvedAmount": { … } } ]
- Generated server url
https://app.dibito.ch/api/v1/events/six/business-case-status-changed
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://app.dibito.ch/api/v1/events/six/business-case-status-changed?lastEventSixId=string&limit=100' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Business case status changed events found
SIX event ID
Business Case SIX ID
the new status of the business case
optional field only to be used for donation inquiries to represent a potential selection of a donation purpose by the bill recipient, note the connection to the field externalDonationPurposeId from eBill business case specification
[ { "id": 12345, "sixId": "EVID82A65938766547EBBBA39BA6F7B07F24", "timestamp": "2015-01-01T10:00Z", "businessCaseId": 12345, "businessCaseSixId": "BCID0FB909852BBC4D06AD8336AAE87D7FC9", "newStatus": "OPEN", "approvedAmount": { … }, "externalDonationPurposeId": "string" } ]
- Generated server url
https://app.dibito.ch/api/v1/events/six/bill-recipient-subscription-status-changed
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://app.dibito.ch/api/v1/events/six/bill-recipient-subscription-status-changed?lastEventSixId=string&limit=100' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Bill recipient subscription changed events found
SIX Event ID
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).
last name, if private bill recipient company name, if company bill recipient
first name, if private bill recipient empty, if company bill recipient
language for correspondence with this bill recipient ISO-639-2/B
street name
Account number of the biller (e.g. iban), if provided from the financial institution
QR or creditor reference number, if provided from the financial institution.
the new status of the bill recipient subscription, see "Subscriptions and subscription cancellations" for further information
[ { "id": 12345, "sixId": "EVID82A65938766547EBBBA39BA6F7B07F24", "timestamp": "2015-01-01T10:00Z", "billRecipient": { … }, "accountNumber": "string", "referenceStructured": 1.2345612345678902e+26, "billRecipientSubscriptionFormFields": [ … ], "newStatus": "INACTIVE" } ]
Request
This event is triggered after a biller has submitted a business case with an outdated, so called historically available email address. It notifies about the changed email address of a bill recipient, which has been adjusted in eBill. An email address is considered to be historically available if it was present up to 15 months prior to the submission time. The billers are able to submit business cases with historically available email addresses of a bill recipient. However, latest 15 months after the email address changed, the billers are required to submit the business cases with the currently valid email address of the bill recipient.
- Generated server url
https://app.dibito.ch/api/v1/events/six/bill-recipient-email-address-changed
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://app.dibito.ch/api/v1/events/six/bill-recipient-email-address-changed?lastEventSixId=string&limit=100' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Bill recipient email address changed events found
SIX event ID
business case SIX ID
the old email address of the bill recipient which has been used in the submission of a business case
the new email address of the bill recipient
[ { "id": 12345, "sixId": "EVID82A65938766547EBBBA39BA6F7B07F24", "businessCaseId": 0, "businessCaseSixId": "BCID0FB909852BBC4D06AD8336AAE87D7FC9", "timestamp": "2015-01-01T10:00Z", "oldEmailAddress": "peter@muster.ch", "newEmailAddress": "peter_new@muster.ch" } ]