Skip to content

ErpInvoice

Informative (Inf-package) OWL Class IEC61968

Package: IEC61968.InfIEC61968.InfERPSupport

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

Informative Package Note: cim:ErpInvoice belongs to IEC61968.InfIEC61968.InfERPSupport, an approved and ratified IEC CIM package that is Informative rather than Normative (optional for compliant implementations and subject to more version/vendor drift).

A roll up of invoice line items. The whole invoice has a due date and amount to be paid, with information such as customer, banks etc. being obtained through associations. The invoice roll up is based on individual line items that each contain amounts and descriptions for specific services or products.

classDiagram
  Document --|> IdentifiedObject
  ErpDocument --|> Document
  ErpInvoice --|> ErpDocument
  ErpInvoice --> BillMediaKind : billMediaKind
  ErpInvoice --> ErpInvoiceKind : kind
Name Canonical Property IRI Range Description
amount cim:ErpInvoice.amount cim:Money (Datatype) Total amount due on this invoice based on line items and applicable adjustments.
billMediaKind cim:ErpInvoice.billMediaKind cim:BillMediaKind (Object) Kind of media by which the CustomerBillingInfo was delivered.
dueDate cim:ErpInvoice.dueDate xsd:date (Datatype) Calculated date upon which the Invoice amount is due.
kind cim:ErpInvoice.kind cim:ErpInvoiceKind (Object) Kind of invoice (default is ‘sales’).
mailedDate cim:ErpInvoice.mailedDate xsd:date (Datatype) Date on which the customer billing statement/invoice was printed/mailed.
proForma cim:ErpInvoice.proForma xsd:boolean (Datatype) True if payment is to be paid by a Customer to accept a particular ErpQuote (with associated Design) and have work initiated, at which time an associated ErpInvoice should automatically be generated. EprPayment.subjectStatus satisfies terms specificed in the ErpQuote.
referenceNumber cim:ErpInvoice.referenceNumber xsd:string (Datatype) Number of an invoice to be reference by this invoice.
transactionDateTime cim:ErpInvoice.transactionDateTime xsd:dateTime (Datatype) Date and time when the invoice is issued.
transferType cim:ErpInvoice.transferType xsd:string (Datatype) Type of invoice transfer.
Name Canonical Property IRI Range Description
ActivityRecord cim:Document.ActivityRecord cim:ActivityRecord The activity record for a document
ConfigurationEvents cim:Document.ConfigurationEvents cim:ConfigurationEvent All configuration events created for this document.
authorName cim:Document.authorName xsd:string Name of the author of this document.
comment cim:Document.comment xsd:string Free text comment.
createdDateTime cim:Document.createdDateTime xsd:dateTime Date and time that this document was created.
docStatus cim:Document.docStatus cim:Status Status of this document. For status of subject matter this document represents (e.g., Agreement, Work), use ‘status’ attribute. Example val…
electronicAddress cim:Document.electronicAddress cim:ElectronicAddress Electronic address.
lastModifiedDateTime cim:Document.lastModifiedDateTime xsd:dateTime Date and time this document was last modified. Documents may potentially be modified many times during their lifetime.
revisionNumber cim:Document.revisionNumber xsd:string Revision number for this document.
status cim:Document.status cim:Status Status of subject matter (e.g., Agreement, Work) this document represents. For status of the document itself, use ‘docStatus’ attribute.
subject cim:Document.subject xsd:string Document subject.
title cim:Document.title xsd:string Document title.
type cim:Document.type xsd:string Utility-specific classification of this document, according to its corporate standards, practices, and existing IT systems (e.g., for manag…
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:ErpInvoice can carry properties declared on ErpInvoice plus any ancestor in its inheritance chain (IdentifiedObject, Document, ErpDocument). 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.