Overview

HTTPS SSH
GGT - Greg's GnuCash Tools
==========================

add_trans.py
------------

Command Line application to add a transaction to a gnucash xml file.
If num is given an existing transaction with the same num is deleted beforehand.
The data is read from stdin and expected in json format.

Example::

  $ add_trans.py gc_file.xml < transaction_data.json

Example json data format::

  [{"currency": "EUR",
    "num": "idnumber",
    "splits": [[-9.87, "Aktiva:Barvermögen:Bargeld"],
               [9.87, "Aufwendungen:EDV"]],
    "description": "description of the whole transcation",
    "date_posted": "2016-06-25T08:53:03.223213"}]




Copyright (C)  2016  Gregor Horvath, gh@gregor-horvath.com
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".