https://github.com/thomasgreiner/money-proc
Accounting data processing based on plain-text files
https://github.com/thomasgreiner/money-proc
accounting csv money nodejs
Last synced: about 1 year ago
JSON representation
Accounting data processing based on plain-text files
- Host: GitHub
- URL: https://github.com/thomasgreiner/money-proc
- Owner: ThomasGreiner
- Created: 2018-05-19T18:17:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T13:20:44.000Z (over 3 years ago)
- Last Synced: 2025-01-25T12:41:32.951Z (about 1 year ago)
- Topics: accounting, csv, money, nodejs
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Money Processor
Accounting data processing based on plain-text files.
- [Requirements](#requirements)
- [Setup](#setup)
- [Usage](#usage)
- [Data format](#dataformat)
## Requirements
- [Node.js](https://nodejs.org/en/)
- npm (included with Node.js)
## Setup
Run `npm install`.
## Usage
- `npm start --debug`: Output parsed records data.
- `npm start --silent`: Output chart as SVG.
- `npm run query `: Output records for given source ID.
- `npm run server`: Start a local web server for accessing the data via a Web GUI.
## Data Format
### Files
#### data/`YYYY`.csv
- **string** billing date - (e.g. `2000-01-01`)
- [**Source**](#sourceid) source - (e.g. `at.employer.salary`)
- [**Source**](#sourceid) [via] - (e.g. `us.processor`)
- [**Source**](#sourceid) destination - (e.g. `de.bank`)
- **number** amount - (e.g. `1000.00`)
#### data/sources.json
**Object**
- **string** category name - (e.g. `job`)
- **Object|string[]** subcategory (e.g. `salary`) or list of sources
Use the special category name `@self` to mark first-party sources such as
your own bank accounts.
#### data/statements.csv
- **string** billing date (Valutadatum) - (e.g. `2000-01-01`)
- [**Source**](#sourceid) source - (e.g. `de.bank`)
- **string** format - (e.g. `print`)
- **string** [billing number] - (e.g. `2000/01`)
### Source ID
See [RFC1035](https://tools.ietf.org/html/rfc1035).