Coder Social home page Coder Social logo

python-bdr-tse's Introduction

python-bdr-tse

python-bdr-tse is a Python package implementing the Bundesdruckerei TSE transport layer protocol. This device is designed as an add-on to electronic cashier systems to make them conforming the the German KassenSichV regulation, which requires transactions to be consecutively numbered and cryptographically signed.

Good documentation on KassenSichV, GoBD requirements for electronic cashier systems and how these various requirements interact is provided in a document by Deutscher Fachverband für Kassen- und Abrechnungssystemtechnik e.V.: Zusammenstellung der Beschlüsse und Bundeskonventionen zu den Standardtabellen im Bereich der Kassenbuchhaltung - Digitale Schnittstelle der Finanzverwaltung für Kassensysteme (DSFinV-K)

General usage

Communication with the TSE happens by means of a special file in the user-accessible partition of the TSE. In production, you will probably want to mount the TSE at a stable path.

import bdr_tse

tse = bdr_tse.TseConnector(tse_path="/media/tse")

Documentation (scarce, but hopefully growing) is available at https://python-bdr-tse.readthedocs.io/

Command Line Interface

python-bdr-tse ships with a simple CLI that more or less directly exposes the TSE commands. When installed with pip, just run bdr-tse.

Contributing

Reporting issues

Please use the Github Issue Tracker to report issues.

Code Style

python-bdr-tse uses the Black code formatter. Use pre-commit install to install it as a git pre-commit hook.

Vendor Documentation

Documentation about the protocol can be downloaded from cryptovision's website . Engineering samples can be obtained from Jarletch. These samples differ from production device in that they can be factory reset.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.