diff --git a/tests/post-transactions.json b/tests/post-transactions.json new file mode 100644 index 0000000000000000000000000000000000000000..f51b5e3124f0bfc2666bbbd6da27ff788928a5ff --- /dev/null +++ b/tests/post-transactions.json @@ -0,0 +1,54 @@ +{ + "transactions": [ + { + "__type__": "Transaction", + "date": "2013-01-01", + "payee": "Kindly T. Donor", + "postings": [ + { + "__type__": "Posting", + "account": "Income:Foo:Donation", + "amount": { + "__type__": "Amount", + "amount": "-100", + "symbol": "$" + } + }, + { + "__type__": "Posting", + "account": "Assets:Checking", + "amount": { + "__type__": "Amount", + "amount": "100", + "symbol": "$" + } + } + ] + }, + { + "__type__": "Transaction", + "date": "2013-03-15", + "payee": "Another J. Donor", + "postings": [ + { + "__type__": "Posting", + "account": "Income:Foo:Donation", + "amount": { + "__type__": "Amount", + "amount": "-400", + "symbol": "$" + } + }, + { + "__type__": "Posting", + "account": "Assets:Checking", + "amount": { + "__type__": "Amount", + "amount": "400", + "symbol": "$" + } + } + ] + } + ] +}