SQL REST API

SQL REST API enables automated data exchange, minimizes manual data entry, and accelerates integration development using Postman tools, clear payload documentation, and ready-to-use examples for popular programming stacks.

sql-api

Everything You Need to Integrate Faster

From secure authentication to prebuilt examples and supported workflows, all the essentials are provided to help your team integrate and deploy more quickly.

security

AWS SIGV4 AUTHENTICATION

Secure system-to-system requests

postman collection

POSTMAN COLLECTION

Test faster with ready requests

json-pdf

JSON AND PDF WORKFLOWS

Support data exchange, document

programming

PROGRAMMING LANGUAGES

Starter examples in popular languages

document

DOCUMENTED OBJECTS

Work with invoices, stock, payments, other

SUPPORTED WORKFLOWS

R

Connect sale, purchase, stock, customer, payment, journal, and transfer workflows

R

Create, edit, delete, and retrieve business records

R

Perform with GST and SST enabled SQL Accounting workflows for seamless compliance.

R

Enhance live and batch data updates

What You Can Work With

Explore the business objects and output formats available in the current API documentation.

Available Output Formats

Business Objects

stock_transfer

Stock Transfer

stock_received

Inventory Received

stock

Product Item

stock_received

Sales Invoice

purchase invoice

Purchase Invoice

sale invoice

Sales Order to Sales Invoice

customer

Maintain Customer

agent

Agent

stock_transfer

Journal Entry

payment voucher

GL Payment Voucher

payment

Customer Payment

json
pdf

How It Works

Start in a controlled test environment, validate your payloads, then move into production onboarding with the same integration approach

Secure API Credential Request

Access key and secret key are issued through the onboarding process for secure and controlled API usage.

Test Endpoints with Postman

Apply the provided collection to confirm request signing, required fields, and module behavior.

Send, Retrieve JSON Records

Create, update, delete, and retrieve data using structured payloads and documented field validation rules.

Move Into Live Integration

Use the same hosted API approach for demo, production onboarding using provider-issued credentials.

How to Start

Use the resource set to move from first request to production planning with less guesswork.

api-step-1

Download Postman Collection

Import requests quickly and validate authentication, headers, and endpoint behavior.

Setup and Configuration

Follow the SQL Account API setup flow for provider-issued credentials and configuration.

api-step-2
api-step-3

View Sample Payloads

Review minimum-field JSON examples before mapping fields from your external system.

Browse Code Examples

Start from language-specific examples for common implementation stacks.

api-step-4
api-step-5

Review Field Details

Use field references to plan mapping, validation, and required data handling.

Read Integration FAQ

Check common request patterns, limits, and JSON structure guidance.

api-step-6
api-step-7

Discuss Your Integration

Speak with the SQL team when you are ready to confirm fit, onboarding, and next steps.

Requirements

Prepare the right software version, network setup, and technical resources before starting an API integration project.

SQL Accounting and Environment Requirements
N

SQL Accounting Version 5.2025.1038.875 or above.

N

Firebird Version 3.0.9 or above is recommended.

N

Microsoft Windows 11 and above is recommended, preferably 64-bit.

N

Internet access is required for the machine, server, or hosted environment where SQL Accounting and the integration process are running.

N

The connection should come from an ISP (Internet Service Provider) with proper router or office network access so that environment can reach the API endpoint reliably.

N

Mobile phone data, personal hotspots, or ad-hoc mobile connections are not recommended as the main integration connection.

Integration Credentials and Setup Process
N

Access Key and Secret Key are issued by the provider for the target database.

N

API endpoint domain is used for demo and production/live onboarding, so credential management should clearly separate environments.

N

Router, firewall, and outbound network access should allow the SQL Accounting environment to reach the API end point consistently.

SQL Accounting and Environment Requirements
N

Programming knowledge is required for request signing, payload mapping, and error handling.

N

The API is intended for technical teams, implementation partners, or back-end/middle-ware workflows.

N

Standalone environments and browser-only client-side usage are not the intended setup.

N

For best stability, the integration should run from a proper office, server, or hosted environment instead of depending on a mobile device connection.

Ways to Use The API

Apply the API to connect daily business activity with accounting records and stock workflows.

Create and Update Customer Records from CRM

Keep customer details from CRM, portals, or sales tools aligned with Maintain Customer records in SQL Accounting.

Push Supplier Bills Into Purchase Invoice

Integrate procurement or supplier systems with Purchase Invoice workflows for seamless accounting.

Generate Finance-Side Posting from External Workflows

Create financial records like journal entries, customer payments, and GL vouchers from external workflows.

Sync Only Orders Into Sales Invoice

Send confirmed e-commerce orders into SQL Accounting as Sales Invoices, reducing manual entry for sales and finance teams.

Pull Stock Item Data for External Catalogue Sync

Run Stock Item data to support catalogue updates, customer portals, warehouse tools, and operational dashboards.