> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.2cloudnine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# QRG Create Invoice Calendar & Calendar Periods

## Purpose

The purpose of this quick reference guide is to step through the process of creating Invoice Calendar &
Calendar Periods. The intended audience for this document is system administrators.

## Steps

### Create Invoice Calendar

To create an Invoice Calendar record, follow the steps below:

1. Click on the **App Launcher** icon (see
   Figure 1).
2. Go to the **Schedules** object by using the
   Search function (see Figure 2).
3. Open the required Schedules record with the record type of **Invoice Schedule** (see Figure 3).

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-0-figure-3.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=359edebfe789b907b1c349d00d9d162e" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="334" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-0-figure-3.png" />
</Frame>

<Columns cols={2}>
  <div>
    4. On the Schedule record, locate the
       Calendars panel on the right hand side
       and click on and then click on the
       **New** button (see Figure 4).
  </div>

  <div>
    <Frame>
      <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-1-figure-4.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=1ea10e7673c08730ed59f839e99c8f8d" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="456" height="464" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-1-figure-4.png" />
    </Frame>
  </div>
</Columns>

5. Choose the record type of **Invoice** and click **Next** (see Figure 5).

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-1-figure-5.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=e40b405c1982dec006159531b4a1c878" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="510" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-1-figure-5.png" />
</Frame>

6. Populate the following required fields to provide the base details of the Invoice Calendar record:
   (see Figure 6)
   1. **Name**
   2. **Invoice Schedule**
   3. **Invoice Entity**
   4. **No. Days Invoice Date after End Date**
   5. **Start Date**
   6. **End Date**
7. Populate the following optional fields as needed (see Figure 6):
   1. To prevent the Status of the Invoice Calendar from being automatically updated by the
      automatic status update scheduled job, check the **Exclude From Auto Updat** e checkbox.
8. To kick off the creation of the Calendar Periods automatically without the requirement to select
   the button on the Calendar (as used by Integrations to 2cloudnine Payroll), tick the **Generate**
   **Invoice Calendar Periods** checkbox (see Figure 6).
9. Click on the **Save** button.

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-2-figure-6.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=2ffff0ca4782e9fd5834162f432dee70" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="926" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-2-figure-6.png" />
</Frame>

<Warning>
  The Status field must be Pending for the creation of the Calendar Periods to work, and
  will update automatically to Active after it has been completed successfully.
</Warning>

10. A new Invoice Calendar record has been created (see Figure 7).
    1. To modify an existing **Invoice Calendar** record, open the required record and select the
       **Edit** button available on the top right side of the page. You can also double click in any of
       the fields that need editing or just click on the pencil icon that appears within fields
       when you move your cursor over the field.
    2. When complete, click on the **Save** button.

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-3-figure-7.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=998357f9f7c0cc2eadf3c0c1c6c17746" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="344" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-3-figure-7.png" />
</Frame>

<Danger>
  Invoice Calendar records CANNOT be deleted if they have related records or are used
  in other records. Deleting records is not recommended unless absolutely essential.
</Danger>

### Create Invoice Calendar Periods

The limit of related Calendar Periods that can be initially created is 2.5 years maximum. If you require
Calendar Periods for more than 2.5 years, you will need to batch into sections of no greater than 2.5 years.
To create Invoice Calendar Periods, follow the steps below:

1. Click on the **Create Invoice Calendar Periods** button (see Figure 8).

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-4-figure-9.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=a1fa5a241238cdf31be9c6ff6a397c1e" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="328" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-4-figure-9.png" />
</Frame>

2. A popup will open, click on the **Create Invoice Calendar Periods** button (see Figure 9).

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-4-figure-8.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=4b6f8f1ff5203c7a46ed9e97f2a488e7" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="342" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-4-figure-8.png" />
</Frame>

3. You will see a confirmation message saying ‘Invoice Calendar Period creation successfully
   completed!’ (see Figure 10).
4. Refresh the web browser to view the newly created Calendar Periods.

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-4-figure-10.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=e58911b636fd8bbab1195e27e8a5c3f3" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="372" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-4-figure-10.png" />
</Frame>

5. On the Calendar record page, you will notice that the Calendar Periods have been created and
   are displayed at the bottom of the page in the Periods related list (see Figure 11).
6. Click on **View All** button to see a full list of the Calendar Periods.

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-5-figure-11.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=e12cc45c24d1e94bf8816ed60add531e" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="976" height="662" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-5-figure-11.png" />
</Frame>

<Danger>
  If the Calendar Periods that have been created are incorrect, have not yet been used in
  any other records, and need to be deleted, then users should click the Remove
  Calendar Periods button. This will remove all the Calendar Periods relating to this
  Calendar, allowing for changes to be made to the Calendar, and then repeat steps to
  recreate the Invoice Calendar Periods.
</Danger>

### Create Invoice Calendar Periods for longer Periods

To create Calendar Periods after the initial 2.5 years, you will need to follow the steps below:

1. Change the End date to be a further 2.5 years from the current End Date.
2. Click Create Calendar Periods.
3. Wait and confirm the batch job has successfully finished creating Calendar Periods for that new
   extended date range.
4. Repeat steps 1-3 as many times as required.

## Field Descriptions

**Calendar Period Creation Failed** (checkbox) indicates that the Calendar Period creation Batch Job failed.
**End Date** is the last date the automation will create Calendar Periods up to for this Calendar.

**Name** is the name given to the Calendars record that is being created.
**No. Days Invoice Date after End Date** defines the number of days after the Calendar Period End Date
that Invoices will be generated.
**Invoice Schedule** defines the Invoice Schedule that applies to the Calendar.
**Invoice Entity** is the related Invoice Entity.
**Start Date** is the first date the automation will create Calendar Periods from.
**Status** is required to be Pending when the Calendar Periods are awaiting creation, however, will be
Active once the Calendar Periods have been created.

## Further Information

<Frame>
  <img src="https://mintcdn.com/2cloudnine-2edf05eb/KpcZiIUGJHaHQraR/images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-6-1.png?fit=max&auto=format&n=KpcZiIUGJHaHQraR&q=85&s=b126713f5234ada5957e28171021e34c" alt="Screenshot from QRG Create Invoice Calendar & Calendar Periods" width="994" height="103" data-path="images/generated/reference-guides/data-set-up-and-creation/qrg-create-invoice-calendar-and-calendar-periods/qrg-create-invoice-calendar-and-calendar-periods-pdf-6-1.png" />
</Frame>

| Document                       | Document Type     | Description                       |
| ------------------------------ | ----------------- | --------------------------------- |
| QRG Create Invoice Schedules   | Task Instructions | How to create an Invoice Schedule |
| QRG Create an Account - Client | Task Instructions | How to create a Client record     |
