Skip to content

Transaction

Normative OWL Class IEC61968

Package: IEC61968.PaymentMetering

Canonical IRI: http://iec.ch/TC57/CIM100#Transaction

The record of details of payment for service or token sale.

  • Hierarchy: IdentifiedObject → Transaction
  • Direct Subclasses: None (leaf class)
classDiagram
  Transaction --|> IdentifiedObject
  Transaction --> Meter : Meter
  Transaction --> TransactionKind : kind
  Transaction --> LineDetail : line
Name Canonical Property IRI Range Description
Meter cim:Transaction.Meter cim:Meter (Object) Meter for this vending transaction.
diverseReference cim:Transaction.diverseReference xsd:string (Datatype) Formal reference for use with diverse payment (traffic fine for example).
donorReference cim:Transaction.donorReference xsd:string (Datatype) Reference to the entity that is the source of ‘amount’ (for example: customer for token purchase; or supplier for free issue token).
kind cim:Transaction.kind cim:TransactionKind (Object) Kind of transaction.
line cim:Transaction.line cim:LineDetail (Object) Transaction amount, rounding, date and note for this transaction line.
receiverReference cim:Transaction.receiverReference xsd:string (Datatype) Reference to the entity that is the recipient of ‘amount’ (for example, supplier for service charge payment; or tax receiver for VAT).
reversedId cim:Transaction.reversedId xsd:string (Datatype) (if ‘kind’ is transactionReversal) Reference to the original transaction that is being reversed by this transaction.
serviceUnitsEnergy cim:Transaction.serviceUnitsEnergy cim:RealEnergy (Datatype) Actual amount of service units that is being paid for.
serviceUnitsError cim:Transaction.serviceUnitsError cim:RealEnergy (Datatype) Number of service units not reflected in ‘serviceUnitsEnergy’ due to process rounding or truncating errors.
Name Canonical Property IRI Range Description
DiagramObjects cim:IdentifiedObject.DiagramObjects cim:DiagramObject The diagram objects that are associated with the domain object.
InstanceSet cim:IdentifiedObject.InstanceSet cim:InstanceSet Dataset containing the data objects.
aliasName cim:IdentifiedObject.aliasName xsd:string The aliasName is free text human readable name of the object alternative to IdentifiedObject.name. It may be non unique and may not correla…
description cim:IdentifiedObject.description xsd:string The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hiera…
mRID cim:IdentifiedObject.mRID xsd:string Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved…
name cim:IdentifiedObject.name xsd:string The name is any free human readable and possibly non unique text naming the object.

Open-World Inheritance & Flat Graph Note: Under IEC CIM (RDF/OWL), an instance of cim:Transaction can carry properties declared on Transaction plus any ancestor in its inheritance chain (IdentifiedObject). By default, the builder below expands the full inherited model so you can inspect everything available on this class. Showing every property is intentional for documentation and not required on the wire; sparse payloads carrying only profile-required fields are equally valid.

Object References vs. Flat Literals: Not all CIM properties are flat scalar values. Object associations reference separate typed CIM entities (such as cim:PSRType or cim:Terminal). In JSON-LD 1.1, those referenced objects are lifted out of the main object into a flat @graph array and linked strictly by @id pointer so the graph stays flat instead of deeply nested. Turtle and RDF/XML serialize the exact same graph, making it easy to compare legacy RDF/XML verbosity against Turtle and JSON-LD.