Happy Business Starts Here

Zuora Support

Source field not available in the Invoice Record for REST API call

Issue:

User not able to get the field 'Source' during a REST API call in Invoice, please find the query below,

https://rest.zuora.com/v1/action/query

{ "queryString" : "SELECT ID,Source,Status FROM Invoice where ID = '2c92a0076390d4590163978cdc5a6d29'"
}

The response only shows ID and Status but not source

{

"records": [

{

"Status": "Posted",

"Id": "2c92a0076390d4590163978cdc5a6d29"

}

],

"size": 1,

"done": true

1 REPLY 1
Zuora Support

Re: Source field not available in the Invoice Record for REST API call

Solution:

Currently Source and SourceID available via SOAP query, but not available under REST API call.

 

Source CSA.jpg

Also, we can obtain the Source field through export, in the Knowledge center article fields mentioned as This field is in controlled release and they can be generated through Data source export.

Reference

(https://knowledgecenter.zuora.com/DC_Developers/G_SOAP_API/E1_SOAP_API_Object_Reference/Invoice)