Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 919 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 919 Bytes

Amazon MasterCard CSV Statement Converter

The New Day portal lets you export your Amazon MasterCard statement as a CSV file. Unfortunately, the format used is incompatible with FreeAgent.

This script fixes that problem.

Usage

If you use Pipenv, here's how to install the dependencies, and run the script:

$ cd /path/to/project
$ pipenv install
$ pipenv run ./fix.py path/to/input.csv path/to/output.csv

If you don't use Pipenv, you're on your own. Honestly, you're on your own anyway; I have no interest in making this my life's work.

Caveats and disclaimers

This is a very basic script, with no error checking whatsoever. Misuse may result in embarrassment, injury, or death. Exercise caution before using.