Syrve POS API SDK

Obtaining an invoice number from API

[ v9preview6  v9  ]

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

Two new notifications were added:

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

If an error occurs while obtaining the invoice number, the payment will terminate with an error — the user will see a corresponding message.