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

# Creating Operational Data Export Schedules

When you have created some Export Destinations using S3 buckets in your AWS account or using buckets in your Google Cloud Storage account, you can set up Export Schedules to perform *operational data exports* into those destinations from your m3ter Organization.

This topic explains how to work with and create Export Schedules for exporting operational data from your Organization at regular intervals:

* [Working with Operational Data Export Schedules](/guides/data-exports/creating-operational-data-export-schedules#working-with-operational-data-export-schedules)
* [Creating Operational Data Export Schedules](/guides/data-exports/creating-operational-data-export-schedules#creating-operational-data-export-schedules)

<Tip>
  **Note: Export jobs for Export schedules**. When you have created a data Export schedule, an export job is created for each time the data export is due to run under the schedule. You can review and check the status of data export jobs on the Exports job page - see [Reviewing Export Jobs](/guides/data-exports/reviewing-export-jobs).
</Tip>

## Working with Operational Data Export Schedules

This section explains how the Data Export service will compile and run operational data exports according to the various options available to you when setting up your operational data Export Schedules:

* [Data Export Service - Timezone Used](/guides/data-exports/creating-operational-data-export-schedules#data-export-service-timezone-used)
* [When Export Schedules are Run](/guides/data-exports/creating-operational-data-export-schedules#when-export-schedules-are-run)
* [Export File Format and Composition](/guides/data-exports/creating-operational-data-export-schedules#export-file-format-and-composition)
* [Export Size Limit](/guides/data-exports/creating-operational-data-export-schedules#export-size-limit)

### Data Export Service - Timezone Used

The Data Export service uses UTC and this is not affected by the **Timezone** you've set for your Organization.

### When Export Schedules are Run

When you've completed the configuration for an operational data Export Schedule and select to create it:

* An Export job is scheduled to run the data export immediately with the Data Export service.
* Export jobs for the next and subsequent in the series of exports are then scheduled to run with the Data Export Service according to the minutes, hours, or days frequency you've configured for the Schedule.
* For example, if you select to create an Export schedule at 10:00 a.m. on June 1st, 2024 UTC and the Export Schedule is configured for a frequency of every 2 days, then:
  * An Export job is scheduled to run with the Data Export Service immediately.
  * An Export job for the next data export will then be scheduled to run at 10:00 a.m. on June 3rd 2024 UTC; and so on.
* Exported files are retained in m3ter for 24 hours after the Export job completes, after which they are removed.

### Export File Format and Composition

The range of data included in an operational data export depends on the operational entities you select when you set up the Export Schedule:

* [Operational Entities](/guides/data-exports/creating-operational-data-export-schedules#operational-entities)
* [File Format, Composition, and Entity Schema](/guides/data-exports/creating-operational-data-export-schedules#file-format-composition-and-entity-schema)

#### Operational Entities

You can select to export the operational data in your m3ter Organization for the following entities:

* **Accounts**
* **Account Plans**
* **Aggregations**
* **Balances**
* **Balance Transactions**
* **Bills**
* **Bill line items**
* **Charges**
* **Prepayments/Commitments**
* **Compound Aggregations**
* **Contracts**
* **Meters**
* **Plans**
* **Plan Groups**
* **Plan Group Links**
* **Plan Templates**
* **Pricing**
* **Pricing Bands**
* **Products**
* **Transaction Types**

A file is compiled for each of the entity types you select.

#### File Format, Composition, and Entity Schema

##### **File Format**

The available data export file formats are `.CSV` or `JSONL`.

##### **File Composition - Entity Fields**

Generally, the fields returned with entities by Data Exports are the same as are returned by the API when retrieving an entity, plus some additional fields only relevant for exports.

##### **File Composition - Initial and Subsequent Scheduled Exports**

The data included in an Export Job performed for an operational data Export Schedule will depend on where it sits in the sequence of exports:

* **Initial Export**. The operational data for all selected entities are included.
* **Subsequent Exports**. Only the operational data for any selected entities that have been created or modified since the previous export are included. Note:
  * If *nothing has changed* from one export run to the next in the Schedule - in the period since the previous export was run none of the selected entities have been created or modified - then an *empty file* is exported.
  * If one of the selected entities *has been deleted* in the period since the previous export was run, then the data for that entity are included in the next run and the `deleted` field for the entity is set to `true`. Data for a deleted entity data are only included in the export ran *immediately following* the period in which the entity was deleted and are not included in any further exports ran for the Schedule.
  * If you *edit the frequency* mid-Schedule after some exports have already been run for the original frequency - for example from hourly to daily - then only the data for selected entities that have been created or modified in the period since the last hourly export run to the first daily export ran are included. Importantly, the first export ran for the adjusted frequency *does not include* the data for *all selected entities*, and as if a new Schedule has been set up.

##### **Data Export Entity Schema**

You can review the details of export schema for each entity available for operational data export - see [Data Export - Entity Schema and Relationship Diagram](/guides/data-exports/data-export-object-relationship-diagram).

### Export Size Limit

Typically Operational Data exported files are relatively small, but if they do exceed 6GB the exported data is split across multiple files.

## Creating Operational Data Export Schedules

You can quickly set up scheduled exports of operational data such as Accounts, Bills, and Balances. Scheduled exports are incremental and designed to be easily integrated into downstream data tools.

**To create an Operational Data Export Schedule:**

1. Select **Data exports**:

<img src="https://mintcdn.com/m3ter/mC89AON4X0ckKhXt/images/1749734109-dataexport46b.png?fit=max&auto=format&n=mC89AON4X0ckKhXt&q=85&s=b718701cff510c5cc8a1874316e9de90" style={{ maxWidth: 'min(160px, 100%)' }} width="222" height="178" data-path="images/1749734109-dataexport46b.png" />

The **Data exports** page opens and lists any existing **Export** schedules.

2. Select **Create export schedule**. The **Create** page opens.
3. Enter the **Export schedule details**:

* **Name**. Descriptive name for the schedule.
* **Destinations**. Use the drop-down to select the Export destinations to be used each time the data export runs for the schedule:
  * Select the Export Destination(s) you want the export to be delivered to.
  * If *No options* shows in the drop-down, you must first create at least one Destination before you can set up an Export Schedule - see [Creating and Managing Export Destinations](/guides/data-exports/creating-data-export-destinations).
  * Alternatively, if you simply want to download the data export file locally, *do not select* a Destination. See [Downloading Data Export Files Locally](/guides/data-exports/downloading-data-export-files-locally) for more details.
* **Export file format.** Select the format you require for the usage data export files:
  * **CSV**. (*Default*).
  * **JSONL**.

4. Set up the **Export schedule**:

<img src="https://mintcdn.com/m3ter/FcWrVREdED1szRzf/images/1759498315-dataexport86.png?fit=max&auto=format&n=FcWrVREdED1szRzf&q=85&s=ccad1f80bc1f0c6bcb4e8a79b2e0547f" style={{ maxWidth: 'min(500px, 100%)' }} width="647" height="383" data-path="images/1759498315-dataexport86.png" />

* You can use the default **Simple** scheduling mode to do this:
  * **Frequency**. Define the frequency for the schedule in **Hours**, **Days**, or **Minutes**.
  * **Offset**. If you use an hourly or daily frequency, then you can define an offset for when the export will run relative to the hour or day:
    * For hourly scheduling, an offset in minutes from start of hour.
    * For daily scheduling an offset in hours from midnight.
* Alternatively, select the **Advanced** scheduling mode and define a cron expression for when you want the export to run:

<img src="https://mintcdn.com/m3ter/FcWrVREdED1szRzf/images/1759500404-dataexport87.png?fit=max&auto=format&n=FcWrVREdED1szRzf&q=85&s=65496cdff1c36e208c342692cdaadda8" style={{ maxWidth: 'min(725px, 100%)' }} width="966" height="277" data-path="images/1759500404-dataexport87.png" />

The data export will be scheduled to run immediately when you create it and then at the defined frequency.

<Warning>
  **Warning! Limits are imposed:**

  * Lowest frequency is every 3 days.
  * Highest frequency is every 15 minutes.
  * Errors will show if you try to set a frequency outside of these limits.
</Warning>

<Tip>
  **Note: Editing the Frequency mid-Schedule?** You can edit an operational Export Schedule's **Frequency** after some exports have already been run for the original **Frequency** - for example from an hourly to a daily. However, this *does not mean the Schedule will reset* and the first export ran for the adjusted **Frequency** will include the data for *all selected entities*. See above under [Export File Format and Composition](/guides/data-exports/creating-operational-data-export-schedules#export-file-format-and-composition).
</Tip>

5. Enter the **Export data**:

* **Source type**. Select the **Operational data** option. The page adjusts to allow you to select the operational entities whose data you want the export to contain.
* Under **Operational data entities**, select the plus icon and use the pop-up to select the entities whose data you want to include in the export:

<img src="https://mintcdn.com/m3ter/Okr_78TxCz7Erw90/images/1759765556-dataexport45c.png?fit=max&auto=format&n=Okr_78TxCz7Erw90&q=85&s=7b4744aa02f343b3c2d685c64a1f9d0c" style={{ maxWidth: 'min(200px, 100%)' }} width="320" height="498" data-path="images/1759765556-dataexport45c.png" />

* Select **Add**. the selected entities are added to **Export data**:

<img src="https://mintcdn.com/m3ter/Okr_78TxCz7Erw90/images/1759506251-dataexport88.png?fit=max&auto=format&n=Okr_78TxCz7Erw90&q=85&s=96a145429ed8298949a3b5e2c6443feb" style={{ maxWidth: 'min(700px, 100%)' }} width="808" height="370" data-path="images/1759506251-dataexport88.png" />

* In this example, we've selected to include the operational data for **Accounts**, **Account Plans**, and **Prepayments/Commitments** in data exports ran every three days.

6. When you have entered all details, select **Create export schedule**. The **Export schedule details** page opens:

<img src="https://mintcdn.com/m3ter/UNNNqzWAlbEgfOnu/images/DataExport94.png?fit=max&auto=format&n=UNNNqzWAlbEgfOnu&q=85&s=5978618ec2aaf30010d77448c2d8618c" alt="Data Export94" width="1176" height="492" data-path="images/DataExport94.png" />

7. Return to the **Data exports** page where the new schedule is listed on the **Export schedules** panel:

<img src="https://mintcdn.com/m3ter/Okr_78TxCz7Erw90/images/1759506824-dataexport32g.png?fit=max&auto=format&n=Okr_78TxCz7Erw90&q=85&s=238c431c647d81f412fd2498eb46d12d" style={{ maxWidth: 'min(800px, 100%)' }} width="1350" height="685" data-path="images/1759506824-dataexport32g.png" />
