Your SQL Accounting data, flowing through a local API.
SQL Flow runs beside SQL Accounting on your own Windows machine and turns it into a secure REST API: customers, invoices, stock, payments and journals, readable and writable from any app you build or buy. Nothing leaves your office.
No card. Every feature for 14 days. Buy when you are ready, keep the same installation.
# Create an invoice for customer 300-A001
curl -X POST http://sql-pc:5080/v2/api/salesinvoice \
-H "Authorization: Bearer sfc_live_…" \
-H "X-Company: DEMO" \
-H "Idempotency-Key: order-10482" \
-d '{"CODE":"300-A001","DOCDATE":"2026-11-03",
"sdsdocdetail":[{"ITEMCODE":"ANT","QTY":2,"UNITPRICE":120}]}'
# PDF of the result
curl http://sql-pc:5080/v2/api/salesinvoice/1041?format=pdf -o IV-1041.pdf$client = new Client('http://sql-pc:5080', 'sfc_live_…', 'DEMO');
// Customers who still owe money, oldest first
$aging = $client->get('/v2/api/customer/aging', ['dateto' => '2026-11-30']);
// A payment, knocked off against an invoice
$client->post('/v2/api/customerpayment', ['CODE' => '300-A001', 'DOCNO' => 'OR-0001', 'DOCAMT' => 240]);
$client->post('/v2/api/customerpayment/OR-0001/knockoff', [
'knockoff' => [['doctype' => 'IV', 'docno' => 'IV-1041', 'amount' => 240]],
]);const res = await fetch('http://sql-pc:5080/v2/api/stockitem?limit=50', {
headers: { Authorization: 'Bearer sfc_live_…', 'X-Company': 'DEMO' },
});
const { data, pagination } = await res.json();
// Webhook: SQL Flow calls you when stock moves
app.post('/hooks/sqlflow', (req, res) => {
if (!verify(req.headers['x-sqlflow-signature'], req.rawBody)) return res.sendStatus(401);
// req.body.events: [{ type: "stockitem.changed", key: "ANT", ... }]
res.sendStatus(204);
});var http = new HttpClient { BaseAddress = new Uri("http://sql-pc:5080") };
http.DefaultRequestHeaders.Authorization = new("Bearer", token);
http.DefaultRequestHeaders.Add("X-Company", "DEMO");
// Every company at once: each row carries its company code
http.DefaultRequestHeaders.Remove("X-Company");
http.DefaultRequestHeaders.Add("X-Company", "*");
var json = await http.GetStringAsync("/v2/api/salesinvoice/recent?since=2026-11-01");Built for the systems Malaysian businesses already run
From download to first API call in an afternoon.
Download and install
Run the setup on the machine with SQL Accounting. It checks Windows, SQL Account, the port and disk space before it changes anything.
Activate with your code
Your free trial or purchase gives you a one-time activation code in your account. Paste it into the wizard, or later in the console.
Create a token
Open the console from the tray icon, add your company, and create an API token with just the access you want to give.
Call the API
Point your app at
/v2/api/on that machine, or through your Cloudflare tunnel. The explorer in the console shows every call live.
Built for integrations that run every day.
The official format, locally
The same 69 resource names and request shapes as the official SQL Account API, served from the PC that runs SQL Accounting. GET /v2/api/customer, POST /v2/api/salesinvoice: what your developer expects.
Webhooks when data changes
A new invoice, a payment, a stock movement: your system hears about it within seconds, with an HMAC-signed call, instead of polling all day.
PDF out of the box
Any document as a PDF with ?format=pdf: invoices, orders, quotations, debit and credit notes, ready to email or print from your own app.
Stock and ledger views the API never had
Stock aging in FIFO bands, ten stock reports, customer and supplier outstanding, aging and statements, and the e-Invoice (MyInvois) status of every document.
Safe to automate
Idempotency keys stop double postings, batch imports run as a dry run first, every write is in the audit trail, and a token can be limited to companies, paths and IP ranges.
Installs itself, keeps itself current
A Windows setup wizard that checks every requirement, a tray app with a console, signed automatic updates in rollout rings, and a licence that tolerates days offline.
Ask your accounts. Confirm what gets posted.
Your team asks SQL Accounting questions in plain words, sends bills and receipts to be read and drafted, and posts what they have checked: in the SQL Flow window and on WhatsApp.
- Answers from your books: balances, statements, stock, sales.
- Bills read and drafted from a PDF or a photo, checked against SQL Accounting.
- Nothing is posted until a person confirms, with your rules, roles, limits and approvers.
- On your machine, with Claude on your own key or a model on your own network.
I drafted a customer payment:
Kedai Maju Sdn Bhd (300-K0021)
RM 5,000.00 · bank transfer · 21 Nov 2026
Knocks off IV-00841: RM 5,000.00 of RM 7,350.00
Why teams move to SQL Flow.
The official hosted API is a fine start. Once an integration runs your business, you want it on your own machine, with the data it needs and the safety rails your accountant expects.
See every featureSimple plans, monthly or yearly.
One licence per installation; pick how many SQL Accounting companies it serves. Start with the free trial; a purchase converts it in place.
Essential
One company, every feature.
1 licence · 1 company
Choose EssentialProfessional
Two companies for growing businesses.
1 licence · 2 companies
Choose ProfessionalEnterprise
Five companies for groups and accountants.
1 licence · 5 companies
Choose EnterpriseAnswers before you ask.
Does my accounting data leave my computer?
No. SQL Flow runs on the same Windows machine as SQL Accounting and talks to it directly. Your own apps call the API on your network, or through a Cloudflare tunnel you control. Nothing is copied to our servers; the only thing that goes out is a small licence check-in.
Which SQL Accounting versions and Windows versions work?
Any current SQL Account installation that runs on Windows 10, Windows 11 or Windows Server 2016 or later. There are setups for 64-bit Intel or AMD and for ARM Windows, and the setup wizard checks every requirement before it changes anything.
Is the free trial really free?
Yes. Register, start the 14-day trial, and the activation code appears in your account. One installation and one company, every feature, no card; the trial allows 100 API calls and lists of up to 20 rows. When you buy, the same installation keeps running: there is nothing to reinstall.
How is this different from the official SQL Account API?
We use the official resource names and the official request format, so a developer who knows one knows the other. On top we add what a real integration needs: webhooks when something changes, PDF output, stock aging and reports, outstanding and aging views, idempotency keys, batch imports with a dry run, an audit trail, and a licence that keeps working offline.
What does a licence cover?
One installation of SQL Flow, for the month or year you paid for, serving one company database on Essential, two on Professional or five on Enterprise. You can move it to a new machine from your account page at any time. Renewing early adds to the time you have left.
Is there an AI assistant?
Yes, as an add-on: the SQL Flow assistant answers questions about your accounts in plain words, reads bills and receipts and drafts them, and posts only what a person confirms, in the SQL Flow window and on WhatsApp. It runs on your machine with the AI model you choose: Claude with your own key, or a model on your own network.
Can you build the integration for us?
Yes. The same team builds custom integrations for eCommerce, booking, POS and CRM systems on top of SQL Flow. Write to us from the contact page with what you have in mind.
Need a custom integration?
We built SQL Flow because we build integrations for a living: online stores that post orders and payments, booking systems that invoice, POS that syncs sales and stock, CRMs that read customers and balances.
Tell us what you needeCommerce
Orders, payments and inventory in step with your store.
Booking systems
Automated invoicing and payment tracking.
POS
Sales, inventory and reporting from every outlet.
CRM
Customers, balances and sales leads in one place.
Start your free trial today.
Fourteen days, every feature, no card. Your activation code is ready the moment you register.