Skip to content

Debtor Transaction

Return a debtor transaction.

Released
Updated
URLSupports
{URI}/debtor/{debtorid}/transaction
GET
{URI} is exo.api.myob.com when connecting to the cloud or the address of the machine hosting the API when connecting on premise.

Attribute Details

AttributeTypeNotes
debtoridintegerRequired on PUT
branchidintegerRequired on PUT
branchobject,null
branch.namestring,null
branch.codestring,null
branch.relstring,null
branch.titlestring,null
branch.idintegerRequired on PUT
branch.hrefstring,null
transactiondatestring
duedateany
reference1string,null
reference2string,null
reference3string,null
amountnumber
allocatedbalancenumber
outstandingamountnumber
transactiontypeidintegerRequired on PUT
transactiontypestring,null
statusidstring,nullRequired on PUT
statusstring,null
invoicenumberstring,null
extrafieldsarray
relstring,null
titlestring,null
idintegerRequired on PUT
hrefstring,null

Example json GET response

Example

json
[
  {
    "stockcode": "AIRFIL01",
    "quantity": 3,
    "unitprice": 55.27,
    "discount": 0,
    "tax": 20.73,
    "total": 165.81,
    "totalincludingtax": 165.81,
    "taxrate": 12.5,
    "unitpriceincludingtax": 55.27,
    "exchangerate": 0.8,
    "hidden_sellprice": 0,
    "description": "OVALCHROME AIR FILTER",
    "id": 8
  },
  {
    "stockcode": "AIRPRE01",
    "quantity": 4,
    "unitprice": 4.63,
    "discount": 0,
    "tax": 2.31,
    "total": 18.52,
    "totalincludingtax": 18.52,
    "taxrate": 12.5,
    "unitpriceincludingtax": 4.63,
    "exchangerate": 0.8,
    "hidden_sellprice": 0,
    "description": "AIR PRESSURE GAUGE",
    "id": 9
  },
  {
    "stockcode": "ALARM01",
    "quantity": 1,
    "unitprice": 85.39,
    "discount": 0,
    "tax": 10.67,
    "total": 85.39,
    "totalincludingtax": 85.39,
    "taxrate": 12.5,
    "unitpriceincludingtax": 85.39,
    "exchangerate": 0.8,
    "hidden_sellprice": 0,
    "description": "REMOTE CAR START SECURITY",
    "id": 10
  },
  {
    "stockcode": "FREIGHT",
    "quantity": 1,
    "unitprice": 8.1,
    "discount": 0,
    "tax": 1.01,
    "total": 8.1,
    "totalincludingtax": 8.1,
    "taxrate": 12.5,
    "unitpriceincludingtax": 8.1,
    "exchangerate": 0.8,
    "hidden_sellprice": 0,
    "description": "FREIGHT",
    "id": 11
  },
  {
    "invoicenumber": "10003",
    "debtorid": 1,
    "branchid": 0,
    "transactiondate": "2012-10-24T00:00:00+00:00",
    "duedate": "2013-01-17T00:00:00+00:00",
    "reference1": "10001",
    "reference2": "83745",
    "reference3": "Invoice",
    "amount": 277.82,
    "allocatedbalance": 277.82,
    "outstandingamount": 0,
    "transactiontypeid": 1,
    "transactiontype": "Invoice",
    "statusid": "2",
    "status": "FullyAllocated",
    "id": 3
  }
]

{URI} is defined as: http://exo.api.myob.com/