Mobile pairing
Pair a mobile device with the open file and choose what it sees.
Overview
The Mobile pairing dialog links the Principal Plan mobile app to a data file, so the app can display that file's Envelope balances. Open it from File > Mobile pairing.
One file is paired at a time, and syncing runs only while that file is open. Opening a different file leaves the mobile app showing the data it last received. To sync a different file, generate a new code and pair again.
The dialog has two tabs. Envelopes chooses what the mobile app sees. Pair device creates and revokes the pairing.
Pairing a device
On the Pair device tab, press Generate code and enter a passphrase of at least 8 characters. The desktop app displays a QR code. In the mobile app, open the menu with the three-bar button at the top left, choose Pair, scan the code, and type the same passphrase. The passphrase is never shown beside the QR code and never travels over the network, so a photograph of the screen is not enough to read your data.
The passphrase cannot be recovered. If it is forgotten, unpair and generate a new code.
The file must be saved before it can be paired, and it must have no unsaved changes. Generate code stays disabled until both are true.
Generating a code while a pairing already exists asks for confirmation first. Confirming unpairs every device paired to the earlier file and erases that file's synced data from the server. If the server cannot be reached, the earlier pairing is left as it was and the message "Unable to reach the server. Check your network connection and try again later." appears. If the server is reached but refuses the request, the desktop app still ends the earlier pairing and goes on to create the new code, without showing a message; the data last published can remain on the server. If the new code fails after the old pairing was revoked, the file is left unpaired.
The frame around the code box reports the state of the pairing. Green means syncing is active for the open file. Red means nothing is paired, or the pairing belongs to a file that is not open, or to a file that can no longer be found. While nothing is paired the box reads Not set up.
Opening the dialog on anything other than an active pairing brings up a message naming the next step: save the file before pairing it, or, when the pairing belongs to another file, that generating a new code pairs this file and deletes the old pairing.
The App Store and Google Play badges at the bottom of the tab open the mobile app's store listing in your browser, so the app can be installed on the phone before pairing.
Choosing Envelopes

The Envelopes tab decides which Envelopes reach the mobile app. The choice can be made while nothing is paired, or while the pairing belongs to the open file. When the pairing belongs to another file, the tab's controls stay disabled.
The choice is saved in each file. A change counts as an unsaved change, so the file must be saved again before Generate code can be used. Pairing does not change the choice: Generate code and Unpair leave it as it is.
Check the box next to each Envelope you want published. The mobile app receives exactly the checked Envelopes. Clicking an unchecked Envelope checks that Envelope and leaves the Envelopes under it, at every level, as they are. Clicking a checked Envelope checks every Envelope under it if any of them is unchecked. If all of them are already checked, the click unchecks only that Envelope and leaves the Envelopes under it checked. Clicking it again right after that unchecks every Envelope under it. If you click another Envelope first, this click checks the Envelope instead. Starting with nothing checked, repeated clicks on an Envelope with child Envelopes check the Envelope alone, then the Envelope and every Envelope under it, then only the Envelopes under it, then nothing. Clicking a child Envelope never changes its parent, so you can check child Envelopes individually. Clicking an Envelope with no child Envelopes checks or unchecks that Envelope only. To check or uncheck every Envelope, click the box of the top row until all are checked or unchecked.
The Select Allocation Plan button beneath the list checks the Envelopes included in the Allocation Plan and unchecks all other Envelopes.
If the file has no choice yet, the tab starts with nothing checked. While pairing is active for the open file, at least one Envelope must be checked before the dialog will close. Envelopes always reach the mobile app in the order they appear in the Envelope list, whatever order they were checked in.
Dialog controls
| Control | Description |
|---|---|
| Generate code | Creates a new pairing for the open file. Any existing pairing is revoked first, after a confirmation, and devices paired to it stop receiving data. Disabled until the file has been saved with no unsaved changes. |
| Unpair | Revokes every paired device and erases the synced data from the server. The Envelopes choice stays as it is. This cannot be undone. If the server cannot be reached, the pairing is left as it was and the message "Unable to reach the server. Check your network connection and try again later." appears. If the server is reached but refuses the request, the desktop app still ends its pairing and shows no message; the data last published can remain on the server. |
| Close | Closes the dialog. While the file is paired, it also publishes the current data. While a code is being generated or the file is being unpaired, the dialog stays open until that finishes. |
A phone clears its pairing and cached balances when it next connects and receives the revocation. Until then, it can still show the data it last received.
On the mobile device
The three-bar button at the top left of the mobile app opens its menu.
| Command | Description |
|---|---|
| Pair | Checks camera access, then opens the scanner so the device can read a code from the desktop app. Shows a Camera message instead when the camera cannot be used; see Mobile app. Available only while the device is not paired. |
| Unpair | Forgets the pairing on the device and clears the balances it is showing. The desktop app keeps its own pairing, so the device can pair again with the same code and passphrase. Available only while the device is paired. |
| Refresh | Reads the published data at once instead of waiting for the next check. Available only while the device is paired. |
| Language | Opens the language list. The app starts in English, changes language as soon as one is picked, and remembers the choice. |
Pair, Unpair and Refresh are also disabled while a pairing attempt is being checked. The five-minute check and Refresh do not disable them.
The app checks for new data every five minutes while it is on screen, and stops checking while it is in the background. The bar at the bottom of the screen reads Not paired until pairing succeeds, that is, after the code is scanned and the passphrase is accepted. It then reads Posted followed by the date and time the desktop app published the data. While the phone is paired but has not yet received published data, it reads Syncing….
What the mobile app receives
The desktop app publishes the data in the open paired file, including changes not yet saved. Publishing happens when the file is opened, when unsaved changes are saved, when the Mobile pairing dialog closes, and again every five minutes while the desktop app is running, which is what keeps the date shown on the phone current. The first edit while the file has no unsaved changes is also published right away. Later edits are included in the next five-minute publication. The phone receives a publication when it next fetches data; saving or publishing does not make it refresh immediately.
If you close the file and discard your changes, the phone goes back to the original file's saved values. If you use Save as to save it under another name, the phone also goes back to the original file's saved values, and later changes are not published. Revert to original and Restore checkpoint publish the data they reloaded. If either the computer or the phone is offline, the phone keeps what it has until a later publication reaches it. If publishing fails, the desktop app shows a message giving the reason. Check Stop showing for this session to turn these messages off until the desktop app is next started.
Note: The entire help system is available as a single Markdown file suitable for teaching your favorite AI agent to be your personal Principal Plan expert. Download