Retrieving Invoice Number from API

Tags: v9preview6 v9

In the API V9Preview6, the ability to retrieve the invoice number from the API for Bulgaria has been added.

Two new notifications have been added:

To pay for an order with an invoice, there must be exactly one subscription for both notifications: GetEInvoiceNumber and ConfirmEInvoiceNumberProcessed. Otherwise, it will be impossible to obtain the invoice number and generate the invoice — the user will see the corresponding message.

If an error occurs while retrieving the invoice number, the payment will be completed with an error — the user will see the corresponding message.