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.

Product Website

https://www.dibito.ch

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".

Further Informations

Consult our documentation for futher informations about creating and handling eBills.
Download OpenAPI description
Languages
Servers
Generated server url

https://app.dibito.ch/

00 Examples

Operations

getExampleReminder

Request

Security
X-API-Key
Query
recipientEmailstringrequired
referencedBillReferenceNumberstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/reminder?recipientEmail=string&referencedBillReferenceNumber=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
singlePaymentobject(EBillFormatSinglePayment)required
singlePayment.​paymentModestringrequired
Default "EBILL"
Enum"EBILL""EBILL_DEBIT"
singlePayment.​paymentInformationobject(EBillFormatPaymentInformation)required
singlePayment.​paymentInformation.​accountAndReferenceobject(EBillFormatAccountAndReference)required

Information about the account and reference of the invoice issuer.

singlePayment.​paymentInformation.​accountAndReference.​accountHolderobject(EBillFormatAccountHolderType)

In case the account holder differs from the biller use this element to provide the account holder name and address.

singlePayment.​paymentInformation.​accountAndReference.​genericobject(EBillFormatAccountIBANAndReference)required
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceTypestringrequired
Enum"QRR""SCOR""NON"
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceStructuredstring[ 0 .. 27 ] characters

Reference number, structured payment reference. Note: the reference is either a QR reference or creditor reference (ISO 11649).

QR Reference: 27 characters, numerical; check digit computation with Modulus 10 recursive (27th position of the reference).

Creditor Reference (ISO 11649): up to 25 characters, alphanumeric.

When using QR-IBAN, this element must be filled with the QR Reference. When using IBAN and referenceType SCOR, this element must be filled with the Creditor Reference. When using IBAN and referenceType NON, this element is not permitted to be filled.

singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceUnstructuredstring[ 0 .. 140 ] characters

Unstructured message

singlePayment.​paymentInformation.​accountAndReference.​generic.​ibanstringrequired

Credit account of the invoice issuer (IBAN or QR-IBAN). See also ISO 13616-1. The usage of IBAN or QR-IBAN is only permitted with country codes CH or LI and 21 alphanumeric characters.

Example: CH9300762011623852957 LI21088100002324013AA

Must contain country code CH or LI, otherwise the business case will be denied. Must be matching with a credit account that is specified in the infrastructure in the master data of the invoice issuer, otherwise the business case will be denied.

Example: "CH9300762011623852957"
singlePayment.​paymentInformation.​amountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

singlePayment.​paymentInformation.​amount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
singlePayment.​paymentInformation.​amount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

singlePayment.​paymentInformation.​dueDatestring(date)required

Due date. In the case of donation inquiries, the due date acts as a proposal for the payment date.

At time of submission, cannot be set to more than 3 years in the future (1095 days) for payment mode ebill. At time of submission, cannot be set to more than 30 days in the future for payment mode ebill debit. At time of submission, cannot be older than 90 days.

singlePayment.​paymentInformation.​payableAmountCanBeModifiedbooleanrequired

If true, then the provided invoice amount is permitted to be altered. If the invoice amount is not provided, the value must be set to true.

workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleReminderWithWorkflow

Request

Security
X-API-Key
Query
recipientEmailstringrequired
referencedBillReferenceNumberstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/reminder-with-workflow?recipientEmail=string&referencedBillReferenceNumber=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
singlePaymentobject(EBillFormatSinglePayment)required
singlePayment.​paymentModestringrequired
Default "EBILL"
Enum"EBILL""EBILL_DEBIT"
singlePayment.​paymentInformationobject(EBillFormatPaymentInformation)required
singlePayment.​paymentInformation.​accountAndReferenceobject(EBillFormatAccountAndReference)required

Information about the account and reference of the invoice issuer.

singlePayment.​paymentInformation.​accountAndReference.​accountHolderobject(EBillFormatAccountHolderType)

In case the account holder differs from the biller use this element to provide the account holder name and address.

singlePayment.​paymentInformation.​accountAndReference.​genericobject(EBillFormatAccountIBANAndReference)required
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceTypestringrequired
Enum"QRR""SCOR""NON"
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceStructuredstring[ 0 .. 27 ] characters

Reference number, structured payment reference. Note: the reference is either a QR reference or creditor reference (ISO 11649).

