Re: I'm renewing a subscription via REST, why isn't the invoice once but not later on?

Reply
Robert Support Team

Support Team

Support Team
Posts: 231
Registered: ‎08-08-2016
Accepted Solution

I'm renewing a subscription via REST, why isn't the invoice once but not later on?

Problem: Why aren't additional invoices and payment generated?  Only the first invoice and first payment were created.  Additional call to the below REST renews without generating anything.

 

PUT https://rest.apisandbox.zuora.com/v1/subscriptions/YourSubscription#/renew

 

{
"invoice": true,
"collect": true

}



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

Highlighted
Robert Support Team

Support Team

Support Team
Posts: 231
Registered: ‎08-08-2016

Re: I'm renewing a subscription via REST, why isn't the invoice once but not later on?

[ Edited ]

Answer: The reason no invoice and payments were not generated was because the renewal date was in the future (e.g., 02/19/2018). When invoiceTargetDate was not set, the system used Today Date as the default value. Since it was less than the renewal date, no invoice and payment were not generated.

 

{
"invoice": true,
"collect": true,
"invoiceTargetDate": "2018-02-19"
}



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