ObjectRecord
ResponseAn object of the resource objects: a unit the organization invoices and allocates costs by — an apartment, a parking space, a vehicle, a rented room. Its type decides which properties it holds. Lists include properties and meters only when asked with expand; GET /{id} always includes them.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
16Short code, unique within the type, e.g. the apartment number. Fixed once the object's dimension value is used by postings (BILLING_OBJECT_CODE_LOCKED); the name can still change.
Whether the object is in use. One not in use (an empty unit, a storage room) stays on file but billing skips it.
The Estonian address register (ADS) object id, when the address was picked from the register.
The object's own structured payment reference (viitenumber), in electronic form. It belongs to the object, not its owner, so it survives an owner change; invoices for the object carry it. Set with objects:assignPaymentReferences.
The object's value in its type's dimension, when the type has gl_tagging on.
The last day an issued invoice for the object covers; null when it was never invoiced.
Your own id for this record (from the system you migrate from or sync with), unique per organization and resource.
When the record last changed; a change to a property value, a meter or the payment reference counts. Also the basis of the ETag.
Every property of the object's type with its values and their history. Lists include it with expand=properties.
12 attributes of each item
What a property's value is. numeric a decimal number (area, share, resident count); text free text; boolean yes or no; contact a contact of this organization (an owner, a payer, a tenant); address the object's own address (address_text on the object; at most one per type); meter a slot for one meter of one meter type.
Known values (open: expect new ones) numeric, text, boolean, contact, address, meter
Details
Fixed once the definition is saved.
For a meter property, the meter type of its slot; its meter is in the object's meters.
static: the property holds one value with no history. dated: every value is valid from a date, so a change starts a new value on its effective_from and the earlier one is kept as history; numeric, text, boolean and contact properties can be dated. Fixed once the definition is saved.
Known values (open: expect new ones) static, dated
A single-value property's values, newest first. Empty for a multi-valued property.
6 attributes of each item
A multi-valued property's values: current ones first by position, then ended ones, newest first. Empty for a single-value property.
8 attributes of each item
Order among the current values, 0 first. Ended items keep their last position.
Meters on the object, current ones first, then removed ones, newest first. Lists include it with expand=meters.
24 attributes of each item
The meter's reading when it was taken out; null while it is current.
current while installed, removed once taken out. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) current, removed
The main meter this one is a sub-meter of (a building's water main above the apartments' meters); the meter-reconciliation report compares their consumption.
The value at which the counter wraps to zero (100000 for a five-digit counter). A reading below the previous one is then read as a wrap when the wrapped consumption is under half this value, by billing too; otherwise it is a decrease.
How readings arrive, typed in or reported (manual) or read remotely (remote). New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) manual, remote
The meter that was in this property before this one.
The meter that followed this one in its property.
The latest stored reading; null when there is none. Derived: a new reading does not move the meter's updated_at.
Your own id for this record (from the system you migrate from or sync with), unique per organization and resource.