QR Reference: 27 characters, numerical; check digit computation with Modulus 10 recursive (27th position of the reference).

Creditor Reference (ISO 11649): up to 25 characters, alphanumeric.

When using QR-IBAN, this element must be filled with the QR Reference. When using IBAN and referenceType SCOR, this element must be filled with the Creditor Reference. When using IBAN and referenceType NON, this element is not permitted to be filled.

singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceUnstructuredstring[ 0 .. 140 ] characters

Unstructured message

singlePayment.​paymentInformation.​accountAndReference.​generic.​ibanstringrequired

Credit account of the invoice issuer (IBAN or QR-IBAN). See also ISO 13616-1. The usage of IBAN or QR-IBAN is only permitted with country codes CH or LI and 21 alphanumeric characters.

Example: CH9300762011623852957 LI21088100002324013AA

Must contain country code CH or LI, otherwise the business case will be denied. Must be matching with a credit account that is specified in the infrastructure in the master data of the invoice issuer, otherwise the business case will be denied.

Example: "CH9300762011623852957"
singlePayment.​paymentInformation.​amountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

singlePayment.​paymentInformation.​amount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
singlePayment.​paymentInformation.​amount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

singlePayment.​paymentInformation.​dueDatestring(date)required

Due date. In the case of donation inquiries, the due date acts as a proposal for the payment date.

At time of submission, cannot be set to more than 3 years in the future (1095 days) for payment mode ebill. At time of submission, cannot be set to more than 30 days in the future for payment mode ebill debit. At time of submission, cannot be older than 90 days.

singlePayment.​paymentInformation.​payableAmountCanBeModifiedbooleanrequired

If true, then the provided invoice amount is permitted to be altered. If the invoice amount is not provided, the value must be set to true.

workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleInstalmentBill

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/instalment-bill?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
paymentsByInstalmentsobject(EBillFormatPaymentsByInstalments)required
paymentsByInstalments.​paymentByInstalmentsArray of objects(EBillFormatPaymentByInstalments)required
paymentsByInstalments.​paymentByInstalments[].​externalPaymentByInstalmentsIdstringrequired
paymentsByInstalments.​paymentByInstalments[].​descriptionstring
paymentsByInstalments.​paymentByInstalments[].​isTotalAmountHiddenboolean
paymentsByInstalments.​paymentByInstalments[].​isTotalPaymentOptionboolean
paymentsByInstalments.​paymentByInstalments[].​instalmentsobject(EBillFormatInstalments)required
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalmentArray of objects(EBillFormatInstalment)required
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalment[].​externalInstalmentIdstringrequired
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalment[].​descriptionstring
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalment[].​paymentInformationobject(EBillFormatPaymentInformation)required
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleInstalmentBillWithWorkflow

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/instalment-bill-with-workflow?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
paymentsByInstalmentsobject(EBillFormatPaymentsByInstalments)required
paymentsByInstalments.​paymentByInstalmentsArray of objects(EBillFormatPaymentByInstalments)required
paymentsByInstalments.​paymentByInstalments[].​externalPaymentByInstalmentsIdstringrequired
paymentsByInstalments.​paymentByInstalments[].​descriptionstring
paymentsByInstalments.​paymentByInstalments[].​isTotalAmountHiddenboolean
paymentsByInstalments.​paymentByInstalments[].​isTotalPaymentOptionboolean
paymentsByInstalments.​paymentByInstalments[].​instalmentsobject(EBillFormatInstalments)required
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalmentArray of objects(EBillFormatInstalment)required
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalment[].​externalInstalmentIdstringrequired
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalment[].​descriptionstring
paymentsByInstalments.​paymentByInstalments[].​instalments.​instalment[].​paymentInformationobject(EBillFormatPaymentInformation)required
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleDonationInquiry

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/donation-inquiry?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
singlePaymentobject(EBillFormatSinglePayment)required
singlePayment.​paymentModestringrequired
Default "EBILL"
Enum"EBILL""EBILL_DEBIT"
singlePayment.​paymentInformationobject(EBillFormatPaymentInformation)required
singlePayment.​paymentInformation.​accountAndReferenceobject(EBillFormatAccountAndReference)required

Information about the account and reference of the invoice issuer.

singlePayment.​paymentInformation.​accountAndReference.​accountHolderobject(EBillFormatAccountHolderType)

In case the account holder differs from the biller use this element to provide the account holder name and address.

