File diff c10b6ec72e06 → a1ed27a82cf3
tests/post-transactions.json
Show inline comments
 
new file 100644
 
{
 
  "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": "$"
 
          }
 
        }
 
      ]
 
    }
 
  ]
 
}