Entity hierarchy
Relationships
| Entity | Related via | Cardinality |
|---|---|---|
| Connection → Account | Discovery | 1:many |
| Account → Meter | Ownership | 1:many |
| Site → Meter | Assignment | 1:many |
| Meter → UsageData | Recording | 1:many |
Meter matching algorithm
When a document is processed, Nectar associates extracted usage and charges with meter records using document evidence.Matching criteria priority
- Identifier alignment — Highest-confidence association
- Normalized identifier handling — Minor formatting differences are tolerated
- Address and account context — Supplemental matching signals
- New meter creation — Used when no existing meter can be confidently matched
Configuration
Matching behavior is configurable by Nectar to improve consistency across utility formats and regions.Meter identifiers
Each meter can have multiple identifiers — typed key-value pairs that Nectar uses for bill matching and display. Identifiers are extracted from utility documents during processing and stored on the meter record.Identifier types
Identifiers are categorized by type. Common types include:| Type | Description | Example |
|---|---|---|
METER | Physical meter serial number | MTR-A12345 |
ACCOUNT | Utility account number | 12345-678-9 |
POD | Point of Delivery (EU/UK) | IT001E12345678 |
NMI | National Meter Identifier (Australia) | 6305000123 |
ESI | Electric Service Identifier (Texas) | 10443720000000000 |
ELECTRIC_CHOICE | Competitive retail electricity | 1234567890 |
PREMISE | Premise or service location | PREM-98765 |
MPR | Meter Point Reference (UK gas) | 1234567 |
ICP | Installation Control Point (New Zealand) | 0001234567AB123 |
MIRN | Meter Installation Registration Number (AU gas) | 52100123456 |
How identifiers are used
Identifiers serve two purposes:- Bill matching — When a document is processed, extracted identifier values are compared against identifiers stored on each meter in the company. The meter whose identifiers match the document is linked to the usage data. All extracted identifiers must be present on the meter, and any extra identifiers on the meter must appear somewhere in the document text.
-
Display (Primary ID) — The platform resolves a single identifier value to display for each meter using a priority system. This displayed value is called the Primary ID. The resolution checks account-level preferences first, then falls back to a standard type ordering (
METER>POD>ELECTRIC_CHOICE>PREMISE>SUBMETER>ESI>CHOICE_ID>SUB_ACCOUNT>ACCOUNT>SUMMARY_ACCOUNT>MPR>ICP>NMI>MIRN), then any available identifier.
Account identifier preferences
Each account can configure a primary identifier type and secondary identifier type. These control which identifier is displayed as the Primary ID for all meters under that account. For example, setting the primary identifier type toACCOUNT means the account number is shown instead of the meter serial number.
Account organization
Account states
| Status | Value | Analytics inclusion |
|---|---|---|
| Detected | Discovered, not confirmed | Excluded |
| Onboarded | Confirmed and active | Included |
| Old account | Previously active | Historical only |
| Duplicate | Linked to active account | Excluded |
| Inactive | Manually deactivated | Excluded |
Active account linking
When utility providers consolidate or restructure accounts, Nectar links related records so reporting reflects the primary active account. Subaccounts link to the active account: In analytics and exports, this helps prevent duplicate counting.Site assignment
Assignment methods
- Address matching — During meter creation
- Account inheritance — From account’s other meters
- Manual assignment — User-specified
Multi-site accounts
An account can have meters at multiple sites. This commonly happens when a single utility login covers buildings at different addresses. Each meter is assigned to its own site based on address matching, while the account itself stays linked to the connection that discovered it. In analytics and exports, each meter’s data rolls up to its assigned site — not to the account’s site.Unassigned meters
Meters without site assignments:- Included in company-wide analytics
- Excluded from site-specific views
- Listed in “Unassigned” section
Meter tracking flags
Tracked
Controls inclusion in active analytics:| State | Meaning | Analytics |
|---|---|---|
True | Actively monitored | Included |
False | Historical/inactive | Excluded |
Duplicate
Marks duplicate meters: Duplicates are excluded from active analytics to avoid double counting.Tags
Meters can be assigned tags — company-defined labels for filtering and organization. Tags are managed per company and can be assigned individually or in bulk. Each tag has anid and a name. The tags field on the meter response returns the list of assigned tags.
Site archiving
Sites can be archived to stop future active reporting while preserving historical records.Archive behavior
When a site is archived:- Site is considered archived
- Meters excluded from active analytics
- Bills after the date excluded from reporting
- Historical data preserved
Duplicate handling
Duplicate detection
Meters are marked as duplicate when:- Same identifier appears multiple times
- Same service point covered by different connections
Duplicate accounts
When accounts are duplicated:- Mark one as the active primary account
- Set
duplicatestatus on others - Data flows through the active account
Excluded contributors
In aggregation queries, these are excluded:| Reason | Query filter |
|---|---|
| Untracked | Excluded from active analytics |
| Duplicate meter | Excluded to prevent double counting |
| Superseded bill | Historical superseded versions ignored in current rollups |
| Duplicate account | Data reported through the active account |
Implied metering
For sewer when not directly metered: Nectar can derive sewer-related usage from available utility data, depending on company configuration.Creation logic
When enabled, derived values are created from relevant utility records and labeled accordingly.Marking
Implied records are flagged as implied in downstream reporting, so you can distinguish them from directly metered data in analytics and exports.Mirror sites
Mirror sites are used for data completeness estimation. When a site is configured with a mirror, it uses the mirror site’s data as a proxy for missing periods. This is useful when a new site has no historical data but a similar building nearby can serve as a reasonable estimate until actual bills arrive.Next steps
API Reference
Explore the meter and account endpoints
Webhooks
Get notified when meters are created