Skip to main content

Create multiple invoice schedules for a single order within a multiyear contract

Zuora

Create multiple invoice schedules for a single order within a multiyear contract

With the Billing Schedule feature, if one order specific to a multiyear contract contains subscriptions specified with different billing attributes, you can create multiple invoice schedules for the single order based on the billing attributes specified at the subscription level.

Context

For a multiyear order, you can create distinct invoice schedules for subscriptions with different billing attributes within the same order. This functionality allows you to invoice your customers efficiently according to specific needs. 

Assume that your customer inks a two-year agreement that covers one order O-00000001, containing four subscriptions with the same term of 12 months. Two subscriptions in the first year have a Net 30 payment term, while subscriptions in the second year have a Net 45 payment term.

The following table lists information on the subscriptions contained in order O-00000001.

Subscription number Charge start date Term (Month) Charge number Charge end date Payment term Selling price List price base Billing period
S-00000001 01/01/2023 12 C-00000001 12/31/2023 Net 30 $1,200.00 Per Year Annual
S-00000002 01/01/2023 12 C-00000002 12/31/2023 Net 30 $1,200.00 Per Year Annual
S-00000003 01/01/2024 12 C-00000003 12/31/2024 Net 45 $900.00 Per Year Annual
S-00000004 01/01/2024 12 C-00000004 12/31/2024 Net 45 $900.00 Per Year Annual

To bill your customer based on the payment term, you can create two invoice schedules based on the payment term, one for the first year and the other for the second year. You expect to generate four invoices on different dates for the four subscriptions. 

Create multiple invoice schedules for a single order within a multiyear contract through the Zuora UI

To create percentage-based invoice schedules for professional services during milestone billing through the Zuora UI, perform the following steps:

  1. In the upper right of the corresponding order details page, click Create Invoice Schedule.
    The Create Invoice Schedule page is displayed.
  2. In the Basic Information section, specify the subscriptions you want to bill in the invoice schedule.
    1. Click the "Select Subscriptions or Charges" link next to the order number displayed in the Order Number field.
    2. In the Change Subscriptions dialog, select the checkboxes next to the number of each subscription to bill in the invoice schedule, and then clear the checkbox next to the number of each subscription you want to exclude from the invoice schedule.
      In this example, only select the checkboxes next to subscriptions S-00000001 and S-00000002.
    3. Click Done to save the subscription number changes.
      The number of each selected subscription is displayed under the Specific Order Subscriptions field. In this example, subscriptions S-00000001 and S-00000002 are displayed.
  3. In the Schedule Items section, configure information about schedule items contained in the invoice schedule:
    1. Click Add Item With Amount.
    2. In the Add New Schedule Item dialog, configure information about item schedule 1.
      1. In the Run Date field, set the invoice date to 01/01/2023
      2. In the Amount field, specify the amount to be billed during the processing of the invoice schedule item.
        In this example, enter 1000.
      3. In the Service Start Date field, specify the date when the service starts. 
      4. Click Save to save the invoice schedule item information.
    3. Click Add Schedule Item
    4. In the Add New Schedule Item dialog, configure information about item schedule 2.
      1. In the Run Date field, set the invoice date to 11/01/2023
      2. In the Amount field, specify the amount to be billed during the processing of the invoice schedule item.
        In this example, enter 1400.
      3. In the Service Start Date field, specify the date when the service starts. 
      4. Click Save to save the invoice schedule item information.
  4. In the upper right of the Create Invoice Schedule page, click Create Invoice Schedule.
  5. In the displayed Confirmation dialog, click Yes to confirm invoice schedule creation.

Invoice schedule IS-00000001 is created to bill subscriptions S-00000001 and S-00000002, containing two invoice schedule items.

You can follow the preceding procedure to create invoice schedule IS-00000002 for subscriptions S-00000003 and S-00000004, with the following major differences:

  • Subscription selection: Select subscriptions S-00000003 and S-00000004 to bill in this invoice schedule for the second year.
  • Schedule item configuration: Specify two invoice schedule items, one with the billed amount of $500 on 1 January 2024 and the other with the billed amount of $1,300 on 1 October 2024.

