- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
You have already enabled AR Settlement Permission, payment and refund in Zuora UI and SOAP API are s
Hello,
i try to create a subscription for an account through an API call.
I received error : You have already enabled AR Settlement Permission, payment and refund in Zuora UI and SOAP API are still in process, please use the new REST API.
What should I do to unlock the situation?
What does it mean to use the new REST API?
URL : https://rest.apisandbox.zuora.com/v1/subscriptions
BODY:
{ "accountKey": "A00000030", "autoRenew": true, "contractEffectiveDate": "2018-07-10", "initialTerm": "12", "initialTermPeriodType": "Week", "notes": "Test POST subscription from z-ruby-sdk", "renewalTerm": "3", "renewalTermPeriodType": "Week", "subscribeToRatePlans": [ { "chargeOverrides": [ { "billCycleDay": "5", "billCycleType": "SpecificDayofMonth", "billingPeriodAlignment": "AlignToCharge", "billingTiming": "IN_ARREARS", "description": "This is rate plan charge description", "number": "TestCharge", "price": 12.01, "productRatePlanChargeId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "triggerDate": "2018-07-10", "triggerEvent": "EUR" } ], "productRatePlanId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" } ], "termType": "TERMED" }
Thanks,
Stefano
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: You have already enabled AR Settlement Permission, payment and refund in Zuora UI and SOAP API a
In conclusion, adding "invoiceCollect": false to the request body may be able to prevent errors.
That is, change it like this:
{ "accountKey": "A00000030", "autoRenew": true, "contractEffectiveDate": "2018-07-10", "initialTerm": "12", "initialTermPeriodType": "Week", "invoiceCollect": false, "notes": "Test POST subscription from z-ruby-sdk", "renewalTerm": "3", "renewalTermPeriodType": "Week", "subscribeToRatePlans": [ { "chargeOverrides": [ { "billCycleDay": "5", "billCycleType": "SpecificDayofMonth", "billingPeriodAlignment": "AlignToCharge", "billingTiming": "IN_ARREARS", "description": "This is rate plan charge description", "number": "TestCharge", "price": 12.01, "productRatePlanChargeId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "triggerDate": "2018-07-10", "triggerEvent": "EUR" } ], "productRatePlanId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" } ], "termType": "TERMED" }
If "AR Settlement" is enabled, something restrictions apply when creating Payment.
(Sorry, I do not know the concrete contents about this "restrictions")
By default, the Create Subscription call has the invoiceCollect field set to true.
In this case, when you call this API, Zuora creates Invoice and Payment at the same time.
If invoiceCollect is set to false, Payment will not be created.
I can not verify this because my tenant has not enabled the "AR Settlement" function.
Please tell us the results you tried.
Note:
Recently, the "AR Settlement" function was renamed as "Invoice Settlement".
https://knowledgecenter.zuora.com/AA_Whats_New/R_Previous_Releases/23_2018_New_Features/L_Release_No...