Skip to main content

CreateReadingInput

Provides the fields and values to use when creating a reading.

input CreateReadingInput {
meter: ID!
status: ReadingStatus
type: ReadingType!
source: ReadingSource
reading: Decimal!
readingAt: Date!
periodStartAt: Date
periodEndAt: Date
}

Fields​

CreateReadingInput.meter ● ID! non-null scalar​

The reading's meter.

CreateReadingInput.status ● ReadingStatus enum​

The reading's status. A new reading starts as SUBMITTED or APPROVED: only billing marks a reading INVOICED, and a reading cannot be created VOID. Null is refused. With automated billing on, approving a REGULAR or FORECAST reading bills it, so it requires the right to bill readings.

CreateReadingInput.type ● ReadingType! non-null enum​

The reading's type.

CreateReadingInput.source ● ReadingSource enum​

The reading's source.

CreateReadingInput.reading ● Decimal! non-null scalar​

The reading's reading.

CreateReadingInput.readingAt ● Date! non-null scalar​

The date when the reading was taken.

CreateReadingInput.periodStartAt ● Date scalar​

The date when the reading period started.

CreateReadingInput.periodEndAt ● Date scalar​

The date when the reading period ended.

Member Of​

createReading mutation