singlePayment.​paymentInformation.​accountAndReference.​genericobject(EBillFormatAccountIBANAndReference)required
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceTypestringrequired
Enum"QRR""SCOR""NON"
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceStructuredstring[ 0 .. 27 ] characters

Reference number, structured payment reference. Note: the reference is either a QR reference or creditor reference (ISO 11649).

QR Reference: 27 characters, numerical; check digit computation with Modulus 10 recursive (27th position of the reference).

Creditor Reference (ISO 11649): up to 25 characters, alphanumeric.

When using QR-IBAN, this element must be filled with the QR Reference. When using IBAN and referenceType SCOR, this element must be filled with the Creditor Reference. When using IBAN and referenceType NON, this element is not permitted to be filled.

singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceUnstructuredstring[ 0 .. 140 ] characters

Unstructured message

singlePayment.​paymentInformation.​accountAndReference.​generic.​ibanstringrequired

Credit account of the invoice issuer (IBAN or QR-IBAN). See also ISO 13616-1. The usage of IBAN or QR-IBAN is only permitted with country codes CH or LI and 21 alphanumeric characters.

Example: CH9300762011623852957 LI21088100002324013AA

Must contain country code CH or LI, otherwise the business case will be denied. Must be matching with a credit account that is specified in the infrastructure in the master data of the invoice issuer, otherwise the business case will be denied.

Example: "CH9300762011623852957"
singlePayment.​paymentInformation.​amountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

singlePayment.​paymentInformation.​amount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
singlePayment.​paymentInformation.​amount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

singlePayment.​paymentInformation.​dueDatestring(date)required

Due date. In the case of donation inquiries, the due date acts as a proposal for the payment date.

At time of submission, cannot be set to more than 3 years in the future (1095 days) for payment mode ebill. At time of submission, cannot be set to more than 30 days in the future for payment mode ebill debit. At time of submission, cannot be older than 90 days.

singlePayment.​paymentInformation.​payableAmountCanBeModifiedbooleanrequired

If true, then the provided invoice amount is permitted to be altered. If the invoice amount is not provided, the value must be set to true.

proposedDonationAmountsobject(EBillFormatProposedDonationAmountsType)
donationPurposesobject(EBillFormatDonationPurposesType)
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleDonationInquiryWithWorkflow

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/donation-inquiry-with-workflow?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
singlePaymentobject(EBillFormatSinglePayment)required
singlePayment.​paymentModestringrequired
Default "EBILL"
Enum"EBILL""EBILL_DEBIT"
singlePayment.​paymentInformationobject(EBillFormatPaymentInformation)required
singlePayment.​paymentInformation.​accountAndReferenceobject(EBillFormatAccountAndReference)required

Information about the account and reference of the invoice issuer.

singlePayment.​paymentInformation.​accountAndReference.​accountHolderobject(EBillFormatAccountHolderType)

In case the account holder differs from the biller use this element to provide the account holder name and address.

singlePayment.​paymentInformation.​accountAndReference.​genericobject(EBillFormatAccountIBANAndReference)required
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceTypestringrequired
Enum"QRR""SCOR""NON"
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceStructuredstring[ 0 .. 27 ] characters

Reference number, structured payment reference. Note: the reference is either a QR reference or creditor reference (ISO 11649).

QR Reference: 27 characters, numerical; check digit computation with Modulus 10 recursive (27th position of the reference).

Creditor Reference (ISO 11649): up to 25 characters, alphanumeric.

When using QR-IBAN, this element must be filled with the QR Reference. When using IBAN and referenceType SCOR, this element must be filled with the Creditor Reference. When using IBAN and referenceType NON, this element is not permitted to be filled.

singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceUnstructuredstring[ 0 .. 140 ] characters

Unstructured message

singlePayment.​paymentInformation.​accountAndReference.​generic.​ibanstringrequired

Credit account of the invoice issuer (IBAN or QR-IBAN). See also ISO 13616-1. The usage of IBAN or QR-IBAN is only permitted with country codes CH or LI and 21 alphanumeric characters.

Example: CH9300762011623852957 LI21088100002324013AA

Must contain country code CH or LI, otherwise the business case will be denied. Must be matching with a credit account that is specified in the infrastructure in the master data of the invoice issuer, otherwise the business case will be denied.

