Scholar

incorrect response of CreateBillingPreview

There is incorrect response of CreateBillingPreview.

https://www.zuora.com/developer/api-reference/#operation/POST_BillingPreview

 

According to the api reference, processingType of invoiceItems is the number, for example 0, 1, 2 and 3.

But, the response is the string, for example Charge.

 

But, processingType of creditMemoItems is the string.

what is correct?

 

 

Zuora Alumni

Re: incorrect response of CreateBillingPreview

Hi @kazuki Thank you for pointing this out. I will check and get back to you later.

Zuora Alumni

Re: incorrect response of CreateBillingPreview

Hi @kazuki I just confirmed with engineers, the processingType field of invoiceItems and creditmemoitems are string. The supported values are charge, discount, prepayment, and tax. I have updated the "create billing preview" operation. The changes should be available when we upload the latest merged file to developer center. Thank you!

Scholar

Re: incorrect response of CreateBillingPreview

Hi @Grace.

Thank you for your quick response!