Skip to content

Instantly share code, notes, and snippets.

@tmornini
Last active November 24, 2015 19:04
Show Gist options
  • Save tmornini/10551841 to your computer and use it in GitHub Desktop.
Save tmornini/10551841 to your computer and use it in GitHub Desktop.
Subledger v2 create_and_post JSON body
{
"effective_at": "ISO8601 Date/Time",
"description": "Free form text",
"reference": "URL",
"lines": [
{
"account": "account_id",
"value": {
"type": "debit",
"amount": "10.00"
}
},
{
"account": "account_id",
"value": {
"type": "credit",
"amount": "10.00"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment