Skip to content

From MobilePay MyShop to Dinero with F-klubben's logic for Stregsystemet.

License

Notifications You must be signed in to change notification settings

f-klubben/MpCsvAccounting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MpCsvAccounting

This is a parser for MobilePay MyShop CSVs. It writes CSVs that Dinero accounting software recognizes, as well as PDFs used for documentation. In use by F-klubben at the Department of Computer Science at Aalborg University, Denmark.

Prerequisites

The script is written in Python 3 and requires it to be installed on the system. In addition, Pip is needed for dependency installation.

Installation

The script currently has three high-level dependencies, holidays, PyFPDF, and dateutil. To install with pip, run

python3 -m pip install --user -r requirements.txt

Usage

Keep in mind that the input file should be the exported CSV file for transfers, not sales. The sales file will not work.

An example MP CSV is in the examples directory. To generate CSV and PDFs for the example, pass input file and appendix start number:

./mp_csv_accounting.py examples/example.csv 123

The output, 123-128.csv and PDF directory 123-128/, is located in the project root.

Note that the appendix start number refers to the current appendix start number present in your bookkeeping software.

The config file in config/config.ini is where transfers to the MP number to be processed is defined. Change this if transfers are for something other than Stregsystemet (e.g. sales for the Fyttetur auction).

License

This script is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

About

From MobilePay MyShop to Dinero with F-klubben's logic for Stregsystemet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%