A NuGet package that can be used to include the free fiskaltrust Middleware into POS systems.
The fiskaltrust Middleware is a software that can be used in POS systems to fullfil legal requirements with minimal impact and development effort. It works both on Windows and Linux, and can be integrated via gRPC, WCF or REST. Simply put, the fiskaltrust.Middleware publishes the IPOS
interface via one (or multiple) of these protocols, and the POS system can use that endpoint to sign receipts and request exports (= journals).
This repository contains the .NET interface as a NuGet package; due to the open nature of the used protocols, other programming languages are supported too.
To implement the Middleware into your POS system, please include the latest version of the NuGet package and take a look at the interface documentation.
Additionally, please have a look at the demo repository, which contains minimal sample applications for a broad variety of programming languages. Some usage examples can also be taken from the tests.
For even simpler usage, we offer client packages for the supported communication protocols. Just follow the link in the Badge to install the respective package, and use the snippets above to create an instance of IPOS.
var pos = await GrpcPosFactory.CreatePosAsync(new GrpcPosOptions
{
Url = new Uri(url),
RetryPolicyOptions = new RetryPolicyOptions { ... } // Optional
});
var pos = await HttpPosFactory.CreatePosAsync(new HttpPosOptions
{
Url = new Uri(url),
CommunicationType = HttpCommunicationType.Json, // Or HttpCommunicationType.Xml
CashboxId = cashboxId,
AccessToken = "<ACCESS_TOKEN>" // Only required for SignaturCloud
RetryPolicyOptions = new RetryPolicyOptions { ... } // Optional
});
var pos = await SoapPosFactory.CreatePosAsync(new PosOptions
{
Url = new Uri(url),
RetryPolicyOptions = new RetryPolicyOptions { ... } // Optional
});
If you want to contribute to this repository, please review this README file to understand how it is structured and which tools are used.
Currently, the Minor version is incremented for each country that is added to the interface. Starting with the future version 2.0, we will switch to semantic versioning.
For the list of currently available versions, please have a look at the NuGet Version History.
This project is licensed under the MIT License - see the LICENSE file for details.