Example: "CH9300762011623852957"
singlePayment.​paymentInformation.​amountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

singlePayment.​paymentInformation.​amount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
singlePayment.​paymentInformation.​amount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

singlePayment.​paymentInformation.​dueDatestring(date)required

Due date. In the case of donation inquiries, the due date acts as a proposal for the payment date.

At time of submission, cannot be set to more than 3 years in the future (1095 days) for payment mode ebill. At time of submission, cannot be set to more than 30 days in the future for payment mode ebill debit. At time of submission, cannot be older than 90 days.

singlePayment.​paymentInformation.​payableAmountCanBeModifiedbooleanrequired

If true, then the provided invoice amount is permitted to be altered. If the invoice amount is not provided, the value must be set to true.

proposedDonationAmountsobject(EBillFormatProposedDonationAmountsType)
donationPurposesobject(EBillFormatDonationPurposesType)
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleCreditNote

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/credit-note?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleCreditNoteWithWorkflow

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/credit-note-with-workflow?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleBill

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/bill?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
singlePaymentobject(EBillFormatSinglePayment)required
singlePayment.​paymentModestringrequired
Default "EBILL"
Enum"EBILL""EBILL_DEBIT"
singlePayment.​paymentInformationobject(EBillFormatPaymentInformation)required
singlePayment.​paymentInformation.​accountAndReferenceobject(EBillFormatAccountAndReference)required

Information about the account and reference of the invoice issuer.

singlePayment.​paymentInformation.​accountAndReference.​accountHolderobject(EBillFormatAccountHolderType)

In case the account holder differs from the biller use this element to provide the account holder name and address.

singlePayment.​paymentInformation.​accountAndReference.​genericobject(EBillFormatAccountIBANAndReference)required
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceTypestringrequired
Enum"QRR""SCOR""NON"
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceStructuredstring[ 0 .. 27 ] characters

Reference number, structured payment reference. Note: the reference is either a QR reference or creditor reference (ISO 11649).

QR Reference: 27 characters, numerical; check digit computation with Modulus 10 recursive (27th position of the reference).

Creditor Reference (ISO 11649): up to 25 characters, alphanumeric.

When using QR-IBAN, this element must be filled with the QR Reference. When using IBAN and referenceType SCOR, this element must be filled with the Creditor Reference. When using IBAN and referenceType NON, this element is not permitted to be filled.

singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceUnstructuredstring[ 0 .. 140 ] characters

Unstructured message

singlePayment.​paymentInformation.​accountAndReference.​generic.​ibanstringrequired

Credit account of the invoice issuer (IBAN or QR-IBAN). See also ISO 13616-1. The usage of IBAN or QR-IBAN is only permitted with country codes CH or LI and 21 alphanumeric characters.

Example: CH9300762011623852957 LI21088100002324013AA

Must contain country code CH or LI, otherwise the business case will be denied. Must be matching with a credit account that is specified in the infrastructure in the master data of the invoice issuer, otherwise the business case will be denied.

Example: "CH9300762011623852957"
singlePayment.​paymentInformation.​amountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

singlePayment.​paymentInformation.​amount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
singlePayment.​paymentInformation.​amount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

singlePayment.​paymentInformation.​dueDatestring(date)required

Due date. In the case of donation inquiries, the due date acts as a proposal for the payment date.

At time of submission, cannot be set to more than 3 years in the future (1095 days) for payment mode ebill. At time of submission, cannot be set to more than 30 days in the future for payment mode ebill debit. At time of submission, cannot be older than 90 days.

singlePayment.​paymentInformation.​payableAmountCanBeModifiedbooleanrequired

If true, then the provided invoice amount is permitted to be altered. If the invoice amount is not provided, the value must be set to true.

workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleBillWithWorkflow

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/bill-with-workflow?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
singlePaymentobject(EBillFormatSinglePayment)required
singlePayment.​paymentModestringrequired
Default "EBILL"
Enum"EBILL""EBILL_DEBIT"
singlePayment.​paymentInformationobject(EBillFormatPaymentInformation)required
singlePayment.​paymentInformation.​accountAndReferenceobject(EBillFormatAccountAndReference)required

Information about the account and reference of the invoice issuer.

singlePayment.​paymentInformation.​accountAndReference.​accountHolderobject(EBillFormatAccountHolderType)

In case the account holder differs from the biller use this element to provide the account holder name and address.

