Skip to content

Instantly share code, notes, and snippets.

@IntuitDeveloperRelations
Created April 8, 2016 15:40
Show Gist options
  • Save IntuitDeveloperRelations/e0f09cdb48f23308d9c30d2aaf7360ad to your computer and use it in GitHub Desktop.
Save IntuitDeveloperRelations/e0f09cdb48f23308d9c30d2aaf7360ad to your computer and use it in GitHub Desktop.
SAMPLE OBJECT
{
"Payment": {
"CustomerRef": {
"value": "20",
"name": "Red Rock Diner"
},
"DepositToAccountRef": {
"value": "4"
},
"TotalAmt": 65.0,
"UnappliedAmt": 10.0,
"ProcessPayment": false,
"domain": "QBO",
"sparse": false,
"Id": "163",
"SyncToken": "0",
"MetaData": {
"CreateTime": "2015-01-16T15:08:12-08:00",
"LastUpdatedTime": "2015-01-16T15:08:12-08:00"
},
"TxnDate": "2015-01-16",
"Line": [
{
"Amount": 55.0,
"LinkedTxn": [
{
"TxnId": "70",
"TxnType": "Invoice"
}
],
"LineEx": {
"any": [
{
"name": "{http://schema.intuit.com/finance/v3}NameValue",
"declaredType": "com.intuit.schema.finance.v3.NameValue",
"scope": "javax.xml.bind.JAXBElement$GlobalScope",
"value": {
"Name": "txnId",
"Value": "70"
},
"nil": false,
"globalScope": true,
"typeSubstituted": false
},
{
"name": "{http://schema.intuit.com/finance/v3}NameValue",
"declaredType": "com.intuit.schema.finance.v3.NameValue",
"scope": "javax.xml.bind.JAXBElement$GlobalScope",
"value": {
"Name": "txnOpenBalance",
"Value": "71.00"
},
"nil": false,
"globalScope": true,
"typeSubstituted": false
},
{
"name": "{http://schema.intuit.com/finance/v3}NameValue",
"declaredType": "com.intuit.schema.finance.v3.NameValue",
"scope": "javax.xml.bind.JAXBElement$GlobalScope",
"value": {
"Name": "txnReferenceNumber",
"Value": "1024"
},
"nil": false,
"globalScope": true,
"typeSubstituted": false
}
]
}
}
]
},
"time": "2015-07-28T15:16:15.435-07:00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment