SQL Account API Reference
80 documented endpoints for reading and writing SQL Account data: master data, business partners, stock, sales and purchase documents, payments and read-only reports. Every page lists the HTTP methods, path parameter type, field requirements and a proven request body.
https://api.sql.my
Single host for every endpoint
AWS Signature V4
Region ap-southeast-5, service sqlaccount
offset, 50 per page
Responses wrap in pagination + data
Before you build against this API
Posting an empty JSON body crashes the SQL Account backend. Always send every required field. See Known Issues for the full list of traps.
Endpoint catalog
Grouped the same way as the sidebar. Path parameter types decide whether you address a record by code, autokey or dockey, so check that before writing URL-building logic.
Master Data
Currency
Currencies and exchange rates, with the fields that must be present on create.
Tax
Tax codes. Uses an integer autokey in the path rather than a code.
Terms
Payment terms such as 30 Days, with the calculation type and day count.
Stock Category
Group stock items into categories for reporting and filtering.
Stock Group
Stock groups drive the default sales, purchase and stock accounts posted when items move.
Company Category
Categories used to classify customers and suppliers.
Location
Warehouses and stock locations used on inventory transactions.
Project
Project codes used for budget tracking and transaction tagging.
Area
Geographic areas or sales regions assigned to customers and suppliers.
Agent
Sales agents that can be attached to customers for commission tracking.
Shipper
Courier and delivery companies used on delivery orders.
Price Tag
Price levels applied to customers to drive default selling prices.
Payment Method
Payment methods are read-only via the API — records are auto-generated from bank accounts in the Chart of Accounts.
Account
Chart of Accounts entries. Most other endpoints reference account codes from here.
Tariff
Tariff codes for customs and import/export classification.
Withholding Tax
Withholding tax codes with the debit and credit accounts used when posting.
Item Template
Templates used when creating stock items with pre-filled defaults.
Member Point
Loyalty point schemes, including earning and redemption rates.
Batch
Batch or lot tracking with manufacturing and expiry dates.
Business Partners
Assets
Inventory
Stock Item
Stock items keyed by dockey, with groups, taxes and pricing sub-arrays.
Stock Adjustment
Increases or decreases stock quantities for an item at a location, posting the value difference to the stock account.
Stock Transfer
Moves stock quantities between two locations.
Stock Issue
Issues stock out of a location without a sales document.
Stock Received
Receives stock into a location without a purchase document.
Assembly
Builds a finished item from components, consuming bill-of-materials lines.
Disassembly
Breaks a finished item back into its component items.
Job Order
Job order documents used to track work performed for a customer.
Journal Entry
General ledger journal with debit and credit detail lines. Total debits must equal total credits.
Sales
Sales Quotation
Quotations issued to a customer before an order is confirmed.
Sales Order
Confirmed customer orders awaiting delivery or invoicing.
Delivery Order
Delivery documents that move stock out to a customer.
Sales Invoice
Sales invoices with an extended header template and posting date.
Sales Credit Note
Return documents that credit a customer for goods previously invoiced.
Sales Debit Note
Debit notes issued to a customer for additional charges.
Sales Cancelled Note
Cancellation documents that reverse a previously issued sales document.
Cash Sales
Point-of-sale style sales that settle immediately with no debtor tracking.
Customer Credit Note
Credit notes for a customer account, structured like a sales invoice.
Customer Debit Note
Debit notes for a customer account, structured like a sales invoice.
Purchase
Purchase Request
Internal requests for goods before a purchase order is raised.
Purchase Order
Orders placed with suppliers for stock or services.
Goods Received
Receipt of goods against a purchase order, moving stock into a location.
Purchase Invoice
Supplier invoices, including landing cost fields and Malaysian e-Invoice submission fields.
Purchase Debit Note
Debit notes raised against a supplier account.
Purchase Cancelled Note
Cancellation documents that reverse a previously issued purchase document.
Purchase Returned
Returns of goods back to a supplier, reversing the stock receipt.
Extra Delivery Order
Supplementary delivery orders issued outside the original order.
Extra Goods Received
Supplementary goods received documents issued outside the original order.
Cash Purchase
Purchases settled immediately, with no creditor tracking.
Supplier Credit Note
Credit notes for a supplier account, structured like a purchase invoice.
Supplier Debit Note
Debit notes for a supplier account, structured like a purchase invoice.
Supplier Invoice
Supplier-issued invoices recorded against a creditor account.
Payments & Receipts
Customer Payment
Records money received from a customer and allocates it against outstanding invoices.
Supplier Payment
Records money paid to a supplier and allocates it against outstanding bills.
Customer Refund
Refunds money back to a customer.
Supplier Refund
Records money refunded by a supplier.
Customer Deposit
Advance payments received from a customer before invoicing.
Supplier Deposit
Advance payments made to a supplier before goods are received.
Receipt Voucher
Miscellaneous receipts posted through a payment method.
Payment Voucher
Miscellaneous payments posted through a payment method.
Customer Contra
Offsets a customer balance against another account.
Supplier Contra
Offsets a supplier balance against another account.
Bank Adjustment
Adjusts a bank account balance with explicit debit and credit detail lines.
Reports
Company Profile
Read the company name, address and registration details of the connected SQL Account database.
App Version
Read the SQL Account version exposed by the API — useful when a feature depends on a minimum build.
Stock Balance Inquiry
Current stock quantity and value by item and location.
Stock Card
Full stock movement history for an item.
Stock Card Qty
Quantity-only stock movement history.
Stock Aging
Ages stock holdings to show how long inventory has been held.
Stock Analysis
Movement analysis across items and periods.
Stock Month End Balance
Month-end closing balances for stock items.
Stock Reorder Advice
Suggested reorder quantities based on reorder levels.
Stock Physical Worksheet
Worksheet used for physical stock counts.
Stock Batch Expiry
Batch expiry tracking for perishable stock.
Stock Serial Number Conflict
Serial numbers that appear on more than one document.
Stock Serial Number Outstanding
Serial numbers still outstanding against documents.
1. Authentication for signing requests with AWS SigV4, including query strings.
2. Base URL and Format for response envelopes, pagination and filter syntax.
3. Master data first: Currency, Customer and Stock Item are referenced by every transaction document.
4. Then the transaction documents in the Sales, Purchase and Payments sections of the sidebar.