The following table lists the information on the invoice schedules that are created:

Invoice schedule Invoice schedule item Run date Amount Billed amount Schedule item status Billing document
IS-00000001

1

01/01/2023

$1,000.00

- Pending -

2

11/01/2023

$14,000.00

- Pending -
IS-00000002

1

01/01/2024

$5,000.00

- Pending -
2 10/01/2024 $13,000.00 - Pending -

Create multiple invoice schedules for a single order within a multiyear contract through the REST API

You can use the Create an invoice schedule operation to create invoice schedules based on subscription-level billing attributes for multiyear orders.

To create an invoice schedule based on subscription-level billing attributes for multiyear orders through the REST API, perform the following steps:

  1. Determine the number of each subscription that you want to bill in the invoice schedule.
  2. Determine the information that you want to create for each invoice schedule item.
  3. Use the Create an invoice schedule operation to send a creation request.

For subscriptions S-00000001 and S-00000002 sharing the same payment term, you can create an invoice schedule containing two invoice schedule items, covering different billed amounts on separate dates, respectively.

The following table lists a sample API request that creates an invoice schedule for subscriptions S-00000001 and S-00000002, and the corresponding response that is returned. 

Request sample Response sample
{
  "accountKey": "A00000966",
  "orders": [
    "O-00000001"
  ],
  "specificSubscriptions": [
    {
      "orderKey": "O-00000001",
      "subscriptionKey": "S-00000001"
    },
    {
      "orderKey": "O-00000001",
      "subscriptionKey": "S-00000002"
    }
  ],
  "scheduleItems": [
    {
      "runDate": "2023-01-01",
      "amount": 1000
    },
    {
      "runDate": "2023-11-01",
      "amount": 1400
    }
  ],
  "notes": "2023 Billing Schedule"
}
{
   "id":"79680706e0a747c789dc8b164465a27d",
   "accountId":"8a90d6128bf9b142018bf9e7795b00a3",
   "number":"IS-00000412",
   "notes":"2023 Billing Schedule",
   "status":"Pending",
   "nextRunDate":"2023-01-01",
   "totalAmount":2400.000000000,
   "actualAmount":2400.000000000,
   "billedAmount":0.000000000,
   "unbilledAmount":2400.000000000,
   "scheduleItems":[
      {
         "id":"8a90f13b8bf9b15c018bf9ee70ae14b4",
         "amount":1000.00,
         "actualAmount":1000.00,
         "percentage":null,
         "status":"Pending",
         "invoiceId":null,
         "creditMemoId":null,
         "runDate":"2023-01-01",
         "name":null,
         "targetDateForAdditionalSubscriptions":null
      },
      {
         "id":"8a90f13b8bf9b15c018bf9ee70b214b5",
         "amount":1400.00,
         "actualAmount":1400.00,
         "percentage":null,
         "status":"Pending",
         "invoiceId":null,
         "creditMemoId":null,
         "runDate":"2023-11-01",
         "name":null,
         "targetDateForAdditionalSubscriptions":null
      }
   ],
   "orders":[
      "O-00000001"
   ],
   "specificSubscriptions":[
      {
         "orderKey":"O-00000001",
         "subscriptionKey":"S-00000001",
         "chargeNumbers":[
            
         ]
      },
      {
         "orderKey":"O-00000001",
         "subscriptionKey":"S-00000002",
         "chargeNumbers":[
            
         ]
      }
   ],
   "invoiceSeparately":true,
   "additionalSubscriptionsToBill":[
      
   ],
   "currency":"USD",
   "success":true
}

For subscriptions S-00000003 and S-00000004 sharing the same payment term, you can create an invoice schedule containing two invoice schedule items, covering different billed amounts on separate dates, respectively.

The following table lists a sample API request that creates an invoice schedule for subscriptions S-00000003 and S-00000004, and the corresponding response that is returned. 

