Parse and save a Letter of Authority document. Uploads PDF to storage, links supply points to existing meters (if found), and saves to database. Uses content-based deduplication (returns existing LOA if identical file was already uploaded). Triggers background onboarding stages after saving.
Supabase Auth JWT access token obtained after signing in via magic link or OTP
LOA document file(s) - supports PDF, JPG, PNG. Upload one PDF or multiple images (up to 10).
LOA created successfully
LOA identifier
Associated business identifier
Customer/business name
Customer address
LOA status
PENDING, SENT, SIGNED, EXPIRED, REJECTED Path to stored LOA document