singlePayment.​paymentInformation.​accountAndReference.​genericobject(EBillFormatAccountIBANAndReference)required
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceTypestringrequired
Enum"QRR""SCOR""NON"
singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceStructuredstring[ 0 .. 27 ] characters

Reference number, structured payment reference. Note: the reference is either a QR reference or creditor reference (ISO 11649).

QR Reference: 27 characters, numerical; check digit computation with Modulus 10 recursive (27th position of the reference).

Creditor Reference (ISO 11649): up to 25 characters, alphanumeric.

When using QR-IBAN, this element must be filled with the QR Reference. When using IBAN and referenceType SCOR, this element must be filled with the Creditor Reference. When using IBAN and referenceType NON, this element is not permitted to be filled.

singlePayment.​paymentInformation.​accountAndReference.​generic.​referenceUnstructuredstring[ 0 .. 140 ] characters

Unstructured message

singlePayment.​paymentInformation.​accountAndReference.​generic.​ibanstringrequired

Credit account of the invoice issuer (IBAN or QR-IBAN). See also ISO 13616-1. The usage of IBAN or QR-IBAN is only permitted with country codes CH or LI and 21 alphanumeric characters.

Example: CH9300762011623852957 LI21088100002324013AA

Must contain country code CH or LI, otherwise the business case will be denied. Must be matching with a credit account that is specified in the infrastructure in the master data of the invoice issuer, otherwise the business case will be denied.

Example: "CH9300762011623852957"
singlePayment.​paymentInformation.​amountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

singlePayment.​paymentInformation.​amount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
singlePayment.​paymentInformation.​amount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

singlePayment.​paymentInformation.​dueDatestring(date)required

Due date. In the case of donation inquiries, the due date acts as a proposal for the payment date.

At time of submission, cannot be set to more than 3 years in the future (1095 days) for payment mode ebill. At time of submission, cannot be set to more than 30 days in the future for payment mode ebill debit. At time of submission, cannot be older than 90 days.

singlePayment.​paymentInformation.​payableAmountCanBeModifiedbooleanrequired

If true, then the provided invoice amount is permitted to be altered. If the invoice amount is not provided, the value must be set to true.

workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleAdvice

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/advice?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

getExampleAdviceWithWorkflow

Request

Security
X-API-Key
Query
recipientEmailstringrequired
curl -i -X GET \
  'https://app.dibito.ch/api/v1/examples/advice-with-workflow?recipientEmail=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
referenceNumberstringrequired
businessCaseDatestring(date)required
totalAmountobject(EBillFormatAmountType)required

The amount of the business case (amount incl. VAT + currency code, e.g. CHF 1183.46). Must be matching with the total amount (totalAmount), if business case is an invoice, reminder or donation inquiry.

totalAmount.​valuenumber
  • max. 99'999'999.99 for invoices, payments by instalments, reminders, credit notes and donation inquiries
  • min. - 99'999'999.99, max 99'999'999.99 for advices
  • Amount must be greater than 0 for invoices, payments by instalments, reminders and donation inquiries.
  • Amount must be ≥ 0 for credit notes.
  • If an IBAN or QR-IBAN is used for invoices or payments by instalments, the amount does not have to be supplied (compatibility QR invoice).
totalAmount.​currencyCodestringrequired

Currency code according to ISO 4217. When using QR-IBAN, only CHF and EUR are allowed.

referencedBillobject(EBillFormatReferencedBill)
billRecipientobject(EBillFormatBillRecipient)required
billRecipient.​emailAddressstring
billRecipient.​enterpriseIdentificationNumberstring
billRecipient.​billRecipientSixIdstring
billRecipient.​namestringrequired
billRecipient.​addressobject(EBillFormatBillRecipientAddress)required
billRecipient.​address.​structuredAddressobject(EBillFormatPostalAddress)
workflowobject(EBillFormatWorkflow)

Information about the workflow. Auxiliary data that can be used for pre-registering a business case in bill recipients ERP/bookkeeping.

10 Business Cases

Operations

20 Bill Recipients

Operations

21 Bill-Recipient Subscriptions

Operations

30 Events

Operations

31 SIX Events

Operations

40 Webhook Management

Operations

90 PDF

Operations

98 Health Check

Operations

99 Authentication

Operations

webhooks

Webhooks

endpoint-controller

Operations