.. _everest_types_session_cost: ############ session_cost ############ Types to provide the session price .. _session_cost-IdlePrice: | **IdlePrice**:*object* | Price components when idle | properties: | **grace_minutes**:*integer* | Grace period in minutes before idle time is charged. Grace minutes start counting from the timestamp of the message in which state changed from "Charging" to "Idle". | **hour_price**:*object* (:ref:`money-Price `) | Price per hour while idle | **There is an extended definition for this object** :ref:`here `. .. _session_cost-CostCategory: | **CostCategory**:*string* | Cost category | enum: | - Energy | - Time | - FlatFee | - Other .. _session_cost-ChargingPriceComponent: | **ChargingPriceComponent**:*object* | Charging price for a category | properties: | **category**:*string* (:ref:`session_cost-CostCategory `) | Component type for this charging price | **There is an extended definition for this object** :ref:`here `. | **price**:*object* (:ref:`money-Price `) | Price for this component | **There is an extended definition for this object** :ref:`here `. .. _session_cost-NextPeriodPrice: | **NextPeriodPrice**:*object* | Pricing for the next period | properties: | **timestamp_from**:*string* | Time when these prices become active. | **charging_price**:*array* | Price components while charging | **array_item**:*object* (:ref:`session_cost-ChargingPriceComponent `) | | **There is an extended definition for this object** :ref:`here `. | | **idle_price**:*object* (:ref:`session_cost-IdlePrice `) | Price components while idle. Optional if no idle fee charged. | **There is an extended definition for this object** :ref:`here `. .. _session_cost-SessionCostChunk: | **SessionCostChunk**:*object* | A chunk of the session cost. The total cost of the session is the sum of all chunks. | properties: | **timestamp_from**:*string* | Absolute timestamp for the start of this chunk in RFC3339 UTC format | format:date-time | **timestamp_to**:*string* | Absolute timestamp for the end of this chunk in RFC3339 UTC format | format:date-time | **metervalue_from**:*integer* | Metervalue (energie Wh import) for the start of this chunk | **metervalue_to**:*integer* | Metervalue (energie Wh import) for the end of this chunk | **cost**:*object* (:ref:`money-MoneyAmount `) | Cost of the energy (or other things like time, base price, ...) consumed during this chunk in the currency specified in the session price | **There is an extended definition for this object** :ref:`here `. | **category**:*string* (:ref:`session_cost-CostCategory `) | Cost category. Typically this is energy, time or a flat fee. | **There is an extended definition for this object** :ref:`here `. .. _session_cost-SessionStatus: | **SessionStatus**:*string* | Session status enum. Session can be running or finished. Costs of the running session are not final and can change. | enum: | - Running | - Idle | - Finished .. _session_cost-SessionCost: | **SessionCost**:*object* | Session cost object containing the total cost of the session and a list of chunks | properties: | **id_tag**:*object* (:ref:`authorization-ProvidedIdToken `) | The id tag assigned to this transaction | **There is an extended definition for this object** :ref:`here `. | **session_id**:*string* | The session id | **currency**:*object* (:ref:`money-Currency `) | Currency of the session cost. It applies to all chunks. | **There is an extended definition for this object** :ref:`here `. | **cost_chunks**:*array* | List of cost chunks. The total cost of the session is the sum of all chunks. | **array_item**:*object* (:ref:`session_cost-SessionCostChunk `) | One chunk of the session cost | **There is an extended definition for this object** :ref:`here `. | | **idle_price**:*object* (:ref:`session_cost-IdlePrice `) | Prices for when the EV is idle. | **There is an extended definition for this object** :ref:`here `. | **charging_price**:*array* | Charging prices. | **array_item**:*object* (:ref:`session_cost-ChargingPriceComponent `) | Charging price per type | **There is an extended definition for this object** :ref:`here `. | | **next_period**:*object* (:ref:`session_cost-NextPeriodPrice `) | Charging prices for the next period, starting from the given date/time | **There is an extended definition for this object** :ref:`here `. | **status**:*object* (:ref:`session_cost-SessionStatus `) | Session status. Session can be running or finished. Costs of the running session are not final and can change. Only after the session is finished, the session cost can be committed to bank and/or backend. | **There is an extended definition for this object** :ref:`here `. | **message**:*array* | Message to show to the user containing information about the price | **array_item**:*object* (:ref:`display_message-MessageContent `) | Message with pricing information in a specific language | **There is an extended definition for this object** :ref:`here `. | | **qr_code**:*string* | QR Code with more information. For example when the charging is finished, to download the invoice from