---
updatedAt: 2026-08-10T11:09:45.000Z
agentTools:
  projectIndex: https://partner-dwh.readme.io/llms.txt
---

# Tariff Period Groups

Table name: `tariff_period_groups`

Contains tariff period group data enriched with related tariff information and deletion timestamps.
Provides a comprehensive view of tariff period groups by joining core period group data with
corresponding tariff records, enabling analysis of period group lifecycle and associated tariff status.
Filters results to only include period groups that have corresponding tariff records.

**SQL:** `tariff_period_groups`

## Schema

| Column Name                   | Data Type      | Description                                                                          |
| :---------------------------- | :------------- | :----------------------------------------------------------------------------------- |
| **Primary ID**                |                |                                                                                      |
| id                            | INTEGER        | Primary key                                                                          |
| **Other IDs**                 |                |                                                                                      |
| tariff\_id                    | INTEGER        | Foreign key reference to the associated tariff record                                |
| **Timestamps**                |                |                                                                                      |
| created\_at                   | TIMESTAMP\_NTZ | Timestamp when the tariff period group record was originally created                 |
| updated\_at                   | TIMESTAMP\_NTZ | Timestamp when the tariff period group record was last modified                      |
| deleted\_at                   | TIMESTAMP\_NTZ | Timestamp when the tariff period group was soft deleted, null if still active        |
| tariff\_deleted\_at           | TIMESTAMP\_NTZ | Deletion timestamp from the associated tariff record, null if tariff is still active |
| tariff\_operator\_deleted\_at | TIMESTAMP\_NTZ | Operator-initiated deletion timestamp from the associated tariff record              |
| **Attributes**                |                |                                                                                      |
| active\_from                  | TIMESTAMP\_NTZ | Start timestamp when the tariff period group becomes effective                       |
| active\_to                    | TIMESTAMP\_NTZ | End timestamp when the tariff period group expires, null if indefinite               |
| description                   | VARCHAR        | Human-readable description or label for the tariff period group                      |

## Data inclusion criteria

This table includes period groups that belong to tariffs included in the operator's `tariffs` table

## Data flow

| Upstream tables | Downstream tables |
| :-------------- | :---------------- |
| `tariffs`       | ---               |

## Alignment

### Monta API

* Aligns with Monta API [get/tariff-period-groups](https://docs.partner-api.monta.com/reference/get-period-groups) endpoint