External Journal
If you prefer to handle sales yourself, separate from the Onslip 360 system, it's still possible to import sales and accounting data into Onslip 360 by using an external journal. This is a special kind of Electronic Journal that is not bound to an actual cash register, but rather an Access Token, allowing sales data to be injected using a dedicated API.
Importing Sales Data from External Systems
- First, you need an actual external journal to write to. This is created automatically when a user authorizes an
OAuth Integrations that:
- Is confined to a
location(but notauthorization). - Includes the
add-external-recordspermission in theIntegration.permissionslist. - Actually asks for the permission, either by just requesting the default permissions or including
add-external-recordsin thescopequery parameter list of the authorization endpoint.
- Is confined to a
- Second, the external sales system must synchronize the relevant Products, Product Groups, Product Modifiers, Payment Methods and other entities required (such as Customers, Orders, Tabs and Users), to construct an External Receipt. Use Triggers to keep your system up to date and don't forget to synchronize newly referenced entities as well, if required.
- Once the external system has all information it needs, it may begin adding External Receipt records to the
provided external Electronic Journal using the
addExternalRecordendpoint.
The ability to inject sales/accounting data and to send digital receipts via Onslip 360 does not turn your system into an authorized cash register. You must still comply with local laws and regulations regarding cash registers, electronic fiscal devices, online sales, invoicing and accounting.
This feature is only intended to provide a seamless experience for your users and to help them keep track of sales and accounting data, from both your system and their own cash registers, in one place.
The provided external journal will accept writes via the newly created Access Token and be configured to close the batch (sales period) and automatically generate a Z-report at the end of the day.