Documentation
In our current manual process, our utilities manager had to scan her inbox for missing energy bills, manually search AppSheet to see who owned or occupied a property, calculate who was responsible for
In our current manual process, our utilities manager had to scan her inbox for missing energy bills, manually search AppSheet to see who owned or occupied a property, calculate who was responsible for
Utilities & Council Tax Payment Management
RAIA™ (Real estate Artificial Intelligence Agent) OS automates the entire utilities pipeline — scanning invoices, extracting billing periods via OCR, determining liability from tenancy dates, and submitting Change of Tenancy forms automatically.
In our current manual process, our utilities manager had to scan her inbox for missing energy bills, manually search AppSheet to see who owned or occupied a property, calculate who was responsible for the bill based on move-in/out dates, manually email the tenant for payment, and call suppliers to inform them when tenants changed. RAIA™ (Real estate Artificial Intelligence Agent) OS automates this entire pipeline. RAIA (Real estate Artificial Intelligence Agent) scans a central inbox, extracts addresses and billing periods via OCR, compares dates with our active tenancies database to determine liability (occupied vs. vacant), pays landlord balances automatically from automated bank reconciliation gateway, and submits Change of Tenancy forms to utility suppliers without human intervention.
⚡ Utilities & Council Tax Automation Pipeline
Sovereign Engineering (ADR-247)Managing utility expenses and council tax liabilities across a large portfolio requires constant auditing of billing periods and occupant changes. Failure to process these promptly leads to service suspension, credit risk, or illegal landlord billing during active tenancies. This document defines the technical specifications for RAIA’s automated utility pipeline, targeting a **92% manual workload reduction**.
1. Current Utilities & Council Tax Workflows (HITL)
Hanna's utility audit routine is characterized by a series of high-frequency manual gates:
-
1Scattered Inbox Scanning & Downloading
Because some utility bills are not linked to our tracking tickets, the manager has to manually scan her personal inbox and download bills, or manually check for assigned digital scans inside the UK Postbox platform to link them to tickets.
-
2Property Address Search
For every incoming bill (Octopus Energy, SSE, Thames Water, Hammersmith & Fulham Council), the manager has to manually read the property address on the PDF and search AppSheet to check if it's currently vacant or active.
-
3Liability & Billing Period Audit
The manager must manually inspect the billing dates (e.g. April 1 to April 30) and cross-reference active tenancy records:
• If vacant: Create a landlord ticket and deduct payment from the landlord's automated bank reconciliation gateway float.
• If occupied: Create a tenant ticket, draft a manual email, enclose the bill PDF, and email the active occupants requesting reimbursement. -
4Manual Change of Tenancy (CoT) Filings
Upon receiving notifications of a move-in or move-out, the manager has to manually contact providers (or log into their portals) to submit Change of Tenancy (CoT) filings. She must also manually schedule future post-dated reminder tickets to verify the updates.
2. RAIA™ (Real estate Artificial Intelligence Agent) Autonomous Utilities Architecture
To transform this manual workflow, RAIA™ (Real estate Artificial Intelligence Agent) OS connects our centralized email servers to advanced visual classifiers and CRM triggers:
Central Ingestion & Visual ETL Parser
Instead of scanning multiple inboxes, all utility bills and UK Postbox scans route to a single mailbox (hello@estateaigents.com). Paperclip's email daemon pulls attachments, auto-links PDFs directly to tbl_documents, and extracts key values (provider, billing period, amount, account number) via Gemini Flash Visual OCR with **95% automated efficiency**.
Fuzzy Address Matcher & DB Lookup
RAIA (Real estate Artificial Intelligence Agent) automatically runs a fuzzy matching algorithm (using Postgres string distance functions) to compare the extracted PDF billing address against tbl_addresses. It instantly resolves the exact property and checks its current occupancy status, eliminating manual AppSheet searches (95% automated efficiency).
Repository Code
The live codebase implementation for this specification sits within the following repository folder:
Temporal Liability & Billing Resolver
RAIA (Real estate Artificial Intelligence Agent) deploys a temporal database function: resolve_utility_liability(bill_start, bill_end, asset_id). It cross-references the bill's dates with tbl_tenancies active occupancy logs. Vacant periods are auto-charged to the landlord's automated bank reconciliation gateway float, while active periods trigger a pre-filled, localized tenant payment email with the PDF attached (95% automated efficiency).
Agentic Change of Tenancy (CoT) Autopilot
RAIA (Real estate Artificial Intelligence Agent) captures move-in/out events from tbl_tenancies and automatically dispatches CoT notifications. It logs into supplier portals (e.g., Octopus) via browser automation to fill forms, or dispatches secure automated email packages containing the tenancy details and meter readings directly to the utility providers (90% automated efficiency).
3. Operational Impact & Phased Roadmap
By executing this plan, we expect to achieve an **overall 92% manual workload savings** across utility expense auditing and Change of Tenancy operations.
Phased Utilities Automation Roadmap
- Phase 1: Centralize all incoming scans and utility attachments into the visual OCR pipeline to auto-extract addresses.
- Phase 2: Program the temporal database resolver to auto-assign vacant and occupied utility billing liabilities.
- Phase 3: Build agent-driven Change of Tenancy form automation using secure web forms and portal dispatch engines.
4. Operational References & Human Perspectives
The following high-fidelity Loom video documents the exact manual keystrokes, screen transitions, and decision trees utilized by human operators today. This serves as the ground-truth behavioral specification for RAIA’s automated agents:
Architecture Details
Payment architecture follows the flow-through (Airbnb/Stripe) model with a three-layer pipeline: authorisation → capture → settlement. The system integrates with Stripe Connect for payment processing, handles multi-currency transactions, and maintains a complete audit trail for every financial event.
- Core Component: Payment processing engine and ledger system
- Data Flow: Payment Initiation → Authorisation → Capture → Settlement → Reconciliation → Audit
- Integration Points: Stripe Connect, bank accounts, accounting systems, reporting
Configuration Reference
Key configuration parameters for this system:
| Parameter | Type | Default | Description |
|---|---|---|---|
| stripe_mode | string | test | Stripe API mode (test or live) |
| payout_schedule | string | daily | Payout frequency (daily, weekly, monthly) |
| currency | string | GBP | Default transaction currency |
Figure 2: Payment architecture — component interaction and data flow.
Troubleshooting
| Issue | Cause | Resolution |
|---|---|---|
| Payment capture timeout | Stripe API latency or webhook delivery failure | Enable idempotency keys and retry with exponential backoff |
| Settlement mismatch | Rounding difference or fee calculation error | Run reconciliation report and adjust with manual correction |
This component is part of the RAIA (Real estate Artificial Intelligence Agent) platform mono-repo. Implementation details, API contracts, and integration tests are available in the repository.