Coder Social home page Coder Social logo

buchhaltung's Introduction

Buchhaltung

If you're too lazy to do it manually

This is a program in c# with which you can do bookkeeping.

Ans also I'll never write a documentation or Unit Tests for this, thanks for asking.

Usage

Eröffnungsbilanzkonto (EBK)

Um den Gewinn / Verlust vom letzten Jahr in das neue Jahr zu übertragen

Konto ebk = new Konto();
ebk.SetKontoNummer(9800);

ebk.AddSollBetrag(<Betrag : int>, <Datum : string), <Gegenkonten : int[]>);
ebk.AddHabenBetrag(<Betrag : int>, <Datum : string), <Gegenkonten : int[]>);

Buchungssatz

Buchungssatz buchungssatz = new Buchungssatz("<sollKonto> <Wert> EUR / <habenKonto> <Wert> EUR");
buchungssatz.SetDatum(<Jahr : int>, <Monat : Monat>, <Tag : int>);

Mehrere soll- oder habenKonten:

Buchungssatz buchungssatz = new Buchungssatz("<sollKonto_1> <Wert_1> EUR <sollKonto_2> <Wert_2> EUR / <habenKonto_1> <Wert_1> EUR <habenKonto_2> <Wert_2> EUR");
buchungssatz.SetDatum(<Jahr : int>, <Monat : Monat>, <Tag : int>);

Bilanz

Neue Bilanz erstellen:

Bilanz bilanz = new Bilanz();

Eröffnungsbilanzkonto (EBK) hinzufügen:

bilanz.AddKonto(ebk);

Bilanz eröffnen (nur nötig, wenn man EBK hinzugefügt hat):

bilanz.Open();

Buchungssatz zur Bilanz hinzufügen:

bilanz.AddBuchung(<Buchungssatz : Buchungssatz>);

Steuern umbuchen (USt und VSt zu UST-Zahllast verbuchen):

bilanz.SteuernUmbuchen(<Datum : string>);

Erfolgskonten mit Warenvorrat laut Inventur abschließen:

bilanz.ErfolgsKontenAbschlieszen(<Warenvorrat : decimal>);

Alle Konten, auf denen etwas verbucht wurde, ausgeben:

bilanz.Print();

Schlussbilanzkonto (SBK) von bestimmten Jahr erstellen und ausgeben:

bilanz.CreateSchlussbilanz(<Jahr : int>);
bilanz.PrintSchlussbilanz();

Bilanz exportieren:

bilanz.WriteToExcelFile(<string : filePath>);

It is imperative to clarify that you are expressly forbidden from asserting ownership of this program as your exclusive creation. While you may have introduced adjustments or enhancements to it, the fundamental program and its initial design continue to be the intellectual property of the lawful owner or developer. When employing this program, you are obligated to attribute the core program to me as the original creator. Thanks for your understanding.

buchhaltung's People

Contributors

n0tfabi avatar

Stargazers

 avatar  avatar Maximilian Neumayer avatar Marius avatar

Watchers

 avatar

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.