Request sample Response sample
{
  "accountKey": "A00000966",
  "orders": [
    "O-00000001"
  ],
  "specificSubscriptions": [
    {
      "orderKey": "O-00000001",
      "subscriptionKey": "S-00000003"
    },
    {
      "orderKey": "O-00000001",
      "subscriptionKey": "S-00000004"
    }
  ],
  "scheduleItems": [
    {
      "runDate": "2024-01-01",
      "amount": 500
    },
    {
      "runDate": "2024-10-01",
      "amount": 1300
    }
  ],
  "notes": "2024 Billing Schedules"
}
{
  "id": "79680706e0a747c789dc8b164465a27d",
  "accountId": "8a90d6128bf9b142018bf9e7795b00a3",
  "number": "IS-00000412",
  "notes": "2024 Billing Schedule",
  "status": "Pending",
  "nextRunDate": "2024-01-01",
  "totalAmount": 1800,
  "actualAmount": 1800,
  "billedAmount": 0,
  "unbilledAmount": 1800,
  "scheduleItems": [
    {
      "id": "8a90f13b8bf9b15c018bf9ee70ae14b4",
      "amount": 500,
      "actualAmount": 500,
      "percentage": null,
      "status": "Pending",
      "invoiceId": null,
      "creditMemoId": null,
      "runDate": "2024-01-01",
      "name": null,
      "targetDateForAdditionalSubscriptions": null
    },
    {
      "id": "8a90f13b8bf9b15c018bf9ee70b214b5",
      "amount": 1300,
      "actualAmount": 1300,
      "percentage": null,
      "status": "Pending",
      "invoiceId": null,
      "creditMemoId": null,
      "runDate": "2024-10-01",
      "name": null,
      "targetDateForAdditionalSubscriptions": null
    }
  ],
  "orders": [
    "O-00000001"
  ],
  "specificSubscriptions": [
    {
      "orderKey": "O-00000001",
      "subscriptionKey": "S-00000003",
      "chargeNumbers": []
    },
    {
      "orderKey": "O-00000001",
      "subscriptionKey": "S-00000004",
      "chargeNumbers": []
    }
  ],
  "invoiceSeparately": true,
  "additionalSubscriptionsToBill": [],
  "currency": "USD",
  "success": true
}

Billing document generation details 

On the specific dates that are specified during invoice schedule creation, the following operations automatically occur:

  • On 1 January 2023, Zuora Scheduler automatically processes invoice schedule item 1 of invoice schedule IS-00000001 to generate an invoice with an amount of $1,000.00. The status of invoice schedule item 1 changes to Processed from Pending. The status of invoice schedule IS-00000001 becomes Partially Processed, and its next run date is 11/01/2023.
  • On 1 November 2023, Zuora Scheduler automatically processed invoice schedule item 2 of invoice schedule IS-00000001 to generate an invoice with an amount of $1,400.00. The status of invoice schedule item 2 changes to Processed from Pending. The status of invoice schedule IS-00000001 becomes Fully Processed, and its next run date is null.
  • On 1 January 2024, Zuora Scheduler automatically processes invoice schedule item 1 of invoice schedule IS-00000002 to generate an invoice with an amount of $500.00. The status of invoice schedule item 1 changes to Processed from Pending. The status of invoice schedule IS-00000002 becomes Partially Processed, and its next run date is 10/01/2024.
  • On 1 October 2024, Zuora Scheduler automatically processed invoice schedule item 2 of invoice schedule IS-00000002 to generate an invoice with an amount of $1,300.00. The status of invoice schedule item 2 changes to Processed from Pending. The status of invoice schedule IS-00000002 becomes Fully Processed, and its next run date is null.

The following table lists the information on the invoice schedules that are fully processed:

Invoice schedule Invoice schedule item Run date Amount Billed amount Schedule item status Billing document
IS-00000001

1

01/01/2023

$1,000.00

$1,000.00

Processed INV00000001

2

 11/01/2023

$14,000.00

$14,000.00

Processed INV00000002
IS-00000002

1

01/01/2024

$5,000.00

$5,000.00

Processed INV00000003
2 10/01/2024 $13,000.00 $13,000.00 Processed INV00000004