Help
Help
A guide to actually using the portal day to day. Organised by what you're trying to do, not by how it's built.
Getting started
Logging in
There are three kinds of login:
- Standard — everyday use: clients, charges, refunds, self-service links. Can't reach Settings or Users.
- Admin — everything Standard can do, plus Settings and managing other users.
- Master — a break-glass account for emergencies only (e.g. every other login is somehow locked or deactivated). Don't use this for routine day-to-day work.
Five wrong passwords in a row locks that specific account for 15 minutes, whoever's account it is — it clears itself automatically, no need to ask anyone to unlock it.
You're automatically logged out after 30 minutes with no activity — this isn't configurable. Staying active keeps you logged in indefinitely; it only kicks in once a session is genuinely idle.
Two-factor authentication
Required for every account. The first time you log in with 2FA not yet set up, you'll be shown a QR code to scan with an authenticator app (Google Authenticator, Microsoft Authenticator, Authy, or similar), then asked to confirm it's working before you're let in — along with a set of one-time recovery codes, shown exactly once. Save those somewhere safe immediately — a password manager, not a screenshot on the same phone as the authenticator app. If you ever lose your device, one of these codes gets you back in in place of a code from the app; each one works exactly once. If you lose both your device and your codes, an Admin can reset your 2FA from the Users page, which puts you through the same setup again from scratch.
Five wrong 2FA codes in a row locks the account the same way five wrong passwords does.
Security log
Admin/Master only. Every password and two-factor check, across every account — success, failure, or lockout — with the real client IP address. Kept for 90 days, then automatically dropped. Export to CSV from the same page for anything you want to keep longer or hand to someone else.
Activity log
Admin/Master only. What actually happened, not just who logged in — refunds, retries, charging rule changes (single and bulk), clients added or removed, cards added or updated (including a client doing it themselves through a self-service link), and every user/access change (invites, roles, activations, password and 2FA resets). Kept for a full year — this is a genuine financial audit trail for a billing system, not just live-attack monitoring, so it's retained much longer than the Security log above. Export to CSV from the same page.
The Dashboard
Your at-a-glance view: how much has been charged this month, any failures or invoices needing reconciliation, cards expiring soon, and the 15 most recent entries in the Charge Log. Nothing here is editable — it's a summary. The full picture always lives on the Charge Log page.
Managing clients
Adding a client yourself
Export CSV on the Clients page pulls every active client — card last 4, expiry, charging rule, and status — for a quick backup or handing to someone else. Deactivated clients aren't included; see Removed clients for those separately.
Clients → + Add client. Search for the Xero contact, enter their card directly (tokenized by Square in your browser — the card number itself is never sent to or stored on this server), and set their charging rule. An email is required — Square won't process automatic charges without one.
Letting a client add their own card
Clients → Send self-service link. Generates a one-time link you send to the client yourself (email, Teams, SMS — whatever you'd normally use). They enter their own card; nobody here ever sees or types it. The link expires after a set number of days (configurable on Settings) and only works once. If the client already has a card on file, opening the link asks them to confirm before replacing it.
Setting a client's charging rule
Clients → Edit rule, for any client. Controls which of their invoices get auto-charged:
- Charge every invoice — the default
- Charge everything except invoices marked otherwise — put a
marker word (e.g.
MANUAL) in an invoice's Xero Reference to skip just that one - Only charge invoices marked for it — the reverse: nothing gets charged unless it carries the marker word
- A dollar ceiling — auto-charge the recurring fee, never the large one-off project invoice, regardless of mode
- A cutoff date — ignore anything dated before it, so a client's existing older invoices stay untouched when you first set them up on autopay
Same page also lets you correct a typo in the client's name (updates both our own records and Square's, without touching their card at all) and exempt them from the site-wide master exclude keyword, if one's configured (see Settings below).
Changing the same field for several clients at once — tick their checkboxes on the Clients page, then Bulk edit charging rule. Only the fields you tick "change this" for actually get applied; anything left unticked stays exactly as each client already has it individually, so a bulk change never silently wipes out a client's own custom keyword or cutoff date.
Seeing one client's whole invoice history
Clients → Invoice history. The Charge Log is one flat list across every client in date order, which makes "what has this specific client actually been charged" hard to see without scrolling past everyone else's invoices. This page groups by client instead — click a client to expand their own invoice list, most recent first. Capped to the latest 15 per client (older ones simply aren't shown, with a note if there are more), so this stays light as history builds up over time. Same access as the Clients page and Charge Log (Standard and up).
ClearPath Agreements card handover
When a client accepts an agreement in the separate ClearPath Agreements app, their card is handed over here and waits on Clients → Pending card links → until their Xero contact exists. Linking happens on its own the moment that contact's first invoice arrives — matched on ABN, then billing email, then company name, and only when exactly one card matches. More than one match is never guessed at; both are flagged ambiguous on that page with an alert, for you to pick the right one by hand. Autopay only ever starts from the date the agreement was accepted, so an existing client's older invoices are never swept up by a new link. A manual link never replaces a card already on file for that contact.
If a client cancels before their first invoice ever arrives, Delete (cancelled) on that same page removes the pending link and deletes their customer profile from Square entirely — there's no reason to keep an unused card for someone who never became a client. It's only offered for a card still waiting or flagged ambiguous; one that's already linked is a real client now, so use Remove client on the Clients page for that instead.
Set up in Settings → ClearPath Agreements → Generate token — the Agreements app needs this token to hand cards over at all. It's shown once; regenerating it immediately replaces the old one everywhere.
Removing a client
Clients → Remove, next to their row. Stops this system from ever auto-charging them again (any future invoice for them just gets skipped) and records why. What happens to their Square side depends on the reason: pick "No longer a client" and their whole customer profile gets deleted from Square, cards and all — genuinely gone, not just paused. Every other reason leaves Square completely untouched, since they might come back or the issue might resolve itself. Their history stays visible under Removed clients either way — nothing gets deleted on our side.
Bringing someone back depends on what happened in Square: if it was untouched (or a legacy pre-existing removal only disabled their card), Reactivate restores them with their existing card and charging rule — no re-entry needed, though a disabled card will need replacing before the next charge goes through. If their Square customer profile was actually deleted (the "no longer a client" case above), there's genuinely nothing left to restore — that client needs setting up fresh through Add Client instead, and Reactivate won't offer itself as an option for them at all.
Checking everyone has a usable email on file
Clients → Check emails on file. Square can't process an automatic charge for a customer with no email at all — this checks every active client and tells you exactly who's missing one.
Charges and money
How automatic charging actually works
An invoice gets charged around its due date, once it's Authorised in Xero and matches the client's charging rule. If the invoice gets edited afterward — amount changes, gets voided — the system detects that and either adjusts the pending charge or flags it for you to sort out manually, rather than either double-charging or silently ignoring the change.
A charge failed
Check the Charge Log for the reason — usually a declined card. Once it's sorted (a new card on file, enough funds, whatever it was), click Retry on that entry to try again immediately, rather than waiting for the next scheduled attempt. Export CSV on the same page pulls the full history (not just the 200 shown on screen), respecting whichever status filter you currently have selected — with each entry's client name resolved, not just a raw Xero ID.
Something needs reconciling
A NEEDS_RECONCILIATION entry means the client was already charged
correctly, but something changed in Xero afterward that the system
can't safely resolve on its own — the invoice was amended after
charging, or voided after charging. Two actions are available
directly on that entry:
- Refund — looks up the real Square payment and refunds whatever amount you confirm (defaults to the full original charge, editable for a partial refund)
- Mark resolved — for when you've already sorted it out directly in Xero or Square, and just need to clear it from the open list
Refund is also available on any normal successfully-charged entry, not just flagged ones — for the case where a charge was entirely correct as far as this system knew, but wrong for some other reason (billed the wrong client, a mistake in the original invoice, a client dispute).
Settings
Admin/Master only. A few of the less obvious ones:
- Fixed email for Square — when set, every client's Square notifications (charge confirmations, failed-payment emails) go to this one address instead of the client, with no way to override it per client. Useful if you handle all client communication yourself through Xero.
- Default autopay cutoff — the same "ignore invoices before this date" idea as the per-client one, applied to every client at once. A client's own cutoff (Edit Rule) always wins if both are set.
- Master exclude keyword(s) — a universal "don't sync this one" word (or several, comma-separated) that pulls any invoice out of autopay for any client, even one set to charge everything — just put the word on that specific invoice's Reference in Xero. A client can be individually exempted from this on their own Edit Rule page.
- Branding — company name, logo (upload a file, or link one), brand colour, favicon. Applies to the portal, the login page, and the client-facing self-service card page.
- Display timezone — everything is stored correctly in UTC underneath; this only controls what's shown on screen.
- Alert Webhook — a Teams/Slack incoming webhook URL. This is where failures, lockouts, and anything needing your attention gets sent — worth setting this up early rather than relying on checking the Dashboard. Use Send test alert to check it reaches the channel. For Teams, create the webhook with a Workflow ("Post to a channel when a webhook request is received") and paste its URL.
Card requests and card alerts
Card requests (Clients → Card requests) lists every self-service card link you've generated and whether the client has used it. Waiting for a few days means a nudge is due; Expired means send a new link.
The alert channel tells you when a new client has entered their card, and when an existing client fixes a card that was flagged or about to expire. Every Monday morning it also sends a short summary of cards that have expired or will soon, and card links that haven't been used. If there's nothing to report, it stays quiet. Use Send card summary now on the Settings page to see it immediately.
Users and security
Adding someone — Users → Add a user, pick their role, and Generate invite link. You send them the link yourself (email, Teams, whatever you'd normally use) — copy it right away, since it's only shown once. They set their own password and complete mandatory 2FA setup themselves; nobody else ever sees or chooses their password. The link expires after 7 days if unused, and shows up under Pending invites until then, with a Revoke option if you need to cancel it.
Users (Admin/Master only) — set someone's role, reset their password, or deactivate them. Deactivating someone takes effect immediately, even on a session they're already logged into.
Xero Connection (Admin/Master only) — reconnecting or checking the OAuth status touches real credentials, so this moved behind the same access level as Settings and Users. Standard users no longer see it in the nav at all.
Webhook queue (Admin/Master only) — every invoice Xero tells us about, and every payment to be recorded back in Xero after Square charges a client, is saved here first, then worked through in the background one at a time, paced to stay under Xero's limit of 60 calls a minute. If Xero says "too many requests" the invoice waits and tries again (up to 6 attempts, longer gaps each time) instead of being lost, and a restart or redeploy picks up exactly where it left off. Only if every attempt fails does a job show as failed — you get one summary alert, and Retry failed puts them back in line. A payment that Xero refuses outright (for example, the invoice is already paid) fails straight away with Xero's reason shown, since retrying can't help; the client's card was charged, so reconcile that one in Xero by hand.
Find invoices we never processed (on the same page) compares authorised invoices in Xero, for the last few days you choose (up to 31), against the Charge Log and lists any with no record at all. You review the list, then confirm — nothing is processed until you do. Normal rules still apply (exclude keyword, each client's rule and cutoff date), and an invoice already past its due date is charged straight away.
Account — change your own password. Master has no password change
here at all; its credentials live only in the server's .env file.
Troubleshooting
Some invoices aren't in the Charge Log. First check their status in Xero: Draft and Awaiting approval invoices are deliberately ignored until they're approved. If they're authorised, open Setup → Webhook queue: a row there means Xero did tell us and shows what happened (and any error); no row means it never arrived, so use Find invoices we never processed to pick them up.
A client's card won't save. Most often either a Sandbox test card number used against Production (or vice versa), or a stale browser tab left open from before switching Square's environment — close the tab, open the page fresh, try again.
Xero shows "failed to respond in timely manner." This was a real
bug, fixed in 2.5.0 (build 28) — if you're on that version or later and
still seeing it, it's likely something upstream (network, the
container itself being down) rather than the app's own processing
time. Check /version responds quickly as a first step.
An invoice error mentions "due on date must be on or after
scheduled date." Fixed in 2.3.0 (build 26) — this happened when an
invoice's due date had already passed by the time it was actually
charged (a Retry, an amendment, anything happening after the original
due date). Should no longer occur on a current version.
For anything not covered here, the full Changelog shows exactly what's changed and when, including every bug that's been found and fixed along the way.
Privacy and data (Australian Privacy Principles)
- Card page notice: clients see what is collected and where it is processed. Add your privacy policy link under Settings > Privacy policy URL.
- Access / correction requests: Clients > Card requests / Removed clients > Export their data gives a JSON copy of everything held for a client (no card numbers are ever stored, only the last 4 digits and expiry).
- Removal requests: remove the client from autopay first, then Erase their data. Invoice and charge history is kept for tax record-keeping.
- Retention: login log 90 days, activity log 365 days, card requests 90 days after expiry, queue records 30/90 days.
- Secrets (2FA, Xero/Square credentials) are encrypted at rest using SECRET_KEY.
Demo mode (for prospects)
Run a separate demo copy with docker compose -f docker-compose.demo.yml up -d --build on its own machine,
with its own data volume (created automatically). Set DEMO_PUBLIC_URL to the demo's address. Never point it at a real instance's data: demo mode wipes its database on every reset, and refuses to start if it finds real clients.
Visitors are signed in automatically; Log out (or 30 idle minutes) resets everything. All visitors share one
demo, so two people trying it at once will see each other's invoices.