Skip to content

vrebaca/interface-doc

 
 

Repository files navigation

fiskaltrust interface documentation

Welcome to the open source documentation of the fiskaltrust interface!

The goal of this repository is to provide a detailed technical specification of the fiskaltrust data interface used by POS-Systems to interact with the fiskaltrust.Middleware, so that the fiskaltrust.Middleware can be integrated by PosCreators into their systems without further support in the most cases.

The technical specification of the data interface described in this document provides information regarding the following areas:

  1. Access to the fiskaltrust.Middleware
  2. Integration into the receipt based cash register workflow
  3. The data structure
  4. Function structure of the interface
  5. Types of communication with fiskaltrust.Middleware
  6. Operating categories Interface specification is provided by fiskaltrust.Interface nuget package, which can be found at https://www.nuget.org/packages/fiskaltrust.interface

Official PDF documents that are built from the source in this repository can be found on the Releases page.

Contributions

If you want to contribute to this documentation, please review this README file to understand how it is structured and which tools are used.

Repository structure

All documentation files are stored within the /doc folder in this repository (markdown, images, other static content).

  • One sub-directory and one or more markdown file(s) per chapter should be created (e.g. general/general.md.)
    • 1st and 2nd level headings should be split into separate files.
  • Each chapter markdown file must be included into the table of contents in /doc/toc.md. DocFx will scan this file to compose the PDF documentation.
    • The order from the toc file is used to define the chapter order in the PDF file.
    • You may also use multiple files per chapter, but keep in mind that a page-break is created by DocFx after every markdown file.
  • Images must be stored within a folder called images. Multiple image folders in different sub-directories are supported, DocFx just scans for the directory name.

References

A reference to a markdown file can be created like this: [Reference Text](./path-to-file/filename.md).

Note that reference paths should be relative.

If you want to reference something specific inside a markdown file you need to create a anchor where you want your reference to point to. Anchors can be created like this: <span id="anchor-name">Referenced Item</span>.

The anchor id should adhere to the following convention: <prefix>-<name>-<linenumber>

The <prefix> shows what is referenced (c for a chapter, t for a table, i for an illustration and l for a code listing). The <name> is the name of the referenced item in lowercase letters with - instead of whitespaces. The <linenumber> is the linenumber of the anchor at the time of writing. This serves the prevention of duplicate names in a markdown file.

An anchor could look like this:

```
some code
```
<span id="l-example-for-an-anchor-on-a-codelisting-43">Example for an anchor on a codelisting</span>

You can referencte an anchored item like this: [Reference Text](#anchor-name).

You can also reference anchors in other files like this:

[This](./path-to-file/filename.md#l-example-for-an-anchor-on-a-codelisting-43) is an example for a reference to the codelisting from the previous example.

Tools

DocFx

DocFx is a documentation generation tool that creates HTML and PDF documentation from markdown files. It's e.g. be used by Microsoft to generate docs.microsoft.com.

Use either chocolatey or nuget.exe to install DocFx, as described here.

Docfx will produce warnings for incorrect markdown (including incorrect references).

wkhtmltopdf

wkhtmltopdf is used internally by DocFx to convert HTML files to PDF. Download and install it from the website linked above.

Please note that wkhtmltopdf 0.12.5 has a bug that prevents the creation of TOCs. Use either the previous (0.12.4) or any newer version.

markdown-link-check

With markdown-link-ckeck you can check a markdown file for incorrect links. usage:

markdown-link-check ./general/general.md

Please note thst this tool does not find dead references inside a file. Only dead references to nonexisting files / unreachable urls.

PlantUML

  • This documentation supports the PlantUML notation, which will be converted to SVG images and embedded into the PDF during the build.

  • Please add the skinparam shadowing false to your diagram. wkhtmltopdf has currently some issues with the transparency caused by the shading.

  • The notation for a PlantUML section in the markdown files changed with the new tooling.

  • Example

```plantUml
skinparam shadowing false
Diagram
```

Release

To create a release, clone the repository locally and run the following commands:

git tag <version>
git push origin --tags

Further public fiskaltrust repositories

The following list shows further fiskaltrust repositories that are important for our customers.

Github repo Goal/Purpose Content
fiskaltrust/portal-manual-doc Goal of this repository is to list and describe the available functionality of the ft.Portal, so that the usability and understanding of the portal can be increased by the here offered explanations and descriptions. Each offered functionality of the ft.Portal including the meaning of menu items, buttons, input fields, dropdown & checkbox values, etc. is described here. To avoid confusion as much as possible, also different hints referring on how the portal helps to configure or run different fiskaltrust processes can be found here. The description of fiskaltrust processes and products themselves are not part of this repository.
fiskaltrust/productdescription-de-doc Goal of this repository is to help our customers to get familiar with our products and services for the german market. It should also help our customers to apply the products and services described here. The repository contains descriptions of the offered products and services by fiskaltrust for the german market. It also contains accompanying materials such as how-to guides, price lists, concepts and presentations, that help our customers to integrate the here offered products and services into their own products and services.
fiskaltrust/faq The purpose of this repository is to provide information on frequent questions or concerns from our customers. The repo contains unsorted, but tagged question and answer sets. If the content of the answer already exists in another public fiskaltrust repository, that content is linked in the answer. The content of this repo is also rendered and presented in the docs.fiskaltrust portal.

About

The technical specification of the data interface that describes how to integrate the fiskaltrust Middleware into POS systems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • XSLT 58.9%
  • HTML 25.2%
  • PowerShell 12.0%
  • CSS 3.9%