An open API service indexing awesome lists of open source software.

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

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).