Section 1
Overview
Accounts & Billing is a finance workspace extension. Track client accounts, issue bills, record receipts, monitor outstanding balances, and export data — with custom fields, bulk import, and bilingual UI. You can store financial records in the cloud database or in your browser using local DB mode.
Main areas
- Dashboard — billing and receipt summaries with charts
- Accounts — contacts with balances, tags, custom fields, and PDF reports
- Bills — invoices with amounts, tax, and due dates
- Receipts — payment records with method and reference
- Local DB — optional browser storage with offline or cross-browser sync
- Import & export — bulk data from spreadsheets
- Roles & members — permissions and team access
Section 2
Getting started
-
Sign in
Open Accounts & Billing and sign in via the central platform.
-
Select workspace
Switch workspace from the profile menu if you belong to several.
-
Create an account
Go to Accounts → New account. Add name, contact details, and tags.
-
Add bills and receipts
Create bills from the account detail page or Bills index. Record receipts when payments arrive.
-
Optional: local DB
From the profile menu, switch to local database if you want accounts, bills, and receipts stored in this browser. See Local database mode below.
Section 3
Local database mode
Local DB mode keeps accounts, bills, receipts, custom field values, and activity logs in your browser using IndexedDB. Authentication, roles, members, custom field definitions, and quotas still use the platform.
Storage modes
- Cloud — records saved in the server database (default)
- Local DB — records saved in this browser's IndexedDB
Switching storage mode
- Open the profile menu (top right)
- Click Use local database or Use cloud database to toggle
- Your choice is remembered per workspace on this browser
- The profile badge shows Cloud, Local · Sync, or Local · Offline
Sync options (local DB only)
- Sync remote — share changes with other browsers via a temporary server relay and optional WebRTC links
- Offline — data stays on this device only; no sync API traffic (saves API quota)
-
Open local DB settings
Profile menu → Local DB & sync status (or Local DB (offline) when offline mode is active).
-
Choose sync mode
Select Offline or Sync remote. Offline avoids relay polling and presence heartbeats.
-
Monitor sync (remote only)
View connected browsers, relay status, sync activity log, and run a test ping.
Privacy & API usage
Financial records are not stored permanently on the server in local DB mode. The relay holds short-lived sync messages (~5 minutes). Sync remote counts mutating sync requests toward workspace API quota; polling GET requests do not. Offline mode uses no sync API requests.
What works in local DB
- Dashboard — statistics, charts, calendar, and activity drill-down
- Accounts, bills, and receipts — full create, edit, delete, search, and filters
- Account PDF download — generated in the browser from local data
- Import and export — CSV from IndexedDB in the browser
- Account custom field values — definitions still loaded from the server
- Activity log — stored locally; syncs in sync remote mode
What still uses the server
- Sign-in, roles, members, and permissions
- Custom field definitions and the Custom fields management page
Section 4
Dashboard
Financial overview with period selectors: day, calendar month, month, or year. Requires statistics.view. Works in both cloud and local DB mode — local mode computes stats from IndexedDB.
Summary metrics
- Bills created and total amount
- Receipts recorded and total amount
- Outstanding balance and period net
Charts & activity
- Day breakdown and monthly/daily amount charts
- Calendar heat map of daily activity
- User-wise or my activity tables with drill-down
- Link to full activity log
Section 5
Accounts
Account list
- Search by name, email, phone, or tags
- Balance filters: outstanding, partially paid, settled, credit, no activity
- Create, edit, delete (permission-gated)
Account detail
- Balance report with bills and receipts history
- Quick actions: new bill, new receipt, download PDF (cloud or local mode)
- Custom field values displayed on profile
- Toolbar: Export, Bulk import, Custom fields
Section 6
Custom fields
Define extra data fields for accounts. Requires custom_fields.manage. Field definitions are always stored on the server; in local DB mode, values you enter on accounts are saved in IndexedDB.
- Field types: text and number
- Required and unique flags per field
- Workspace field limit applies
- Used on account forms and list filters
Section 7
Bills
- Global bills index with account and date filters
- Create from account detail or standalone form
- Fields: bill number, title, description, subtotal, tax, total, issued/due dates
- View, edit, delete from bill detail page
Permissions: bills.view, bills.create, bills.edit, bills.delete. Bulk import via bills.import.
Section 8
Receipts
- Global receipts index with account, date, and payment method filters
- Payment methods: cash, bank transfer, UPI, card, cheque, other
- Fields: receipt number, amount, method, received date, reference, notes
- Linked to accounts for balance tracking
Permissions: receipts.view, receipts.create, receipts.edit, receipts.delete. Bulk import via receipts.import.
Section 9
Bulk import
Four-step wizard: Paste → Map columns → Preview → Import. Works in cloud and local DB mode — local mode saves records to IndexedDB in the browser.
Import types
- Accounts — requires accounts.import
- Bills — requires bills.import; match accounts by name or email
- Receipts — requires receipts.import; match accounts by name or email
Tips
Paste from Excel or Google Sheets. Preview and edit rows before confirming import.
Section 10
Export data
- Scopes: accounts only, bills only, or receipts only (CSV)
- In cloud mode: also all data (ZIP) and account activity (ZIP)
- Apply search, tag, balance, date, and payment method filters
- Live preview count before download
- Local mode generates CSV in the browser; cloud mode may offer ZIP bundles
Export is available from the Accounts page toolbar. Requires accounts.view at minimum.
Section 11
Roles & members
- System roles: Owner (full access), Guest (view-only default)
- Custom roles with grouped permissions: Accounts, Bills, Receipts, Statistics, Activity, Roles, Members
- Assign roles to members; new users get Guest
Section 12
Profile & activity
- Profile menu: workspace, role, Cloud / Local badge, storage mode toggle
- Local DB & sync status — sync settings, connections, and activity log
- API/storage usage and refresh usage
- Workspace activity (activity.view) or My activity
- Audit trail for accounts, bills, receipts, roles, and members
Section 13
Languages & themes
- English and Hindi UI
- Workspace brand colors and light/dark/system appearance
Section 14
Permissions reference
Accounts & statistics
Swipe horizontally to see all columns → →
| Permission | Description |
|---|---|
accounts.view
|
View accounts list and detail |
accounts.create
|
Create accounts |
accounts.edit
|
Edit accounts |
accounts.delete
|
Delete accounts |
accounts.import
|
Bulk import accounts |
custom_fields.manage
|
Manage account custom fields |
statistics.view
|
Dashboard and statistics |
activity.view
|
Workspace activity log |
roles.manage
|
Manage roles |
members.manage
|
Manage members |
Bills & receipts
Swipe horizontally to see all columns → →
| Permission | Description |
|---|---|
bills.view
|
View bills |
bills.create
|
Create bills |
bills.edit
|
Edit bills |
bills.delete
|
Delete bills |
bills.import
|
Bulk import bills |
receipts.view
|
View receipts |
receipts.create
|
Create receipts |
receipts.edit
|
Edit receipts |
receipts.delete
|
Delete receipts |
receipts.import
|
Bulk import receipts |
Section 15
Troubleshooting
Dashboard or nav items missing
Navigation is permission-filtered. Dashboard needs statistics.view. Accounts needs accounts.view. In local DB mode, dashboard stats are computed from IndexedDB — switch date period or refresh if numbers look stale after creating bills or receipts.
Import failed to match accounts
For bills/receipts import, ensure account name or email in your data matches existing accounts.
Export count is zero
Check filters — tags, balance status, or date range may exclude all rows.
Usage quota errors
Refresh usage from the profile menu or contact your workspace owner to increase limits.
Other browsers do not see my local DB changes
Confirm local DB mode with Sync remote enabled (not Offline). Open Local DB & sync status and check relay connection. Other browsers must use the same workspace and also be in local DB sync remote mode.
Will switching to cloud mode migrate my local data?
Modes are separate stores. Export from local mode and import into cloud mode if you need to move data.
Month or calendar view shows wrong dates in local mode
Ensure you are on the latest app build. Local dashboard uses bill issued_at and receipt received_at for activity. If a section is empty, confirm records exist in local DB for the selected period.
Custom fields page or definitions missing in local mode
Custom field definitions are managed on the server. The Custom fields page requires cloud connectivity. Values on account forms still save locally in local DB mode.