Skip to main content

standard_load_billing_data

Purpose

The purpose of the rule is to load data needed for running the billing flow.

Detailed description

  1. Start and end period of the billing are determined based on the flow properties
    • Start is exclusive and end is inclusive, unless
    • it is a register channels (name has READ), in which case start is also inclusive
    • start=end, in which case only that timestamp should be loaded
  2. Data is loaded for the channels in the billing request, defined in the flow properties
    • If no data is found for a channel, it is appended to self.dataframefilled with Nones

Common use cases

The rule is used to load data for billing. The rule could be used for other flows that need to load data for the channels and period defined in the message (flow properties).