Happy Business Starts Here

Highlighted
Support SME

How to resolve "Invalid value for field RevRecCode: 0" SOAP API error

Question:

 

How do I resolve "Invalid value for field RevRecCode: 0" SOAP API error?



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Support SME

Re: How to resolve "Invalid value for field RevRecCode: 0" SOAP API error

Answer:

 

If you're providing the field RevRecTriggerCondition in your API call, Zuora will also expect a VALID RevRecCode, it can't be null.

 

Here's a corresponding screenshot from the UI:

 

revreccode.JPG

 

You need to either provide values for both these fields, or none of them. Note that RevRecTriggerCondition and RevRecCode are ONLY needed if you're using an external revenue recognition process.

 

In case you do need to provide these, you look up the available codes on your tenant at: Settings > Billing > Manage Revenue Recognition Codes

 

Supporting resources:

http://knowledgecenter.zuora.com/DC_Developers/SOAP_API/E1_SOAP_API_Object_Reference/ProductRatePlan...



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √