Security

SQL Flow is built so that your accounting data stays where it is: on your machine, under your control.

Nothing leaves your machine

The API runs on the Windows machine with SQL Accounting and reads and writes its database there. There is no copy of your data on our servers and no cloud in between: your applications call your machine. The only outbound traffic is a small licence check-in every few minutes, carrying the installation id, the app version and a health summary (whether the API is up, whether SQL Accounting is connected, the open company's name, the queue length and today's error count). No document, customer or amount is ever sent.

Reaching the API

Three ways, from the most private:

  1. Your own network only. Your apps on the LAN call http://<machine>:5080. Nothing is published to the internet.
  2. A Cloudflare tunnel you control. Give the setup your tunnel token and the API is reachable at your own hostname over HTTPS, with Cloudflare's protection in front, without opening a port on your router. Cloudflare Access can add a login in front of it.
  3. Your own reverse proxy with a certificate, if you prefer.

Do not forward port 5080 straight from your router: the API is plain HTTP inside your network and relies on the tunnel or proxy for encryption.

Tokens

Every request carries a Bearer token created in the console. A token has:

  • a scope: Read, or Read and write;
  • an expiry;
  • optional company limits: only these companies;
  • optional path limits: only these API paths, such as /v2/api/customer and /v2/api/salesinvoice;
  • optional address limits: only from these IP addresses or ranges. Behind the Cloudflare tunnel the real caller's address is used.

Create one token per connected system, so you can see each one's usage on the Tokens page and revoke it alone. A temporary token from the API explorer expires in an hour.

Writes are checked

A write is refused before it reaches SQL Accounting when it names an unknown customer, item, tax code or account, or when a journal does not balance. Idempotency keys stop a retried request from posting twice. Batches can run as a dry run first.

Audit trail

Every request is logged with its token, path, status, duration and caller address; every write with what it changed. The console's Logs page shows it, and GET /v2/api/audit lets your own system keep a copy. Logs are kept for 90 days.

The console

The console behind the tray icon asks for the admin password you chose at setup. It is served on the same port, only to the local machine unless you publish it through the tunnel. Change the password from the console at any time.

Updates

Updates are signed with a key that never leaves our build machine. The installed watchdog verifies the signature and the processor architecture of every package before staging it, and refuses anything that does not match. See Updates and licensing.

Reporting a problem

If you believe you have found a security problem, write to the address on the contact page with "security" in the subject. We answer within one working day.

Last updated 3 Nov 2026