EInvoice API - handlers in SamplePlugin for development
Applicable only for the United Kingdom.
Stub handlers for working with electronic invoices (E-Invoice) have been added to SamplePlugin, intended for development and testing.
Added Handlers
GetEInvoiceNumberHandler — simulates the retrieval of the invoice number and its transmission to the Front. During development, a popup window appears where the invoice number needs to be entered manually.
ConfirmEInvoiceNumberProcessedHandler — simulates sending confirmation of whether the invoice number was successfully used.
To pay for an order as an E-Invoice, there must be exactly one subscription for both notifications: GetEInvoiceNumber and ConfirmEInvoiceNumberProcessed. These stub handlers allow testing E-Invoice functionality without real integration.