Search code examples
intuit-partner-platformquickbooks-online

Can I access ReimburseCharge objects in the IPP QBO v3 API?


I queried an Invoice that contains a billable expense charge. The response includes (and I'm showing just the relevant portions of it):

....
"Line": [
    {
        "LineNum": 1, 
        "DescriptionLineDetail": {
            "ServiceDate": "2015-11-15"
        }, 
        "Id": "3", 
        "DetailType": "DescriptionOnly", 
        "Description": "Test Billable Transaction 1"
    }, 
    {
        "LineNum": 2, 
        "DescriptionLineDetail": {
            "ServiceDate": "2015-11-15"
        }, 
        "Id": "4", 
        "DetailType": "DescriptionOnly", 
        "Description": "Test Billable Expense Transaction 3"
    }, 
    {
        "DetailType": "SubTotalLineDetail", 
        "Amount": 8.01, 
        "SubTotalLineDetail": {}
    }
], 
"LinkedTxn": [
    {
        "TxnId": "1938", 
        "TxnType": "ReimburseCharge"
    }, 
    {
        "TxnId": "1932", 
        "TxnType": "ReimburseCharge"
    }
],
... 

I tried querying the API for ReimburseCharge and got only errors back. Is this business object on the roadmap?

On a related note, I observe that a billable line (at least in Purchase objects) can have its BillableStatus attribute set to "HasBeenBilled" with an Update call. It cannot be set back to "Billable" without first setting it to "NotBillable", but this does seem to work more than once so that it's not a one-way effect. If the line has actually been billed though, I get a validation fault when I try to change the BillableStatus from "HasBeenBilled" to "NotBillable", which I suppose makes sense.

Here's what's decidedly problematic though: I cannot use the API to either link a billable expense to an invoice or figure out where an already-linked expense is invoiced. Also, I cannot see the amount of the individual lines contained in these "DescriptionOnly" lines, so all I get is the total. Does Intuit have plans to change this and, if so, when?


Solution

  • This decision for supporting Reimb Charge is still pending. Regarding DescriptionOnly- This was meant to support only total and sub totals. So, if you have to use lines then you should use SalesItemLineDetail