Files
@ a1ed27a82cf3
Branch filter:
Location: NPO-Accounting/experimental-accounting-api/tests/update-transaction.json - annotation
a1ed27a82cf3
542 B
application/json
Addded tests/ folder with example payloads
a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 | {
"transaction": {
"__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": "$"
}
}
]
}
}
|