Happy Business Starts Here

Honor Student

Unable to create a product rate plan recurring charges

Hi,

Im using the soap API to create the product rate plans. I was able to create the rate plan without an issue. but when creating the recurring charges for the rate plan it send an error message as this "Accounting code does not match the Deferred Revenue accounting code."

Please let me know if I miss any thing.

Please find the soap body of this -

<ns1:create
            xmlns:ns1="http://api.zuora.com/">
            <ns1:zObjects
                xmlns:ns2="http://object.api.zuora.com/"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:ProductRatePlanCharge">
                <ns2:AccountingCode>Accounts Receivable</ns2:AccountingCode>
                <ns2:BillCycleDay>1</ns2:BillCycleDay>
                <ns2:BillingPeriod>Month</ns2:BillingPeriod>
                <ns2:BillingPeriodAlignment>AlignToCharge</ns2:BillingPeriodAlignment>
                <ns2:ChargeModel>FlatFee</ns2:ChargeModel>
                <ns2:ChargeType>Recurring</ns2:ChargeType>
                <ns2:Name>Monthly subscription fee</ns2:Name>
                <ns2:ProductRatePlanChargeTierData>
                    <ns1:ProductRatePlanChargeTier xsi:type="ns2:ProductRatePlanChargeTier">
                        <ns2:Currency>USD</ns2:Currency>
                        <ns2:Price>500</ns2:Price>
                        <ns2:PriceFormat>Flat Fee</ns2:PriceFormat>
                        <ns2:StartingUnit>1</ns2:StartingUnit>
                    </ns1:ProductRatePlanChargeTier>
                </ns2:ProductRatePlanChargeTierData>
                <ns2:ProductRatePlanId>2c92c0f9542cee3b0154326fcff8154f</ns2:ProductRatePlanId>
                <ns2:TriggerEvent>ContractEffective</ns2:TriggerEvent>
            </ns1:zObjects>
        </ns1:create>
1 REPLY 1
Support SME

Re: Unable to create a product rate plan recurring charges

Hi @vinurid,

 

It depends on how would you like to set up your charge from revenue recognition perspective:

 

  • If you include <ns2:AccountingCode>Accounts Receivable</ns2:AccountingCode> in your call, <ns2:deferredRevenueAccount>Accounts Receivable</ns2:deferredRevenueAccount> will also need to be included.

  • If you would like to go for the Recognize revenue without deferral option, that can be achieved if you simply remove both the AccountingCode and DeferredRevenueAccount from your call.



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