55 lines
1.7 KiB
Markdown
55 lines
1.7 KiB
Markdown
bookkeeper is a tool of nbit Information to replace Banana :-)
|
|
|
|
It is a simple CLI tool written in Golang by Joerg Lehmann
|
|
|
|
Usage:
|
|
bookkeeper <action> <accounts file> <transactions file>
|
|
|
|
action can be one of the following:
|
|
- check : checks data
|
|
- balance : creates a balance sheet on STDOUT (Format: PDF)
|
|
- journal : creates a journal on STDOUT (Format: Text)
|
|
- mwst1 : create VAT report (1st to 4th quarter)
|
|
mwst2 on STDOUT
|
|
mwst3
|
|
mwst4
|
|
- new_year : writes current account balance values to STDOUT (to be used for
|
|
new transaction file for next year)
|
|
|
|
<accounts file> is a text file with the following format (example line):
|
|
|
|
1020,A:Kontokorrent UBS 235-566236.01G
|
|
|
|
1020: Account number: 1XXX => Assets
|
|
2XXX => Liabilities
|
|
3XXX => Income
|
|
4XXX => Expense
|
|
5XXX => Personnel Expenses
|
|
6XXX => Operating Expenses
|
|
8XXX => Expense
|
|
|
|
A: Type (A)ssets, (L)iabilities, (E)xpenses, (I)ncome
|
|
|
|
Kontokorrent UBS 235-566236.01G: Account Text
|
|
|
|
<transactions file> is a CSV file with the following format (example line):
|
|
|
|
1,10.1.2023,Text,6574,1020,10.00,I77
|
|
|
|
1: document number, starts each year with 1 with incremening, there can be
|
|
more than one transaction per document number
|
|
10.1.2023: date (DD.MM.YYYY)
|
|
Text: description of transaction (commas should be replaced with @)
|
|
6574: account number debit (Soll)
|
|
1020: account number credit (Haben)
|
|
10.00: value
|
|
I77: MwSt Code (starting with I or V, 77 means 7.7%)
|
|
|
|
the beginning of the transaction file can include the current balance of
|
|
accounts in the following form:
|
|
|
|
1020:1234.56
|
|
|
|
1020: account
|
|
1234.56: balance at start of year
|