Kenya fiscal integration.
For confirmed sales, before sale data is saved to Erply, it is sent to the fiscal server.
Fiscal server response is then saved to JSON API (kenya-fiscal-brazil table) and is later displayed on fiscal invoice (needs to be configured).
After sale is finalized, the fiscal invoice can be sent to customer via e-mail (copy will be sent to configured company e-mail) or vie SMS (requires SMS Telerivet plugin and support for pre-authorized links to invoice PDF).
Adds Customer PIN field to customer creation/editing form. This field's value will be saved to customer_pin attribute and will be attached to invoice data before sending it to fiscal server.
The plugin supports cart rounding. Before shopping cart is sent to fiscal service, prices are adjusted so that taxes match what fiscal service expects.
Configuration
To enable this plugin, navigate to POS Settings -> Plugins, search for Pergamon, and click on the checkbox.
The plugin has 4 configuration fields (all of them are required for the plugin to work properly):
- KRA registration number (invoice_pin) - Seller's PIN number
- Fiscal endpoint - Address (URL) of the fiscal server, which POS will use to send and receive fiscal invoice data. Server is provided by Pergamon.
- Template for e-mail and SMS invoice - Invoice template that will be used to generate fiscal invoice that will be sent to customer's e-mail and phone number (requires SMS Telerivet plugin). Template determines how an invoice looks and what data is present on an invoice. Templates are configured in Back Office.
- E-mail - E-mail address that will receive copies of fiscal invoices that are sent to customers.