Welcome to Zuora Product Documentation

Explore our rich library of product information

Case 4: Renew subscription and update bill-to contact and payment term

This use case involves renewing two subscriptions, updating the bill-to contact and payment terms, and generating invoices with the updated details.

In this use case, there are two subscriptions. After the first invoice is generated, both subscriptions are renewed, and the bill-to contact and payment terms of one subscription are changed.

As listed in the following table, two subscriptions are created without the bill-to contact and payment term being specified in the initial version. A bill run is created with the targetDate field as 2022-01-01 and the autoPost field as true. Invoice INV001 is generated for both subscriptions with the default bill-to contact Ray Lockma and payment term Net 30.

SubscriptionGenerated Invoice
Subscription NumberBill To ContactSubscription TermEffective Start DatePayment TermInvoice NumberBill To ContactPayment Term
S001Not specified12 Month2022-01-01Not specifiedINV001Ray LockmanNet 30
S002Not specified12 Month2022-01-01Not specified

After the first invoice is generated, the Create an order operation is used to do the following updates:

  • Renew subscription S001.
  • Renew subscription S002 and update the bill-to contact to Steve America and Payment Term to Net 45.

When the order operation is done, the subscriptions are updated as shown in the table below. Another bill run is created with the targetDate field as 2023-01-01 and the autoPost field as true. As a result, invoice INV002 is generated for subscription S001 with the bill-to contact as Ray Lockman and payment term as Net 30. Invoice INV003 is generated for subscription S002 with the bill-to contact as Steve America and payment term as Net 45.

SubscriptionGenerated Invoice
Subscription NumberBill To ContactSubscription TermEffective Start DatePayment TermInvoice NumberBill To ContactPayment Term
S001Not specified12 Month2023-01-01Not specifiedINV002Ray LockmanNet 30
S002Steve America12 Month2023-01-01Net 45
INV003Steve AmericaNet 45