- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
We are using The Create Subscription rest API call with the following data:
{ "accountKey":"A00227902", "autoRenew":false, "contractEffectiveDate":"2019-01-01", "customerAcceptanceDate":"2019-01-01", "Department__c":"CMDCAN Ad Sales", "renewalTerm":0, "renewalTermPeriodType":"Month", "runBilling":true, "subscribeToRatePlans":[ { "chargeOverrides":[ { "description":"Description1_8", "price":119.0, "productRatePlanChargeId":"2c92c0f85d59652c015d7b0943ef74a3", "triggerDate":"2019-10-29", "triggerEvent":"USD" } ], "productRatePlanId":"2c92c0f85d59652c015d7b0943e274a1" } ], "serviceActivationDate":"2019-01-01", "termType":"EVERGREEN" }
However the Invoice is not being generated.
We want an invoice but we are not taking payment.
What do we need to change?
@doyeli can you help me find the answer? We have a new project that is using the rest API instead of the SOAP that I am used to. This is the error we get, should I open a support case?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Please try setting "collect" to false in your request body. Also note the "collect" field is only available if you set the zuora-version request header to 196.0 or later. See the POST Subscription call API reference for more details
https://www.zuora.com/developer/api-reference/#operation/POST_Subscription
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Creating an invoice with subscription creation
Hi @MaggieL yes, can you please create a ticket with Product Line REST API and provide your end point and complete request
Thank you
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Creating an invoice with subscription creation
hello,
I have the same problem, can you tell me how was this solved?
Thank you!
Nicoleta
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Please try setting "collect" to false in your request body. Also note the "collect" field is only available if you set the zuora-version request header to 196.0 or later. See the POST Subscription call API reference for more details
https://www.zuora.com/developer/api-reference/#operation/POST_Subscription
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Creating an invoice with subscription creation
It worked, thanks a lot!