[英]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. 我尝试查询ReimburseCharge的API,但仅返回错误。 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. 在相关说明中,我注意到计费行(至少在Purchase对象中)可以通过Update调用将其BillableStatus属性设置为“ HasBeenBilled”。 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. 除非先将其设置为“ NotBillable”,否则不能将其设置回 “ Billable”,但这似乎不止一次起作用,因此它不是单向效果。 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. 如果实际上已经对该行进行了计费,当我尝试将BillableStatus从“ HasBeenBilled”更改为“ NotBillable”时,我会收到验证错误,我认为这很有意义。
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. 但是,这肯定是有问题的:我无法使用API将可结算费用链接到发票,也无法弄清楚已经链接的费用在哪里开票。 Also, I cannot see the amount of the individual lines contained in these "DescriptionOnly" lines, so all I get is the total. 另外,我看不到这些“ DescriptionOnly”行中包含的各个行的数量,因此,我得到的只是总数。 Does Intuit have plans to change this and, if so, when? Intuit是否有计划对此进行更改,如果有,何时更改?
This decision for supporting Reimb Charge is still pending. 有关支持Reimb Charge的决定仍在等待中。 Regarding DescriptionOnly- This was meant to support only total and sub totals. 关于DescriptionOnly-仅用于支持总计和小计。 So, if you have to use lines then you should use SalesItemLineDetail 因此,如果必须使用行,则应使用SalesItemLineDetail
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.