Step 1: Check connector online
Confirm the customer connector is online and the right AutoCount account book is active before sending any command.
Open portal Status or call GET /v1/connectors/{connectorId}/status. Connector statusHuman module guide and AI reference
Start here to see which AutoCount modules can read, create, edit, void, delete, print, and bulk-create through the Local Connector. Developers and AI tools can then use the searchable JSON command reference below.
Start here
For humans: follow these steps in order. For AI tools: read this page, then use /v1/schema/modules and /v1/schema/commands/{commandType} before writing payloads.
Confirm the customer connector is online and the right AutoCount account book is active before sending any command.
Open portal Status or call GET /v1/connectors/{connectorId}/status. Connector statusPick the business area first: Sales, Purchase, AR, AP, Stock, GL, Tax, Reports, or e-Invoice.
Use the Module Operation Matrix to see what is supported or guarded. Module matrixDecide whether you want to read, validate, create, edit, void, delete, transfer, print PDF, or bulk create.
Search the Complete Module Command Reference. Command referenceOpen the command card and click Full payload schema. This shows simple fields and AutoCount-native sections.
GET /v1/schema/commands/{commandType}. Example schemaPost one command with a new commandId, connectorId, companyId, type, and payload. Use validate-* before create-* for risky writes.
POST /v1/commands. Command flowQueued means waiting, leased means connector picked it up, done means the connector returned a result, failed means read the message.
GET /v1/commands/{commandId}. Result status1. Check connector status first.
2. Call /v1/schema/modules to choose the module.
3. Choose the command type from the docs or OpenAPI catalog.
4. Call /v1/schema/commands/{commandType} to get the full payload.
5. Use validate-* before create-* when money, stock, tax, or knock-off is involved.
6. Send POST /v1/commands with a unique commandId, then check the result.
AutoCount API is a cloud API in front of your customer's local AutoCount Accounting 2.2 installation. Cloud apps call us; the Local Connector executes through AutoCount installed DLLs.
AutoCount desktop data is inside the customer's local machine/server. The connector runs there, logs in to account books, and polls outbound to the cloud. No router port forwarding is needed.
Software developers, Mac Soft AI, AI agents, e-Invoice tools, reporting apps, mobile apps, and automation workflows that need controlled AutoCount read/write access.
Every module is shown by business operation, not only by technical read/write mode. This is what customers care about before they buy.
List records, get details, check balances, outstanding documents, account books, and setup tables. These commands do not save into AutoCount.
Create new master records or new transaction documents through AutoCount SDK logic, using unique commandId for idempotency.
Change an existing record. Master data edit is enabled where proven; posted transaction edit returns editBlocked until safe SDK save is proven.
Cancel a transaction while keeping accounting audit trail. Sales, purchase, and GL Cash Book use AutoCount cancellation where supported.
Safe delete request. Sales and purchase delete uses AutoCount SDK Delete; GL Cash Book and journal delete also use SDK hard delete. Use void-* when audit-trail cancellation is required. Unproven or linked records return deleteBlocked instead of blind SQL delete.
Generate human-readable AutoCount-looking PDF/report where report export is proven, such as sales, purchase, and GL cash book vouchers.
Create many records/documents in one leased connector command, instead of waiting one cloud heartbeat per row.
| Name | Meaning | Important rule |
|---|---|---|
| Connector | One cloud connector config and one command queue. | This is what the subscription connector limit counts. |
| Computer | A Windows PC/server running the Local Connector. | Shown for monitoring only. It is not the billing connector count. |
| Account book | An AutoCount database/company configured locally. | Counts toward the account book limit. |
If the same connector config is installed on three computers, the portal shows one connector and three computers. For production with multiple active PCs or branches, create separate connector configs so each location has its own command queue.
Create account, verify email, and login to the portal.
Download installer and import the connector config from the portal.
Key in AutoCount server, database, user, password, then test connection.
Portal gives one copy-ready message for developer, Mac Soft AI, or AI tool.
After login, the portal shows the exact API URL, API key, connectorId, companyId, and first read-only test command. The customer clicks Copy Message For Developer and sends it to the person or AI tool building the integration.
| Step | What to do | Where |
|---|---|---|
| 1 | Create an account and choose a plan. | GET /signup |
| 2 | Verify the email address from the verification email. | GET /verify-email?token=... |
| 3 | Open the portal and download the connector installer. | GET /portal |
| 4 | Download connector config and import it into the Windows connector. | GET /app/connector-config.json |
| 5 | Add one or more AutoCount account books in the connector setup. | Local Connector |
| 6 | Call the API with a unique command ID. | POST /v1/commands |
For a CEO, executive, admin, or clerk demo, Mac Soft AI should load the AutoCount Demo Operator skill, then run run-company-discovery before answering business questions or preparing writes.
{
"commandId": "demo-company-discovery-001",
"connectorId": "customer-main",
"companyId": "customerbook",
"type": "run-company-discovery",
"payload": {}
}
The command returns activeModules, masterDataCounts, documentCounts, features, workflows, and aiHints. Mac Soft AI then uses the demo ontology pack to interpret AutoCount entities, relationships, workflows, and safe-write rules.
AI tools and human developers should not guess AutoCount fields. Start with context, read the field catalog, validate proposed writes, use suggestions when validation fails, then inspect readBack after save.
Call read-company-ai-context to learn active modules, workflow hints, starter commands, and safety rules.
Call read-field-catalog for the module/document so AI knows read, write, native, and guarded fields.
Call validate-command or set validateOnly on a write command before risky saves.
Call suggest-command-fixes for missing debtor, creditor, item, UOM, account, tax, project, payment method, or knock-off values.
After save, inspect readBack. If readBack.attempted is false, call the matching get/detail command before telling the user it saved correctly.
POST /v1/commands
{
"commandId": "ai-start-001",
"connectorId": "customer-main",
"companyId": "customerbook",
"type": "read-company-ai-context",
"payload": {}
}
GET /v1/schema/commands/read-company-ai-context
GET /v1/schema/commands/read-field-catalog
GET /v1/schema/commands/validate-command
The Local Connector is the Windows Service that talks to AutoCount Accounting 2.2 through the installed AutoCount DLL SDK. Customer apps, developers, Mac Soft AI, and AI tools should call https://api.autocount.cloud only. Do not call the Local Connector API directly from external automation.
AutoCountConnector Windows Service.https://api.autocount.cloud. No router port forwarding is required.GET /app/connector-config.json or from the connector row.For a new or blank AutoCount account book, create or confirm the basic records before running write automation: at least one debtor, one creditor, one stock item with valid base UOM, and two active stock locations when using stock transfer. AP invoice payloads should send lines[].accountNo or a valid single-line accountNo. BOM and manufacturing commands need real finished-good and component item codes from that account book.
After moving or restoring a connector project, clear generated local idempotency results or use new commandId values. Reusing an old command ID returns the previous result, even if the account book data has changed.
| Workflow | Do this first | Create command | Proof field to check |
|---|---|---|---|
| AR payment knock-off | Call read-ar-outstanding-documents and use returned docKey plus docType RI. | create-ar-payment | paidDocumentsRows and knock-off table rows. |
| AP payment knock-off | Call read-ap-outstanding-documents and use returned docKey plus docType PB. | create-ap-payment | paidDocumentsRows and knock-off table rows. |
| AR refund knock-off | Create/list/get the AR credit note first; refund knocks off the credit note, not the invoice. | create-ar-refund | paidDocumentsRows and refund knock-off rows. |
| AP refund knock-off | Create/list/get the AP credit note first; refund knocks off the supplier credit note/purchase return. | create-ap-refund | paidDocumentsRows and refund knock-off rows. |
| AR/AP deposit | Use debtorCode for AR and creditorCode for AP. Pick payment method from read-payment-methods when needed. | create-ar-deposit / create-ap-deposit | GLTrxID, detailCount, and paymentAmount. |
| GL Account Maintenance | Call list-general-account-types; use a returned AccType. In the tested fresh account book, expense is EP, not EX. | create-gl-account | Read back with get-gl-account. |
| Sales transfer paths | Create the source document first, then use the direct AutoCount transfer path the business needs. | transfer-quotation-to-sales-order, transfer-quotation-to-delivery-order, transfer-quotation-to-sales-invoice, transfer-sales-order-to-delivery-order, transfer-sales-order-to-sales-invoice, transfer-delivery-order-to-sales-invoice, transfer-sales-invoice-to-sales-credit-note | Each target returns a saved docNo. |
| Purchase transfer paths | Create the source document first, then use the direct AutoCount transfer path the business needs. | transfer-purchase-order-to-goods-received-note, transfer-purchase-order-to-purchase-invoice, transfer-goods-received-note-to-purchase-invoice, transfer-purchase-invoice-to-purchase-return | Each target returns a saved docNo. |
One connector config can contain many AutoCount account books. Each row has its own company ID, server, database, AutoCount user/password, optional SQL credentials, active state, and write/read policy. If the customer has 400 account books, add/import those account books under the connector and use the portal filter/search to find the needed company ID.
Connector count means connector config / command queue, not computer count. If the same cloud config is installed on three computers, the dashboard shows one connector with three computers and they share one queue. For separate active PCs, branches, or servers, create separate connector configs so each one has its own connectorId and command queue.
The installed service name is AutoCountConnector and the display name is AutoCount Connector. It starts automatically with Windows and can continue running after Windows logout, as long as the computer/server stays powered on and can access AutoCount/SQL Server.
AutoCount passwords and optional SQL passwords stay on the customer's Windows machine and are encrypted locally with Windows DPAPI. The connector key is only for connector-to-cloud communication. Customer apps and AI tools use tenant/named app API keys, not connector keys.
The local service listens on http://127.0.0.1:18000 for support and diagnostics only. Use GET /health, GET /companies, GET /capabilities, and support-only POST /execute when checking a customer PC. Production integrations must use POST /v1/commands and GET /v1/commands/:commandId on the cloud API.
If a command is stuck or a customer PC behaves differently from the dashboard, create a Support Bundle from the connector tool before reinstalling. It helps compare service state, account books, policy, version, and recent local errors without asking the customer to understand logs.
| What you see | Likely reason | What to do |
|---|---|---|
| Connector offline | The cloud did not receive a recent heartbeat. | Start the AutoCountConnector Windows Service, confirm internet access, and confirm cloud config is imported. |
127.0.0.1:18000 cannot connect | The local service is not installed or not running. | Open services.msc, start AutoCount Connector, or reinstall/repair the connector. |
| Incorrect password | AutoCount password or custom SQL password is wrong for that account book. | Select the account book row, update credentials, Test Connection, Save, Activate, then restart the service. |
| Command type is not allowed | The company policy does not allow that command, usually because the policy file is old or restricted. | Use the correct command type or click Reset Write in the connector setup. |
ConnectorUpdateRequired | The command needs a newer Local Connector than the customer PC is running. | Download and install the latest connector from the portal, restart the service, then retry with a new commandId. |
| Leased but no result | The connector picked up the command but did not post success/failure back. | Update/restart connector, check GET /health, create a Support Bundle, then retry with a new commandId. |
| No rows returned | Wrong companyId/account book, filters too narrow, or no matching records in AutoCount. | Check the dashboard company/database, remove filters, and compare with the AutoCount screen. |
| Old empty result after adding records | The same commandId replayed an old idempotent result. | Use a new commandId for each fresh verification or support retest. |
| AP invoice detail account error | No valid posting account was sent. | Send lines[].accountNo or single-line accountNo from the account book's chart/default purchase account. |
| Payment/refund saves but does not allocate | Missing or wrong knockOffs rows. | Read the source document keys first, then send docKey, docType, docNo, and amount in knockOffs. |
FK_GLMAST_AccType | The GL account type code is not valid in this account book. | Call list-general-account-types and use a returned code such as EP for expenses. |
| Key / Login | Used by | Purpose |
|---|---|---|
| Customer login | Human customer | Access portal, download installer/config, manage app keys. |
| Tenant API key | Customer app or AI tool | Call POST /v1/commands and GET /v1/commands/:id. |
| Named app API key | Mac Soft AI / AI / one integration | Separate key per app so the customer can revoke one integration without rotating all access. |
| Connector key | Local Connector only | Poll commands, post results, report companies and heartbeat. |
External API calls use Authorization: Bearer <apiKey>. Never put connector keys into customer apps.
Customers can create a named app API key for each AI tool, integration, or developer and optionally restrict it by module and action. Default tenant API key remains full access so current integrations keep working.
Existing app keys without accessRights remain full access. To restrict a key, open the portal API Keys area and choose Full, Sales, Purchase, or Read Only, or send an accessRights object when creating the key.
| Module | What it covers | Actions |
|---|---|---|
| GL | General ledger, journal, cash book, bank reconciliation, chart/default accounts. | Read, Create, Edit, Void, Delete |
| AR | Debtor/customer master, AR payments, AR deposits, AR refunds, AR outstanding and statements. | Read, Create, Edit, Void, Delete |
| AP | Creditor/supplier master, AP payments, AP deposits, AP refunds, AP outstanding and statements. | Read, Create, Edit, Void, Delete |
| Stock | Items, stock balance, stock documents, BOM, assembly, item package. | Read, Create, Edit, Void, Delete |
| Sales | Quotation, sales order, delivery order, sales invoice, cash sale, sales credit note, sales PDFs. | Read, Create, Edit, Void, Delete |
| Purchase | Purchase order, goods received note, purchase invoice, cash purchase, purchase return, purchase PDFs. | Read, Create, Edit, Void, Delete |
If a restricted API key calls a command outside its allowed module/action, the cloud rejects it before queueing and returns HTTP 403 with PermissionDenied. This access control is website/cloud controlled only; it does not sync AutoCount users.
{
"name": "Sales AI",
"accessRights": {
"GL": [],
"AR": ["Read"],
"AP": [],
"Stock": ["Read"],
"Sales": ["Read", "Create"],
"Purchase": []
}
}
Commands are asynchronous. Your app queues work in the cloud, the Local Connector polls outbound, AutoCount executes locally, and the result is returned to the cloud.
The cloud keeps only the latest 20 completed command transactions per customer account. Pending commands are kept until finished, then older completed request/result records are deleted automatically.
| Status | Meaning |
|---|---|
queued | The command is waiting for the Local Connector. |
leased | The connector picked up the command and is processing it. |
done | The connector posted the final result. |
Always send a caller-generated unique commandId. This gives idempotency, audit, and safer retries.
{
"commandId": "invoice-count-20260612-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "list-sales-invoices",
"payload": {}
}
This API exposes edit, void, and delete as first-class command types, but it follows AutoCount accounting safety rules. It will not do blind SQL updates or blind deletes. If a safe SDK path is not proven for a module, the command returns a clear blocked result instead of damaging audit trail, stock, tax, e-Invoice, or payment knock-off links.
Operation command pattern: update-* or edit-* in customer language. The canonical command names currently use update-*.
Safe behavior: Master data edit is supported where AutoCount SDK load/save is proven, for example debtor, creditor, stock item, item BOM, and supported General Maintenance records.
Blocked behavior: Posted accounting transaction edits return editBlocked until exact SDK edit safety is proven.
Example command types: update-debtor, update-item, update-sales-invoice, update-ar-payment, update-gl-cash-book-entry, update-journal-entry.
Operation command pattern: void-*.
Safe behavior: Sales and purchase void uses AutoCount CancelDocument where AutoCount exposes it. GL Cash Book void also uses CashBookCommand.CancelDocument. Successful results include operationUsed: CancelDocument or CashBookCommand.CancelDocument.
Blocked behavior: Cash Sale, Cash Purchase, AR/AP, stock, journal, and compliance-sensitive modules return voidBlocked until the module-specific AutoCount void/cancel path is proven.
Example command types: void-sales-invoice, void-sales-order, void-purchase-invoice, void-gl-cash-book-entry, void-ar-payment, void-journal-entry.
Operation command pattern: delete-*.
Safe behavior: Delete means hard delete where AutoCount SDK exposes Delete and the document is not locked or linked. Sales and purchase delete uses AutoCount SDK Delete. GL Cash Book and journal delete also use their AutoCount SDK Delete commands. Use void-* when audit-trail cancellation is required.
Blocked behavior: Modules without a proven SDK delete path return deleteBlocked with a suggested reversal, cancellation, or replacement workflow.
Example command types: delete-sales-invoice, delete-purchase-invoice, delete-gl-cash-book-entry, delete-ar-payment, delete-stock-adjustment, delete-journal-entry.
{
"commandId": "edit-customer-20260620-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "update-debtor",
"payload": {
"accNo": "300-API",
"phone1": "03-11111111"
}
}
{
"commandId": "void-sales-invoice-20260620-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "void-sales-invoice",
"payload": {
"docNo": "IV-000001",
"reason": "Customer cancelled order"
}
}
{
"commandId": "delete-journal-20260620-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "delete-journal-entry",
"payload": {
"docNo": "JV-000001",
"reason": "Reverse incorrect journal"
}
}
{
"commandId": "cash-sale-20260627-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "create-cash-sale",
"payload": {
"debtorCode": "300-A001",
"docDate": "2026-06-27",
"description": "Create Cash Sale with payment",
"lines": [
{ "itemCode": "ITEM001", "qty": 1, "unitPrice": 100 }
],
"payments": [
{ "paymentMethod": "CASH", "paymentAmount": 60, "chequeNo": "CS-API-001" },
{ "paymentMethod": "CARD", "paymentAmount": 40, "creditCardApprovalCode": "APPROVED-001" }
]
}
}
Cash Sale payment buttons: AutoCount's Cash button means one payments row using the cash payment method. Credit Card button means one payments row using the customer's credit-card payment method code, for example CARD or the exact code from read-payment-methods. Multi Payment button means send multiple payments rows whose total equals the Cash Sale total. Credit Sale button means omit payments so AutoCount keeps the amount outstanding. Cash Sale is not complete until the payment row is included, unless the user intentionally wants Credit Sale.
Split payment / Multi Payment example: for Cash Sale or Cash Purchase, send two or more payments rows. Use read-payment-methods first. payments[].paymentMethod must match an active AutoCount Payment Method code, and the paymentAmount total should equal the document total.
{
"commandId": "cash-purchase-20260627-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "create-cash-purchase",
"payload": {
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-CP-API-001",
"docDate": "2026-06-27",
"description": "Cash Purchase with split payment",
"items": [
{ "itemCode": "ITEM001", "qty": 1, "unitPrice": 100, "accountNo": "610-0000" }
],
"payments": [
{ "paymentMethod": "CASH", "paymentAmount": 60 },
{ "paymentMethod": "BANK", "paymentAmount": 40 }
]
}
}
{
"commandId": "cashbook-payment-20260620-001",
"connectorId": "customer-connector-id",
"companyId": "macsofttest",
"type": "create-gl-cash-book-payment",
"payload": {
"payTo": "API Supplier",
"description": "API payment voucher",
"lines": [
{ "accNo": "610-0000", "amount": 100, "description": "Expense line" }
],
"payments": [
{ "paymentMethod": "CASH", "paymentAmount": 100 }
]
}
}
For the full list, open OpenAPI JSON and search x-autocount-command-catalog.commands for update-, void-, and delete-. The human command reference below shows the same command names grouped by module.
Use this first. It tells a human what each AutoCount module can do now and what is intentionally guarded for accounting safety.
| Module | Read / View | Create | Edit | Void | Delete | PDF / Print | Bulk | What This Means |
|---|---|---|---|---|---|---|---|---|
| Master Data | Yes | Yes | Yes | N/A | Guarded | N/A | Yes | Debtor/customer, creditor/supplier, stock item, item detail, credit control, and item BOM are readable. Debtor, creditor, item, and item BOM create/update are supported. Delete is guarded because linked transactions must be protected. |
| General Maintenance | Yes | Yes | Yes | N/A | Guarded | N/A | Yes | Safe setup tables are supported: address, area, C/N type, D/N type, debtor/creditor type, currency, payment method, price category, project, sales/purchase agent, shipping method. Account Type and Credit Term remain list-only. |
| Sales | Yes | Yes | Yes | Partial | Yes | Yes | Yes | Invoices, orders, delivery orders, cash sales, quotations, advanced quotations, sales credit notes, and sales debit notes are covered. Header/contact edit uses AutoCount Edit + Save. Line/detail edit remains guarded until document detail safety is proven. Void uses AutoCount CancelDocument except Cash Sale, which remains guarded after fresh-book proof. Delete uses AutoCount SDK Delete where the document is not locked or linked. |
| Purchase | Yes | Partial | Yes | Partial | Yes | Yes | Yes | Purchase order, GRN, purchase invoice, purchase return, and cash purchase are covered where AutoCount SDK exposes the document command. Header/contact edit uses AutoCount Edit + Save. Line/detail edit remains guarded until document detail safety is proven. Cash Purchase create can return probeBlocked on SDK installs where the detail API is unavailable. Void uses AutoCount CancelDocument except Cash Purchase, which remains guarded after fresh-book proof. |
| AR | Yes | Yes | Yes | Guarded | Guarded | Yes | Yes | AR invoice, payment, refund, credit note, debit note, outstanding documents, knock-off validation/create, and AutoCount PDF export are covered. Header/simple edit uses AutoCount SDK load/save. Line/detail and knock-off reallocation edits, void, and delete remain guarded until each SDK path is proven on real books. |
| AP | Yes | Yes | Yes | Guarded | Guarded | Yes | Yes | AP invoice, payment, refund, credit note, debit note, outstanding documents, knock-off validation/create, and AutoCount PDF export are covered. Header/simple edit uses AutoCount SDK load/save. Line/detail and knock-off reallocation edits, void, and delete remain guarded until each SDK path is proven on real books. |
| Stock | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Items, stock balance, adjustments, receive, issue, transfer, UOM conversion, stock take, write-off, update cost, packages, BOM, assembly, assembly order, disassembly, AutoCount stock document PDFs, stock document header/detail edit, void/cancel, and delete are covered. Item package/BOM deletion remains guarded as master-data deletion. |
| GL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Chart of accounts, GL account balance, GL Account Maintenance create, multi-line journal create/validate, journal header/simple edit, journal void/delete through CancelDocument, and journal voucher PDF are covered. Journal line/detail changes remain guarded until proven safe. |
| GL Cash Book | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Bank/cash accounts, cash-flow metadata, cheque listing, Cash Book Entry document grid, inquiry rows, payment voucher, official receipt, header/simple edit, hard delete through CashBookCommand.Delete, void through CancelDocument, and voucher PDF export are covered. Detail/payment line edits remain guarded until proven safe. |
| Bank Reconciliation | Yes | Yes | Yes | Guarded | Yes | Not yet | Not yet | BankReconCommand list/detail/uncleared/draft validation are covered. Create and edit save selected transaction rows through BankRecon.Save. Delete uses BankReconCommand.Delete. Void remains guarded because AutoCount exposes delete, not a separate void path. |
| Bulk | N/A | Yes | N/A | N/A | N/A | N/A | Yes | Bulk create wraps existing create commands so many records can be processed by one cloud lease with per-row idempotency/audit results. This is the preferred path for hundreds of invoices or journals. |
| e-Invoice | Yes | Guarded | Guarded | Guarded | Blocked | Not yet | Not yet | Local settings, submission status, consolidated inquiry, self-billed list, and supplier item mapping list are supported. Submit/cancel/import/sync remain guarded compliance actions. |
Guarded does not mean missing. It means the API command exists, but the connector refuses unsafe accounting changes until that AutoCount module has a proven SDK edit/void/delete path. This protects audit trail, stock, tax, e-Invoice, and knock-off/payment links.
Grouped by document. Use this first when a human or AI needs to know which AutoCount document can be viewed, which command writes it, and which header/detail fields can be sent.
Machine-readable document catalog: /v1/schema/documents. Then open each command's /v1/schema/commands/{commandType} for the exact JSON schema.
Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-sales-invoice
list-sales-invoices read - List sales invoices. For latest rows, send limit/top/take; connector returns newest DocDate then DocNo first.get-sales-invoice read - Get one sales invoice by document number.read-sales-invoice-lines read - Read sales invoice detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-sales-invoice read - Validate a sales invoice without saving.create-sales-invoice write - Create a sales invoice.update-sales-invoice write - Update sales invoice header/contact fields and supported detail rows.cancel-sales-invoice write - Cancel a sales invoice when AutoCount allows it.void-sales-invoice write - Void a sales invoice while keeping audit trail.delete-sales-invoice write - Delete/void request for a sales invoice.transfer-quotation-to-sales-invoice write - Transfer quotation directly to sales invoice.transfer-sales-order-to-sales-invoice write - Transfer sales order directly to sales invoice.transfer-delivery-order-to-sales-invoice write - Transfer delivery order to sales invoice.transfer-sales-invoice-to-sales-credit-note write - Transfer sales invoice to sales credit note.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-sales-order
list-sales-orders read - List sales orders.get-sales-order read - Get one sales order by document number.read-sales-order-lines read - Read sales order detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-sales-order read - Validate a sales order without saving.create-sales-order write - Create a sales order.update-sales-order write - Update sales order header/contact fields and supported detail rows.cancel-sales-order write - Cancel a sales order when AutoCount allows it.void-sales-order write - Void a sales order while keeping audit trail.delete-sales-order write - Delete/void request for a sales order.transfer-quotation-to-sales-order write - Transfer quotation to sales order.transfer-sales-order-to-delivery-order write - Transfer sales order to delivery order.transfer-sales-order-to-sales-invoice write - Transfer sales order directly to sales invoice.transfer-sales-order-to-purchase-order write - Transfer sales order to purchase order.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-delivery-order
list-delivery-orders read - List delivery orders.get-delivery-order read - Get one delivery order by document number.read-delivery-order-lines read - Read delivery order detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-delivery-order read - Validate a delivery order without saving.create-delivery-order write - Create a delivery order.update-delivery-order write - Update delivery order header/contact fields and supported detail rows.cancel-delivery-order write - Cancel a delivery order when AutoCount allows it.void-delivery-order write - Void a delivery order while keeping audit trail.delete-delivery-order write - Delete/void request for a delivery order.transfer-quotation-to-delivery-order write - Transfer quotation directly to delivery order.transfer-sales-order-to-delivery-order write - Transfer sales order to delivery order.transfer-delivery-order-to-sales-invoice write - Transfer delivery order to sales invoice.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-cash-sale
list-cash-sales read - List cash sales.get-cash-sale read - Get one cash sale by document number.read-cash-sale-lines read - Read cash sale detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-cash-sale read - Validate a cash sale without saving.create-cash-sale write - Create a cash sale.update-cash-sale write - Update cash sale header/contact fields and supported detail rows.cancel-cash-sale write - Cancel a cash sale when AutoCount allows it.void-cash-sale write - Void a cash sale while keeping audit trail.delete-cash-sale write - Delete/void request for a cash sale.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-quotation
list-quotations read - List quotations.get-quotation read - Get one quotation by document number.read-quotation-lines read - Read quotation detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-quotation read - Validate a quotation without saving.create-quotation write - Create a quotation.update-quotation write - Update quotation header/contact fields and supported detail rows.cancel-quotation write - Cancel a quotation when AutoCount allows it.void-quotation write - Void a quotation while keeping audit trail.delete-quotation write - Delete/void request for a quotation.transfer-quotation-to-sales-order write - Transfer quotation to sales order.transfer-quotation-to-delivery-order write - Transfer quotation directly to delivery order.transfer-quotation-to-sales-invoice write - Transfer quotation directly to sales invoice.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-advanced-quotation
list-advanced-quotations read - List advanced quotations.get-advanced-quotation read - Get one advanced quotation by document number.read-advanced-quotation-lines read - Read advanced quotation detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-advanced-quotation read - Validate a advanced quotation without saving.create-advanced-quotation write - Create an advanced quotation.update-advanced-quotation write - Update advanced quotation header/contact fields and supported detail rows.cancel-advanced-quotation write - Cancel a advanced quotation when AutoCount allows it.void-advanced-quotation write - Void a advanced quotation while keeping audit trail.delete-advanced-quotation write - Delete/void request for a advanced quotation.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-sales-credit-note
list-sales-credit-notes read - List sales credit notes.get-sales-credit-note read - Get one sales credit note by document number.read-sales-credit-note-lines read - Read sales credit note detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-sales-credit-note read - Validate a sales credit note without saving.create-sales-credit-note write - Create a sales credit note.update-sales-credit-note write - Update sales credit note header/contact fields and supported detail rows.cancel-sales-credit-note write - Cancel a sales credit note when AutoCount allows it.void-sales-credit-note write - Void a sales credit note while keeping audit trail.delete-sales-credit-note write - Delete/void request for a sales credit note.transfer-sales-invoice-to-sales-credit-note write - Transfer sales invoice to sales credit note.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use list/get for headers, read-*-lines for detail rows, and read-document-linkage before changing transferred documents.
Full payload schema: /v1/schema/commands/create-sales-debit-note
list-sales-debit-notes read - List sales debit notes.get-sales-debit-note read - Get one sales debit note by document number.read-sales-debit-note-lines read - Read sales debit note detail lines only.read-sales-detail-lines read - Read all sales document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-sales-debit-note read - Validate a sales debit note without saving.create-sales-debit-note write - Create a sales debit note.update-sales-debit-note write - Update sales debit note header/contact fields and supported detail rows.cancel-sales-debit-note write - Cancel a sales debit note when AutoCount allows it.void-sales-debit-note write - Void a sales debit note while keeping audit trail.delete-sales-debit-note write - Delete/void request for a sales debit note.sales-document-autocount-pdf report - Generate an AutoCount-looking sales document PDF/report.DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as SO or DO.DocNo string - Source document number.SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Use read-purchase-detail-lines or document-specific line reads for item/account/project/tax fields. Use transfer commands for the PO -> GRN -> PI -> PR flow.
Full payload schema: /v1/schema/commands/create-purchase-order
list-purchase-orders read - List purchase orders.get-purchase-order read - Get one purchase order by document number.read-purchase-order-lines read - Read purchase order detail lines only.read-purchase-detail-lines read - Read all purchase document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-purchase-order read - Validate a purchase order without saving.create-purchase-order write - Create a purchase order.update-purchase-order write - Update purchase order header/contact fields and supported detail rows.cancel-purchase-order write - Cancel a purchase order when AutoCount allows it.void-purchase-order write - Void a purchase order while keeping audit trail.delete-purchase-order write - Delete/void request for a purchase order.transfer-purchase-order-to-goods-received-note write - Transfer purchase order to goods received note.transfer-purchase-order-to-purchase-invoice write - Transfer purchase order directly to purchase invoice.purchase-document-autocount-pdf report - Generate an AutoCount-looking purchase document PDF/report.DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as PO or GRN.DocNo string - Source document number.DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Use read-purchase-detail-lines or document-specific line reads for item/account/project/tax fields. Use transfer commands for the PO -> GRN -> PI -> PR flow.
Full payload schema: /v1/schema/commands/create-goods-received-note
list-goods-received-notes read - List goods received notes.get-goods-received-note read - Get one goods received note by document number.read-goods-received-note-lines read - Read goods received note detail lines only.read-purchase-detail-lines read - Read all purchase document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-goods-received-note read - Validate a goods received note without saving.create-goods-received-note write - Create a goods received note.update-goods-received-note write - Update goods received note header/contact fields and supported detail rows.cancel-goods-received-note write - Cancel a goods received note when AutoCount allows it.void-goods-received-note write - Void a goods received note while keeping audit trail.delete-goods-received-note write - Delete/void request for a goods received note.transfer-purchase-order-to-goods-received-note write - Transfer purchase order to goods received note.transfer-goods-received-note-to-purchase-invoice write - Transfer goods received note to purchase invoice.purchase-document-autocount-pdf report - Generate an AutoCount-looking purchase document PDF/report.DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as PO or GRN.DocNo string - Source document number.DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Use read-purchase-detail-lines or document-specific line reads for item/account/project/tax fields. Use transfer commands for the PO -> GRN -> PI -> PR flow.
Full payload schema: /v1/schema/commands/create-purchase-invoice
list-purchase-invoices read - List purchase invoices.get-purchase-invoice read - Get one purchase invoice by document number.read-purchase-invoice-lines read - Read purchase invoice detail lines only.read-purchase-detail-lines read - Read all purchase document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-purchase-invoice read - Validate a purchase invoice without saving.create-purchase-invoice write - Create a purchase invoice.update-purchase-invoice write - Update purchase invoice header/contact fields and supported detail rows.cancel-purchase-invoice write - Cancel a purchase invoice when AutoCount allows it.void-purchase-invoice write - Void a purchase invoice while keeping audit trail.delete-purchase-invoice write - Delete/void request for a purchase invoice.transfer-purchase-order-to-purchase-invoice write - Transfer purchase order directly to purchase invoice.transfer-goods-received-note-to-purchase-invoice write - Transfer goods received note to purchase invoice.transfer-purchase-invoice-to-purchase-return write - Transfer purchase invoice to purchase return.purchase-document-autocount-pdf report - Generate an AutoCount-looking purchase document PDF/report.DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as PO or GRN.DocNo string - Source document number.DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Use read-purchase-detail-lines or document-specific line reads for item/account/project/tax fields. Use transfer commands for the PO -> GRN -> PI -> PR flow.
Full payload schema: /v1/schema/commands/create-purchase-return
list-purchase-returns read - List purchase returns.get-purchase-return read - Get one purchase return by document number.read-purchase-return-lines read - Read purchase return detail lines only.read-purchase-detail-lines read - Read all purchase document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-purchase-return read - Validate a purchase return without saving.create-purchase-return write - Create a purchase return.update-purchase-return write - Update purchase return header/contact fields and supported detail rows.cancel-purchase-return write - Cancel a purchase return when AutoCount allows it.void-purchase-return write - Void a purchase return while keeping audit trail.delete-purchase-return write - Delete/void request for a purchase return.transfer-purchase-invoice-to-purchase-return write - Transfer purchase invoice to purchase return.purchase-document-autocount-pdf report - Generate an AutoCount-looking purchase document PDF/report.DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as PO or GRN.DocNo string - Source document number.DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Use read-purchase-detail-lines or document-specific line reads for item/account/project/tax fields. Use transfer commands for the PO -> GRN -> PI -> PR flow.
Full payload schema: /v1/schema/commands/create-cash-purchase
list-cash-purchases read - List cash purchases.get-cash-purchase read - Get one cash purchase by document number.read-cash-purchase-lines read - Read cash purchase detail lines only.read-purchase-detail-lines read - Read all purchase document lines together, or filter with document.read-document-linkage read - Read linked/transferred document detail rows and linkage columns.validate-cash-purchase read - Validate a cash purchase without saving.create-cash-purchase write - Create a cash purchase.update-cash-purchase write - Update cash purchase header/contact fields and supported detail rows.cancel-cash-purchase write - Cancel a cash purchase when AutoCount allows it.void-cash-purchase write - Void a cash purchase while keeping audit trail.delete-cash-purchase write - Delete/void request for a cash purchase.purchase-document-autocount-pdf report - Generate an AutoCount-looking purchase document PDF/report.DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.DocType string - Source document type such as PO or GRN.DocNo string - Source document number.DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Use read-ar-outstanding-documents before knock-off/allocation writes. Header updates use debtorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ar-invoice
list-ar-invoices read - List AR invoices.get-ar-invoice read - Get one AR invoice by document number.read-ar-invoice-lines read - Read AR invoice detail/account lines only.read-ar-detail-lines read - Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.read-ar-outstanding-documents read - List outstanding AR invoice documents with docKey for allocation and knock-off.validate-ar-invoice read - Validate an AR invoice without saving.create-ar-invoice write - Create an AR invoice.update-ar-invoice write - Update AR invoice header/simple fields.void-ar-invoice write - Guarded AR invoice void request.delete-ar-invoice write - Guarded AR invoice delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ar-outstanding-documents before knock-off/allocation writes. Header updates use debtorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ar-payment
list-ar-payments read - List AR payments.get-ar-payment read - Get one AR payment by document number.read-ar-payment-lines read - Read AR payment detail/payment method lines only.read-ar-detail-lines read - Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.read-ar-outstanding-documents read - List outstanding AR invoice documents with docKey for allocation and knock-off.validate-ar-payment read - Validate an AR payment/receipt without saving. Supports one or many real invoice knock-offs.create-ar-payment write - Create an AR payment/receipt. Supports one or many real invoice knock-offs.update-ar-payment write - Update AR payment header/simple fields.void-ar-payment write - Guarded AR payment void request.delete-ar-payment write - Guarded AR payment delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.DocNo string - Optional AutoCount document number.DocDate date - Payment document date.DebtorCode string - Customer/debtor code.ProjNo string - Header project code.DeptNo string - Header department code.Description string - Payment description.CurrencyCode string - Currency code.Note string - Payment note.PaymentMethod string - Exact AutoCount payment method code.ChequeNo string - Cheque/reference number.PaymentAmt number - Payment amount.BankCharge number - Bank charge amount.ToBankRate number - Bank currency rate.PaymentBy string - Payment by label.DocType string - AutoCount knock-off document type such as RI.DocKey number - AutoCount outstanding document key.DocNo string - Outstanding document number.KnockOffDate date - Knock-off date.KnockOffAmount number - Allocated amount.DocNoFormatName string - Optional AutoCount numbering format.SaveAsDraft boolean - Draft/save behavior where AutoCount supports it.Use read-ar-outstanding-documents before knock-off/allocation writes. Header updates use debtorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ar-deposit
list-ar-deposits read - List AR deposits.get-ar-deposit read - Get one AR deposit by document number.read-ar-detail-lines read - Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.read-ar-outstanding-documents read - List outstanding AR invoice documents with docKey for allocation and knock-off.validate-ar-deposit read - Validate an AR deposit without saving.create-ar-deposit write - Create an AR deposit with a real payment detail and GL transaction.update-ar-deposit writevoid-ar-deposit writedelete-ar-deposit writearap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ar-outstanding-documents before knock-off/allocation writes. Header updates use debtorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ar-refund
list-ar-refunds read - List AR refunds.get-ar-refund read - Get one AR refund by document number.read-ar-refund-lines read - Read AR refund detail/payment method lines only.read-ar-detail-lines read - Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.read-ar-outstanding-documents read - List outstanding AR invoice documents with docKey for allocation and knock-off.validate-ar-refund read - Validate an AR refund without saving. Refund knocks off AR credit notes, not invoices. Use docType RC or friendly CN alias; docKey is recommended.create-ar-refund write - Create an AR refund. Refund knocks off AR credit notes, not invoices. Use docType RC or friendly CN alias; docKey is recommended.update-ar-refund write - Update AR refund header/simple fields.void-ar-refund write - Guarded AR refund void request.delete-ar-refund write - Guarded AR refund delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ar-outstanding-documents before knock-off/allocation writes. Header updates use debtorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ar-credit-note
list-ar-credit-notes read - List AR credit notes.get-ar-credit-note read - Get one AR credit note by document number.read-ar-credit-note-lines read - Read AR credit note detail/account lines only.read-ar-detail-lines read - Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.read-ar-outstanding-documents read - List outstanding AR invoice documents with docKey for allocation and knock-off.validate-ar-credit-note read - Validate an AR credit note without saving. Supports one or many real invoice knock-offs.create-ar-credit-note write - Create an AR credit note. Supports one or many real invoice knock-offs.update-ar-credit-note write - Update AR credit note header/simple fields.void-ar-credit-note write - Guarded AR credit note void request.delete-ar-credit-note write - Guarded AR credit note delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ar-outstanding-documents before knock-off/allocation writes. Header updates use debtorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ar-debit-note
list-ar-debit-notes read - List AR debit notes.get-ar-debit-note read - Get one AR debit note by document number.read-ar-debit-note-lines read - Read AR debit note detail/account lines only.read-ar-detail-lines read - Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.read-ar-outstanding-documents read - List outstanding AR invoice documents with docKey for allocation and knock-off.validate-ar-debit-note read - Validate an AR debit note without saving.create-ar-debit-note write - Create an AR debit note.update-ar-debit-note write - Update AR debit note header/simple fields.void-ar-debit-note write - Guarded AR debit note void request.delete-ar-debit-note write - Guarded AR debit note delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ap-outstanding-documents before knock-off/allocation writes. Header updates use creditorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ap-invoice
list-ap-invoices read - List AP invoices.get-ap-invoice read - Get one AP invoice by document number.read-ap-invoice-lines read - Read AP invoice detail/account lines only.read-ap-detail-lines read - Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.read-ap-outstanding-documents read - List outstanding AP invoice documents with docKey for allocation and knock-off.validate-ap-invoice read - Validate an AP invoice without saving.create-ap-invoice write - Create an AP invoice.update-ap-invoice write - Update AP invoice header/simple fields.void-ap-invoice write - Guarded AP invoice void request.delete-ap-invoice write - Guarded AP invoice delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ap-outstanding-documents before knock-off/allocation writes. Header updates use creditorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ap-payment
list-ap-payments read - List AP payments.get-ap-payment read - Get one AP payment by document number.read-ap-payment-lines read - Read AP payment detail/payment method lines only.read-ap-detail-lines read - Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.read-ap-outstanding-documents read - List outstanding AP invoice documents with docKey for allocation and knock-off.validate-ap-payment read - Validate an AP payment without saving. Supports one or many real supplier invoice knock-offs.create-ap-payment write - Create an AP payment. Supports one or many real supplier invoice knock-offs.update-ap-payment write - Update AP payment header/simple fields.void-ap-payment write - Guarded AP payment void request.delete-ap-payment write - Guarded AP payment delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.DocNo string - Optional AutoCount document number.DocDate date - Payment document date.CreditorCode string - Supplier/creditor code.ProjNo string - Header project code.DeptNo string - Header department code.Description string - Payment description.CurrencyCode string - Currency code.Note string - Payment note.PaymentMethod string - Exact AutoCount payment method code.ChequeNo string - Cheque/reference number.PaymentAmt number - Payment amount.BankCharge number - Bank charge amount.ToBankRate number - Bank currency rate.PaymentBy string - Payment by label.DocType string - AutoCount knock-off document type such as PB.DocKey number - AutoCount outstanding document key.DocNo string - Outstanding document number.KnockOffDate date - Knock-off date.KnockOffAmount number - Allocated amount.DocNoFormatName string - Optional AutoCount numbering format.SaveAsDraft boolean - Draft/save behavior where AutoCount supports it.Use read-ap-outstanding-documents before knock-off/allocation writes. Header updates use creditorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ap-deposit
list-ap-deposits read - List AP deposits.get-ap-deposit read - Get one AP deposit by document number.read-ap-detail-lines read - Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.read-ap-outstanding-documents read - List outstanding AP invoice documents with docKey for allocation and knock-off.validate-ap-deposit read - Validate an AP deposit without saving.create-ap-deposit write - Create an AP deposit with a real payment detail and GL transaction.update-ap-deposit writevoid-ap-deposit writedelete-ap-deposit writearap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ap-outstanding-documents before knock-off/allocation writes. Header updates use creditorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ap-refund
list-ap-refunds read - List AP refunds.get-ap-refund read - Get one AP refund by document number.read-ap-refund-lines read - Read AP refund detail/payment method lines only.read-ap-detail-lines read - Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.read-ap-outstanding-documents read - List outstanding AP invoice documents with docKey for allocation and knock-off.validate-ap-refund read - Validate an AP refund without saving. Refund knocks off AP credit notes, not supplier invoices. Use docType PC or friendly CN alias; docKey is recommended.create-ap-refund write - Create an AP refund. Refund knocks off AP credit notes, not supplier invoices. Use docType PC or friendly CN alias; docKey is recommended.update-ap-refund write - Update AP refund header/simple fields.void-ap-refund write - Guarded AP refund void request.delete-ap-refund write - Guarded AP refund delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ap-outstanding-documents before knock-off/allocation writes. Header updates use creditorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ap-credit-note
list-ap-credit-notes read - List AP credit notes.get-ap-credit-note read - Get one AP credit note by document number.read-ap-credit-note-lines read - Read AP credit note detail/account lines only.read-ap-detail-lines read - Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.read-ap-outstanding-documents read - List outstanding AP invoice documents with docKey for allocation and knock-off.validate-ap-credit-note read - Validate an AP credit note without saving. Supports one or many real supplier invoice knock-offs.create-ap-credit-note write - Create an AP credit note. Supports one or many real supplier invoice knock-offs.update-ap-credit-note write - Update AP credit note header/simple fields.void-ap-credit-note write - Guarded AP credit note void request.delete-ap-credit-note write - Guarded AP credit note delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use read-ap-outstanding-documents before knock-off/allocation writes. Header updates use creditorCode plus docNo.
Full payload schema: /v1/schema/commands/create-ap-debit-note
list-ap-debit-notes read - List AP debit notes.get-ap-debit-note read - Get one AP debit note by document number.read-ap-debit-note-lines read - Read AP debit note detail/account lines only.read-ap-detail-lines read - Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.read-ap-outstanding-documents read - List outstanding AP invoice documents with docKey for allocation and knock-off.validate-ap-debit-note read - Validate an AP debit note without saving.create-ap-debit-note write - Create an AP debit note.update-ap-debit-note write - Update AP debit note header/simple fields.void-ap-debit-note write - Guarded AP debit note void request.delete-ap-debit-note write - Guarded AP debit note delete request.arap-statement-autocount-pdf report - Generate official AutoCount debtor or creditor statement PDF.No field names are published for this section yet.
No field names are published for this section yet.
Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-adjustment
list-stock-adjustments read - List stock adjustment records.get-stock-adjustment read - Get one stock adjustment by document/code.read-stock-adjustment-lines read - Read stock adjustment detail lines only.validate-stock-adjustment read - Validate stock adjustment without saving.create-stock-adjustment write - Create stock adjustment.update-stock-adjustment write - Edit stock adjustment header fields and detail lines.void-stock-adjustment write - Void/cancel stock adjustment.delete-stock-adjustment write - Delete stock adjustment.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-receive
list-stock-receives read - List stock receive records.get-stock-receive read - Get one stock receive by document/code.read-stock-receive-lines read - Read stock receive detail lines only.validate-stock-receive read - Validate stock receive without saving.create-stock-receive write - Create stock receive.update-stock-receive write - Edit stock receive header fields and detail lines.void-stock-receive write - Void/cancel stock receive.delete-stock-receive write - Delete stock receive.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-issue
list-stock-issues read - List stock issue records.get-stock-issue read - Get one stock issue by document/code.read-stock-issue-lines read - Read stock issue detail lines only.validate-stock-issue read - Validate stock issue without saving.create-stock-issue write - Create stock issue.update-stock-issue write - Edit stock issue header fields and detail lines.void-stock-issue write - Void/cancel stock issue.delete-stock-issue write - Delete stock issue.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-transfer
list-stock-transfers read - List stock transfer records.get-stock-transfer read - Get one stock transfer by document/code.read-stock-transfer-lines read - Read stock transfer detail lines only.validate-stock-transfer read - Validate stock transfer without saving.create-stock-transfer write - Create stock transfer.update-stock-transfer write - Edit stock transfer header fields and detail lines.void-stock-transfer write - Void/cancel stock transfer.delete-stock-transfer write - Delete stock transfer.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-uom-conversion
list-stock-uom-conversions read - List stock UOM conversion records.get-stock-uom-conversion read - Get one stock UOM conversion by document/code.read-stock-uom-conversion-lines read - Read stock UOM conversion detail lines only.validate-stock-uom-conversion read - Validate stock UOM conversion without saving.create-stock-uom-conversion write - Create stock UOM conversion.update-stock-uom-conversion write - Edit stock UOM conversion header fields and detail lines.void-stock-uom-conversion write - Void/cancel stock UOM conversion.delete-stock-uom-conversion write - Delete stock UOM conversion.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.No field names are published for this section yet.
No field names are published for this section yet.
Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-take
list-stock-takes read - List stock take records.get-stock-take read - Get one stock take by document/code.read-stock-take-lines read - Read stock take detail lines only.validate-stock-take read - Validate stock take without saving.create-stock-take write - Create stock take.update-stock-take write - Edit stock take header fields and detail lines.void-stock-take write - Void/cancel stock take.delete-stock-take write - Delete stock take.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.No field names are published for this section yet.
No field names are published for this section yet.
Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-write-off
list-stock-write-offs read - List stock write-off records.get-stock-write-off read - Get one stock write-off by document/code.read-stock-write-off-lines read - Read stock write-off detail lines only.validate-stock-write-off read - Validate stock write-off without saving.create-stock-write-off write - Create stock write-off.update-stock-write-off write - Edit stock write-off header fields and detail lines.void-stock-write-off write - Void/cancel stock write-off.delete-stock-write-off write - Delete stock write-off.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.No field names are published for this section yet.
No field names are published for this section yet.
Use stock line reads for item/location/UOM/batch/serial/cost detail. Use max/limit for large stock books.
Full payload schema: /v1/schema/commands/create-stock-update-cost
list-stock-update-costs read - List stock update cost records.get-stock-update-cost read - Get one stock update cost by document/code.read-stock-update-cost-lines read - Read stock update cost detail lines only.validate-stock-update-cost read - Validate stock update cost without saving.create-stock-update-cost write - Create stock update cost document.update-stock-update-cost write - Edit stock update cost header fields and detail lines.void-stock-update-cost write - Void/cancel stock update cost.delete-stock-update-cost write - Delete stock update cost.stock-document-autocount-pdf report - Generate an AutoCount-looking stock document PDF/report.No field names are published for this section yet.
No field names are published for this section yet.
POS is DLL raw read only. Use list for receipt ranges and get for one receipt/document. For shops closing after midnight, send businessDate with businessDayEndTime.
Full payload schema: /v1/schema/commands/list-pos-raw-transactions
list-pos-raw-transactions read - List POS sales/receipt rows through AutoCount POS DLL only.get-pos-raw-transaction read - Get one POS receipt raw AutoCount bundle through AutoCount POS DLL only.None published for this document yet.
businessDate date - POS business date. Use with businessDayEndTime when the shop closes after midnight.dateFrom date - Optional start date/time filter.dateTo date - Optional end date/time filter.businessDayEndTime string - Optional close time such as 02:00 for shops that close after midnight.docNo string - POS receipt/document number for get.docKey number - AutoCount POS document key for get.maxRows number - Maximum POS rows to return. Use bounded reads for large POS books.ItemCode string - POS item code returned by AutoCount POS DLL.Description string - POS item/line description.Qty number - Quantity sold.UOM string - Unit of measure.UnitPrice number - Unit price.Discount string - Discount text/amount where returned.TaxCode string - Tax code where returned.Amount number - Line amount.PaymentMethod string - POS payment method returned by AutoCount POS DLL.PaymentAmount number - Payment amount.ReferenceNo string - Payment/reference number where returned.includeRawTables boolean - Return raw DLL tables where supported.Journal detail debit and credit must balance before save.
Full payload schema: /v1/schema/commands/create-journal-entry
list-journal-entries read - List journal entries.get-journal-entry read - Get one journal entry with detail lines.validate-journal-entry read - Validate a GL journal entry without saving. Supports the same multi-line payload as create-journal-entry.create-journal-entry write - Create GL journal entry. Supports one or many debit/credit lines.update-journal-entry write - Update a journal entry header/simple fields and supported detail rows.void-journal-entry write - Cancel/void a journal entry.delete-journal-entry write - Hard delete a journal entry.DocNo string - Journal document number.DocDate date - Journal date.JournalType string - Journal type.Description string - Journal description.AccNo string - GL account number.Description string - Line description.Debit number - Debit amount.Credit number - Credit amount.ProjNo string - Project code.DeptNo string - Department code.TaxCode string - Tax code.Payment voucher payload has header, posting lines, and payment method rows.
Full payload schema: /v1/schema/commands/create-gl-cash-book-payment
list-gl-cash-book-documents read - List the G/L > Cash Book Entry document grid.get-gl-cash-book-entry read - Get one G/L Cash Book entry with detail and payment rows.list-gl-cash-book-entries read - List cash book report/inquiry rows grouped by bank/cash account.read-payment-methods read - List payment methods used by AR/AP cashbook-style documents.validate-gl-cash-book-payment read - Validate a G/L Cash Book payment voucher without saving.create-gl-cash-book-payment write - Create a G/L Cash Book payment voucher. Supports one or many account lines and payment rows.update-gl-cash-book-entry write - Update G/L Cash Book header/simple fields.void-gl-cash-book-entry write - Cancel/void a G/L Cash Book entry.delete-gl-cash-book-entry write - Hard delete a G/L Cash Book entry.gl-document-autocount-pdf report - Generate AutoCount-looking GL cash book voucher and journal voucher PDFs.DocNo string - Cash book document number.DocDate date - Cash book date.PayTo string - Payment payee.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.Official receipt payload has header, posting lines, and payment method rows.
Full payload schema: /v1/schema/commands/create-gl-cash-book-receipt
list-gl-cash-book-documents read - List the G/L > Cash Book Entry document grid.get-gl-cash-book-entry read - Get one G/L Cash Book entry with detail and payment rows.list-gl-cash-book-entries read - List cash book report/inquiry rows grouped by bank/cash account.read-payment-methods read - List payment methods used by AR/AP cashbook-style documents.validate-gl-cash-book-receipt read - Validate a G/L Cash Book official receipt without saving.create-gl-cash-book-receipt write - Create a G/L Cash Book official receipt. Supports one or many account lines and payment rows.update-gl-cash-book-entry write - Update G/L Cash Book header/simple fields.void-gl-cash-book-entry write - Cancel/void a G/L Cash Book entry.delete-gl-cash-book-entry write - Hard delete a G/L Cash Book entry.gl-document-autocount-pdf report - Generate AutoCount-looking GL cash book voucher and journal voucher PDFs.DocNo string - Cash book document number.DocDate date - Cash book date.ReceiveFrom string - Receipt payer.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.Read uncleared rows first, then create/update with selected BankTransKey values.
Full payload schema: /v1/schema/commands/create-gl-bank-reconciliation
list-gl-bank-reconciliations read - List bank reconciliation records.get-gl-bank-reconciliation read - Get one bank reconciliation with master/detail/reconciliation rows.list-gl-bank-reconciliation-uncleared read - List uncleared transactions for a bank/cash account.validate-gl-bank-reconciliation read - Create a bank reconciliation draft without saving. If selectedBankTransKeys or clearedRows are supplied, the returned draft shows which rows would be ticked.create-gl-bank-reconciliation write - Create and save a bank reconciliation.update-gl-bank-reconciliation write - Edit and re-save an existing bank reconciliation.delete-gl-bank-reconciliation write - Delete a bank reconciliation.AccNo string - Bank/cash account number.ReconDate date - Reconciliation date.ActualBalance number - Actual bank balance.BankTransKey string - Bank reconciliation transaction key.DocNo string - Document number.This is the human-readable detail for the same command catalog exposed in /openapi.json. Start with the module matrix above, then search here when you need the exact command type and JSON payload. For the full machine-readable payload schema, open /v1/schema/commands/{commandType} or use the Full payload schema link inside each command card.
Showing all 639 commands. Open a module, then open one command to see payload fields and JSON.
create-ap-credit-note
write
Create
Create an AP credit note. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ap-credit-note
{
"creditorCode": "400-S001",
"supplierCreditNoteNo": "SCN-001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Real knock-off validation is proven; saving should still be tested per account book. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
create-ap-debit-note
write
Create
Create an AP debit note.
Full payload schema: /v1/schema/commands/create-ap-debit-note
{
"creditorCode": "400-S001",
"supplierDebitNoteNo": "SDN-001",
"docDate": "2026-06-24",
"amount": 100,
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates AP debit note through AutoCount SDK. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
create-ap-deposit
write
Create
Create an AP deposit with a real payment detail and GL transaction.
Full payload schema: /v1/schema/commands/create-ap-deposit
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AP deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Notes: Requires write access permission. Real save is tested against AutoCount APDepositCommand and verifies GLTrxID. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
create-ap-invoice
write
Create
Create an AP invoice.
Full payload schema: /v1/schema/commands/create-ap-invoice
{
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-INV-1001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"ref": "API-REF-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"description": "AP document created through API",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates AP invoice through AutoCount SDK. The connector pre-checks creditorCode, AP journalType, detail count, and every GL posting account before SaveAPInvoice. Posting account order is: lines[].accountNo/top-level accountNo, AutoCount default purchase account, then recent AP invoice detail account for the same creditor. Send top-level project/projNo to apply one project to every line, or send line-level project/projNo for different projects per line. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
create-ap-payment
write
Create
Create an AP payment. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ap-payment
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Real multi-invoice knock-off save is proven; PI aliases are normalized to PB. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
create-ap-refund
write
Create
Create an AP refund. Refund knocks off AP credit notes, not supplier invoices. Use docType PC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/create-ap-refund
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Real AP refund knock-off save is proven against AP credit notes; CN aliases are normalized to PC. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
delete-ap-credit-note
write
Delete
Guarded AP credit note delete request.
Full payload schema: /v1/schema/commands/delete-ap-credit-note
{
"docNo": "PCN-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ap-debit-note
write
Delete
Guarded AP debit note delete request.
Full payload schema: /v1/schema/commands/delete-ap-debit-note
{
"docNo": "PDN-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ap-invoice
write
Delete
Guarded AP invoice delete request.
Full payload schema: /v1/schema/commands/delete-ap-invoice
{
"docNo": "API-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ap-payment
write
Delete
Guarded AP payment delete request.
Full payload schema: /v1/schema/commands/delete-ap-payment
{
"docNo": "PV-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ap-refund
write
Delete
Guarded AP refund delete request.
Full payload schema: /v1/schema/commands/delete-ap-refund
{
"docNo": "PV-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
get-ap-credit-note
read
Read
Get one AP credit note by document number.
Full payload schema: /v1/schema/commands/get-ap-credit-note
{
"docNo": "PCN-000001"
}
get-ap-debit-note
read
Read
Get one AP debit note by document number.
Full payload schema: /v1/schema/commands/get-ap-debit-note
{
"docNo": "PDN-000001"
}
get-ap-deposit
read
Read
Get one AP deposit by document number.
Full payload schema: /v1/schema/commands/get-ap-deposit
{
"docNo": "PV-000001"
}
get-ap-invoice
read
Read
Get one AP invoice by document number.
Full payload schema: /v1/schema/commands/get-ap-invoice
{
"docNo": "API-000001"
}
get-ap-payment
read
Read
Get one AP payment by document number.
Full payload schema: /v1/schema/commands/get-ap-payment
{
"docNo": "PV-000001"
}
get-ap-refund
read
Read
Get one AP refund by document number.
Full payload schema: /v1/schema/commands/get-ap-refund
{
"docNo": "PV-000001"
}
get-creditor-detail
read
Read
Read one creditor/supplier with all public SDK fields and child tables.
Full payload schema: /v1/schema/commands/get-creditor-detail
{
"accNo": "400-S001",
"maxTableRows": 0
}
Notes: Uses AutoCount.ARAP.Creditor.CreditorDataAccess.GetCreditor. Returns fields and child tables such as CreditorTable, BranchTable, ContactTable, TaxExemptionTable, and GLMastTable when available.
list-ap-credit-notes
read
Read
List AP credit notes.
Full payload schema: /v1/schema/commands/list-ap-credit-notes
No payload fields required.
{}
list-ap-debit-notes
read
Read
List AP debit notes.
Full payload schema: /v1/schema/commands/list-ap-debit-notes
No payload fields required.
{}
list-ap-deposits
read
Read
List AP deposits.
Full payload schema: /v1/schema/commands/list-ap-deposits
No payload fields required.
{}
list-ap-invoices
read
Read
List AP invoices.
Full payload schema: /v1/schema/commands/list-ap-invoices
No payload fields required.
{}
list-ap-payments
read
Read
List AP payments.
Full payload schema: /v1/schema/commands/list-ap-payments
No payload fields required.
{}
list-ap-refunds
read
Read
List AP refunds.
Full payload schema: /v1/schema/commands/list-ap-refunds
No payload fields required.
{}
read-ap-credit-note-lines
read
Read
Read AP credit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ap-credit-note-lines
{
"creditorCode": "400-S001",
"limit": 50
}
read-ap-debit-note-lines
read
Read
Read AP debit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ap-debit-note-lines
{
"creditorCode": "400-S001",
"limit": 50
}
read-ap-detail-lines
read
Read
Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.
Full payload schema: /v1/schema/commands/read-ap-detail-lines
{
"creditorCode": "400-S001",
"limit": 50
}
read-ap-invoice-lines
read
Read
Read AP invoice detail/account lines only.
Full payload schema: /v1/schema/commands/read-ap-invoice-lines
{
"accountNo": "610-0000",
"limit": 50
}
read-ap-outstanding
read
Read
Legacy AP outstanding lookup. Prefer read-ap-outstanding-documents for docKey-based knock-off.
Full payload schema: /v1/schema/commands/read-ap-outstanding
{
"creditorCode": "400-S001",
"maxRows": 0
}
read-ap-outstanding-documents
read
Read
List outstanding AP invoice documents with docKey for allocation and knock-off.
Full payload schema: /v1/schema/commands/read-ap-outstanding-documents
{
"creditorCode": "400-S001",
"maxRows": 0
}
Notes: Returns SDK-safe docType PB plus displayDocType PI. Use the returned docType for AP payment and AP credit-note invoice knock-off.
read-ap-payment-lines
read
Read
Read AP payment detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ap-payment-lines
{
"creditorCode": "400-S001",
"limit": 50
}
read-ap-refund-lines
read
Read
Read AP refund detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ap-refund-lines
{
"creditorCode": "400-S001",
"limit": 50
}
read-creditors
read
Read
List creditors/suppliers.
Full payload schema: /v1/schema/commands/read-creditors
No payload fields required.
{}
update-ap-credit-note
write
Edit
Update AP credit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-credit-note
{
"docNo": "AP-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"lines": [
{
"accNo": "500-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines, including RM0.00 detail lines. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
update-ap-debit-note
write
Edit
Update AP debit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-debit-note
{
"docNo": "AP-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"lines": [
{
"accNo": "500-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines, including RM0.00 detail lines. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
update-ap-invoice
write
Edit
Update AP invoice header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-invoice
{
"docNo": "AP-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"lines": [
{
"accNo": "500-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
],
"newDocNo": "API-000001-UPDATED",
"supplierInvoiceNo": "SUP-INV-UPDATED-001"
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines, including RM0.00 detail lines. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods. For AP invoice number changes: use docNo to find the existing AP invoice, newDocNo to change AutoCount DocNo, and supplierInvoiceNo/invoiceNo to change the supplier invoice number.
update-ap-payment
write
Edit
Update AP payment header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-payment
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424496",
"docNo": "PI-000001",
"amount": 100
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
update-ap-refund
write
Edit
Update AP refund header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-refund
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424496",
"docNo": "PI-000001",
"amount": 100
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
validate-ap-credit-note
read
Validate
Validate an AP credit note without saving. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ap-credit-note
{
"creditorCode": "400-S001",
"supplierCreditNoteNo": "SCN-001",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Real positive knock-off validation is proven for outstanding AP documents. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
validate-ap-debit-note
read
Validate
Validate an AP debit note without saving.
Full payload schema: /v1/schema/commands/validate-ap-debit-note
{
"creditorCode": "400-S001",
"supplierDebitNoteNo": "SDN-001",
"amount": 100,
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
validate-ap-deposit
read
Validate
Validate an AP deposit without saving.
Full payload schema: /v1/schema/commands/validate-ap-deposit
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AP deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Notes: AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
validate-ap-invoice
read
Validate
Validate an AP invoice without saving.
Full payload schema: /v1/schema/commands/validate-ap-invoice
{
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-INV-1001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"ref": "API-REF-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"description": "AP document created through API",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Use validate before create when AI imports many supplier bills. Posting account order is: lines[].accountNo/top-level accountNo, AutoCount default purchase account, then recent AP invoice detail account for the same creditor. If no account is found, connector returns a clear validation error before AutoCount save. Send top-level project/projNo to apply one project to every line, or send line-level project/projNo for different projects per line. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
validate-ap-payment
read
Validate
Validate an AP payment without saving. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ap-payment
{
"creditorCode": "400-S001",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Real positive knock-off validation is proven for outstanding AP documents. The connector also accepts old PI aliases and normalizes them to PB. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
validate-ap-refund
read
Validate
Validate an AP refund without saving. Refund knocks off AP credit notes, not supplier invoices. Use docType PC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/validate-ap-refund
{
"creditorCode": "400-S001",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Real AP refund knock-off save is proven against AP credit notes. CN/CreditNote aliases are normalized to PC. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
void-ap-credit-note
write
Void
Guarded AP credit note void request.
Full payload schema: /v1/schema/commands/void-ap-credit-note
{
"docNo": "PCN-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ap-debit-note
write
Void
Guarded AP debit note void request.
Full payload schema: /v1/schema/commands/void-ap-debit-note
{
"docNo": "PDN-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ap-invoice
write
Void
Guarded AP invoice void request.
Full payload schema: /v1/schema/commands/void-ap-invoice
{
"docNo": "API-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ap-payment
write
Void
Guarded AP payment void request.
Full payload schema: /v1/schema/commands/void-ap-payment
{
"docNo": "PV-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ap-refund
write
Void
Guarded AP refund void request.
Full payload schema: /v1/schema/commands/void-ap-refund
{
"docNo": "PV-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
create-ar-credit-note
write
Create
Create an AR credit note. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ar-credit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"lineDescription": "Credit adjustment",
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Real knock-off validation is proven; saving should still be tested per account book. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
create-ar-debit-note
write
Create
Create an AR debit note.
Full payload schema: /v1/schema/commands/create-ar-debit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"lineDescription": "Debit adjustment",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates AR debit note through AutoCount SDK. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
create-ar-deposit
write
Create
Create an AR deposit with a real payment detail and GL transaction.
Full payload schema: /v1/schema/commands/create-ar-deposit
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AR deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Notes: Requires write access permission. Real save is tested against AutoCount ARDepositCommand and verifies GLTrxID. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
create-ar-invoice
write
Create
Create an AR invoice.
Full payload schema: /v1/schema/commands/create-ar-invoice
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
create-ar-payment
write
Create
Create an AR payment/receipt. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ar-payment
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Real multi-invoice knock-off save is proven; IV aliases are normalized to RI. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
create-ar-refund
write
Create
Create an AR refund. Refund knocks off AR credit notes, not invoices. Use docType RC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/create-ar-refund
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Real AR refund knock-off save is proven against AR credit notes; CN aliases are normalized to RC. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
delete-ar-credit-note
write
Delete
Guarded AR credit note delete request.
Full payload schema: /v1/schema/commands/delete-ar-credit-note
{
"docNo": "CN-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ar-debit-note
write
Delete
Guarded AR debit note delete request.
Full payload schema: /v1/schema/commands/delete-ar-debit-note
{
"docNo": "DN-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ar-invoice
write
Delete
Guarded AR invoice delete request.
Full payload schema: /v1/schema/commands/delete-ar-invoice
{
"docNo": "ARI-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ar-payment
write
Delete
Guarded AR payment delete request.
Full payload schema: /v1/schema/commands/delete-ar-payment
{
"docNo": "OR-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
delete-ar-refund
write
Delete
Guarded AR refund delete request.
Full payload schema: /v1/schema/commands/delete-ar-refund
{
"docNo": "PV-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
get-ar-credit-note
read
Read
Get one AR credit note by document number.
Full payload schema: /v1/schema/commands/get-ar-credit-note
{
"docNo": "CN-000001"
}
get-ar-debit-note
read
Read
Get one AR debit note by document number.
Full payload schema: /v1/schema/commands/get-ar-debit-note
{
"docNo": "DN-000001"
}
get-ar-deposit
read
Read
Get one AR deposit by document number.
Full payload schema: /v1/schema/commands/get-ar-deposit
{
"docNo": "OR-000001"
}
get-ar-invoice
read
Read
Get one AR invoice by document number.
Full payload schema: /v1/schema/commands/get-ar-invoice
{
"docNo": "ARI-000001"
}
get-ar-payment
read
Read
Get one AR payment by document number.
Full payload schema: /v1/schema/commands/get-ar-payment
{
"docNo": "OR-000001"
}
get-ar-refund
read
Read
Get one AR refund by document number.
Full payload schema: /v1/schema/commands/get-ar-refund
{
"docNo": "PV-000001"
}
get-debtor-credit-control
read
Read
Read one debtor/customer credit-control settings through AutoCount debtor SDK.
Full payload schema: /v1/schema/commands/get-debtor-credit-control
{
"accNo": "300-A001"
}
Notes: Returns stable fields such as companyName, controlAccount, currencyCode, creditTerm and a creditControl field map containing credit/term/limit/control fields exposed by that AutoCount DLL.
get-debtor-detail
read
Read
Read one debtor/customer with all public SDK fields and child tables.
Full payload schema: /v1/schema/commands/get-debtor-detail
{
"accNo": "300-A001",
"maxTableRows": 0
}
Notes: Uses AutoCount.ARAP.Debtor.DebtorDataAccess.GetDebtor. Returns fields and child tables such as DebtorTable, BranchTable, ContactTable, TaxExemptionTable, and GLMastTable when available.
list-ar-credit-notes
read
Read
List AR credit notes.
Full payload schema: /v1/schema/commands/list-ar-credit-notes
No payload fields required.
{}
list-ar-debit-notes
read
Read
List AR debit notes.
Full payload schema: /v1/schema/commands/list-ar-debit-notes
No payload fields required.
{}
list-ar-deposits
read
Read
List AR deposits.
Full payload schema: /v1/schema/commands/list-ar-deposits
No payload fields required.
{}
list-ar-invoices
read
Read
List AR invoices.
Full payload schema: /v1/schema/commands/list-ar-invoices
No payload fields required.
{}
list-ar-payments
read
Read
List AR payments.
Full payload schema: /v1/schema/commands/list-ar-payments
No payload fields required.
{}
list-ar-refunds
read
Read
List AR refunds.
Full payload schema: /v1/schema/commands/list-ar-refunds
No payload fields required.
{}
read-ar-credit-note-lines
read
Read
Read AR credit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ar-credit-note-lines
{
"debtorCode": "300-A001",
"limit": 50
}
read-ar-debit-note-lines
read
Read
Read AR debit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ar-debit-note-lines
{
"debtorCode": "300-A001",
"limit": 50
}
read-ar-detail-lines
read
Read
Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.
Full payload schema: /v1/schema/commands/read-ar-detail-lines
{
"debtorCode": "300-A001",
"limit": 50
}
read-ar-invoice-lines
read
Read
Read AR invoice detail/account lines only.
Full payload schema: /v1/schema/commands/read-ar-invoice-lines
{
"accountNo": "500-0000",
"limit": 50
}
read-ar-outstanding
read
Read
Legacy AR outstanding lookup. Prefer read-ar-outstanding-documents for docKey-based knock-off.
Full payload schema: /v1/schema/commands/read-ar-outstanding
{
"debtorCode": "300-A001",
"maxRows": 0
}
read-ar-outstanding-documents
read
Read
List outstanding AR invoice documents with docKey for allocation and knock-off.
Full payload schema: /v1/schema/commands/read-ar-outstanding-documents
{
"debtorCode": "300-A001",
"maxRows": 0
}
Notes: Returns SDK-safe docType RI plus displayDocType IV. Use the returned docType for AR payment and AR credit-note invoice knock-off.
read-ar-payment-lines
read
Read
Read AR payment detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ar-payment-lines
{
"debtorCode": "300-A001",
"limit": 50
}
read-ar-refund-lines
read
Read
Read AR refund detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ar-refund-lines
{
"debtorCode": "300-A001",
"limit": 50
}
read-debtors
read
Read
List debtors/customers.
Full payload schema: /v1/schema/commands/read-debtors
No payload fields required.
{}
update-ar-credit-note
write
Edit
Update AR credit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-credit-note
{
"docNo": "AR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"lines": [
{
"accNo": "400-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
update-ar-debit-note
write
Edit
Update AR debit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-debit-note
{
"docNo": "AR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"lines": [
{
"accNo": "400-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
update-ar-invoice
write
Edit
Update AR invoice header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-invoice
{
"docNo": "AR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"lines": [
{
"accNo": "400-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
update-ar-payment
write
Edit
Update AR payment header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-payment
{
"docNo": "OR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424496",
"docNo": "IV-000001",
"amount": 100
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
update-ar-refund
write
Edit
Update AR refund header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-refund
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424496",
"docNo": "IV-000001",
"amount": 100
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
validate-ar-credit-note
read
Validate
Validate an AR credit note without saving. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ar-credit-note
{
"debtorCode": "300-A001",
"amount": 100,
"lineDescription": "Credit adjustment",
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Real positive knock-off validation is proven for outstanding AR documents. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
validate-ar-debit-note
read
Validate
Validate an AR debit note without saving.
Full payload schema: /v1/schema/commands/validate-ar-debit-note
{
"debtorCode": "300-A001",
"amount": 100,
"lineDescription": "Debit adjustment",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
validate-ar-deposit
read
Validate
Validate an AR deposit without saving.
Full payload schema: /v1/schema/commands/validate-ar-deposit
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AR deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Notes: AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
validate-ar-invoice
read
Validate
Validate an AR invoice without saving.
Full payload schema: /v1/schema/commands/validate-ar-invoice
{
"debtorCode": "300-A001",
"amount": 100,
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
validate-ar-payment
read
Validate
Validate an AR payment/receipt without saving. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ar-payment
{
"debtorCode": "300-A001",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Real positive knock-off validation is proven for outstanding AR documents. The connector also accepts old IV aliases and normalizes them to RI. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
validate-ar-refund
read
Validate
Validate an AR refund without saving. Refund knocks off AR credit notes, not invoices. Use docType RC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/validate-ar-refund
{
"debtorCode": "300-A001",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Real AR refund knock-off save is proven against AR credit notes. CN/CreditNote aliases are normalized to RC. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
void-ar-credit-note
write
Void
Guarded AR credit note void request.
Full payload schema: /v1/schema/commands/void-ar-credit-note
{
"docNo": "CN-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ar-debit-note
write
Void
Guarded AR debit note void request.
Full payload schema: /v1/schema/commands/void-ar-debit-note
{
"docNo": "DN-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ar-invoice
write
Void
Guarded AR invoice void request.
Full payload schema: /v1/schema/commands/void-ar-invoice
{
"docNo": "ARI-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ar-payment
write
Void
Guarded AR payment void request.
Full payload schema: /v1/schema/commands/void-ar-payment
{
"docNo": "OR-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
void-ar-refund
write
Void
Guarded AR refund void request.
Full payload schema: /v1/schema/commands/void-ar-refund
{
"docNo": "PV-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
create-arap-contra
write
Create
Create an AR/AP contra document. Invoice knock-off allocation is guarded until proven with AutoCount SDK.
Full payload schema: /v1/schema/commands/create-arap-contra
{
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
Notes: Requires write access permission. Use payment/credit-note commands for invoice allocation and refund commands for credit-note allocation until contra allocation is proven. Use read-ar-outstanding-documents and read-ap-outstanding-documents first to get docKey values for contra knock-off rows.
delete-arap-contra
write
Delete
Guarded AR/AP contra delete request.
Full payload schema: /v1/schema/commands/delete-arap-contra
{
"docNo": "CON-000001",
"reason": "remove/correct document"
}
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
get-arap-contra
read
Read
Get one AR/AP contra document by document number.
Full payload schema: /v1/schema/commands/get-arap-contra
{
"docNo": "CON-000001"
}
list-arap-contras
read
Read
List AR/AP contra documents.
Full payload schema: /v1/schema/commands/list-arap-contras
No payload fields required.
{}
update-arap-contra
write
Edit
Update AR/AP contra header/simple fields.
Full payload schema: /v1/schema/commands/update-arap-contra
{
"docNo": "CON-000001",
"reason": "correct contra",
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Use read-ar-outstanding-documents and read-ap-outstanding-documents first to get docKey values for contra knock-off rows.
validate-arap-contra
read
Validate
Validate an AR/AP contra document without saving. Invoice knock-off allocation is guarded until proven with AutoCount SDK.
Full payload schema: /v1/schema/commands/validate-arap-contra
{
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"amount": 100,
"docDate": "2026-06-24",
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
Notes: Plain contra validation is supported. Use payment/credit-note commands for invoice allocation and refund commands for credit-note allocation until contra allocation is proven. Use read-ar-outstanding-documents and read-ap-outstanding-documents first to get docKey values for contra knock-off rows.
void-arap-contra
write
Void
Guarded AR/AP contra void request.
Full payload schema: /v1/schema/commands/void-arap-contra
{
"docNo": "CON-000001",
"reason": "void/correct document"
}
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
create-gl-bank-reconciliation
write
Create
Create and save a bank reconciliation.
Full payload schema: /v1/schema/commands/create-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"actualBalance": 2900,
"selectedBankTransKeys": [
1,
2
],
"bankStatementNo": "BS-2026-06",
"description": "June bank reconciliation by API",
"clearedRows": [
{
"bankTransKey": 1,
"sourceType": "PV",
"sourceKey": "1001",
"dtlKey": "1",
"docNo": "PV-000001",
"lineNo": 1
},
{
"bankTransKey": 2,
"sourceType": "OR",
"sourceKey": "1002",
"dtlKey": "1",
"docNo": "OR-000001",
"lineNo": 1
}
],
"unselectedBankTransKeys": [],
"reason": "match bank statement"
}
Notes: Uses AutoCount BankReconCommand.AddNew + BankRecon.Save. The connector fails before saving if any selected row is not found. List uncleared rows first, then pass selectedBankTransKeys or clearedRows. The connector fails before saving if a selected row cannot be found.
delete-gl-bank-reconciliation
write
Delete
Delete a bank reconciliation.
Full payload schema: /v1/schema/commands/delete-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"confirmDelete": true
}
Notes: Uses AutoCount BankReconCommand.Delete. confirmDelete=true is required.
get-gl-bank-reconciliation
read
Read
Get one bank reconciliation with master/detail/reconciliation rows.
Full payload schema: /v1/schema/commands/get-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30"
}
Notes: Uses AutoCount.GL.BankRecon.BankReconCommand.View.
list-gl-bank-reconciliation-uncleared
read
Read
List uncleared transactions for a bank/cash account.
Full payload schema: /v1/schema/commands/list-gl-bank-reconciliation-uncleared
{
"accNo": "110-0010",
"startDate": "2026-01-01"
}
Notes: Uses AutoCount.GL.BankRecon.BankReconCommand.InquireUnclearedData.
list-gl-bank-reconciliations
read
Read
List bank reconciliation records.
Full payload schema: /v1/schema/commands/list-gl-bank-reconciliations
No payload fields required.
{}
Notes: Uses AutoCount.GL.BankRecon.BankReconCommand.InquireAllMaster.
update-gl-bank-reconciliation
write
Edit
Edit and re-save an existing bank reconciliation.
Full payload schema: /v1/schema/commands/update-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"actualBalance": 2900,
"selectedBankTransKeys": [
1,
2
],
"bankStatementNo": "BS-2026-06",
"description": "June bank reconciliation by API",
"clearedRows": [
{
"bankTransKey": 1,
"sourceType": "PV",
"sourceKey": "1001",
"dtlKey": "1",
"docNo": "PV-000001",
"lineNo": 1
},
{
"bankTransKey": 2,
"sourceType": "OR",
"sourceKey": "1002",
"dtlKey": "1",
"docNo": "OR-000001",
"lineNo": 1
}
],
"unselectedBankTransKeys": [],
"reason": "match bank statement"
}
Notes: Uses AutoCount BankReconCommand.Edit + BankRecon.Save. The selected row list replaces the saved tick selection. List uncleared rows first, then pass selectedBankTransKeys or clearedRows. The connector fails before saving if a selected row cannot be found.
validate-gl-bank-reconciliation
read
Validate
Create a bank reconciliation draft without saving. If selectedBankTransKeys or clearedRows are supplied, the returned draft shows which rows would be ticked.
Full payload schema: /v1/schema/commands/validate-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"actualBalance": 2900,
"selectedBankTransKeys": [
1,
2
],
"bankStatementNo": "BS-2026-06",
"description": "June bank reconciliation by API",
"clearedRows": [
{
"bankTransKey": 1,
"sourceType": "PV",
"sourceKey": "1001",
"dtlKey": "1",
"docNo": "PV-000001",
"lineNo": 1
},
{
"bankTransKey": 2,
"sourceType": "OR",
"sourceKey": "1002",
"dtlKey": "1",
"docNo": "OR-000001",
"lineNo": 1
}
],
"unselectedBankTransKeys": [],
"reason": "match bank statement"
}
Notes: Validation only; uses BankReconCommand.AddNew and does not call Save. List uncleared rows first, then pass selectedBankTransKeys or clearedRows. The connector fails before saving if a selected row cannot be found.
void-gl-bank-reconciliation
write
Void
Guarded bank reconciliation void request.
Full payload schema: /v1/schema/commands/void-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"reason": "reverse reconciliation"
}
Notes: Returns voidBlocked; no safe Bank Recon void path has been proven.
bulk-create
write
Bulk
Generic bulk create wrapper. Use when one request needs to create many documents or master records.
Full payload schema: /v1/schema/commands/bulk-create
{
"operation": "create-journal-entry",
"records": [
{
"externalId": "row-001",
"docDate": "2026-06-20",
"description": "Payroll JE 1",
"lines": [
{
"accNo": "610-0000",
"debit": 100
},
{
"accNo": "500-1000",
"credit": 100
}
]
}
]
}
Notes: The local connector processes records on the customer PC in one leased command. Each row gets its own idempotency/audit result.
bulk-create-advanced-quotations
write
Bulk
Bulk wrapper for create-advanced-quotation.
Full payload schema: /v1/schema/commands/bulk-create-advanced-quotations
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-advanced-quotation-batch-20260624"
}
Notes: Runs create-advanced-quotation for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-advanced-quotation. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ap-credit-notes
write
Bulk
Bulk wrapper for create-ap-credit-note.
Full payload schema: /v1/schema/commands/bulk-create-ap-credit-notes
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ap-credit-note-batch-20260624"
}
Notes: Runs create-ap-credit-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ap-credit-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ap-debit-notes
write
Bulk
Bulk wrapper for create-ap-debit-note.
Full payload schema: /v1/schema/commands/bulk-create-ap-debit-notes
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ap-debit-note-batch-20260624"
}
Notes: Runs create-ap-debit-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ap-debit-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ap-invoices
write
Bulk
Bulk wrapper for create-ap-invoice.
Full payload schema: /v1/schema/commands/bulk-create-ap-invoices
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ap-invoice-batch-20260624"
}
Notes: Runs create-ap-invoice for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ap-invoice. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ap-payments
write
Bulk
Bulk wrapper for create-ap-payment.
Full payload schema: /v1/schema/commands/bulk-create-ap-payments
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ap-payment-batch-20260624"
}
Notes: Runs create-ap-payment for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ap-payment. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ap-refunds
write
Bulk
Bulk wrapper for create-ap-refund.
Full payload schema: /v1/schema/commands/bulk-create-ap-refunds
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ap-refund-batch-20260624"
}
Notes: Runs create-ap-refund for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ap-refund. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ar-credit-notes
write
Bulk
Bulk wrapper for create-ar-credit-note.
Full payload schema: /v1/schema/commands/bulk-create-ar-credit-notes
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ar-credit-note-batch-20260624"
}
Notes: Runs create-ar-credit-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ar-credit-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ar-debit-notes
write
Bulk
Bulk wrapper for create-ar-debit-note.
Full payload schema: /v1/schema/commands/bulk-create-ar-debit-notes
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ar-debit-note-batch-20260624"
}
Notes: Runs create-ar-debit-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ar-debit-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ar-invoices
write
Bulk
Bulk wrapper for create-ar-invoice.
Full payload schema: /v1/schema/commands/bulk-create-ar-invoices
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ar-invoice-batch-20260624"
}
Notes: Runs create-ar-invoice for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ar-invoice. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ar-payments
write
Bulk
Bulk wrapper for create-ar-payment.
Full payload schema: /v1/schema/commands/bulk-create-ar-payments
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ar-payment-batch-20260624"
}
Notes: Runs create-ar-payment for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ar-payment. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-ar-refunds
write
Bulk
Bulk wrapper for create-ar-refund.
Full payload schema: /v1/schema/commands/bulk-create-ar-refunds
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-ar-refund-batch-20260624"
}
Notes: Runs create-ar-refund for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-ar-refund. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-arap-contras
write
Bulk
Bulk wrapper for create-arap-contra.
Full payload schema: /v1/schema/commands/bulk-create-arap-contras
{
"records": [
{
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"amount": 100,
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-arap-contra-batch-20260624"
}
Notes: Runs create-arap-contra for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-arap-contra. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-cash-purchases
write
Bulk
Bulk wrapper for create-cash-purchase.
Full payload schema: /v1/schema/commands/bulk-create-cash-purchases
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-cash-purchase-batch-20260624"
}
Notes: Runs create-cash-purchase for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-cash-purchase. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-cash-sales
write
Bulk
Bulk wrapper for create-cash-sale.
Full payload schema: /v1/schema/commands/bulk-create-cash-sales
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-cash-sale-batch-20260624"
}
Notes: Runs create-cash-sale for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-cash-sale. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-creditors
write
Bulk
Bulk wrapper for create-creditor.
Full payload schema: /v1/schema/commands/bulk-create-creditors
{
"records": [
{
"accNo": "400-API",
"companyName": "API Supplier Sdn Bhd",
"desc2": "API Supplier Trading Name",
"creditorType": "SUP",
"area": "PJ",
"purchaseAgent": "PA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"currencyCode": "MYR",
"taxCode": "SST",
"taxEntityID": 1,
"controlAccount": "400-0000",
"creditLimit": 30000,
"overdueLimit": 30,
"isActive": true,
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"postCode": "46000",
"attention": "Supplier Accounts",
"contactPerson": "Tan Supplier",
"phone1": "03-33333333",
"phone2": "019-8888888",
"fax1": "03-33333334",
"emailAddress": "supplier@example.com",
"website": "https://supplier.example.com",
"registrationNo": "202602000002",
"taxRegisterNo": "SST-400-API",
"businessNature": "Supplier",
"remark1": "Created by API",
"remark2": "Supplier credit control example",
"deliveryAddress1": "Supplier Warehouse",
"deliveryAddress2": "Logistics Park",
"deliveryPostCode": "46000",
"deliveryContact": "Supplier Store",
"contacts": [
{
"name": "Tan Supplier",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "019-1111111",
"directPhone": "03-33333335",
"emailAddress": "supplier-accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"postCode": "46000",
"contact": "Tan Supplier",
"phone1": "03-33333333",
"emailAddress": "supplier-hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-creditor-batch-20260624"
}
Notes: Runs create-creditor for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-creditor. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-debtors
write
Bulk
Bulk wrapper for create-debtor.
Full payload schema: /v1/schema/commands/bulk-create-debtors
{
"records": [
{
"accNo": "300-API",
"companyName": "API Customer Sdn Bhd",
"desc2": "API Customer Trading Name",
"debtorType": "CUS",
"area": "KL",
"salesAgent": "SA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"currencyCode": "MYR",
"taxCode": "SST",
"taxEntityID": 1,
"controlAccount": "300-0000",
"priceCategory": "API",
"creditLimit": 50000,
"overdueLimit": 30,
"statementType": "Open Item",
"isActive": true,
"allowExceedCreditLimit": false,
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"attention": "Accounts Department",
"contactPerson": "Lim Accounts",
"phone1": "03-11111111",
"phone2": "012-3456789",
"fax1": "03-11111112",
"emailAddress": "customer@example.com",
"website": "https://customer.example.com",
"registrationNo": "202601000001",
"taxRegisterNo": "SST-300-API",
"businessNature": "Trading",
"remark1": "Created by API",
"remark2": "Credit control example",
"deliveryAddress1": "Warehouse 1",
"deliveryAddress2": "Industrial Park",
"deliveryAddress3": "Shah Alam",
"deliveryAddress4": "Malaysia",
"deliveryPostCode": "40100",
"deliveryContact": "Store Receiver",
"contacts": [
{
"name": "Lim Accounts",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "012-1111111",
"directPhone": "03-11111113",
"emailAddress": "accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"postCode": "50000",
"contact": "Lim Accounts",
"phone1": "03-11111111",
"emailAddress": "hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-debtor-batch-20260624"
}
Notes: Runs create-debtor for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-debtor. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-delivery-orders
write
Bulk
Bulk wrapper for create-delivery-order.
Full payload schema: /v1/schema/commands/bulk-create-delivery-orders
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-delivery-order-batch-20260624"
}
Notes: Runs create-delivery-order for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-delivery-order. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-fixed-asset-gl-accounts
write
Bulk
Bulk wrapper for create-fixed-asset-gl-accounts.
Full payload schema: /v1/schema/commands/bulk-create-fixed-asset-gl-accounts
{
"records": [
{
"fixedAsset": {
"accNo": "150-1000",
"description": "Motor Vehicle",
"accType": "use an Asset code from list-general-account-types",
"parentAccNo": "<<FIXED ASSETS>>",
"currencyCode": "MYR",
"cashFlowCategory": "InvestingActivities",
"specialAccType": "SFA"
},
"accumulatedDepreciation": {
"accNo": "159-1000",
"description": "Accumulated Depreciation - Motor Vehicle",
"accType": "use an Asset code from list-general-account-types",
"parentAccNo": "<<FIXED ASSETS>>",
"currencyCode": "MYR",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "SAD"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-fixed-asset-gl-accounts-batch-20260624"
}
Notes: Runs create-fixed-asset-gl-accounts for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-fixed-asset-gl-accounts. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-addresses
write
Bulk
Bulk wrapper for create-general-address.
Full payload schema: /v1/schema/commands/bulk-create-general-addresses
{
"records": [
{
"code": "HQ",
"addressName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"city": "Kuala Lumpur",
"state": "Wilayah Persekutuan",
"country": "Malaysia",
"contact": "Admin",
"phone": "03-00000000",
"fax": "03-00000001",
"emailAddress": "admin@example.com",
"isActive": true,
"remark1": "Created by API",
"remark2": "Address setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-address-batch-20260624"
}
Notes: Runs create-general-address for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-address. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-areas
write
Bulk
Bulk wrapper for create-general-area.
Full payload schema: /v1/schema/commands/bulk-create-general-areas
{
"records": [
{
"code": "KL",
"areaCode": "KL",
"description": "Kuala Lumpur",
"desc2": "Central region"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-area-batch-20260624"
}
Notes: Runs create-general-area for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-area. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-cn-types
write
Bulk
Bulk wrapper for create-general-cn-type.
Full payload schema: /v1/schema/commands/bulk-create-general-cn-types
{
"records": [
{
"code": "CNAPI",
"cnType": "CNAPI",
"description": "API C/N Type",
"desc2": "C/N Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "C/N Type setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-cn-type-batch-20260624"
}
Notes: Runs create-general-cn-type for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-cn-type. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-creditor-types
write
Bulk
Bulk wrapper for create-general-creditor-type.
Full payload schema: /v1/schema/commands/bulk-create-general-creditor-types
{
"records": [
{
"code": "SUP",
"creditorType": "SUP",
"description": "API Creditor Type",
"desc2": "Creditor Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Creditor Type setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-creditor-type-batch-20260624"
}
Notes: Runs create-general-creditor-type for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-creditor-type. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-currencies
write
Bulk
Bulk wrapper for create-general-currency.
Full payload schema: /v1/schema/commands/bulk-create-general-currencies
{
"records": [
{
"code": "USD",
"currencyCode": "USD",
"currencySymbol": "$",
"currencyWord": "US Dollar",
"currencyWord2": "US Dollars",
"bankBuyRate": 4.7,
"bankSellRate": 4.75,
"fcGainAccount": "720-0000",
"fcLossAccount": "820-0000",
"gainLossJournalType": "GL"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-currency-batch-20260624"
}
Notes: Runs create-general-currency for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-currency. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-debtor-types
write
Bulk
Bulk wrapper for create-general-debtor-type.
Full payload schema: /v1/schema/commands/bulk-create-general-debtor-types
{
"records": [
{
"code": "CUS",
"debtorType": "CUS",
"description": "API Debtor Type",
"desc2": "Debtor Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Debtor Type setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-debtor-type-batch-20260624"
}
Notes: Runs create-general-debtor-type for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-debtor-type. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-dn-types
write
Bulk
Bulk wrapper for create-general-dn-type.
Full payload schema: /v1/schema/commands/bulk-create-general-dn-types
{
"records": [
{
"code": "DNAPI",
"dnType": "DNAPI",
"description": "API D/N Type",
"desc2": "D/N Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "D/N Type setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-dn-type-batch-20260624"
}
Notes: Runs create-general-dn-type for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-dn-type. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-payment-methods
write
Bulk
Bulk wrapper for create-general-payment-method.
Full payload schema: /v1/schema/commands/bulk-create-general-payment-methods
{
"records": [
{
"code": "BANKAPI",
"paymentMethod": "BANKAPI",
"paymentType": "Bank",
"paymentBy": "Bank Transfer",
"journalType": "BANK",
"bankAccount": "110-0010",
"bankChargeAccount": "810-0000",
"bankChargePercent": 2.5,
"minBankCharge": 0,
"odLimit": 0,
"nextChequeNo": "CHQ-000101",
"acceptChequeNo": true,
"mergeBankChargeTrans": false,
"isActive": true
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-payment-method-batch-20260624"
}
Notes: Runs create-general-payment-method for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-payment-method. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-price-categories
write
Bulk
Bulk wrapper for create-general-price-category.
Full payload schema: /v1/schema/commands/bulk-create-general-price-categories
{
"records": [
{
"code": "API",
"priceCategory": "API",
"description": "API Price Category",
"discountPercent": 5,
"detailDiscount": "5%",
"markupRatio": 1.2,
"roundingMethod": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "Price category setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-price-category-batch-20260624"
}
Notes: Runs create-general-price-category for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-price-category. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-projects
write
Bulk
Bulk wrapper for create-general-project.
Full payload schema: /v1/schema/commands/bulk-create-general-projects
{
"records": [
{
"code": "PRJAPI",
"projectNo": "PRJAPI",
"projNo": "PRJAPI",
"parentProjNo": "",
"description": "API Project",
"desc2": "Project second description",
"isActive": true
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-project-batch-20260624"
}
Notes: Runs create-general-project for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-project. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-purchase-agents
write
Bulk
Bulk wrapper for create-general-purchase-agent.
Full payload schema: /v1/schema/commands/bulk-create-general-purchase-agents
{
"records": [
{
"code": "PAAPI",
"purchaseAgent": "PAAPI",
"description": "API Purchase Agent",
"desc2": "Purchase Agent second description",
"isActive": true,
"signature": "Approved by Purchasing"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-purchase-agent-batch-20260624"
}
Notes: Runs create-general-purchase-agent for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-purchase-agent. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-sales-agents
write
Bulk
Bulk wrapper for create-general-sales-agent.
Full payload schema: /v1/schema/commands/bulk-create-general-sales-agents
{
"records": [
{
"code": "SAAPI",
"salesAgent": "SAAPI",
"description": "API Sales Agent",
"desc2": "Sales Agent second description",
"emailAddress": "sales@example.com",
"approverEmailAddress": "approver@example.com"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-sales-agent-batch-20260624"
}
Notes: Runs create-general-sales-agent for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-sales-agent. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-general-shipping-methods
write
Bulk
Bulk wrapper for create-general-shipping-method.
Full payload schema: /v1/schema/commands/bulk-create-general-shipping-methods
{
"records": [
{
"code": "LALAMOVE",
"shippingMethod": "LALAMOVE",
"description": "API Shipping Method",
"desc2": "Shipping Method second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Shipping Method setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-general-shipping-method-batch-20260624"
}
Notes: Runs create-general-shipping-method for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-general-shipping-method. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-gl-accounts
write
Bulk
Bulk wrapper for create-gl-account.
Full payload schema: /v1/schema/commands/bulk-create-gl-accounts
{
"records": [
{
"accNo": "690-9000",
"description": "API Expense Account",
"desc2": "API expense second description",
"accType": "EP",
"parentAccNo": "610-0000",
"currencyCode": "MYR",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "GL account setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-gl-account-batch-20260624"
}
Notes: Runs create-gl-account for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-gl-account. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-gl-cash-book-payments
write
Bulk
Bulk wrapper for create-gl-cash-book-payment.
Full payload schema: /v1/schema/commands/bulk-create-gl-cash-book-payments
{
"records": [
{
"docDate": "2026-06-24",
"payTo": "API Supplier",
"taxEntityID": 1,
"description": "API payment voucher",
"chequeNo": "PV-API-1001",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-gl-cash-book-payment-batch-20260624"
}
Notes: Runs create-gl-cash-book-payment for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-gl-cash-book-payment. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-gl-cash-book-receipts
write
Bulk
Bulk wrapper for create-gl-cash-book-receipt.
Full payload schema: /v1/schema/commands/bulk-create-gl-cash-book-receipts
{
"records": [
{
"docDate": "2026-06-24",
"taxEntityID": 1,
"description": "API official receipt",
"chequeNo": "PV-API-1001",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
},
"receiveFrom": "API Customer"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-gl-cash-book-receipt-batch-20260624"
}
Notes: Runs create-gl-cash-book-receipt for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-gl-cash-book-receipt. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-goods-received-notes
write
Bulk
Bulk wrapper for create-goods-received-note.
Full payload schema: /v1/schema/commands/bulk-create-goods-received-notes
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-goods-received-note-batch-20260624"
}
Notes: Runs create-goods-received-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-goods-received-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-item-boms
write
Bulk
Bulk wrapper for create-item-bom.
Full payload schema: /v1/schema/commands/bulk-create-item-boms
{
"records": [
{
"itemCode": "FINISHED-API",
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-item-bom-batch-20260624"
}
Notes: Runs create-item-bom for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-item-bom. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-item-packages
write
Bulk
Bulk wrapper for create-item-package.
Full payload schema: /v1/schema/commands/bulk-create-item-packages
{
"records": [
{
"packageCode": "PKG-API",
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-item-package-batch-20260624"
}
Notes: Runs create-item-package for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-item-package. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-items
write
Bulk
Bulk wrapper for create-item.
Full payload schema: /v1/schema/commands/bulk-create-items
{
"records": [
{
"itemCode": "API-ITEM",
"description": "API Test Item",
"desc2": "API Item Second Description",
"furtherDescription": "Long item note visible in AutoCount item detail.",
"templateItemCode": "00004",
"itemGroup": "FG",
"itemType": "Stock",
"itemBrand": "MACSOFT",
"itemCategory": "API",
"itemClass": "A",
"tariffCode": "8471.30",
"barCode": "9550000000011",
"baseUom": "UNIT",
"salesUom": "UNIT",
"purchaseUom": "UNIT",
"reportUom": "UNIT",
"taxCode": "S-0",
"purchaseTaxCode": "P-0",
"defaultLocation": "HQ",
"costingMethod": "Weighted Average",
"standardCost": 80,
"minimumSellingPrice": 90,
"sellingPrice": 100,
"purchasePrice": 80,
"reorderLevel": 10,
"normalLevel": 50,
"minimumLevel": 5,
"maximumLevel": 200,
"isSalesItem": true,
"isPurchaseItem": true,
"stockControl": true,
"hasBatchNo": false,
"hasSerialNo": false,
"snFormatName": "",
"isActive": true,
"uoms": [
{
"uom": "UNIT",
"rate": 1,
"price": 100,
"cost": 80,
"barCode": "9550000000011",
"minSalePrice": 90,
"maxSalePrice": 9999
},
{
"uom": "BOX",
"rate": 12,
"price": 1200,
"cost": 960,
"barCode": "9550000000012"
}
],
"subCodes": [
{
"subCode": "ALT-API-ITEM",
"uom": "UNIT"
}
],
"priceBooks": [
{
"ref": "PB-API-ITEM",
"priceCategory": "RETAIL",
"uom": "UNIT",
"fixedPrice": 100,
"qty1": 1,
"price1": 100
}
],
"customerPrices": [
{
"ref": "CP-API-ITEM",
"debtorCode": "300-A001",
"currencyCode": "MYR",
"uom": "UNIT",
"customerItemCode": "CUST-API-ITEM",
"fixedPrice": 95,
"qty1": 1,
"price1": 95
}
],
"supplierPrices": [
{
"ref": "SP-API-ITEM",
"creditorCode": "400-S001",
"currencyCode": "MYR",
"uom": "UNIT",
"supplierItemCode": "SUP-API-ITEM",
"fixedPrice": 80,
"qty1": 1,
"price1": 80
}
],
"openingBalances": [
{
"location": "HQ",
"qty": 10,
"uom": "UNIT",
"unitCost": 80,
"batchNo": "BATCH-001",
"docDate": "2026-07-26"
}
],
"bomRows": [
{
"subItemCode": "API-COMPONENT",
"qty": 2,
"overheadCost": 0,
"seq": 1,
"costFraction": 1
}
],
"replacements": [
{
"replacementItemCode": "API-REPLACEMENT",
"replacementDegree": 1,
"note": "Alternative item"
}
],
"batchNo": "BATCH-001",
"batchDescription": "Opening API batch",
"remark1": "Created by API",
"remark2": "Stock item full payload example"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-item-batch-20260624"
}
Notes: Runs create-item for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-item. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-journal-entries
write
Bulk
Bulk wrapper for create-journal-entry.
Full payload schema: /v1/schema/commands/bulk-create-journal-entries
{
"records": [
{
"docDate": "2026-06-24",
"journalType": "JV",
"description": "API journal entry",
"refNo": "API-JV-1001",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Debit expense",
"debit": 100,
"credit": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accNo": "500-1000",
"accountNo": "500-1000",
"description": "Credit control",
"debit": 0,
"credit": 100,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-journal-entry-batch-20260624"
}
Notes: Runs create-journal-entry for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-journal-entry. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-purchase-invoices
write
Bulk
Bulk wrapper for create-purchase-invoice.
Full payload schema: /v1/schema/commands/bulk-create-purchase-invoices
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-purchase-invoice-batch-20260624"
}
Notes: Runs create-purchase-invoice for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-purchase-invoice. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-purchase-orders
write
Bulk
Bulk wrapper for create-purchase-order.
Full payload schema: /v1/schema/commands/bulk-create-purchase-orders
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-purchase-order-batch-20260624"
}
Notes: Runs create-purchase-order for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-purchase-order. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-purchase-returns
write
Bulk
Bulk wrapper for create-purchase-return.
Full payload schema: /v1/schema/commands/bulk-create-purchase-returns
{
"records": [
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-purchase-return-batch-20260624"
}
Notes: Runs create-purchase-return for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-purchase-return. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-quotations
write
Bulk
Bulk wrapper for create-quotation.
Full payload schema: /v1/schema/commands/bulk-create-quotations
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-quotation-batch-20260624"
}
Notes: Runs create-quotation for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-quotation. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-sales-credit-notes
write
Bulk
Bulk wrapper for create-sales-credit-note.
Full payload schema: /v1/schema/commands/bulk-create-sales-credit-notes
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-sales-credit-note-batch-20260624"
}
Notes: Runs create-sales-credit-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-sales-credit-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-sales-debit-notes
write
Bulk
Bulk wrapper for create-sales-debit-note.
Full payload schema: /v1/schema/commands/bulk-create-sales-debit-notes
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-sales-debit-note-batch-20260624"
}
Notes: Runs create-sales-debit-note for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-sales-debit-note. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-sales-invoices
write
Bulk
Bulk wrapper for create-sales-invoice.
Full payload schema: /v1/schema/commands/bulk-create-sales-invoices
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-sales-invoice-batch-20260624"
}
Notes: Runs create-sales-invoice for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-sales-invoice. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-sales-orders
write
Bulk
Bulk wrapper for create-sales-order.
Full payload schema: /v1/schema/commands/bulk-create-sales-orders
{
"records": [
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-sales-order-batch-20260624"
}
Notes: Runs create-sales-order for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-sales-order. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-adjustments
write
Bulk
Bulk wrapper for create-stock-adjustment.
Full payload schema: /v1/schema/commands/bulk-create-stock-adjustments
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-adjustment-batch-20260624"
}
Notes: Runs create-stock-adjustment for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-adjustment. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-assemblies
write
Bulk
Bulk wrapper for create-stock-assembly.
Full payload schema: /v1/schema/commands/bulk-create-stock-assemblies
{
"records": [
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock assembly created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-assembly-batch-20260624"
}
Notes: Runs create-stock-assembly for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-assembly. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-assembly-orders
write
Bulk
Bulk wrapper for create-stock-assembly-order.
Full payload schema: /v1/schema/commands/bulk-create-stock-assembly-orders
{
"records": [
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock assembly order created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-assembly-order-batch-20260624"
}
Notes: Runs create-stock-assembly-order for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-assembly-order. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-disassemblies
write
Bulk
Bulk wrapper for create-stock-disassembly.
Full payload schema: /v1/schema/commands/bulk-create-stock-disassemblies
{
"records": [
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock disassembly created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-disassembly-batch-20260624"
}
Notes: Runs create-stock-disassembly for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-disassembly. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-issues
write
Bulk
Bulk wrapper for create-stock-issue.
Full payload schema: /v1/schema/commands/bulk-create-stock-issues
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-issue-batch-20260624"
}
Notes: Runs create-stock-issue for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-issue. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-receives
write
Bulk
Bulk wrapper for create-stock-receive.
Full payload schema: /v1/schema/commands/bulk-create-stock-receives
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-receive-batch-20260624"
}
Notes: Runs create-stock-receive for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-receive. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-takes
write
Bulk
Bulk wrapper for create-stock-take.
Full payload schema: /v1/schema/commands/bulk-create-stock-takes
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-take-batch-20260624"
}
Notes: Runs create-stock-take for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-take. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-transfers
write
Bulk
Bulk wrapper for create-stock-transfer.
Full payload schema: /v1/schema/commands/bulk-create-stock-transfers
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-transfer-batch-20260624"
}
Notes: Runs create-stock-transfer for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-transfer. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-uom-conversions
write
Bulk
Bulk wrapper for create-stock-uom-conversion.
Full payload schema: /v1/schema/commands/bulk-create-stock-uom-conversions
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-uom-conversion-batch-20260624"
}
Notes: Runs create-stock-uom-conversion for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-uom-conversion. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-update-costs
write
Bulk
Bulk wrapper for create-stock-update-cost.
Full payload schema: /v1/schema/commands/bulk-create-stock-update-costs
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-update-cost-batch-20260624"
}
Notes: Runs create-stock-update-cost for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-update-cost. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
bulk-create-stock-write-offs
write
Bulk
Bulk wrapper for create-stock-write-off.
Full payload schema: /v1/schema/commands/bulk-create-stock-write-offs
{
"records": [
{
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
],
"stopOnError": true,
"dryRun": false,
"idempotencyKey": "create-stock-write-off-batch-20260624"
}
Notes: Runs create-stock-write-off for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-write-off. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.
einvoice.cancel
write
Void
Guarded e-Invoice cancel request.
Full payload schema: /v1/schema/commands/einvoice.cancel
{
"docType": "IV",
"docNo": "IV-000001",
"reason": "einvoice.cancel by API",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Cancellation affects tax/MyInvois compliance and is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.consolidated.create-draft
write
Create
Guarded consolidated e-Invoice draft generation.
Full payload schema: /v1/schema/commands/einvoice.consolidated.create-draft
{
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.consolidated.create-draft by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Draft generation is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.consolidated.list
read
e-Invoice
List consolidated e-Invoice inquiry rows from AutoCount handlers.
Full payload schema: /v1/schema/commands/einvoice.consolidated.list
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false,
"maxRows": 0
}
Notes: Full human payload reference for einvoice.consolidated.list. Unsupported filters are ignored safely by read-only connector handlers.
einvoice.reject-request.sync
write
e-Invoice
Guarded sync for MyInvois reject requests.
Full payload schema: /v1/schema/commands/einvoice.reject-request.sync
{
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.reject-request.sync by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: External sync is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.self-billed.create-draft
write
Create
Guarded self-billed e-Invoice draft generation.
Full payload schema: /v1/schema/commands/einvoice.self-billed.create-draft
{
"sourceDocType": "PI",
"sourceDocNo": "PI-000001",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.self-billed.create-draft by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Draft generation is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.self-billed.list
read
e-Invoice
List local self-billed e-Invoice records when the account book has the table.
Full payload schema: /v1/schema/commands/einvoice.self-billed.list
{
"maxRows": 0,
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false
}
Notes: Full human payload reference for einvoice.self-billed.list. Unsupported filters are ignored safely by read-only connector handlers.
einvoice.setting.get
read
e-Invoice
Read local AutoCount e-Invoice settings summary.
Full payload schema: /v1/schema/commands/einvoice.setting.get
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false,
"maxRows": 0
}
Notes: Full human payload reference for einvoice.setting.get. Unsupported filters are ignored safely by read-only connector handlers.
einvoice.status.list
read
e-Invoice
List local AutoCount e-Invoice submission status.
Full payload schema: /v1/schema/commands/einvoice.status.list
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false,
"maxRows": 0
}
Notes: Full human payload reference for einvoice.status.list. Unsupported filters are ignored safely by read-only connector handlers.
einvoice.status.refresh
write
e-Invoice
Guarded MyInvois/AIP status refresh request.
Full payload schema: /v1/schema/commands/einvoice.status.refresh
{
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.status.refresh by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Returns eInvoiceActionBlocked until compliance workflow proof is completed. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.submit
write
e-Invoice
Guarded e-Invoice submit request.
Full payload schema: /v1/schema/commands/einvoice.submit
{
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.submit by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Submission affects tax/MyInvois compliance and is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.supplier-import.apply
write
e-Invoice
Guarded supplier e-Invoice import into AutoCount.
Full payload schema: /v1/schema/commands/einvoice.supplier-import.apply
{
"documentId": "AIP-document-id",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.supplier-import.apply by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Import can create accounting records and is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.supplier-import.preview
write
e-Invoice
Guarded supplier e-Invoice import preview.
Full payload schema: /v1/schema/commands/einvoice.supplier-import.preview
{
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.supplier-import.preview by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Supplier portal import is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.supplier-item-mapping.create
write
Create
Guarded supplier item mapping create request.
Full payload schema: /v1/schema/commands/einvoice.supplier-item-mapping.create
{
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"mappingKey": "1",
"reason": "einvoice.supplier-item-mapping.create by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Write is blocked until the exact AutoCount mapping SDK/table write path is proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
einvoice.supplier-item-mapping.list
read
e-Invoice
List local supplier item mapping records when the account book has the table.
Full payload schema: /v1/schema/commands/einvoice.supplier-item-mapping.list
{
"maxRows": 0,
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false
}
Notes: Full human payload reference for einvoice.supplier-item-mapping.list. Unsupported filters are ignored safely by read-only connector handlers.
einvoice.supplier-item-mapping.update
write
e-Invoice
Guarded supplier item mapping update request.
Full payload schema: /v1/schema/commands/einvoice.supplier-item-mapping.update
{
"mappingKey": "1",
"itemCode": "ITEM001",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"reason": "einvoice.supplier-item-mapping.update by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Notes: Write is blocked until the exact AutoCount mapping SDK/table write path is proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
create-general-account-type
write
Create
Guarded create request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/create-general-account-type
{
"code": "EP",
"accType": "EP",
"description": "API Account Type",
"desc2": "Account Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Account Type setup example"
}
Notes: Returns createBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Full human payload reference for Account Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
create-general-address
write
Create
Create an address maintenance record.
Full payload schema: /v1/schema/commands/create-general-address
{
"code": "HQ",
"address1": "No. 1 Jalan API",
"phone": "03-00000000",
"addressName": "Head Office",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"city": "Kuala Lumpur",
"state": "Wilayah Persekutuan",
"country": "Malaysia",
"contact": "Admin",
"fax": "03-00000001",
"emailAddress": "admin@example.com",
"isActive": true,
"remark1": "Created by API",
"remark2": "Address setup example"
}
Notes: Requires write access permission. Full human payload reference for Address Maintenance. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
create-general-area
write
Create
Create an area.
Full payload schema: /v1/schema/commands/create-general-area
{
"code": "KL",
"description": "Kuala Lumpur",
"areaCode": "KL",
"desc2": "Central region"
}
Notes: Requires write access permission. Full human payload reference for Area Maintenance.
create-general-cn-type
write
Create
Create a C/N type.
Full payload schema: /v1/schema/commands/create-general-cn-type
{
"code": "CNAPI",
"description": "API C/N Type",
"cnType": "CNAPI",
"desc2": "C/N Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "C/N Type setup example"
}
Notes: Requires write access permission. Full human payload reference for C/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
create-general-credit-term
write
Create
Guarded create request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/create-general-credit-term
{
"code": "30 DAYS",
"displayTerm": "30 DAYS",
"terms": "30 DAYS",
"termType": "Day",
"termDays": 30,
"discountDays": 7,
"discountPercent": 2
}
Notes: Returns createBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Credit Term writes are guarded unless the exact AutoCount SDK write path is proven for the account book. These fields reflect the connector's current list/read surface, not an advertised writable native schema.
create-general-creditor-type
write
Create
Create a creditor type.
Full payload schema: /v1/schema/commands/create-general-creditor-type
{
"code": "SUP",
"description": "API Creditor Type",
"creditorType": "SUP",
"desc2": "Creditor Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Creditor Type setup example"
}
Notes: Requires write access permission. Full human payload reference for Creditor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
create-general-currency
write
Create
Create a currency.
Full payload schema: /v1/schema/commands/create-general-currency
{
"code": "USD",
"currencySymbol": "$",
"currencyWord": "US Dollar",
"currencyWord2": "US Dollars",
"currencyCode": "USD",
"bankBuyRate": 4.7,
"bankSellRate": 4.75,
"fcGainAccount": "720-0000",
"fcLossAccount": "820-0000",
"gainLossJournalType": "GL"
}
Notes: Requires write access permission. Full human payload reference for Currency Maintenance. Exchange rate behavior follows AutoCount account-book currency settings.
create-general-debtor-type
write
Create
Create a debtor type.
Full payload schema: /v1/schema/commands/create-general-debtor-type
{
"code": "CUS",
"description": "API Debtor Type",
"debtorType": "CUS",
"desc2": "Debtor Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Debtor Type setup example"
}
Notes: Requires write access permission. Full human payload reference for Debtor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
create-general-dn-type
write
Create
Create a D/N type.
Full payload schema: /v1/schema/commands/create-general-dn-type
{
"code": "DNAPI",
"description": "API D/N Type",
"dnType": "DNAPI",
"desc2": "D/N Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "D/N Type setup example"
}
Notes: Requires write access permission. Full human payload reference for D/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
create-general-payment-method
write
Create
Create a payment method.
Full payload schema: /v1/schema/commands/create-general-payment-method
{
"code": "BANKAPI",
"paymentType": "Bank",
"paymentBy": "Bank Transfer",
"bankChargeAccount": "810-0000",
"paymentMethod": "BANKAPI",
"journalType": "BANK",
"bankAccount": "110-0010",
"bankChargePercent": 2.5,
"minBankCharge": 0,
"odLimit": 0,
"nextChequeNo": "CHQ-000101",
"acceptChequeNo": true,
"mergeBankChargeTrans": false,
"isActive": true
}
Notes: Requires write access permission and valid AutoCount GL settings. Full human payload reference for Payment Method Maintenance. GL accounts must exist and match the customer's AutoCount posting setup.
create-general-price-category
write
Create
Create a price category.
Full payload schema: /v1/schema/commands/create-general-price-category
{
"code": "API",
"description": "API Price Category",
"priceCategory": "API",
"discountPercent": 5,
"detailDiscount": "5%",
"markupRatio": 1.2,
"roundingMethod": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "Price category setup example"
}
Notes: Requires write access permission. Full human payload reference for Price Category Maintenance. Item selling price rows can also refer to this price category.
create-general-project
write
Create
Create a project.
Full payload schema: /v1/schema/commands/create-general-project
{
"code": "PRJAPI",
"description": "API Project",
"projectNo": "PRJAPI",
"projNo": "PRJAPI",
"parentProjNo": "",
"desc2": "Project second description",
"isActive": true
}
Notes: Requires write access permission. Full human payload reference for Project Maintenance. Parent project and active flags depend on AutoCount project settings.
create-general-purchase-agent
write
Create
Create a purchase agent.
Full payload schema: /v1/schema/commands/create-general-purchase-agent
{
"code": "PAAPI",
"description": "API Purchase Agent",
"signature": "Approved by Purchasing",
"purchaseAgent": "PAAPI",
"desc2": "Purchase Agent second description",
"isActive": true
}
Notes: Requires write access permission. Full human payload reference for Purchase Agent Maintenance.
create-general-sales-agent
write
Create
Create a sales agent.
Full payload schema: /v1/schema/commands/create-general-sales-agent
{
"code": "SAAPI",
"description": "API Sales Agent",
"approverEmailAddress": "approver@example.com",
"salesAgent": "SAAPI",
"desc2": "Sales Agent second description",
"emailAddress": "sales@example.com"
}
Notes: Requires write access permission. Full human payload reference for Sales Agent Maintenance.
create-general-shipping-method
write
Create
Create a shipping method.
Full payload schema: /v1/schema/commands/create-general-shipping-method
{
"code": "LALAMOVE",
"description": "API Shipping Method",
"shippingMethod": "LALAMOVE",
"desc2": "Shipping Method second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Shipping Method setup example"
}
Notes: Requires write access permission. Full human payload reference for Shipping Method. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
delete-general-account-type
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-account-type
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-address
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-address
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-area
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-area
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-cn-type
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-cn-type
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-credit-term
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-credit-term
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-creditor-type
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-creditor-type
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-currency
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-currency
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-debtor-type
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-debtor-type
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-dn-type
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-dn-type
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-payment-method
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-payment-method
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-price-category
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-price-category
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-project
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-project
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-purchase-agent
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-purchase-agent
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-sales-agent
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-sales-agent
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
delete-general-shipping-method
write
Delete
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-shipping-method
{
"code": "API",
"reason": "remove unused setup value"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
get-general-account-type
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-account-type
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-address
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-address
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-area
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-area
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-cn-type
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-cn-type
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-credit-term
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-credit-term
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-creditor-type
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-creditor-type
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-currency
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-currency
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-debtor-type
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-debtor-type
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-dn-type
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-dn-type
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-payment-method
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-payment-method
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-price-category
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-price-category
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-project
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-project
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-purchase-agent
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-purchase-agent
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-sales-agent
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-sales-agent
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
get-general-shipping-method
read
Read
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-shipping-method
{
"code": "API"
}
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
list-general-account-types
read
Read
List account types. Read-only because AutoCount 2.2 does not expose a safe SDK write command for Account Type.
Full payload schema: /v1/schema/commands/list-general-account-types
No payload fields required.
{}
list-general-addresses
read
Read
List address maintenance records.
Full payload schema: /v1/schema/commands/list-general-addresses
No payload fields required.
{}
list-general-areas
read
Read
List area maintenance records.
Full payload schema: /v1/schema/commands/list-general-areas
No payload fields required.
{}
list-general-cn-types
read
Read
List C/N type maintenance records.
Full payload schema: /v1/schema/commands/list-general-cn-types
No payload fields required.
{}
list-general-credit-terms
read
Read
List credit terms. Read-only because AutoCount 2.2 does not expose a safe SDK write command for Credit Term.
Full payload schema: /v1/schema/commands/list-general-credit-terms
No payload fields required.
{}
list-general-creditor-types
read
Read
List creditor type maintenance records.
Full payload schema: /v1/schema/commands/list-general-creditor-types
No payload fields required.
{}
list-general-currencies
read
Read
List currency maintenance records.
Full payload schema: /v1/schema/commands/list-general-currencies
No payload fields required.
{}
list-general-debtor-types
read
Read
List debtor type maintenance records.
Full payload schema: /v1/schema/commands/list-general-debtor-types
No payload fields required.
{}
list-general-dn-types
read
Read
List D/N type maintenance records.
Full payload schema: /v1/schema/commands/list-general-dn-types
No payload fields required.
{}
list-general-payment-methods
read
Read
List General Maintenance payment methods.
Full payload schema: /v1/schema/commands/list-general-payment-methods
No payload fields required.
{}
list-general-price-categories
read
Read
List price categories.
Full payload schema: /v1/schema/commands/list-general-price-categories
No payload fields required.
{}
list-general-projects
read
Read
List projects.
Full payload schema: /v1/schema/commands/list-general-projects
No payload fields required.
{}
list-general-purchase-agents
read
Read
List purchase agents.
Full payload schema: /v1/schema/commands/list-general-purchase-agents
No payload fields required.
{}
list-general-sales-agents
read
Read
List sales agents.
Full payload schema: /v1/schema/commands/list-general-sales-agents
No payload fields required.
{}
list-general-shipping-methods
read
Read
List shipping methods.
Full payload schema: /v1/schema/commands/list-general-shipping-methods
No payload fields required.
{}
update-general-account-type
write
Edit
Guarded edit request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/update-general-account-type
{
"code": "EP",
"reason": "correct setup value",
"accType": "EP",
"description": "API Account Type",
"desc2": "Account Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Account Type setup example"
}
Notes: Returns editBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Full human payload reference for Account Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
update-general-address
write
Edit
Update an address maintenance record.
Full payload schema: /v1/schema/commands/update-general-address
{
"code": "HQ",
"phone": "03-00000000",
"addressName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"city": "Kuala Lumpur",
"state": "Wilayah Persekutuan",
"country": "Malaysia",
"contact": "Admin",
"fax": "03-00000001",
"emailAddress": "admin@example.com",
"isActive": true,
"remark1": "Created by API",
"remark2": "Address setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Address Maintenance. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
update-general-area
write
Edit
Update an area.
Full payload schema: /v1/schema/commands/update-general-area
{
"code": "KL",
"description": "Kuala Lumpur",
"areaCode": "KL",
"desc2": "Central region",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Area Maintenance.
update-general-cn-type
write
Edit
Update a C/N type.
Full payload schema: /v1/schema/commands/update-general-cn-type
{
"code": "CNAPI",
"isActive": true,
"cnType": "CNAPI",
"description": "API C/N Type",
"desc2": "C/N Type second description",
"remark1": "Created by API",
"remark2": "C/N Type setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for C/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
update-general-credit-term
write
Edit
Guarded edit request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/update-general-credit-term
{
"code": "30 DAYS",
"reason": "correct setup value",
"displayTerm": "30 DAYS",
"terms": "30 DAYS",
"termType": "Day",
"termDays": 30,
"discountDays": 7,
"discountPercent": 2
}
Notes: Returns editBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Credit Term writes are guarded unless the exact AutoCount SDK write path is proven for the account book. These fields reflect the connector's current list/read surface, not an advertised writable native schema.
update-general-creditor-type
write
Edit
Update a creditor type.
Full payload schema: /v1/schema/commands/update-general-creditor-type
{
"code": "SUP",
"isActive": true,
"creditorType": "SUP",
"description": "API Creditor Type",
"desc2": "Creditor Type second description",
"remark1": "Created by API",
"remark2": "Creditor Type setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Creditor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
update-general-currency
write
Edit
Update a currency.
Full payload schema: /v1/schema/commands/update-general-currency
{
"code": "USD",
"bankBuyRate": 4.7,
"bankSellRate": 4.75,
"currencyCode": "USD",
"currencySymbol": "$",
"currencyWord": "US Dollar",
"currencyWord2": "US Dollars",
"fcGainAccount": "720-0000",
"fcLossAccount": "820-0000",
"gainLossJournalType": "GL",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Currency Maintenance. Exchange rate behavior follows AutoCount account-book currency settings.
update-general-debtor-type
write
Edit
Update a debtor type.
Full payload schema: /v1/schema/commands/update-general-debtor-type
{
"code": "CUS",
"isActive": true,
"debtorType": "CUS",
"description": "API Debtor Type",
"desc2": "Debtor Type second description",
"remark1": "Created by API",
"remark2": "Debtor Type setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Debtor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
update-general-dn-type
write
Edit
Update a D/N type.
Full payload schema: /v1/schema/commands/update-general-dn-type
{
"code": "DNAPI",
"isActive": true,
"dnType": "DNAPI",
"description": "API D/N Type",
"desc2": "D/N Type second description",
"remark1": "Created by API",
"remark2": "D/N Type setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for D/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
update-general-payment-method
write
Edit
Update a payment method.
Full payload schema: /v1/schema/commands/update-general-payment-method
{
"code": "BANKAPI",
"isActive": true,
"paymentMethod": "BANKAPI",
"paymentType": "Bank",
"paymentBy": "Bank Transfer",
"journalType": "BANK",
"bankAccount": "110-0010",
"bankChargeAccount": "810-0000",
"bankChargePercent": 2.5,
"minBankCharge": 0,
"odLimit": 0,
"nextChequeNo": "CHQ-000101",
"acceptChequeNo": true,
"mergeBankChargeTrans": false,
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Payment Method Maintenance. GL accounts must exist and match the customer's AutoCount posting setup.
update-general-price-category
write
Edit
Update a price category.
Full payload schema: /v1/schema/commands/update-general-price-category
{
"code": "API",
"discountPercent": 5,
"priceCategory": "API",
"description": "API Price Category",
"detailDiscount": "5%",
"markupRatio": 1.2,
"roundingMethod": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "Price category setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Price Category Maintenance. Item selling price rows can also refer to this price category.
update-general-project
write
Edit
Update a project.
Full payload schema: /v1/schema/commands/update-general-project
{
"code": "PRJAPI",
"isActive": true,
"projectNo": "PRJAPI",
"projNo": "PRJAPI",
"parentProjNo": "",
"description": "API Project",
"desc2": "Project second description",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Project Maintenance. Parent project and active flags depend on AutoCount project settings.
update-general-purchase-agent
write
Edit
Update a purchase agent.
Full payload schema: /v1/schema/commands/update-general-purchase-agent
{
"code": "PAAPI",
"isActive": true,
"purchaseAgent": "PAAPI",
"description": "API Purchase Agent",
"desc2": "Purchase Agent second description",
"signature": "Approved by Purchasing",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Purchase Agent Maintenance.
update-general-sales-agent
write
Edit
Update a sales agent.
Full payload schema: /v1/schema/commands/update-general-sales-agent
{
"code": "SAAPI",
"emailAddress": "sales@example.com",
"salesAgent": "SAAPI",
"description": "API Sales Agent",
"desc2": "Sales Agent second description",
"approverEmailAddress": "approver@example.com",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Sales Agent Maintenance.
update-general-shipping-method
write
Edit
Update a shipping method.
Full payload schema: /v1/schema/commands/update-general-shipping-method
{
"code": "LALAMOVE",
"isActive": true,
"shippingMethod": "LALAMOVE",
"description": "API Shipping Method",
"desc2": "Shipping Method second description",
"remark1": "Created by API",
"remark2": "Shipping Method setup example",
"reason": "correct setup value"
}
Notes: Requires write access permission. Full human payload reference for Shipping Method. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
void-general-account-type
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-account-type
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-address
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-address
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-area
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-area
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-cn-type
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-cn-type
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-credit-term
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-credit-term
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-creditor-type
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-creditor-type
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-currency
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-currency
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-debtor-type
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-debtor-type
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-dn-type
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-dn-type
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-payment-method
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-payment-method
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-price-category
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-price-category
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-project
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-project
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-purchase-agent
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-purchase-agent
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-sales-agent
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-sales-agent
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
void-general-shipping-method
write
Void
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-shipping-method
{
"code": "API",
"reason": "void unused setup value"
}
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
create-fixed-asset-gl-accounts
write
Create
Create the two GL accounts from AutoCount's Create New Fixed Asset Account screen.
Full payload schema: /v1/schema/commands/create-fixed-asset-gl-accounts
{
"fixedAsset": {
"accNo": "150-1000",
"description": "Motor Vehicle",
"accType": "use an Asset code from list-general-account-types",
"parentAccNo": "<<FIXED ASSETS>>",
"currencyCode": "MYR",
"cashFlowCategory": "InvestingActivities",
"specialAccType": "SFA"
},
"accumulatedDepreciation": {
"accNo": "159-1000",
"description": "Accumulated Depreciation - Motor Vehicle",
"accType": "use an Asset code from list-general-account-types",
"parentAccNo": "<<FIXED ASSETS>>",
"currencyCode": "MYR",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "SAD"
}
}
Notes: Creates both GL Account Maintenance records through AutoCount AccountCommand.NewAccount and SaveAccount. The connector checks both account numbers before saving either record. Use create-gl-account only when creating one account. Matches AutoCount Create New Fixed Asset Account screen. It saves two GL Account Maintenance records through AutoCount AccountCommand: the fixed asset account with specialAccType SFA and the accumulated depreciation account with specialAccType SAD. Use list-general-account-types first; accType must be a real account type code in that account book.
create-gl-account
write
Create
Create a GL Account Maintenance account.
Full payload schema: /v1/schema/commands/create-gl-account
{
"accNo": "690-9000",
"description": "API Expense Account",
"accType": "EP",
"parentAccNo": "610-0000",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "Normal",
"desc2": "API expense second description",
"currencyCode": "MYR",
"isActive": true,
"remark1": "Created by API",
"remark2": "GL account setup example"
}
Notes: Requires write access permission. Uses AutoCount.GL.AccountMaintenance.AccountCommand.NewAccount and AccountCommand.SaveAccount, with duplicate account check before save. Use list-general-account-types to discover valid account type codes for the account book. For fixed asset, use a valid Asset accType returned by list-general-account-types and set specialAccType: "SFA" or "FixedAsset". Do not put fixed asset into accType unless that exact AccType code exists. Full human payload reference for GL Account Maintenance. Account type, parent account, and special account type must match the account book's chart of accounts rules. Use list-general-account-types to discover valid account type codes. For a fixed asset GL account, use a valid Asset accType returned by list-general-account-types and set specialAccType: "SFA" or "FixedAsset". Do not put fixed asset into accType unless that exact AccType code exists in the account book.
create-journal-entry
write
Create
Create GL journal entry. Supports one or many debit/credit lines.
Full payload schema: /v1/schema/commands/create-journal-entry
{
"docDate": "2026-06-24",
"description": "API journal entry",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Debit expense",
"debit": 100,
"credit": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accNo": "500-1000",
"accountNo": "500-1000",
"description": "Credit control",
"debit": 0,
"credit": 100,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022"
}
],
"journalType": "JV",
"refNo": "API-JV-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Total debit must equal total credit. Old debitAccNo/creditAccNo/amount payload still works. Multiple lines are supported. Debit and credit totals must balance before AutoCount will save.
delete-gl-account
write
Delete
Guarded GL account delete request.
Full payload schema: /v1/schema/commands/delete-gl-account
{
"accNo": "610-0000",
"reason": "remove unused account"
}
Notes: Returns deleteBlocked; chart accounts may be linked to posted transactions.
delete-journal-entry
write
Delete
Hard delete a journal entry.
Full payload schema: /v1/schema/commands/delete-journal-entry
{
"docNo": "JV-000001",
"reason": "delete incorrect journal"
}
Notes: Uses AutoCount JournalEntryCommand.Delete. Use void-journal-entry when audit-trail cancellation is required.
get-gl-account
read
Read
Get one GL Account Maintenance account.
Full payload schema: /v1/schema/commands/get-gl-account
{
"accNo": "610-0000"
}
Notes: Reads from AutoCount AccountInquiry chart data.
get-journal-entry
read
Read
Get one journal entry with detail lines.
Full payload schema: /v1/schema/commands/get-journal-entry
{
"docNo": "JV-000001"
}
Notes: Uses AutoCount JournalEntryCommand.View.
list-journal-entries
read
Read
List journal entries.
Full payload schema: /v1/schema/commands/list-journal-entries
{
"columns": "DocKey,DocNo,DocDate,JournalType,Description,TotalDR,TotalCR,Cancelled,LastModified"
}
Notes: Uses AutoCount JournalEntryCommand.InquireAllMaster.
read-chart-accounts
read
Read
List GL chart of accounts.
Full payload schema: /v1/schema/commands/read-chart-accounts
No payload fields required.
{}
read-gl-account-balance
read
Read
Read one GL account balance.
Full payload schema: /v1/schema/commands/read-gl-account-balance
{
"accNo": "500-0000",
"fromDate": "2026-01-01",
"toDate": "2026-06-15"
}
update-gl-account
write
Edit
Guarded GL account edit request.
Full payload schema: /v1/schema/commands/update-gl-account
{
"accNo": "690-9000",
"reason": "correct account description",
"description": "API Expense Account",
"desc2": "API expense second description",
"accType": "EP",
"parentAccNo": "610-0000",
"currencyCode": "MYR",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "GL account setup example"
}
Notes: Returns editBlocked until AccountCommand edit/save safety is proven. Full human payload reference for GL Account Maintenance. Account type, parent account, and special account type must match the account book's chart of accounts rules. Use list-general-account-types to discover valid account type codes. For a fixed asset GL account, use a valid Asset accType returned by list-general-account-types and set specialAccType: "SFA" or "FixedAsset". Do not put fixed asset into accType unless that exact AccType code exists in the account book.
update-journal-entry
write
Edit
Update a journal entry header/simple fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-journal-entry
{
"docNo": "JV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"detailMode": "replace",
"lines": [
{
"accNo": "610-0000",
"debit": 100,
"description": "Corrected debit line",
"projNo": "HQ"
},
{
"accNo": "500-0000",
"credit": 100,
"description": "Corrected credit line",
"projNo": "HQ"
}
]
}
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines. Supports line/detail edit, payment/detail edit, and knock-off allocation edit where the AutoCount SDK exposes safe methods. Uses AutoCount JournalEntry edit/view + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Journal debit and credit must balance before save.
validate-journal-entry
read
Validate
Validate a GL journal entry without saving. Supports the same multi-line payload as create-journal-entry.
Full payload schema: /v1/schema/commands/validate-journal-entry
{
"docDate": "2026-06-24",
"description": "API journal entry",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Debit expense",
"debit": 100,
"credit": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accNo": "500-1000",
"accountNo": "500-1000",
"description": "Credit control",
"debit": 0,
"credit": 100,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022"
}
],
"journalType": "JV",
"refNo": "API-JV-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only. Total debit must equal total credit. Multiple lines are supported. Debit and credit totals must balance before AutoCount will save.
void-gl-account
write
Void
Guarded GL account void request.
Full payload schema: /v1/schema/commands/void-gl-account
{
"accNo": "610-0000",
"reason": "deactivate account"
}
Notes: Returns voidBlocked; chart accounts may be linked to posted transactions.
void-journal-entry
write
Void
Cancel/void a journal entry.
Full payload schema: /v1/schema/commands/void-journal-entry
{
"docNo": "JV-000001",
"reason": "void/correct journal"
}
Notes: Uses AutoCount JournalEntryCommand.CancelDocument.
create-gl-cash-book-payment
write
Create
Create a G/L Cash Book payment voucher. Supports one or many account lines and payment rows.
Full payload schema: /v1/schema/commands/create-gl-cash-book-payment
{
"docDate": "2026-06-24",
"payTo": "API Supplier",
"taxEntityID": 1,
"description": "API payment voucher",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates through AutoCount CashBookCommand.AddNew(CashPayment) + CashBook.Save. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
create-gl-cash-book-receipt
write
Create
Create a G/L Cash Book official receipt. Supports one or many account lines and payment rows.
Full payload schema: /v1/schema/commands/create-gl-cash-book-receipt
{
"docDate": "2026-06-24",
"receiveFrom": "API Customer",
"taxEntityID": 1,
"description": "API official receipt",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates through AutoCount CashBookCommand.AddNew(CashReceipt) + CashBook.Save. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
delete-gl-cash-book-entry
write
Delete
Hard delete a G/L Cash Book entry.
Full payload schema: /v1/schema/commands/delete-gl-cash-book-entry
{
"docNo": "PV-000001",
"reason": "delete incorrect voucher"
}
Notes: Uses AutoCount CashBookCommand.Delete. Use void-gl-cash-book-entry when audit-trail cancellation is required.
get-gl-cash-book-entry
read
Read
Get one G/L Cash Book entry with detail and payment rows.
Full payload schema: /v1/schema/commands/get-gl-cash-book-entry
{
"docNo": "PV-000001"
}
Notes: Uses AutoCount CashBookCommand.View.
list-gl-bank-cash-accounts
read
Read
List GL bank and cash accounts used by cash book.
Full payload schema: /v1/schema/commands/list-gl-bank-cash-accounts
No payload fields required.
{}
list-gl-cash-book-documents
read
Read
List the G/L > Cash Book Entry document grid.
Full payload schema: /v1/schema/commands/list-gl-cash-book-documents
{
"columns": "DocKey,DocNo,DocDate,Description,DealWith,Total,NetTotal,TotalPayment,Cancelled,LastModified"
}
list-gl-cash-book-entries
read
Read
List cash book report/inquiry rows grouped by bank/cash account.
Full payload schema: /v1/schema/commands/list-gl-cash-book-entries
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"showTotal": true,
"showDebtorDetails": false,
"showCreditorDetails": false,
"showInLocalCurrency": false
}
list-gl-cheques
read
Read
List issued or received cheque entries.
Full payload schema: /v1/schema/commands/list-gl-cheques
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"chequeOption": "issued",
"cancelled": "uncancelled",
"showCashAccount": true
}
read-gl-cash-flow-accounts
read
Read
List GL accounts with cash-flow category metadata.
Full payload schema: /v1/schema/commands/read-gl-cash-flow-accounts
No payload fields required.
{}
read-payment-methods
read
Read
List payment methods used by AR/AP cashbook-style documents.
Full payload schema: /v1/schema/commands/read-payment-methods
No payload fields required.
{}
update-gl-cash-book-entry
write
Edit
Update G/L Cash Book header/simple fields.
Full payload schema: /v1/schema/commands/update-gl-cash-book-entry
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"detailMode": "replace",
"taxEntityID": 1,
"lines": [
{
"accNo": "610-0000",
"amount": 100,
"description": "Corrected cash book line"
}
],
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
]
}
Notes: Uses AutoCount CashBookCommand Edit/View + Save. Header/simple fields are enabled. Detail/payment line edits remain guarded until proven. Uses AutoCount CashBookCommand edit/view + Save for header/simple fields, line/detail edit, and payment/detail edit. detailMode: replace | append | update | delete; payment rows use replace/append.
validate-gl-cash-book-payment
read
Validate
Validate a G/L Cash Book payment voucher without saving.
Full payload schema: /v1/schema/commands/validate-gl-cash-book-payment
{
"docDate": "2026-06-24",
"payTo": "API Supplier",
"taxEntityID": 1,
"description": "API payment voucher",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; uses CashBookCommand.AddNew + CashBook.Validate. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
validate-gl-cash-book-receipt
read
Validate
Validate a G/L Cash Book official receipt without saving.
Full payload schema: /v1/schema/commands/validate-gl-cash-book-receipt
{
"docDate": "2026-06-24",
"receiveFrom": "API Customer",
"taxEntityID": 1,
"description": "API official receipt",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; uses CashBookCommand.AddNew + CashBook.Validate. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
void-gl-cash-book-entry
write
Void
Cancel/void a G/L Cash Book entry.
Full payload schema: /v1/schema/commands/void-gl-cash-book-entry
{
"docNo": "PV-000001",
"reason": "cancel incorrect voucher"
}
Notes: Uses AutoCount CashBookCommand.CancelDocument.
partial-transfer-document
write
write
Create a target document by partial transferring selected source rows.
Full payload schema: /v1/schema/commands/partial-transfer-document
{
"fromDocument": "quotation",
"toDocument": "sales-order",
"fromDocNo": "QT-000001",
"lines": [
{
"sourceLineNo": 1
}
]
}
Notes: Supports the standard sales/purchase chains where AutoCount exposes PartialTransfer.
read-document-linkage
read
Read
Read linked/transferred document detail rows and linkage columns.
Full payload schema: /v1/schema/commands/read-document-linkage
{
"document": "sales-order",
"docNo": "SO-000001"
}
Notes: Use this before changing linked document lines. Correct process is reverse then partial transfer.
rebuild-linked-document-lines
write
write
Correct linked-document line workflow: reverse then partial transfer.
Full payload schema: /v1/schema/commands/rebuild-linked-document-lines
{
"fromDocument": "quotation",
"toDocument": "sales-order",
"targetDocNo": "SO-000001",
"fromDocNo": "QT-000001",
"lines": [
{
"sourceLineNo": 1
}
]
}
Notes: Existing linked document rebuild is guarded until reverse is proven. With createReplacement:true, connector can create a replacement target document by partial transfer.
reverse-document-transfer
write
write
Guarded reverse/untransfer request for an existing linked document.
Full payload schema: /v1/schema/commands/reverse-document-transfer
{
"fromDocument": "quotation",
"toDocument": "sales-order",
"targetDocNo": "SO-000001"
}
Notes: Returns reverseTransferNotProven unless a safe AutoCount reverse/untransfer SDK method is proven for the flow.
create-creditor
write
Create
Create a creditor/supplier.
Full payload schema: /v1/schema/commands/create-creditor
{
"accNo": "400-API",
"companyName": "API Supplier Sdn Bhd",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"postCode": "46000",
"contactPerson": "Tan Supplier",
"deliveryAddress1": "Supplier Warehouse",
"deliveryPostCode": "46000",
"phone1": "03-33333333",
"phone2": "019-8888888",
"emailAddress": "supplier@example.com",
"currencyCode": "MYR",
"taxCode": "SST",
"taxEntityID": 1,
"controlAccount": "400-0000",
"isActive": true,
"desc2": "API Supplier Trading Name",
"creditorType": "SUP",
"area": "PJ",
"purchaseAgent": "PA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"creditLimit": 30000,
"overdueLimit": 30,
"attention": "Supplier Accounts",
"fax1": "03-33333334",
"website": "https://supplier.example.com",
"registrationNo": "202602000002",
"taxRegisterNo": "SST-400-API",
"businessNature": "Supplier",
"remark1": "Created by API",
"remark2": "Supplier credit control example",
"deliveryAddress2": "Logistics Park",
"deliveryContact": "Supplier Store",
"contacts": [
{
"name": "Tan Supplier",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "019-1111111",
"directPhone": "03-33333335",
"emailAddress": "supplier-accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"postCode": "46000",
"contact": "Tan Supplier",
"phone1": "03-33333333",
"emailAddress": "supplier-hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Notes: Creates supplier master data through AutoCount SDK. Normal fields map to creditor properties; top-level delivery fields are normalized into BranchTable and top-level contact fields are normalized into ContactTable when explicit arrays are not supplied. This is the full human payload reference for Creditor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the creditor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
create-debtor
write
Create
Create a debtor/customer.
Full payload schema: /v1/schema/commands/create-debtor
{
"accNo": "300-API",
"companyName": "API Customer Sdn Bhd",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"contactPerson": "Lim Accounts",
"deliveryAddress1": "Warehouse 1",
"deliveryAddress2": "Industrial Park",
"deliveryPostCode": "40100",
"deliveryContact": "Store Receiver",
"phone1": "03-11111111",
"phone2": "012-3456789",
"emailAddress": "customer@example.com",
"currencyCode": "MYR",
"taxCode": "SST",
"taxEntityID": 1,
"controlAccount": "300-0000",
"isActive": true,
"desc2": "API Customer Trading Name",
"debtorType": "CUS",
"area": "KL",
"salesAgent": "SA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"priceCategory": "API",
"creditLimit": 50000,
"overdueLimit": 30,
"statementType": "Open Item",
"allowExceedCreditLimit": false,
"attention": "Accounts Department",
"fax1": "03-11111112",
"website": "https://customer.example.com",
"registrationNo": "202601000001",
"taxRegisterNo": "SST-300-API",
"businessNature": "Trading",
"remark1": "Created by API",
"remark2": "Credit control example",
"deliveryAddress3": "Shah Alam",
"deliveryAddress4": "Malaysia",
"contacts": [
{
"name": "Lim Accounts",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "012-1111111",
"directPhone": "03-11111113",
"emailAddress": "accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"postCode": "50000",
"contact": "Lim Accounts",
"phone1": "03-11111111",
"emailAddress": "hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Notes: Creates customer master data through AutoCount SDK. Normal fields map to debtor properties; top-level delivery fields are normalized into BranchTable and top-level contact fields are normalized into ContactTable when explicit arrays are not supplied. This is the full human payload reference for Debtor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the debtor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
create-item
write
Create
Create a stock item. Supports proven UOM, sub-code, price, opening balance, BOM, and replacement child rows.
Full payload schema: /v1/schema/commands/create-item
{
"itemCode": "API-ITEM",
"description": "API Test Item",
"desc2": "API Item Second Description",
"furtherDescription": "Long item note visible in AutoCount item detail.",
"templateItemCode": "00004",
"baseUom": "UNIT",
"salesUom": "UNIT",
"purchaseUom": "UNIT",
"reportUom": "UNIT",
"itemGroup": "FG",
"itemType": "Stock",
"taxCode": "S-0",
"purchaseTaxCode": "P-0",
"isSalesItem": true,
"isPurchaseItem": true,
"stockControl": true,
"hasBatchNo": false,
"hasSerialNo": false,
"isActive": true,
"uoms": [
{
"uom": "UNIT",
"rate": 1,
"price": 100,
"cost": 80,
"barCode": "9550000000011",
"minSalePrice": 90,
"maxSalePrice": 9999
},
{
"uom": "BOX",
"rate": 12,
"price": 1200,
"cost": 960,
"barCode": "9550000000012"
}
],
"subCodes": [
{
"subCode": "ALT-API-ITEM",
"uom": "UNIT"
}
],
"priceBooks": [
{
"ref": "PB-API-ITEM",
"priceCategory": "RETAIL",
"uom": "UNIT",
"fixedPrice": 100,
"qty1": 1,
"price1": 100
}
],
"customerPrices": [
{
"ref": "CP-API-ITEM",
"debtorCode": "300-A001",
"currencyCode": "MYR",
"uom": "UNIT",
"customerItemCode": "CUST-API-ITEM",
"fixedPrice": 95,
"qty1": 1,
"price1": 95
}
],
"supplierPrices": [
{
"ref": "SP-API-ITEM",
"creditorCode": "400-S001",
"currencyCode": "MYR",
"uom": "UNIT",
"supplierItemCode": "SUP-API-ITEM",
"fixedPrice": 80,
"qty1": 1,
"price1": 80
}
],
"openingBalances": [
{
"location": "HQ",
"qty": 10,
"uom": "UNIT",
"unitCost": 80,
"batchNo": "BATCH-001",
"docDate": "2026-07-26"
}
],
"bomRows": [
{
"subItemCode": "API-COMPONENT",
"qty": 2,
"overheadCost": 0,
"seq": 1,
"costFraction": 1
}
],
"replacements": [
{
"replacementItemCode": "API-REPLACEMENT",
"replacementDegree": 1,
"note": "Alternative item"
}
],
"itemBrand": "MACSOFT",
"itemCategory": "API",
"itemClass": "A",
"tariffCode": "8471.30",
"barCode": "9550000000011",
"defaultLocation": "HQ",
"costingMethod": "Weighted Average",
"standardCost": 80,
"minimumSellingPrice": 90,
"sellingPrice": 100,
"purchasePrice": 80,
"reorderLevel": 10,
"normalLevel": 50,
"minimumLevel": 5,
"maximumLevel": 200,
"snFormatName": "",
"batchNo": "BATCH-001",
"batchDescription": "Opening API batch",
"remark1": "Created by API",
"remark2": "Stock item full payload example"
}
Notes: Creates item master data through AutoCount SDK. Proven child table rows are written through AutoCount DLL DataTables and verified after save in writeVerification.childRows. This is the full human payload reference for Stock Item Maintenance. The connector writes proven UOM rows, item sub-codes, price book rows, customer prices, supplier prices, opening balances, BOM rows, and replacement rows through AutoCount DLL child DataTables, then reloads the item and returns writeVerification.childRows. Batch rows use AutoCount NewItemBatch where enabled.
delete-creditor
write
Delete
Guarded delete request for a creditor/supplier.
Full payload schema: /v1/schema/commands/delete-creditor
{
"accNo": "400-S001",
"reason": "remove inactive duplicate"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety and linked-transaction checks are proven. Prefer inactive/discontinued flags.
delete-debtor
write
Delete
Guarded delete request for a debtor/customer.
Full payload schema: /v1/schema/commands/delete-debtor
{
"accNo": "300-A001",
"reason": "remove inactive duplicate"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety and linked-transaction checks are proven. Prefer inactive/discontinued flags.
delete-item
write
Delete
Guarded delete request for a stock item.
Full payload schema: /v1/schema/commands/delete-item
{
"itemCode": "ITEM001",
"reason": "remove inactive duplicate"
}
Notes: Returns deleteBlocked until AutoCount SDK delete safety and linked-transaction checks are proven. Prefer inactive/discontinued flags.
read-default-accounts
read
Read
Read default posting accounts used by validate/create commands.
Full payload schema: /v1/schema/commands/read-default-accounts
No payload fields required.
{}
update-creditor
write
Edit
Update a creditor/supplier.
Full payload schema: /v1/schema/commands/update-creditor
{
"accNo": "400-API",
"companyName": "API Supplier Sdn Bhd Updated",
"contactPerson": "Tan Supplier",
"deliveryAddress1": "Supplier Warehouse",
"phone1": "03-33333333",
"emailAddress": "supplier@example.com",
"taxEntityID": 1,
"isActive": true,
"desc2": "API Supplier Trading Name",
"creditorType": "SUP",
"area": "PJ",
"purchaseAgent": "PA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"currencyCode": "MYR",
"taxCode": "SST",
"controlAccount": "400-0000",
"creditLimit": 30000,
"overdueLimit": 30,
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"postCode": "46000",
"attention": "Supplier Accounts",
"phone2": "019-8888888",
"fax1": "03-33333334",
"website": "https://supplier.example.com",
"registrationNo": "202602000002",
"taxRegisterNo": "SST-400-API",
"businessNature": "Supplier",
"remark1": "Created by API",
"remark2": "Supplier credit control example",
"deliveryAddress2": "Logistics Park",
"deliveryPostCode": "46000",
"deliveryContact": "Supplier Store",
"contacts": [
{
"name": "Tan Supplier",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "019-1111111",
"directPhone": "03-33333335",
"emailAddress": "supplier-accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"postCode": "46000",
"contact": "Tan Supplier",
"phone1": "03-33333333",
"emailAddress": "supplier-hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Notes: Updates supplier/creditor master data through AutoCount SDK using the same supported fields as create-creditor. This is the full human payload reference for Creditor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the creditor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
update-debtor
write
Edit
Update a debtor/customer.
Full payload schema: /v1/schema/commands/update-debtor
{
"accNo": "300-API",
"companyName": "API Customer Sdn Bhd Updated",
"contactPerson": "Lim Accounts",
"deliveryAddress1": "Warehouse 1",
"phone1": "03-11111111",
"emailAddress": "customer@example.com",
"taxEntityID": 1,
"isActive": true,
"desc2": "API Customer Trading Name",
"debtorType": "CUS",
"area": "KL",
"salesAgent": "SA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"currencyCode": "MYR",
"taxCode": "SST",
"controlAccount": "300-0000",
"priceCategory": "API",
"creditLimit": 50000,
"overdueLimit": 30,
"statementType": "Open Item",
"allowExceedCreditLimit": false,
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"attention": "Accounts Department",
"phone2": "012-3456789",
"fax1": "03-11111112",
"website": "https://customer.example.com",
"registrationNo": "202601000001",
"taxRegisterNo": "SST-300-API",
"businessNature": "Trading",
"remark1": "Created by API",
"remark2": "Credit control example",
"deliveryAddress2": "Industrial Park",
"deliveryAddress3": "Shah Alam",
"deliveryAddress4": "Malaysia",
"deliveryPostCode": "40100",
"deliveryContact": "Store Receiver",
"contacts": [
{
"name": "Lim Accounts",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "012-1111111",
"directPhone": "03-11111113",
"emailAddress": "accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"postCode": "50000",
"contact": "Lim Accounts",
"phone1": "03-11111111",
"emailAddress": "hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Notes: Updates debtor/customer master data through AutoCount SDK using the same supported fields as create-debtor. This is the full human payload reference for Debtor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the debtor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
update-item
write
Edit
Update a stock item.
Full payload schema: /v1/schema/commands/update-item
{
"itemCode": "API-ITEM",
"description": "Updated API Test Item",
"desc2": "API Item Second Description",
"isSalesItem": true,
"isPurchaseItem": true,
"stockControl": true,
"isActive": true,
"uoms": [
{
"uom": "UNIT",
"rate": 1,
"price": 100,
"cost": 80,
"barCode": "9550000000011",
"minSalePrice": 90,
"maxSalePrice": 9999
},
{
"uom": "BOX",
"rate": 12,
"price": 1200,
"cost": 960,
"barCode": "9550000000012"
}
],
"subCodes": [
{
"subCode": "ALT-API-ITEM",
"uom": "UNIT"
}
],
"priceBooks": [
{
"ref": "PB-API-ITEM",
"priceCategory": "RETAIL",
"uom": "UNIT",
"fixedPrice": 100,
"qty1": 1,
"price1": 100
}
],
"furtherDescription": "Long item note visible in AutoCount item detail.",
"templateItemCode": "00004",
"itemGroup": "FG",
"itemType": "Stock",
"itemBrand": "MACSOFT",
"itemCategory": "API",
"itemClass": "A",
"tariffCode": "8471.30",
"barCode": "9550000000011",
"baseUom": "UNIT",
"salesUom": "UNIT",
"purchaseUom": "UNIT",
"reportUom": "UNIT",
"taxCode": "S-0",
"purchaseTaxCode": "P-0",
"defaultLocation": "HQ",
"costingMethod": "Weighted Average",
"standardCost": 80,
"minimumSellingPrice": 90,
"sellingPrice": 100,
"purchasePrice": 80,
"reorderLevel": 10,
"normalLevel": 50,
"minimumLevel": 5,
"maximumLevel": 200,
"hasBatchNo": false,
"hasSerialNo": false,
"snFormatName": "",
"customerPrices": [
{
"ref": "CP-API-ITEM",
"debtorCode": "300-A001",
"currencyCode": "MYR",
"uom": "UNIT",
"customerItemCode": "CUST-API-ITEM",
"fixedPrice": 95,
"qty1": 1,
"price1": 95
}
],
"supplierPrices": [
{
"ref": "SP-API-ITEM",
"creditorCode": "400-S001",
"currencyCode": "MYR",
"uom": "UNIT",
"supplierItemCode": "SUP-API-ITEM",
"fixedPrice": 80,
"qty1": 1,
"price1": 80
}
],
"openingBalances": [
{
"location": "HQ",
"qty": 10,
"uom": "UNIT",
"unitCost": 80,
"batchNo": "BATCH-001",
"docDate": "2026-07-26"
}
],
"bomRows": [
{
"subItemCode": "API-COMPONENT",
"qty": 2,
"overheadCost": 0,
"seq": 1,
"costFraction": 1
}
],
"replacements": [
{
"replacementItemCode": "API-REPLACEMENT",
"replacementDegree": 1,
"note": "Alternative item"
}
],
"batchNo": "BATCH-001",
"batchDescription": "Opening API batch",
"remark1": "Created by API",
"remark2": "Stock item full payload example"
}
Notes: Updates item master data through AutoCount SDK. Proven child table rows are written through AutoCount DLL DataTables and verified after save in writeVerification.childRows. This is the full human payload reference for Stock Item Maintenance. The connector writes proven UOM rows, item sub-codes, price book rows, customer prices, supplier prices, opening balances, BOM rows, and replacement rows through AutoCount DLL child DataTables, then reloads the item and returns writeVerification.childRows. Batch rows use AutoCount NewItemBatch where enabled.
void-creditor
write
Void
Guarded void request for a creditor/supplier.
Full payload schema: /v1/schema/commands/void-creditor
{
"accNo": "400-S001",
"reason": "void inactive duplicate"
}
Notes: Returns voidBlocked. Prefer inactive/discontinued flags because master records may already be linked to transactions.
void-debtor
write
Void
Guarded void request for a debtor/customer.
Full payload schema: /v1/schema/commands/void-debtor
{
"accNo": "300-A001",
"reason": "void inactive duplicate"
}
Notes: Returns voidBlocked. Prefer inactive/discontinued flags because master records may already be linked to transactions.
void-item
write
Void
Guarded void request for a stock item.
Full payload schema: /v1/schema/commands/void-item
{
"itemCode": "ITEM001",
"reason": "void inactive duplicate"
}
Notes: Returns voidBlocked. Prefer inactive/discontinued flags because master records may already be linked to transactions.
get-pos-raw-transaction
read
Read
Get one POS receipt raw AutoCount bundle through AutoCount POS DLL only.
Full payload schema: /v1/schema/commands/get-pos-raw-transaction
{
"docKey": 3000152
}
Notes: Connector auto-detects AutoCount POS 5.2 Backend and calls AutoCount.POS.Data.PosCommand.GetPos(docKey/guid). Returns raw header, detail, payment, promotion, modifier, delivery, serial, and related child DataTables exposed by the DLL. No direct SQL read is used.
list-pos-raw-transactions
read
Read
List POS sales/receipt rows through AutoCount POS DLL only.
Full payload schema: /v1/schema/commands/list-pos-raw-transactions
{
"businessDate": "2026-08-01",
"businessDayEndTime": "02:00",
"filterByDateType": "PaymentTime",
"transactionStatus": "Valid",
"maxRows": 100
}
Notes: Connector auto-detects AutoCount POS 5.2 Backend and calls AutoCount.POS.Report.CashReceipt.CashReceiptReport.Inquire. Returns raw DLL DataTables: CashReceiptReportDataTable, PaymentDetailDataTable, and CashReceiptReportDistinctDataTable. For shops closing after midnight, use businessDate + businessDayEndTime so receipts after 12AM, such as 00:00-02:00, are included in the previous business day. No direct SQL read is used.
cancel-cash-purchase
write
Void
Cancel a cash purchase when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-cash-purchase
{
"docNo": "CP-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-goods-received-note
write
Void
Cancel a goods received note when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-goods-received-note
{
"docNo": "GRN-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-purchase-invoice
write
Void
Cancel a purchase invoice when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-purchase-invoice
{
"docNo": "PI-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-purchase-order
write
Void
Cancel a purchase order when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-purchase-order
{
"docNo": "PO-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-purchase-return
write
Void
Cancel a purchase return when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-purchase-return
{
"docNo": "PR-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
create-cash-purchase
write
Create
Create a cash purchase.
Full payload schema: /v1/schema/commands/create-cash-purchase
{
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-INV-1001",
"docDate": "2026-06-24",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100,
"accountNo": "610-0000",
"project": "PRJAPI",
"projNo": "PRJAPI"
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates cash purchase when the installed AutoCount SDK exposes the command. If default account is missing, call read-default-accounts and use purchaseAccNo, or choose a valid purchase/expense GL account from read-chart-accounts. Use read-payment-methods first; payments[].paymentMethod must match an active AutoCount Payment Method code, and paymentAmount totals should equal the document total. Line-level project overrides top-level project. Direct void/delete stay guarded until linked payment/cash-book reversal is proven. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
create-goods-received-note
write
Create
Create a goods received note.
Full payload schema: /v1/schema/commands/create-goods-received-note
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates goods received note through AutoCount SDK. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
create-purchase-invoice
write
Create
Create a purchase invoice.
Full payload schema: /v1/schema/commands/create-purchase-invoice
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100,
"accountNo": "610-0000"
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates purchase invoice through AutoCount SDK. If default account is missing, call read-default-accounts and use purchaseAccNo, or choose a valid purchase/expense GL account from read-chart-accounts. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
create-purchase-order
write
Create
Create a purchase order.
Full payload schema: /v1/schema/commands/create-purchase-order
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates purchase order through AutoCount SDK. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
create-purchase-return
write
Create
Create a purchase return.
Full payload schema: /v1/schema/commands/create-purchase-return
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates purchase return through AutoCount Purchase Return SDK when available. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
delete-cash-purchase
write
Delete
Delete/void request for a cash purchase.
Full payload schema: /v1/schema/commands/delete-cash-purchase
{
"docNo": "CP-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-goods-received-note
write
Delete
Delete/void request for a goods received note.
Full payload schema: /v1/schema/commands/delete-goods-received-note
{
"docNo": "GRN-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-purchase-invoice
write
Delete
Delete/void request for a purchase invoice.
Full payload schema: /v1/schema/commands/delete-purchase-invoice
{
"docNo": "PI-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-purchase-order
write
Delete
Delete/void request for a purchase order.
Full payload schema: /v1/schema/commands/delete-purchase-order
{
"docNo": "PO-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-purchase-return
write
Delete
Delete/void request for a purchase return.
Full payload schema: /v1/schema/commands/delete-purchase-return
{
"docNo": "PR-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
get-cash-purchase
read
Read
Get one cash purchase by document number.
Full payload schema: /v1/schema/commands/get-cash-purchase
{
"docNo": "CP-000001"
}
get-goods-received-note
read
Read
Get one goods received note by document number.
Full payload schema: /v1/schema/commands/get-goods-received-note
{
"docNo": "GRN-000001"
}
get-purchase-invoice
read
Read
Get one purchase invoice by document number.
Full payload schema: /v1/schema/commands/get-purchase-invoice
{
"docNo": "PI-000001"
}
get-purchase-order
read
Read
Get one purchase order by document number.
Full payload schema: /v1/schema/commands/get-purchase-order
{
"docNo": "PO-000001"
}
get-purchase-return
read
Read
Get one purchase return by document number.
Full payload schema: /v1/schema/commands/get-purchase-return
{
"docNo": "PR-000001"
}
list-cash-purchases
read
Read
List cash purchases.
Full payload schema: /v1/schema/commands/list-cash-purchases
No payload fields required.
{}
list-goods-received-notes
read
Read
List goods received notes.
Full payload schema: /v1/schema/commands/list-goods-received-notes
No payload fields required.
{}
list-purchase-invoices
read
Read
List purchase invoices.
Full payload schema: /v1/schema/commands/list-purchase-invoices
No payload fields required.
{}
list-purchase-orders
read
Read
List purchase orders.
Full payload schema: /v1/schema/commands/list-purchase-orders
No payload fields required.
{}
list-purchase-returns
read
Read
List purchase returns.
Full payload schema: /v1/schema/commands/list-purchase-returns
No payload fields required.
{}
read-cash-purchase-lines
read
Read
Read cash purchase detail lines only.
Full payload schema: /v1/schema/commands/read-cash-purchase-lines
{
"accountNo": "610-0000",
"limit": 50
}
read-goods-received-note-lines
read
Read
Read goods received note detail lines only.
Full payload schema: /v1/schema/commands/read-goods-received-note-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-purchase-detail-lines
read
Read
Read all purchase document lines together, or filter with document.
Full payload schema: /v1/schema/commands/read-purchase-detail-lines
{
"document": "purchase-invoice",
"creditorCode": "400-S001",
"limit": 50
}
Notes: Prefer the document-specific read-*-lines commands when the document family is known.
read-purchase-invoice-lines
read
Read
Read purchase invoice detail lines only.
Full payload schema: /v1/schema/commands/read-purchase-invoice-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Notes: Returns account/project/tax/detail columns where AutoCount stores them.
read-purchase-order-lines
read
Read
Read purchase order detail lines only.
Full payload schema: /v1/schema/commands/read-purchase-order-lines
{
"creditorCode": "400-S001",
"limit": 50
}
read-purchase-return-lines
read
Read
Read purchase return detail lines only.
Full payload schema: /v1/schema/commands/read-purchase-return-lines
{
"docNo": "PR-000001",
"limit": 50
}
transfer-goods-received-note-to-purchase-invoice
write
Transfer
Transfer goods received note to purchase invoice.
Full payload schema: /v1/schema/commands/transfer-goods-received-note-to-purchase-invoice
{
"sourceDocNo": "GRN-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer goods received note to purchase invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-purchase-invoice-to-purchase-return
write
Transfer
Transfer purchase invoice to purchase return.
Full payload schema: /v1/schema/commands/transfer-purchase-invoice-to-purchase-return
{
"sourceDocNo": "PI-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer purchase invoice to purchase return",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-purchase-order-to-goods-received-note
write
Transfer
Transfer purchase order to goods received note.
Full payload schema: /v1/schema/commands/transfer-purchase-order-to-goods-received-note
{
"sourceDocNo": "PO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer purchase order to goods received note",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-purchase-order-to-purchase-invoice
write
Transfer
Transfer purchase order directly to purchase invoice.
Full payload schema: /v1/schema/commands/transfer-purchase-order-to-purchase-invoice
{
"sourceDocNo": "PO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer purchase order to purchase invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic where the account book allows direct purchase-order-to-invoice transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
update-cash-purchase
write
Edit
Update cash purchase header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-cash-purchase
{
"docNo": "CA-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
update-goods-received-note
write
Edit
Update goods received note header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-goods-received-note
{
"docNo": "GO-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
update-purchase-invoice
write
Edit
Update purchase invoice header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-purchase-invoice
{
"docNo": "PU-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
update-purchase-order
write
Edit
Update purchase order header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-purchase-order
{
"docNo": "PU-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
update-purchase-return
write
Edit
Update purchase return header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-purchase-return
{
"docNo": "PU-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
validate-cash-purchase
read
Validate
Validate a cash purchase without saving.
Full payload schema: /v1/schema/commands/validate-cash-purchase
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
validate-goods-received-note
read
Validate
Validate a goods received note without saving.
Full payload schema: /v1/schema/commands/validate-goods-received-note
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
validate-purchase-invoice
read
Validate
Validate a purchase invoice without saving.
Full payload schema: /v1/schema/commands/validate-purchase-invoice
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
validate-purchase-order
read
Validate
Validate a purchase order without saving.
Full payload schema: /v1/schema/commands/validate-purchase-order
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
validate-purchase-return
read
Validate
Validate a purchase return without saving.
Full payload schema: /v1/schema/commands/validate-purchase-return
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
void-cash-purchase
write
Void
Void a cash purchase while keeping audit trail.
Full payload schema: /v1/schema/commands/void-cash-purchase
{
"docNo": "CP-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-goods-received-note
write
Void
Void a goods received note while keeping audit trail.
Full payload schema: /v1/schema/commands/void-goods-received-note
{
"docNo": "GRN-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-purchase-invoice
write
Void
Void a purchase invoice while keeping audit trail.
Full payload schema: /v1/schema/commands/void-purchase-invoice
{
"docNo": "PI-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-purchase-order
write
Void
Void a purchase order while keeping audit trail.
Full payload schema: /v1/schema/commands/void-purchase-order
{
"docNo": "PO-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-purchase-return
write
Void
Void a purchase return while keeping audit trail.
Full payload schema: /v1/schema/commands/void-purchase-return
{
"docNo": "PR-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
arap-document-autocount-pdf
report
PDF/Report
Generate AutoCount PDFs for AR/AP invoice, payment, deposit, refund, credit note, debit note, and contra.
Full payload schema: /v1/schema/commands/arap-document-autocount-pdf
{
"document": "ar-payment",
"docNo": "OR-000001"
}
Notes: Uses AutoCount report templates. Invoice/payment/deposit/refund use single-document listing data sources; credit/debit note and contra use document data sources.
arap-statement-autocount-pdf
report
PDF/Report
Generate official AutoCount debtor or creditor statement PDF.
Full payload schema: /v1/schema/commands/arap-statement-autocount-pdf
{
"document": "debtor-statement",
"debtorCode": "300-A001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"reportName": "Debtor Statement - 12 Months"
}
Notes: Supported for debtor and creditor statements. Uses AutoCount statement report templates and returns a downloadable PDF artifact. Generate official AutoCount debtor or creditor statement PDF using SDK statement data and AutoCount statement report templates. Download the result from result.artifactUrl or GET /v1/commands/{commandId}/artifact.
creditor-statement-report
read
PDF/Report
Read AutoCount creditor statement data.
Full payload schema: /v1/schema/commands/creditor-statement-report
{
"creditorCode": "400-S001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"statementType": "CreditorDefault",
"zeroBalanceMethod": "IncludeWithActiveTransactionOnly",
"showPaidTransaction": true
}
Notes: Uses AutoCount CreditorStatement.Inquire and returns the real statement DataSet tables. This is data output, not a PDF. Runs AutoCount CreditorStatement.Inquire through the local SDK and returns the real statement DataSet tables, including master/detail/aging rows where AutoCount provides them. Use arap-statement-autocount-pdf when the official AutoCount PDF layout is needed.
debtor-statement-report
read
PDF/Report
Read AutoCount debtor statement data.
Full payload schema: /v1/schema/commands/debtor-statement-report
{
"debtorCode": "300-A001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"statementType": "DebtorDefault",
"zeroBalanceMethod": "IncludeWithActiveTransactionOnly",
"showPaidTransaction": true
}
Notes: Uses AutoCount DebtorStatement.Inquire and returns the real statement DataSet tables. This is data output, not a PDF. Runs AutoCount DebtorStatement.Inquire through the local SDK and returns the real statement DataSet tables, including master/detail/aging rows where AutoCount provides them. Use arap-statement-autocount-pdf when the official AutoCount PDF layout is needed.
gl-document-autocount-pdf
report
PDF/Report
Generate AutoCount-looking GL cash book voucher and journal voucher PDFs.
Full payload schema: /v1/schema/commands/gl-document-autocount-pdf
{
"document": "payment-voucher",
"docNo": "PV-000001",
"reportName": "PV - Half Page"
}
Notes: payment-voucher, official-receipt, and journal-entry are supported with AutoCount report templates.
list-autocount-report-templates
read
PDF/Report
List AutoCount report templates available in this account book.
Full payload schema: /v1/schema/commands/list-autocount-report-templates
{
"document": "statement",
"maxRows": 200
}
Notes: Use this first when a human wants to choose the same report layout they see in AutoCount. Then send the selected ReportName as reportName to the PDF/report command. Lists report templates from AutoCount DefaultReport and Report tables. Pick a ReportName from the result and pass it as reportName to AutoCount PDF/report commands.
purchase-document-autocount-pdf
report
PDF/Report
Generate an AutoCount-looking purchase document PDF/report.
Full payload schema: /v1/schema/commands/purchase-document-autocount-pdf
{
"document": "purchase-invoice",
"docNo": "PI-000001",
"reportName": "Purchase Invoice"
}
Notes: Uses AutoCount purchase report templates for PO, GRN, purchase invoice, purchase return, and cash purchase.
sales-document-autocount-pdf
report
PDF/Report
Generate an AutoCount-looking sales document PDF/report.
Full payload schema: /v1/schema/commands/sales-document-autocount-pdf
{
"document": "invoice",
"docNo": "IV-000001",
"reportName": "Invoice"
}
sales-invoice-autocount-pdf
report
PDF/Report
Legacy sales invoice PDF/export command. Prefer sales-document-autocount-pdf for new integrations.
Full payload schema: /v1/schema/commands/sales-invoice-autocount-pdf
{
"docNo": "IV-000001"
}
Notes: Compatibility command kept for older integrations.
sales-report-html
report
PDF/Report
Generate readable sales report HTML.
Full payload schema: /v1/schema/commands/sales-report-html
{
"document": "invoice"
}
statement-report-html
report
PDF/Report
Export a human-readable debtor or creditor statement HTML report.
Full payload schema: /v1/schema/commands/statement-report-html
{
"document": "debtor-statement",
"debtorCode": "300-A001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"maxRows": 2000
}
Notes: Statement HTML report uses real AutoCount SDK statement data. For official AutoCount PDF layout, use arap-statement-autocount-pdf. Exports a human-readable statement HTML file using AutoCount SDK statement data. For official AutoCount PDF layout, use arap-statement-autocount-pdf.
stock-document-autocount-pdf
report
PDF/Report
Generate an AutoCount-looking stock document PDF/report.
Full payload schema: /v1/schema/commands/stock-document-autocount-pdf
{
"document": "stock-adjustment",
"docNo": "SA-000001",
"reportName": "Stock Adjustment"
}
Notes: Uses AutoCount stock and manufacturing stock report templates.
cancel-advanced-quotation
write
Void
Cancel a advanced quotation when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-advanced-quotation
{
"docNo": "AQ-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-cash-sale
write
Void
Cancel a cash sale when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-cash-sale
{
"docNo": "CS-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-delivery-order
write
Void
Cancel a delivery order when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-delivery-order
{
"docNo": "DO-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-quotation
write
Void
Cancel a quotation when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-quotation
{
"docNo": "QT-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-sales-credit-note
write
Void
Cancel a sales credit note when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-credit-note
{
"docNo": "CN-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-sales-debit-note
write
Void
Cancel a sales debit note when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-debit-note
{
"docNo": "DN-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-sales-invoice
write
Void
Cancel a sales invoice when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-invoice
{
"docNo": "IV-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
cancel-sales-order
write
Void
Cancel a sales order when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-order
{
"docNo": "SO-000001",
"reason": "cancelled by API request"
}
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
create-advanced-quotation
write
Create
Create an advanced quotation.
Full payload schema: /v1/schema/commands/create-advanced-quotation
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates advanced quotation through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-cash-sale
write
Create
Create a cash sale.
Full payload schema: /v1/schema/commands/create-cash-sale
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Create Cash Sale with payment. Creates cash sale through AutoCount SDK and returns paymentLines where AutoCount exposes the payment table. Use read-payment-methods first; payments[].paymentMethod must match an active AutoCount Payment Method code, and paymentAmount totals should equal the document total. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-delivery-order
write
Create
Create a delivery order.
Full payload schema: /v1/schema/commands/create-delivery-order
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates delivery order through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-quotation
write
Create
Create a quotation.
Full payload schema: /v1/schema/commands/create-quotation
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates quotation through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-sales-credit-note
write
Create
Create a sales credit note.
Full payload schema: /v1/schema/commands/create-sales-credit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates sales credit note through AutoCount Sales CreditNote SDK when available. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-sales-debit-note
write
Create
Create a sales debit note.
Full payload schema: /v1/schema/commands/create-sales-debit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates sales debit note through AutoCount Sales DebitNote SDK when available. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-sales-invoice
write
Create
Create a sales invoice.
Full payload schema: /v1/schema/commands/create-sales-invoice
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Requires write access permission. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
create-sales-order
write
Create
Create a sales order.
Full payload schema: /v1/schema/commands/create-sales-order
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates sales order through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
delete-advanced-quotation
write
Delete
Delete/void request for a advanced quotation.
Full payload schema: /v1/schema/commands/delete-advanced-quotation
{
"docNo": "AQ-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-cash-sale
write
Delete
Delete/void request for a cash sale.
Full payload schema: /v1/schema/commands/delete-cash-sale
{
"docNo": "CS-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-delivery-order
write
Delete
Delete/void request for a delivery order.
Full payload schema: /v1/schema/commands/delete-delivery-order
{
"docNo": "DO-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-quotation
write
Delete
Delete/void request for a quotation.
Full payload schema: /v1/schema/commands/delete-quotation
{
"docNo": "QT-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-sales-credit-note
write
Delete
Delete/void request for a sales credit note.
Full payload schema: /v1/schema/commands/delete-sales-credit-note
{
"docNo": "CN-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-sales-debit-note
write
Delete
Delete/void request for a sales debit note.
Full payload schema: /v1/schema/commands/delete-sales-debit-note
{
"docNo": "DN-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-sales-invoice
write
Delete
Delete/void request for a sales invoice.
Full payload schema: /v1/schema/commands/delete-sales-invoice
{
"docNo": "IV-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
delete-sales-order
write
Delete
Delete/void request for a sales order.
Full payload schema: /v1/schema/commands/delete-sales-order
{
"docNo": "SO-000001",
"reason": "deleted by API request"
}
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
get-advanced-quotation
read
Read
Get one advanced quotation by document number.
Full payload schema: /v1/schema/commands/get-advanced-quotation
{
"docNo": "AQ-000001"
}
get-cash-sale
read
Read
Get one cash sale by document number.
Full payload schema: /v1/schema/commands/get-cash-sale
{
"docNo": "CS-000001"
}
get-delivery-order
read
Read
Get one delivery order by document number.
Full payload schema: /v1/schema/commands/get-delivery-order
{
"docNo": "DO-000001"
}
get-quotation
read
Read
Get one quotation by document number.
Full payload schema: /v1/schema/commands/get-quotation
{
"docNo": "QT-000001"
}
get-sales-credit-note
read
Read
Get one sales credit note by document number.
Full payload schema: /v1/schema/commands/get-sales-credit-note
{
"docNo": "CN-000001"
}
get-sales-debit-note
read
Read
Get one sales debit note by document number.
Full payload schema: /v1/schema/commands/get-sales-debit-note
{
"docNo": "DN-000001"
}
get-sales-invoice
read
Read
Get one sales invoice by document number.
Full payload schema: /v1/schema/commands/get-sales-invoice
{
"docNo": "IV-000001"
}
get-sales-order
read
Read
Get one sales order by document number.
Full payload schema: /v1/schema/commands/get-sales-order
{
"docNo": "SO-000001"
}
list-advanced-quotations
read
Read
List advanced quotations.
Full payload schema: /v1/schema/commands/list-advanced-quotations
No payload fields required.
{}
list-cash-sales
read
Read
List cash sales.
Full payload schema: /v1/schema/commands/list-cash-sales
No payload fields required.
{}
list-delivery-orders
read
Read
List delivery orders.
Full payload schema: /v1/schema/commands/list-delivery-orders
No payload fields required.
{}
list-quotations
read
Read
List quotations.
Full payload schema: /v1/schema/commands/list-quotations
No payload fields required.
{}
list-sales-credit-notes
read
Read
List sales credit notes.
Full payload schema: /v1/schema/commands/list-sales-credit-notes
No payload fields required.
{}
list-sales-debit-notes
read
Read
List sales debit notes.
Full payload schema: /v1/schema/commands/list-sales-debit-notes
No payload fields required.
{}
list-sales-invoices
read
Read
List sales invoices. For latest rows, send limit/top/take; connector returns newest DocDate then DocNo first.
Full payload schema: /v1/schema/commands/list-sales-invoices
{
"limit": 10,
"top": 10,
"take": 10,
"orderBy": "docDate desc"
}
Notes: Uses a bounded read-only header query for known AutoCount sales invoice tables so large account books do not hang while loading all invoices.
list-sales-orders
read
Read
List sales orders.
Full payload schema: /v1/schema/commands/list-sales-orders
No payload fields required.
{}
read-advanced-quotation-lines
read
Read
Read advanced quotation detail lines only.
Full payload schema: /v1/schema/commands/read-advanced-quotation-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-cash-sale-lines
read
Read
Read cash sale detail lines only.
Full payload schema: /v1/schema/commands/read-cash-sale-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-delivery-order-lines
read
Read
Read delivery order detail lines only.
Full payload schema: /v1/schema/commands/read-delivery-order-lines
{
"docNo": "DO-000001",
"limit": 50
}
read-item-sales-by-customer
read
Read
Rank customers who bought an item by quantity and amount.
Full payload schema: /v1/schema/commands/read-item-sales-by-customer
{
"itemCode": "00002",
"fromDate": "2020-01-01",
"toDate": "2026-07-19",
"limit": 10
}
Notes: Use this when asking who bought the most of one item. It reads sales invoice and cash sale detail lines, groups by debtor/customer, and returns TotalQty, TotalAmount, DocumentCount, FirstDocDate, and LastDocDate.
read-quotation-lines
read
Read
Read quotation detail lines only.
Full payload schema: /v1/schema/commands/read-quotation-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-sales-credit-note-lines
read
Read
Read sales credit note detail lines only.
Full payload schema: /v1/schema/commands/read-sales-credit-note-lines
{
"docNo": "CN-000001",
"limit": 50
}
read-sales-debit-note-lines
read
Read
Read sales debit note detail lines only.
Full payload schema: /v1/schema/commands/read-sales-debit-note-lines
{
"docNo": "DN-000001",
"limit": 50
}
read-sales-detail-lines
read
Read
Read all sales document lines together, or filter with document.
Full payload schema: /v1/schema/commands/read-sales-detail-lines
{
"document": "sales-invoice",
"itemCode": "ITEM001",
"dateFrom": "2026-01-01",
"dateTo": "2026-07-19",
"limit": 50
}
Notes: Prefer the document-specific read-*-lines commands when the document family is known.
read-sales-invoice-lines
read
Read
Read sales invoice detail lines only.
Full payload schema: /v1/schema/commands/read-sales-invoice-lines
{
"itemCode": "ITEM001",
"dateFrom": "2026-01-01",
"limit": 50
}
Notes: Returns header keys plus raw AutoCount invoice detail columns such as ItemCode, AccNo, Qty, UOM, UnitPrice, TaxCode, ProjNo, DeptNo, and Detail_* fields.
read-sales-order-lines
read
Read
Read sales order detail lines only.
Full payload schema: /v1/schema/commands/read-sales-order-lines
{
"debtorCode": "300-A001",
"limit": 50
}
transfer-delivery-order-to-sales-invoice
write
Transfer
Transfer delivery order to sales invoice.
Full payload schema: /v1/schema/commands/transfer-delivery-order-to-sales-invoice
{
"sourceDocNo": "DO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer delivery order to sales invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-quotation-to-delivery-order
write
Transfer
Transfer quotation directly to delivery order.
Full payload schema: /v1/schema/commands/transfer-quotation-to-delivery-order
{
"sourceDocNo": "QT-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer quotation to delivery order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic where the account book allows direct quotation-to-delivery-order transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-quotation-to-sales-invoice
write
Transfer
Transfer quotation directly to sales invoice.
Full payload schema: /v1/schema/commands/transfer-quotation-to-sales-invoice
{
"sourceDocNo": "QT-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer quotation to sales invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic where the account book allows direct quotation-to-sales-invoice transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-quotation-to-sales-order
write
Transfer
Transfer quotation to sales order.
Full payload schema: /v1/schema/commands/transfer-quotation-to-sales-order
{
"sourceDocNo": "QT-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer quotation to sales order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-sales-invoice-to-sales-credit-note
write
Transfer
Transfer sales invoice to sales credit note.
Full payload schema: /v1/schema/commands/transfer-sales-invoice-to-sales-credit-note
{
"sourceDocNo": "IV-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales invoice to sales credit note",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-sales-order-to-delivery-order
write
Transfer
Transfer sales order to delivery order.
Full payload schema: /v1/schema/commands/transfer-sales-order-to-delivery-order
{
"sourceDocNo": "SO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales order to delivery order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-sales-order-to-purchase-order
write
Transfer
Transfer sales order to purchase order.
Full payload schema: /v1/schema/commands/transfer-sales-order-to-purchase-order
{
"sourceDocNo": "SO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales order to purchase order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic where supported by the account book. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
transfer-sales-order-to-sales-invoice
write
Transfer
Transfer sales order directly to sales invoice.
Full payload schema: /v1/schema/commands/transfer-sales-order-to-sales-invoice
{
"sourceDocNo": "SO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales order to sales invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Notes: Uses AutoCount transfer logic where the account book allows direct sales-order-to-invoice transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
update-advanced-quotation
write
Edit
Update advanced quotation header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-advanced-quotation
{
"docNo": "AD-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-cash-sale
write
Edit
Update cash sale header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-cash-sale
{
"docNo": "CA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-delivery-order
write
Edit
Update delivery order header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-delivery-order
{
"docNo": "DE-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-quotation
write
Edit
Update quotation header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-quotation
{
"docNo": "QU-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-sales-credit-note
write
Edit
Update sales credit note header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-credit-note
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-sales-debit-note
write
Edit
Update sales debit note header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-debit-note
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-sales-invoice
write
Edit
Update sales invoice header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-invoice
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
update-sales-order
write
Edit
Update sales order header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-order
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-advanced-quotation
read
Validate
Validate a advanced quotation without saving.
Full payload schema: /v1/schema/commands/validate-advanced-quotation
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-cash-sale
read
Validate
Validate a cash sale without saving.
Full payload schema: /v1/schema/commands/validate-cash-sale
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-delivery-order
read
Validate
Validate a delivery order without saving.
Full payload schema: /v1/schema/commands/validate-delivery-order
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-quotation
read
Validate
Validate a quotation without saving.
Full payload schema: /v1/schema/commands/validate-quotation
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-sales-credit-note
read
Validate
Validate a sales credit note without saving.
Full payload schema: /v1/schema/commands/validate-sales-credit-note
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-sales-debit-note
read
Validate
Validate a sales debit note without saving.
Full payload schema: /v1/schema/commands/validate-sales-debit-note
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-sales-invoice
read
Validate
Validate a sales invoice without saving.
Full payload schema: /v1/schema/commands/validate-sales-invoice
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
validate-sales-order
read
Validate
Validate a sales order without saving.
Full payload schema: /v1/schema/commands/validate-sales-order
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
void-advanced-quotation
write
Void
Void a advanced quotation while keeping audit trail.
Full payload schema: /v1/schema/commands/void-advanced-quotation
{
"docNo": "AQ-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-cash-sale
write
Void
Void a cash sale while keeping audit trail.
Full payload schema: /v1/schema/commands/void-cash-sale
{
"docNo": "CS-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-delivery-order
write
Void
Void a delivery order while keeping audit trail.
Full payload schema: /v1/schema/commands/void-delivery-order
{
"docNo": "DO-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-quotation
write
Void
Void a quotation while keeping audit trail.
Full payload schema: /v1/schema/commands/void-quotation
{
"docNo": "QT-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-sales-credit-note
write
Void
Void a sales credit note while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-credit-note
{
"docNo": "CN-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-sales-debit-note
write
Void
Void a sales debit note while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-debit-note
{
"docNo": "DN-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-sales-invoice
write
Void
Void a sales invoice while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-invoice
{
"docNo": "IV-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
void-sales-order
write
Void
Void a sales order while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-order
{
"docNo": "SO-000001",
"reason": "voided by API request"
}
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
create-account-book
write
Create
Create a new AutoCount account book from an existing connector company.
Full payload schema: /v1/schema/commands/create-account-book
{
"databaseName": "AED_NEW_COMPANY",
"companyName": "New Company Sdn Bhd",
"fiscalYearStartDate": "2026-01-01",
"actualDataStartDate": "2026-01-01",
"newCompanyId": "newcompany",
"confirm": true
}
Notes: Uses AutoCount.ManageAccountBook.AccountBookHelper.CreateBaseAccountBook, then AutoCount.Tools.AutoAccessRightUpdate.Create(DBSetting).Update(), then registers the account book in A2006.dmf. Requires current connector company to have SQL credentials.
explain-command-error
read
read
Explain technical connector or AutoCount errors in human and AI-friendly field guidance.
Full payload schema: /v1/schema/commands/explain-command-error
{
"targetType": "create-ap-invoice",
"message": "MissingMethodException: EditDetail not found"
}
Notes: Use after failed commands to decide whether the error is missing master data, unsupported field write, SDK method gap, or setup/config issue.
read-company-ai-context
read
Read
Read the AI Startup Flow context for an AutoCount account book.
Full payload schema: /v1/schema/commands/read-company-ai-context
{
"includeHints": true
}
Notes: Intelligent Connector Flow step 1. Returns starterCommands, activeModules, workflowHints, safetyRules, companyProfile, companyName, and discovery counts. Schema: /v1/schema/commands/read-company-ai-context
read-company-profile
read
Read
Read the real AutoCount Company Profile for the selected account book.
Full payload schema: /v1/schema/commands/read-company-profile
No payload fields required.
{}
Notes: Use this first when database names are similar. Reads AutoCount Profile/CompanyProfile and returns companyId, database, companyName, registrationNo, address, phone/email/website, plus redacted/truncated source fields.
read-field-catalog
read
Read
Read field catalog so humans and AI know read/write/native/guarded fields.
Full payload schema: /v1/schema/commands/read-field-catalog
{
"module": "Purchase",
"document": "purchase-invoice"
}
Notes: Intelligent Connector Flow step 2. Returns catalogVersion, cache, modules, documents, fields, mode, and source. Schema: /v1/schema/commands/read-field-catalog
run-company-discovery
read
read
Build a read-only Mac Soft AI demo profile from the AutoCount account book.
Full payload schema: /v1/schema/commands/run-company-discovery
No payload fields required.
{
"includeHints": true
}
Notes: Returns activeModules, masterDataCounts, documentCounts, features, workflows, and aiHints. Use this first for CEO, executive, admin, and clerk demos before preparing writes.
suggest-command-fixes
read
read
Suggest safe fixes when validation fails or a master value is missing.
Full payload schema: /v1/schema/commands/suggest-command-fixes
{
"targetType": "create-ap-payment",
"payload": {
"creditorCode": "400-A001",
"amount": 100
}
}
Notes: Intelligent Connector Flow step 4. Suggestions point to read-payment-methods, read-chart-accounts, read-items, read-debtors, read-creditors, outstanding documents, and previous transaction patterns.
validate-command
read
Validate
Preflight a proposed command before saving.
Full payload schema: /v1/schema/commands/validate-command
{
"targetType": "create-ap-invoice",
"payload": {
"creditorCode": "400-A001",
"docDate": "2026-07-21",
"lines": [
{
"accountNo": "620000-2000",
"amount": 100
}
]
},
"safetyMode": "safe"
}
Notes: Intelligent Connector Flow step 3. Returns readyToSave, risk, checks, warnings, and suggestions. Use validateOnly on actual write commands to force preflight. Schema: /v1/schema/commands/validate-command
create-item-bom
write
Create
Create item BOM definition.
Full payload schema: /v1/schema/commands/create-item-bom
{
"itemCode": "FINISHED-API",
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
Notes: Creates item BOM through AutoCount SDK. Manufacturing commands should use BOM parent/component item codes from the same account book. Full human payload reference for Item BOM. Finished and component item codes must exist in the same account book and be valid for BOM usage. New account books normally need these items created before BOM/manufacturing commands.
create-item-package
write
Create
Create item package definition.
Full payload schema: /v1/schema/commands/create-item-package
{
"packageCode": "PKG-API",
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
Notes: Creates item package through AutoCount SDK. Full human payload reference for Item Package. Component item codes and UOM must exist in AutoCount.
create-stock-adjustment
write
Create
Create stock adjustment.
Full payload schema: /v1/schema/commands/create-stock-adjustment
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock adjustment detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-assembly
write
Create
Create stock assembly.
Full payload schema: /v1/schema/commands/create-stock-assembly
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"description": "Stock assembly created through API",
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"reason": "correct assembly detail"
}
Notes: Creates stock assembly with optional multiple component/detail lines through AutoCount manufacturing/stock logic. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
create-stock-assembly-order
write
Create
Create stock assembly order.
Full payload schema: /v1/schema/commands/create-stock-assembly-order
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"description": "Stock assembly order created through API",
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"reason": "correct assembly detail"
}
Notes: Creates stock assembly order with optional multiple component/detail lines through AutoCount manufacturing/stock logic. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
create-stock-disassembly
write
Create
Create stock disassembly.
Full payload schema: /v1/schema/commands/create-stock-disassembly
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"description": "Stock disassembly created through API",
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"reason": "correct assembly detail"
}
Notes: Creates stock disassembly with optional multiple detail lines through AutoCount manufacturing/stock logic. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
create-stock-issue
write
Create
Create stock issue.
Full payload schema: /v1/schema/commands/create-stock-issue
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock issue detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-item-brand
write
Create
Create a Stock Item Brand Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-brand
{
"code": "BRAND1",
"description": "Brand 1"
}
Notes: Uses AutoCount stock item brand maintenance SDK where available.
create-stock-item-category
write
Create
Create a Stock Item Category Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-category
{
"code": "CAT1",
"description": "Category 1"
}
Notes: Uses AutoCount stock item category maintenance SDK where available.
create-stock-item-group
write
Create
Create a Stock Item Group Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-group
{
"code": "FG",
"description": "Finished Goods"
}
Notes: Uses AutoCount stock item group maintenance SDK where available.
create-stock-item-type
write
Create
Create a Stock Item Type Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-type
{
"code": "RAW",
"description": "Raw Material"
}
Notes: Uses AutoCount stock item type maintenance SDK where available.
create-stock-receive
write
Create
Create stock receive.
Full payload schema: /v1/schema/commands/create-stock-receive
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock receive detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-take
write
Create
Create stock take.
Full payload schema: /v1/schema/commands/create-stock-take
{
"docDate": "2026-06-24",
"location": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock take detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-transfer
write
Create
Create stock transfer.
Full payload schema: /v1/schema/commands/create-stock-transfer
{
"docDate": "2026-06-24",
"fromLocation": "HQ",
"toLocation": "STORE",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock transfer detail lines through AutoCount stock document logic. Fresh account books need at least two active stock locations before transfer. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-uom-conversion
write
Create
Create stock UOM conversion.
Full payload schema: /v1/schema/commands/create-stock-uom-conversion
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock UOM conversion detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-update-cost
write
Create
Create stock update cost document.
Full payload schema: /v1/schema/commands/create-stock-update-cost
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock update-cost detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
create-stock-write-off
write
Create
Create stock write-off.
Full payload schema: /v1/schema/commands/create-stock-write-off
{
"docDate": "2026-06-24",
"location": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Creates one or many stock write-off detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
delete-item-bom
write
Delete
Guarded item BOM delete request.
Full payload schema: /v1/schema/commands/delete-item-bom
{
"itemCode": "FINISHED-API",
"reason": "remove BOM"
}
Notes: Deletion remains guarded for master definitions.
delete-item-package
write
Delete
Guarded item package delete request.
Full payload schema: /v1/schema/commands/delete-item-package
{
"packageCode": "PKG-API",
"reason": "remove package"
}
Notes: Deletion remains guarded for master definitions.
delete-stock-adjustment
write
Delete
Delete stock adjustment.
Full payload schema: /v1/schema/commands/delete-stock-adjustment
{
"docNo": "SA-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-assembly
write
Delete
Delete stock assembly.
Full payload schema: /v1/schema/commands/delete-stock-assembly
{
"docNo": "ASM-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-assembly-order
write
Delete
Delete stock assembly order.
Full payload schema: /v1/schema/commands/delete-stock-assembly-order
{
"docNo": "ASO-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-disassembly
write
Delete
Delete stock disassembly.
Full payload schema: /v1/schema/commands/delete-stock-disassembly
{
"docNo": "DSA-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-issue
write
Delete
Delete stock issue.
Full payload schema: /v1/schema/commands/delete-stock-issue
{
"docNo": "SI-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-receive
write
Delete
Delete stock receive.
Full payload schema: /v1/schema/commands/delete-stock-receive
{
"docNo": "SR-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-take
write
Delete
Delete stock take.
Full payload schema: /v1/schema/commands/delete-stock-take
{
"docNo": "STK-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-transfer
write
Delete
Delete stock transfer.
Full payload schema: /v1/schema/commands/delete-stock-transfer
{
"docNo": "ST-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-uom-conversion
write
Delete
Delete stock UOM conversion.
Full payload schema: /v1/schema/commands/delete-stock-uom-conversion
{
"docNo": "UC-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-update-cost
write
Delete
Delete stock update cost.
Full payload schema: /v1/schema/commands/delete-stock-update-cost
{
"docNo": "SUC-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
delete-stock-write-off
write
Delete
Delete stock write-off.
Full payload schema: /v1/schema/commands/delete-stock-write-off
{
"docNo": "SWO-000001",
"reason": "remove/correct stock document"
}
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
export-items
read
read
Alias for read-items-all explicit full stock item export.
Full payload schema: /v1/schema/commands/export-items
{
"activeOnly": true
}
Notes: Use only for export/sync jobs, not repeated quick lookups.
get-item-bom
read
Read
Get one item BOM by document/code.
Full payload schema: /v1/schema/commands/get-item-bom
{
"docNo": "BOM-API"
}
get-item-package
read
Read
Get one item package by document/code.
Full payload schema: /v1/schema/commands/get-item-package
{
"docNo": "PKG-API"
}
get-stock-adjustment
read
Read
Get one stock adjustment by document/code.
Full payload schema: /v1/schema/commands/get-stock-adjustment
{
"docNo": "SA-000001"
}
get-stock-assembly
read
Read
Get one stock assembly by document/code.
Full payload schema: /v1/schema/commands/get-stock-assembly
{
"docNo": "ASM-000001"
}
get-stock-assembly-order
read
Read
Get one stock assembly order by document/code.
Full payload schema: /v1/schema/commands/get-stock-assembly-order
{
"docNo": "ASO-000001"
}
get-stock-disassembly
read
Read
Get one stock disassembly by document/code.
Full payload schema: /v1/schema/commands/get-stock-disassembly
{
"docNo": "DSA-000001"
}
get-stock-issue
read
Read
Get one stock issue by document/code.
Full payload schema: /v1/schema/commands/get-stock-issue
{
"docNo": "SI-000001"
}
get-stock-item-brand
read
Read
Get one Stock Item Brand Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-brand
{
"code": "BRAND1"
}
get-stock-item-category
read
Read
Get one Stock Item Category Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-category
{
"code": "CAT1"
}
get-stock-item-detail
read
Read
Read one stock item with all public SDK fields and child tables.
Full payload schema: /v1/schema/commands/get-stock-item-detail
{
"itemCode": "ITEM001",
"maxTableRows": 50
}
Notes: Uses AutoCount.Stock.Item.ItemDataAccess.LoadItem(View). Returns fields and child tables such as ItemUomTable, ItemPriceBook, ItemCustomerPrice, ItemSupplierPrice, ItemOpeningBalance, ItemBOMTable, ItemBatchTable, and sub-code/replacement/ingredient tables when available. If maxTableRows: 0 is requested without confirmFullDetail: true, the connector returns a bounded result with fullDetailBlocked so AI/customer calls do not hang accidentally.
get-stock-item-group
read
Read
Get one Stock Item Group Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-group
{
"code": "FG"
}
get-stock-item-type
read
Read
Get one Stock Item Type Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-type
{
"code": "RAW"
}
get-stock-receive
read
Read
Get one stock receive by document/code.
Full payload schema: /v1/schema/commands/get-stock-receive
{
"docNo": "SR-000001"
}
get-stock-take
read
Read
Get one stock take by document/code.
Full payload schema: /v1/schema/commands/get-stock-take
{
"docNo": "STK-000001"
}
get-stock-transfer
read
Read
Get one stock transfer by document/code.
Full payload schema: /v1/schema/commands/get-stock-transfer
{
"docNo": "ST-000001"
}
get-stock-uom-conversion
read
Read
Get one stock UOM conversion by document/code.
Full payload schema: /v1/schema/commands/get-stock-uom-conversion
{
"docNo": "UC-000001"
}
get-stock-update-cost
read
Read
Get one stock update cost by document/code.
Full payload schema: /v1/schema/commands/get-stock-update-cost
{
"docNo": "SUC-000001"
}
get-stock-write-off
read
Read
Get one stock write-off by document/code.
Full payload schema: /v1/schema/commands/get-stock-write-off
{
"docNo": "SWO-000001"
}
list-bom-items
read
Read
List item BOM records.
Full payload schema: /v1/schema/commands/list-bom-items
No payload fields required.
{}
list-item-packages
read
Read
List item package records.
Full payload schema: /v1/schema/commands/list-item-packages
No payload fields required.
{}
list-stock-adjustments
read
Read
List stock adjustment records.
Full payload schema: /v1/schema/commands/list-stock-adjustments
No payload fields required.
{}
list-stock-assemblies
read
Read
List stock assembly records.
Full payload schema: /v1/schema/commands/list-stock-assemblies
No payload fields required.
{}
list-stock-assembly-orders
read
Read
List stock assembly order records.
Full payload schema: /v1/schema/commands/list-stock-assembly-orders
No payload fields required.
{}
list-stock-disassemblies
read
Read
List stock disassembly records.
Full payload schema: /v1/schema/commands/list-stock-disassemblies
No payload fields required.
{}
list-stock-issues
read
Read
List stock issue records.
Full payload schema: /v1/schema/commands/list-stock-issues
No payload fields required.
{}
list-stock-item-brands
read
Read
List Stock Item Brand Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-brands
No payload fields required.
{}
list-stock-item-categories
read
Read
List Stock Item Category Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-categories
No payload fields required.
{}
list-stock-item-groups
read
Read
List Stock Item Group Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-groups
No payload fields required.
{}
list-stock-item-types
read
Read
List Stock Item Type Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-types
No payload fields required.
{}
list-stock-receives
read
Read
List stock receive records.
Full payload schema: /v1/schema/commands/list-stock-receives
No payload fields required.
{}
list-stock-takes
read
Read
List stock take records.
Full payload schema: /v1/schema/commands/list-stock-takes
No payload fields required.
{}
list-stock-transfers
read
Read
List stock transfer records.
Full payload schema: /v1/schema/commands/list-stock-transfers
No payload fields required.
{}
list-stock-uom-conversions
read
Read
List stock UOM conversion records.
Full payload schema: /v1/schema/commands/list-stock-uom-conversions
No payload fields required.
{}
list-stock-update-costs
read
Read
List stock update cost records.
Full payload schema: /v1/schema/commands/list-stock-update-costs
No payload fields required.
{}
list-stock-write-offs
read
Read
List stock write-off records.
Full payload schema: /v1/schema/commands/list-stock-write-offs
No payload fields required.
{}
read-items
read
Read
List stock items quickly with limit/search filters.
Full payload schema: /v1/schema/commands/read-items
{
"limit": 50,
"search": "V274",
"activeOnly": true
}
Notes: Bounded by default so AI tools do not block the connector queue with full item exports. Use read-items-all/export-items only when a full item master export is required.
read-items-all
read
Read
Explicit full stock item export.
Full payload schema: /v1/schema/commands/read-items-all
{
"activeOnly": true
}
Notes: Can be slow on large account books. Prefer read-items with limit/search for normal AI lookup.
read-locations
read
Read
List stock locations.
Full payload schema: /v1/schema/commands/read-locations
No payload fields required.
{}
read-stock-adjustment-lines
read
Read
Read stock adjustment detail lines only.
Full payload schema: /v1/schema/commands/read-stock-adjustment-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-detail-lines
read
Read
Read stock transaction lines together, or filter with document.
Full payload schema: /v1/schema/commands/read-stock-detail-lines
{
"document": "stock-adjustment",
"itemCode": "ITEM001",
"limit": 50
}
read-stock-issue-lines
read
Read
Read stock issue detail lines only.
Full payload schema: /v1/schema/commands/read-stock-issue-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-movement
read
Read
Read stock movement.
Full payload schema: /v1/schema/commands/read-stock-movement
{
"itemCode": "ITEM001"
}
read-stock-receive-lines
read
Read
Read stock receive detail lines only.
Full payload schema: /v1/schema/commands/read-stock-receive-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-take-lines
read
Read
Read stock take detail lines only.
Full payload schema: /v1/schema/commands/read-stock-take-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-transfer-lines
read
Read
Read stock transfer detail lines only.
Full payload schema: /v1/schema/commands/read-stock-transfer-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-uom-conversion-lines
read
Read
Read stock UOM conversion detail lines only.
Full payload schema: /v1/schema/commands/read-stock-uom-conversion-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-update-cost-lines
read
Read
Read stock update cost detail lines only.
Full payload schema: /v1/schema/commands/read-stock-update-cost-lines
{
"itemCode": "ITEM001",
"limit": 50
}
read-stock-write-off-lines
read
Read
Read stock write-off detail lines only.
Full payload schema: /v1/schema/commands/read-stock-write-off-lines
{
"itemCode": "ITEM001",
"limit": 50
}
stock-balance
read
Read
Inquire stock balance by item/location using AutoCount stock balance by location logic.
Full payload schema: /v1/schema/commands/stock-balance
{
"itemCode": "ITEM001",
"location": "HQ",
"maxRows": 100
}
Notes: Returns rows from the first non-empty AutoCount result table plus table summaries. Use this when a customer asks stock quantity by location.
update-item-bom
write
Edit
Update item BOM definition.
Full payload schema: /v1/schema/commands/update-item-bom
{
"itemCode": "FINISHED-API",
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"reason": "correct BOM",
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
Notes: Updates item BOM through AutoCount SDK. Full human payload reference for Item BOM. Finished and component item codes must exist in the same account book and be valid for BOM usage. New account books normally need these items created before BOM/manufacturing commands.
update-item-package
write
Edit
Guarded item package edit request.
Full payload schema: /v1/schema/commands/update-item-package
{
"packageCode": "PKG-API",
"reason": "correct package",
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
Notes: Returns editBlocked until item package update safety is proven. Full human payload reference for Item Package. Component item codes and UOM must exist in AutoCount.
update-stock-adjustment
write
Edit
Edit stock adjustment header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-adjustment
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-assembly
write
Edit
Edit stock assembly header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-assembly
{
"docNo": "ASM-000001",
"description": "Stock assembly created through API",
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail",
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
update-stock-assembly-order
write
Edit
Edit stock assembly order header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-assembly-order
{
"docNo": "ASM-000001",
"description": "Stock assembly order created through API",
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail",
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
update-stock-disassembly
write
Edit
Edit stock disassembly header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-disassembly
{
"docNo": "ASM-000001",
"description": "Stock disassembly created through API",
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail",
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
update-stock-issue
write
Edit
Edit stock issue header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-issue
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-item-brand
write
Edit
Update a Stock Item Brand Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-brand
{
"code": "BRAND1",
"description": "Brand 1"
}
Notes: Uses AutoCount stock item brand maintenance SDK where available.
update-stock-item-category
write
Edit
Update a Stock Item Category Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-category
{
"code": "CAT1",
"description": "Category 1"
}
Notes: Uses AutoCount stock item category maintenance SDK where available.
update-stock-item-group
write
Edit
Update a Stock Item Group Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-group
{
"code": "FG",
"description": "Finished Goods"
}
Notes: Uses AutoCount stock item group maintenance SDK where available.
update-stock-item-type
write
Edit
Update a Stock Item Type Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-type
{
"code": "RAW",
"description": "Raw Material"
}
Notes: Uses AutoCount stock item type maintenance SDK where available.
update-stock-receive
write
Edit
Edit stock receive header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-receive
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-take
write
Edit
Edit stock take header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-take
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-transfer
write
Edit
Edit stock transfer header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-transfer
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-uom-conversion
write
Edit
Edit stock UOM conversion header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-uom-conversion
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-update-cost
write
Edit
Edit stock update cost header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-update-cost
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
update-stock-write-off
write
Edit
Edit stock write-off header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-write-off
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-item-bom
read
Validate
Validate item BOM without saving.
Full payload schema: /v1/schema/commands/validate-item-bom
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"itemCode": "FINISHED-API",
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
Notes: Validation only; does not save. Full human payload reference for Item BOM. Finished and component item codes must exist in the same account book and be valid for BOM usage. New account books normally need these items created before BOM/manufacturing commands.
validate-item-package
read
Validate
Validate item package without saving.
Full payload schema: /v1/schema/commands/validate-item-package
{
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"packageCode": "PKG-API",
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
Notes: Validation only; does not save. Full human payload reference for Item Package. Component item codes and UOM must exist in AutoCount.
validate-stock-adjustment
read
Validate
Validate stock adjustment without saving.
Full payload schema: /v1/schema/commands/validate-stock-adjustment
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-assembly
read
Validate
Validate stock assembly without saving.
Full payload schema: /v1/schema/commands/validate-stock-assembly
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock assembly created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
Notes: Validation only; does not save. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
validate-stock-assembly-order
read
Validate
Validate stock assembly order without saving.
Full payload schema: /v1/schema/commands/validate-stock-assembly-order
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock assembly order created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
Notes: Validation only; does not save. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
validate-stock-disassembly
read
Validate
Validate stock disassembly without saving.
Full payload schema: /v1/schema/commands/validate-stock-disassembly
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock disassembly created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
Notes: Validation only; does not save. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
validate-stock-issue
read
Validate
Validate stock issue without saving.
Full payload schema: /v1/schema/commands/validate-stock-issue
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-receive
read
Validate
Validate stock receive without saving.
Full payload schema: /v1/schema/commands/validate-stock-receive
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-take
read
Validate
Validate stock take without saving.
Full payload schema: /v1/schema/commands/validate-stock-take
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-transfer
read
Validate
Validate stock transfer without saving.
Full payload schema: /v1/schema/commands/validate-stock-transfer
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-uom-conversion
read
Validate
Validate stock UOM conversion without saving.
Full payload schema: /v1/schema/commands/validate-stock-uom-conversion
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-update-cost
read
Validate
Validate stock update cost without saving.
Full payload schema: /v1/schema/commands/validate-stock-update-cost
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
validate-stock-write-off
read
Validate
Validate stock write-off without saving.
Full payload schema: /v1/schema/commands/validate-stock-write-off
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
void-item-bom
write
Void
Guarded item BOM void request.
Full payload schema: /v1/schema/commands/void-item-bom
{
"itemCode": "FINISHED-API",
"reason": "void BOM"
}
Notes: Master definitions do not have a proven safe void path; request is guarded.
void-item-package
write
Void
Guarded item package void request.
Full payload schema: /v1/schema/commands/void-item-package
{
"packageCode": "PKG-API",
"reason": "void package"
}
Notes: Master definitions do not have a proven safe void path; request is guarded.
void-stock-adjustment
write
Void
Void/cancel stock adjustment.
Full payload schema: /v1/schema/commands/void-stock-adjustment
{
"docNo": "SA-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-assembly
write
Void
Void/cancel stock assembly.
Full payload schema: /v1/schema/commands/void-stock-assembly
{
"docNo": "ASM-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-assembly-order
write
Void
Void/cancel stock assembly order.
Full payload schema: /v1/schema/commands/void-stock-assembly-order
{
"docNo": "ASO-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-disassembly
write
Void
Void/cancel stock disassembly.
Full payload schema: /v1/schema/commands/void-stock-disassembly
{
"docNo": "DSA-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-issue
write
Void
Void/cancel stock issue.
Full payload schema: /v1/schema/commands/void-stock-issue
{
"docNo": "SI-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-receive
write
Void
Void/cancel stock receive.
Full payload schema: /v1/schema/commands/void-stock-receive
{
"docNo": "SR-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-take
write
Void
Void/cancel stock take.
Full payload schema: /v1/schema/commands/void-stock-take
{
"docNo": "STK-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-transfer
write
Void
Void/cancel stock transfer.
Full payload schema: /v1/schema/commands/void-stock-transfer
{
"docNo": "ST-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-uom-conversion
write
Void
Void/cancel stock UOM conversion.
Full payload schema: /v1/schema/commands/void-stock-uom-conversion
{
"docNo": "UC-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-update-cost
write
Void
Void/cancel stock update cost.
Full payload schema: /v1/schema/commands/void-stock-update-cost
{
"docNo": "SUC-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
void-stock-write-off
write
Void
Void/cancel stock write-off.
Full payload schema: /v1/schema/commands/void-stock-write-off
{
"docNo": "SWO-000001",
"reason": "void/correct stock document"
}
Notes: Uses AutoCount SDK CancelDocument.
create-gst-payment
write
Create
Guarded GST payment request.
Full payload schema: /v1/schema/commands/create-gst-payment
{
"processorKey": 1,
"paymentDate": "2026-04-30",
"reason": "record GST payment"
}
Notes: Returns createBlocked until fresh-account-book proof confirms the AutoCount GSTPaymentCommand workflow.
create-gst-processor
write
Create
Guarded GST processor create request.
Full payload schema: /v1/schema/commands/create-gst-processor
{
"fromDate": "2026-01-01",
"toDate": "2026-03-31",
"reason": "prepare GST return"
}
Notes: Returns createBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
create-sst-payment
write
Create
Guarded SST payment request.
Full payload schema: /v1/schema/commands/create-sst-payment
{
"processorKey": 1,
"paymentDate": "2026-03-31",
"reason": "record SST payment"
}
Notes: Returns createBlocked until fresh-account-book proof confirms the AutoCount SSTPaymentCommand workflow.
create-sst-processor
write
Create
Guarded SST processor create request.
Full payload schema: /v1/schema/commands/create-sst-processor
{
"fromDate": "2026-01-01",
"toDate": "2026-02-28",
"reason": "prepare SST return"
}
Notes: Returns createBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
create-tariff-code
write
Create
Create a tariff code.
Full payload schema: /v1/schema/commands/create-tariff-code
{
"code": "API-TAR",
"description": "API tariff",
"taxType": "S-0"
}
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.NewTariff and SaveTariff.
create-tax-code
write
Create
Alias for create-tax-type; creates an AutoCount tax code.
Full payload schema: /v1/schema/commands/create-tax-code
{
"code": "S-API",
"description": "API sales tax",
"taxRate": 8,
"supplyPurchase": "S"
}
Notes: Cloud and local connector normalize this to create-tax-type before execution.
create-tax-entity
write
Create
Create a tax entity.
Full payload schema: /v1/schema/commands/create-tax-entity
{
"name": "API Tax Entity Sdn Bhd",
"tin": "C1234567890",
"identityNo": "202601010001",
"identityType": "BRN",
"countryCode": "MYS"
}
Notes: Uses AutoCount.Tax.TaxEntityMaintenance.TaxEntityCommand.New and TaxEntity.Save.
create-tax-type
write
Create
Create a tax code.
Full payload schema: /v1/schema/commands/create-tax-type
{
"code": "S-API",
"description": "API sales tax",
"taxRate": 8,
"supplyPurchase": "S",
"isActive": true
}
Notes: Uses AutoCount.Tax.TaxCodeMaintenance.TaxCodeCommand.NewTaxCode and SaveTaxCode.
create-withholding-tax-code
write
Create
Create a withholding tax code.
Full payload schema: /v1/schema/commands/create-withholding-tax-code
{
"code": "WHT-API",
"withholdingTaxRate": 2,
"description": "API withholding tax"
}
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.NewWithholdingTax and SaveWithholdingTax.
get-gst-processor
read
Read
Get one GST processor by key.
Full payload schema: /v1/schema/commands/get-gst-processor
{
"key": 1
}
Notes: Uses AutoCount.Tax.MalaysiaGST.GSTProcessor.GSTProcessorCommand.ViewGSTProcessor.
get-sst-processor
read
Read
Get one SST processor by key.
Full payload schema: /v1/schema/commands/get-sst-processor
{
"key": 1
}
Notes: Uses AutoCount.Tax.MalaysiaGST.SSTProcessor.SSTProcessorCommand.ViewSSTProcessor.
get-tariff-code
read
Read
Get one tariff code.
Full payload schema: /v1/schema/commands/get-tariff-code
{
"code": "API-TAR"
}
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.GetTariff.
get-tax-code
read
Read
Alias for get-tax-type; gets one AutoCount tax code.
Full payload schema: /v1/schema/commands/get-tax-code
{
"taxCode": "S-0"
}
Notes: Cloud and local connector normalize this to get-tax-type before execution.
get-tax-entity
read
Read
Get one tax entity by id, code, or name.
Full payload schema: /v1/schema/commands/get-tax-entity
{
"code": "MY"
}
Notes: Reads account-book tax entity data without direct SQL writes.
get-tax-type
read
Read
Get one tax code by code.
Full payload schema: /v1/schema/commands/get-tax-type
{
"code": "S-0"
}
Notes: Reads one account-book tax setup row without direct SQL writes. Alias accepted: get-tax-code.
get-withholding-tax-code
read
Read
Get one withholding tax code.
Full payload schema: /v1/schema/commands/get-withholding-tax-code
{
"code": "WHT-API"
}
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.GetWithholdingTax.
list-gst-processors
read
Read
List GST processors.
Full payload schema: /v1/schema/commands/list-gst-processors
No payload fields required.
{}
Notes: Uses AutoCount.Tax.MalaysiaGST.GSTProcessor.GSTProcessorCommand.LoadGSTProcessorTable.
list-sst-processors
read
Read
List SST processors.
Full payload schema: /v1/schema/commands/list-sst-processors
No payload fields required.
{}
Notes: Uses AutoCount.Tax.MalaysiaGST.SSTProcessor.SSTProcessorCommand.LoadSSTProcessorTable.
list-tariff-codes
read
Read
List tariff codes.
Full payload schema: /v1/schema/commands/list-tariff-codes
No payload fields required.
{}
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.LoadBrowseTable.
list-tax-codes
read
Read
Alias for list-tax-types; lists all AutoCount tax codes.
Full payload schema: /v1/schema/commands/list-tax-codes
No payload fields required.
{}
Notes: Cloud and local connector normalize this to list-tax-types before execution.
list-tax-entities
read
Read
List tax entities from the account book.
Full payload schema: /v1/schema/commands/list-tax-entities
No payload fields required.
{}
Notes: Uses AutoCount.Tax.TaxEntityMaintenance.TaxEntityCommand.LoadDataTable.
list-tax-types
read
Read
List all tax codes from the account book.
Full payload schema: /v1/schema/commands/list-tax-types
No payload fields required.
{}
Notes: Uses AutoCount.Tax.TaxCodeMaintenance.TaxCodeCommand.LoadBrowseTable. Alias accepted: list-tax-codes.
list-withholding-tax-codes
read
Read
List withholding tax codes.
Full payload schema: /v1/schema/commands/list-withholding-tax-codes
No payload fields required.
{}
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.LoadBrowseTable.
read-gst-settings
read
Read
Read GST settings.
Full payload schema: /v1/schema/commands/read-gst-settings
No payload fields required.
{}
Notes: Reads settings from available account-book GST tables.
read-sst-settings
read
Read
Read SST settings.
Full payload schema: /v1/schema/commands/read-sst-settings
No payload fields required.
{}
Notes: Reads settings from available account-book SST tables.
update-gst-processor
write
Edit
Guarded GST processor edit request.
Full payload schema: /v1/schema/commands/update-gst-processor
{
"key": 1,
"reason": "correct period"
}
Notes: Returns editBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
update-gst-settings
write
Edit
Guarded GST settings update request.
Full payload schema: /v1/schema/commands/update-gst-settings
{
"reason": "configure tax period",
"settings": {}
}
Notes: Returns editBlocked until the exact AutoCount SDK save workflow is proven.
update-sst-processor
write
Edit
Guarded SST processor edit request.
Full payload schema: /v1/schema/commands/update-sst-processor
{
"key": 1,
"reason": "correct period"
}
Notes: Returns editBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
update-sst-settings
write
Edit
Guarded SST settings update request.
Full payload schema: /v1/schema/commands/update-sst-settings
{
"reason": "configure SST period",
"settings": {}
}
Notes: Returns editBlocked until the exact AutoCount SDK save workflow is proven.
update-tariff-code
write
Edit
Update a tariff code.
Full payload schema: /v1/schema/commands/update-tariff-code
{
"code": "API-TAR",
"description": "Updated API tariff"
}
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.GetTariff and SaveTariff.
update-tax-code
write
Edit
Alias for update-tax-type; updates an AutoCount tax code.
Full payload schema: /v1/schema/commands/update-tax-code
{
"code": "S-API",
"description": "Updated API sales tax",
"taxRate": 8,
"supplyPurchase": "S"
}
Notes: Cloud and local connector normalize this to update-tax-type before execution.
update-tax-entity
write
Edit
Update a tax entity.
Full payload schema: /v1/schema/commands/update-tax-entity
{
"taxEntityID": 1,
"name": "Updated API Tax Entity Sdn Bhd",
"countryCode": "MYS"
}
Notes: Uses AutoCount.Tax.TaxEntityMaintenance.TaxEntityCommand.Edit and TaxEntity.Save.
update-tax-type
write
Edit
Update a tax code.
Full payload schema: /v1/schema/commands/update-tax-type
{
"code": "S-API",
"description": "Updated API sales tax",
"taxRate": 8,
"supplyPurchase": "S",
"isActive": true
}
Notes: Uses AutoCount.Tax.TaxCodeMaintenance.TaxCodeCommand.GetTaxCode and SaveTaxCode.
update-withholding-tax-code
write
Edit
Update a withholding tax code.
Full payload schema: /v1/schema/commands/update-withholding-tax-code
{
"code": "WHT-API",
"withholdingTaxRate": 3
}
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.GetWithholdingTax and SaveWithholdingTax.
create-udf-field
write
Create
Create an AutoCount UDF field definition.
Full payload schema: /v1/schema/commands/create-udf-field
{
"tableName": "Debtor",
"fieldName": "APITEST",
"caption": "API Test",
"fieldType": "Text",
"size": 50
}
Notes: Uses AutoCount.UDF.UDFTable(tableName, DBSetting).Add(fieldName, UDFType, caption).Save().
list-udf-definitions
read
Read
List UDF field definitions for one table or all UDF-enabled tables.
Full payload schema: /v1/schema/commands/list-udf-definitions
{
"tableName": "Debtor"
}
Notes: Uses AutoCount.UDF.Data.UDFDA.GetUDF(tableName).
list-udf-tables
read
Read
List AutoCount tables that expose UDF definitions in the selected account book.
Full payload schema: /v1/schema/commands/list-udf-tables
No payload fields required.
{}
Notes: Uses AutoCount.UDF.Data.UDFDA.GetTableNames. Only returned tables should be treated as UDF-enabled for that account book.
update-udf-field
write
Edit
Update an existing AutoCount UDF field definition.
Full payload schema: /v1/schema/commands/update-udf-field
{
"tableName": "Debtor",
"fieldName": "APITEST",
"caption": "API Test",
"size": 50
}
Notes: Uses AutoCount.UDF.UDFTable Save. This changes UDF setup, not transaction data.
This section collects the tax commands and the document fields that AI tools and developers normally need for e-Invoice and tax setup. The connector uses AutoCount SDK save paths and does not do blind SQL writes for tax/compliance data.
list-tax-codes or list-tax-types returns all tax codes; get-tax-code or get-tax-type gets one code; create/update aliases are also accepted.list-tax-entities, get-tax-entity, create-tax-entity, update-tax-entity.list-tariff-codes, get-tariff-code, create-tariff-code, update-tariff-code.list-withholding-tax-codes, get-withholding-tax-code, create-withholding-tax-code, update-withholding-tax-code.read-gst-settings, read-sst-settings, guarded update/processor/payment commands where save proof is still required.create-debtor, update-debtor, create-creditor, update-creditor. Supported and tested.create-*, update-*, and get-* for sales/purchase documents. Common header supported; tested on sales order and purchase order.update-ar-invoice, update-ap-invoice, AR/AP credit/debit note updates, and AP invoice create. Header supported where SDK exposes the field; more create-family proof still pending.create-gl-cash-book-payment, create-gl-cash-book-receipt, update-gl-cash-book-entry, get-gl-cash-book-entry. Supported and tested.{
"type": "create-tax-entity",
"payload": {
"name": "API Tax Entity Sdn Bhd",
"tin": "C1234567890",
"identityType": "BRN",
"identityNo": "202401010001",
"countryCode": "MYS",
"emailAddress": "admin@example.com"
}
}
{
"type": "create-sales-order",
"payload": {
"debtorCode": "300-A001",
"taxEntityID": 1,
"lines": [
{ "itemCode": "ITEM001", "qty": 1, "unitPrice": 100 }
]
}
}
{
"type": "create-gl-cash-book-payment",
"payload": {
"payTo": "API Supplier",
"taxEntityID": 1,
"lines": [
{ "accNo": "610-0000", "amount": 100 }
],
"payments": [
{ "paymentMethod": "CASH", "paymentAmount": 100 }
]
}
}
| Proof | Result |
|---|---|
| Tax entity maintenance | Created/read/updated Tax Entity TaxEntityID = 1. |
| Debtor / creditor link | Created/read/updated debtor TD212936 and creditor TC212936 with taxEntityID = 1. |
| GL cash book | Created/read/updated payment voucher PV-000009 and read official receipt OR-000011 with TaxEntityID = 1. |
| Sales / purchase documents | Created/read/updated sales order SO-000034 and purchase order PO-000036 with TaxEntityID = 1. |
Still guarded until separate proof: transfer propagation across every sales/purchase chain, GL journal detail TaxEntityID, cash book detail TaxEntityID, e-Invoice settings/profile writes, withholding payment detail, and GST/SST payment/processor writes.
Use these when a human wants an AutoCount-looking document PDF, or when an accounting command needs to allocate payment/credit against invoices or refund against credit notes.
For PDF commands, poll GET /v1/commands/{commandId} until the command is done. If result.artifactAvailable is true, download the official PDF from result.artifactUrl or GET /v1/commands/{commandId}/artifact using the same API key. This lets Mac Soft AI attach the PDF from a Linux workspace without accessing the Windows connector path.
| Need | Command | What to send | Status |
|---|---|---|---|
| Choose AutoCount report layout | list-autocount-report-templates | { "document": "statement" } | Lists real ReportName values from AutoCount DefaultReport and Report. Send the chosen name as reportName. |
| Debtor statement data | debtor-statement-report | { "debtorCode": "300-A001", "fromDate": "2026-01-01", "toDate": "2026-12-31" } | Reads the real AutoCount debtor statement through DebtorStatement.Inquire and returns statement tables for human/AI processing. |
| Creditor statement data | creditor-statement-report | { "creditorCode": "400-S001", "fromDate": "2026-01-01", "toDate": "2026-12-31" } | Reads the real AutoCount creditor statement through CreditorStatement.Inquire and returns statement tables for human/AI processing. |
| Statement HTML report | statement-report-html | { "document": "debtor-statement", "debtorCode": "300-A001", "fromDate": "2026-01-01", "toDate": "2026-12-31" } | Exports a readable HTML statement from real AutoCount SDK statement data. |
| AR/AP statement PDF | arap-statement-autocount-pdf | { "document": "debtor-statement", "debtorCode": "300-A001", "reportName": "Debtor Statement - 12 Months" } | Supported for debtor and creditor statements. Returns a downloadable PDF artifact. |
| Sales document PDF | sales-document-autocount-pdf | { "document": "invoice", "docNo": "IV-000001", "reportName": "Invoice" } | Supported for invoice, sales order, delivery order, cash sale, quotation, advanced quotation, sales credit note, and sales debit note. |
| Purchase document PDF | purchase-document-autocount-pdf | { "document": "purchase-invoice", "docNo": "PI-000001", "reportName": "Purchase Invoice" } | Supported for purchase-order, goods-received-note, purchase-invoice, purchase-return, and cash-purchase. |
| Stock document PDF | stock-document-autocount-pdf | { "document": "stock-adjustment", "docNo": "SA-000001", "reportName": "Stock Adjustment" } | Supported for stock adjustment, receive, issue, transfer, UOM conversion, take, write-off, update cost, assembly, assembly order, and disassembly. |
| AR/AP document PDF | arap-document-autocount-pdf | { "document": "ar-payment", "docNo": "OR-000001", "reportName": "AR Payment Listing" } | Supported for AR/AP invoice, payment, deposit, refund, credit note, debit note, and contra. |
| GL cash book PDF | gl-document-autocount-pdf | { "document": "payment-voucher", "docNo": "PV-000001", "reportName": "PV - Half Page" } | Supported for payment-voucher and official-receipt. |
| GL journal PDF | gl-document-autocount-pdf | { "document": "journal-entry", "docNo": "JV-000001", "reportName": "Journal Voucher" } | Supported with AutoCount journal voucher report templates. |
| AR outstanding invoice keys | read-ar-outstanding-documents | { "debtorCode": "300-A001" } | Returns docKey, docNo, SDK-safe docType (RI), displayDocType (IV), and outstanding amount. |
| AP outstanding invoice keys | read-ap-outstanding-documents | { "creditorCode": "400-S001" } | Returns docKey, docNo, SDK-safe docType (PB), displayDocType (PI), and outstanding amount. |
| Validate AR payment knock-off | validate-ar-payment | { "debtorCode": "300-A001", "amount": 100, "knockOffs": [{ "docType": "RI", "docKey": "424496", "docNo": "IV-000001", "amount": 100 }] } | Validation-only; does not save. Old IV aliases are accepted. |
| Validate AP payment knock-off | validate-ap-payment | { "creditorCode": "400-S001", "amount": 100, "knockOffs": [{ "docType": "PB", "docKey": "424508", "docNo": "PI-000001", "amount": 100 }] } | Validation-only; does not save. Old PI aliases are accepted. |
| Create AR payment knock-off | create-ar-payment | { "debtorCode": "300-A001", "amount": 100, "knockOffs": [{ "docType": "RI", "docKey": "424496", "docNo": "IV-000001", "amount": 100 }] } | Saves AR receipt and allocates the invoice. Real write proof verified paid-document and knock-off rows. |
| Create AP payment knock-off | create-ap-payment | { "creditorCode": "400-S001", "amount": 100, "knockOffs": [{ "docType": "PB", "docKey": "424508", "docNo": "PI-000001", "amount": 100 }] } | Saves AP payment and allocates the supplier invoice. Real write proof verified paid-document and knock-off rows. |
| AR refund against credit note | create-ar-refund | { "debtorCode": "300-A001", "amount": 100, "knockOffs": [{ "docType": "CN", "docKey": "429787", "docNo": "CN-000001", "amount": 100 }] } | Refund knocks off AR credit notes. CN is accepted and normalized to AutoCount RC. |
| AP refund against credit note | create-ap-refund | { "creditorCode": "400-S001", "amount": 100, "knockOffs": [{ "docType": "CN", "docKey": "429795", "docNo": "PR-000001", "amount": 100 }] } | Refund knocks off AP credit notes. CN is accepted and normalized to AutoCount PC. |
| AR deposit transaction | create-ar-deposit | { "debtorCode": "300-A001", "amount": 100, "paymentMethod": "CASH" } | Saves AR deposit and returns GLTrxID after posting. |
| AP deposit transaction | create-ap-deposit | { "creditorCode": "400-S001", "amount": 100, "paymentMethod": "CASH" } | Saves AP deposit and returns GLTrxID after posting. |
For payment and credit note allocation, use invoice document keys from the outstanding invoice commands. For refund allocation, use AR/AP credit-note document keys from the credit-note list/get commands. Use validate-* first, then create when the account book remains write-enabled.
Current published known fields for developers, support, and AI debugging. Use this after the grouped document guide when you need raw AutoCount-style sections and field names.
This is the current connector/website field dictionary, not a promise that every AutoCount DLL, UDF, or customer-specific child-table field exists in every account book. For runtime/customer-specific discovery, call read-field-catalog, then validate, save, and read back before claiming a field is written.
{
"Master": {},
"Details": [],
"KnockOffDetails": [],
"TransferDetails": [],
"PaymentDetails": [],
"Options": {}
}
Machine-readable schemas are available at /v1/schema/modules, /v1/schema/documents, and /v1/schema/commands/{commandType}. Example: /v1/schema/commands/create-ap-payment.
Send the native envelope when the integration already knows the AutoCount sections to fill.
Browse module cards below for Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, and Options fields.
/v1/schema/documents shows document view/write maps. /v1/schema/modules lists modules. /v1/schema/commands/{commandType} shows the full payload schema for one command.
Build a read-only Mac Soft AI demo profile from the AutoCount account book.
Full payload schema: /v1/schema/commands/run-company-discovery
No payload fields required.
{
"includeHints": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns activeModules, masterDataCounts, documentCounts, features, workflows, and aiHints. Use this first for CEO, executive, admin, and clerk demos before preparing writes.
Read the real AutoCount Company Profile for the selected account book.
Full payload schema: /v1/schema/commands/read-company-profile
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Use this first when database names are similar. Reads AutoCount Profile/CompanyProfile and returns companyId, database, companyName, registrationNo, address, phone/email/website, plus redacted/truncated source fields.
Read the AI Startup Flow context for an AutoCount account book.
Full payload schema: /v1/schema/commands/read-company-ai-context
{
"includeHints": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Intelligent Connector Flow step 1. Returns starterCommands, activeModules, workflowHints, safetyRules, companyProfile, companyName, and discovery counts. Schema: /v1/schema/commands/read-company-ai-context
Read field catalog so humans and AI know read/write/native/guarded fields.
Full payload schema: /v1/schema/commands/read-field-catalog
{
"module": "Purchase",
"document": "purchase-invoice"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Intelligent Connector Flow step 2. Returns catalogVersion, cache, modules, documents, fields, mode, and source. Schema: /v1/schema/commands/read-field-catalog
Preflight a proposed command before saving.
Full payload schema: /v1/schema/commands/validate-command
{
"targetType": "create-ap-invoice",
"payload": {
"creditorCode": "400-A001",
"docDate": "2026-07-21",
"lines": [
{
"accountNo": "620000-2000",
"amount": 100
}
]
},
"safetyMode": "safe"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Intelligent Connector Flow step 3. Returns readyToSave, risk, checks, warnings, and suggestions. Use validateOnly on actual write commands to force preflight. Schema: /v1/schema/commands/validate-command
Suggest safe fixes when validation fails or a master value is missing.
Full payload schema: /v1/schema/commands/suggest-command-fixes
{
"targetType": "create-ap-payment",
"payload": {
"creditorCode": "400-A001",
"amount": 100
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Intelligent Connector Flow step 4. Suggestions point to read-payment-methods, read-chart-accounts, read-items, read-debtors, read-creditors, outstanding documents, and previous transaction patterns.
Explain technical connector or AutoCount errors in human and AI-friendly field guidance.
Full payload schema: /v1/schema/commands/explain-command-error
{
"targetType": "create-ap-invoice",
"message": "MissingMethodException: EditDetail not found"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Use after failed commands to decide whether the error is missing master data, unsupported field write, SDK method gap, or setup/config issue.
Create a new AutoCount account book from an existing connector company.
Full payload schema: /v1/schema/commands/create-account-book
{
"databaseName": "AED_NEW_COMPANY",
"companyName": "New Company Sdn Bhd",
"fiscalYearStartDate": "2026-01-01",
"actualDataStartDate": "2026-01-01",
"newCompanyId": "newcompany",
"confirm": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.ManageAccountBook.AccountBookHelper.CreateBaseAccountBook, then AutoCount.Tools.AutoAccessRightUpdate.Create(DBSetting).Update(), then registers the account book in A2006.dmf. Requires current connector company to have SQL credentials.
Read default posting accounts used by validate/create commands.
Full payload schema: /v1/schema/commands/read-default-accounts
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Guarded void request for a debtor/customer.
Full payload schema: /v1/schema/commands/void-debtor
{
"accNo": "300-A001",
"reason": "void inactive duplicate"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Prefer inactive/discontinued flags because master records may already be linked to transactions.
Guarded delete request for a debtor/customer.
Full payload schema: /v1/schema/commands/delete-debtor
{
"accNo": "300-A001",
"reason": "remove inactive duplicate"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety and linked-transaction checks are proven. Prefer inactive/discontinued flags.
Guarded void request for a creditor/supplier.
Full payload schema: /v1/schema/commands/void-creditor
{
"accNo": "400-S001",
"reason": "void inactive duplicate"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Prefer inactive/discontinued flags because master records may already be linked to transactions.
Guarded delete request for a creditor/supplier.
Full payload schema: /v1/schema/commands/delete-creditor
{
"accNo": "400-S001",
"reason": "remove inactive duplicate"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety and linked-transaction checks are proven. Prefer inactive/discontinued flags.
Guarded void request for a stock item.
Full payload schema: /v1/schema/commands/void-item
{
"itemCode": "ITEM001",
"reason": "void inactive duplicate"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Prefer inactive/discontinued flags because master records may already be linked to transactions.
Guarded delete request for a stock item.
Full payload schema: /v1/schema/commands/delete-item
{
"itemCode": "ITEM001",
"reason": "remove inactive duplicate"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety and linked-transaction checks are proven. Prefer inactive/discontinued flags.
Create a debtor/customer.
Full payload schema: /v1/schema/commands/create-debtor
{
"accNo": "300-API",
"companyName": "API Customer Sdn Bhd",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"contactPerson": "Lim Accounts",
"deliveryAddress1": "Warehouse 1",
"deliveryAddress2": "Industrial Park",
"deliveryPostCode": "40100",
"deliveryContact": "Store Receiver",
"phone1": "03-11111111",
"phone2": "012-3456789",
"emailAddress": "customer@example.com",
"currencyCode": "MYR",
"taxCode": "SST",
"taxEntityID": 1,
"controlAccount": "300-0000",
"isActive": true,
"desc2": "API Customer Trading Name",
"debtorType": "CUS",
"area": "KL",
"salesAgent": "SA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"priceCategory": "API",
"creditLimit": 50000,
"overdueLimit": 30,
"statementType": "Open Item",
"allowExceedCreditLimit": false,
"attention": "Accounts Department",
"fax1": "03-11111112",
"website": "https://customer.example.com",
"registrationNo": "202601000001",
"taxRegisterNo": "SST-300-API",
"businessNature": "Trading",
"remark1": "Created by API",
"remark2": "Credit control example",
"deliveryAddress3": "Shah Alam",
"deliveryAddress4": "Malaysia",
"contacts": [
{
"name": "Lim Accounts",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "012-1111111",
"directPhone": "03-11111113",
"emailAddress": "accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"postCode": "50000",
"contact": "Lim Accounts",
"phone1": "03-11111111",
"emailAddress": "hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Debtor account code.CompanyName string - Debtor company/customer name.Address1 string - Address line 1.Address2 string - Address line 2.Address3 string - Address line 3.Address4 string - Address line 4.Attention string - Attention/contact person.Phone1 string - Phone number.Phone2 string - Second phone number.Fax1 string - Fax number.EmailAddress string - Email address.Website string - Website URL. Connector tries common SDK aliases and verifies read-back.RegistrationNo string - Company registration number. Connector tries common SDK aliases and verifies read-back.TaxRegisterNo string - SST/tax registration number. Connector tries common SDK aliases and verifies read-back.CurrencyCode string - Currency code.TaxCode string - Default tax code.TaxEntityID number - Tax Entity Maintenance id.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates customer master data through AutoCount SDK. Normal fields map to debtor properties; top-level delivery fields are normalized into BranchTable and top-level contact fields are normalized into ContactTable when explicit arrays are not supplied. This is the full human payload reference for Debtor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the debtor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
Update a debtor/customer.
Full payload schema: /v1/schema/commands/update-debtor
{
"accNo": "300-API",
"companyName": "API Customer Sdn Bhd Updated",
"contactPerson": "Lim Accounts",
"deliveryAddress1": "Warehouse 1",
"phone1": "03-11111111",
"emailAddress": "customer@example.com",
"taxEntityID": 1,
"isActive": true,
"desc2": "API Customer Trading Name",
"debtorType": "CUS",
"area": "KL",
"salesAgent": "SA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"currencyCode": "MYR",
"taxCode": "SST",
"controlAccount": "300-0000",
"priceCategory": "API",
"creditLimit": 50000,
"overdueLimit": 30,
"statementType": "Open Item",
"allowExceedCreditLimit": false,
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"attention": "Accounts Department",
"phone2": "012-3456789",
"fax1": "03-11111112",
"website": "https://customer.example.com",
"registrationNo": "202601000001",
"taxRegisterNo": "SST-300-API",
"businessNature": "Trading",
"remark1": "Created by API",
"remark2": "Credit control example",
"deliveryAddress2": "Industrial Park",
"deliveryAddress3": "Shah Alam",
"deliveryAddress4": "Malaysia",
"deliveryPostCode": "40100",
"deliveryContact": "Store Receiver",
"contacts": [
{
"name": "Lim Accounts",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "012-1111111",
"directPhone": "03-11111113",
"emailAddress": "accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"postCode": "50000",
"contact": "Lim Accounts",
"phone1": "03-11111111",
"emailAddress": "hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Debtor account code.CompanyName string - Debtor company/customer name.Address1 string - Address line 1.Address2 string - Address line 2.Address3 string - Address line 3.Address4 string - Address line 4.Attention string - Attention/contact person.Phone1 string - Phone number.Phone2 string - Second phone number.Fax1 string - Fax number.EmailAddress string - Email address.Website string - Website URL. Connector tries common SDK aliases and verifies read-back.RegistrationNo string - Company registration number. Connector tries common SDK aliases and verifies read-back.TaxRegisterNo string - SST/tax registration number. Connector tries common SDK aliases and verifies read-back.CurrencyCode string - Currency code.TaxCode string - Default tax code.TaxEntityID number - Tax Entity Maintenance id.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Updates debtor/customer master data through AutoCount SDK using the same supported fields as create-debtor. This is the full human payload reference for Debtor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the debtor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
Create a creditor/supplier.
Full payload schema: /v1/schema/commands/create-creditor
{
"accNo": "400-API",
"companyName": "API Supplier Sdn Bhd",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"postCode": "46000",
"contactPerson": "Tan Supplier",
"deliveryAddress1": "Supplier Warehouse",
"deliveryPostCode": "46000",
"phone1": "03-33333333",
"phone2": "019-8888888",
"emailAddress": "supplier@example.com",
"currencyCode": "MYR",
"taxCode": "SST",
"taxEntityID": 1,
"controlAccount": "400-0000",
"isActive": true,
"desc2": "API Supplier Trading Name",
"creditorType": "SUP",
"area": "PJ",
"purchaseAgent": "PA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"creditLimit": 30000,
"overdueLimit": 30,
"attention": "Supplier Accounts",
"fax1": "03-33333334",
"website": "https://supplier.example.com",
"registrationNo": "202602000002",
"taxRegisterNo": "SST-400-API",
"businessNature": "Supplier",
"remark1": "Created by API",
"remark2": "Supplier credit control example",
"deliveryAddress2": "Logistics Park",
"deliveryContact": "Supplier Store",
"contacts": [
{
"name": "Tan Supplier",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "019-1111111",
"directPhone": "03-33333335",
"emailAddress": "supplier-accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"postCode": "46000",
"contact": "Tan Supplier",
"phone1": "03-33333333",
"emailAddress": "supplier-hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Creditor account code.CompanyName string - Creditor/supplier name.Address1 string - Address line 1.Address2 string - Address line 2.Address3 string - Address line 3.Address4 string - Address line 4.Attention string - Attention/contact person.Phone1 string - Phone number.Phone2 string - Second phone number.Fax1 string - Fax number.EmailAddress string - Email address.Website string - Website URL. Connector tries common SDK aliases and verifies read-back.RegistrationNo string - Company registration number. Connector tries common SDK aliases and verifies read-back.TaxRegisterNo string - SST/tax registration number. Connector tries common SDK aliases and verifies read-back.CurrencyCode string - Currency code.TaxCode string - Default tax code.TaxEntityID number - Tax Entity Maintenance id.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates supplier master data through AutoCount SDK. Normal fields map to creditor properties; top-level delivery fields are normalized into BranchTable and top-level contact fields are normalized into ContactTable when explicit arrays are not supplied. This is the full human payload reference for Creditor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the creditor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
Update a creditor/supplier.
Full payload schema: /v1/schema/commands/update-creditor
{
"accNo": "400-API",
"companyName": "API Supplier Sdn Bhd Updated",
"contactPerson": "Tan Supplier",
"deliveryAddress1": "Supplier Warehouse",
"phone1": "03-33333333",
"emailAddress": "supplier@example.com",
"taxEntityID": 1,
"isActive": true,
"desc2": "API Supplier Trading Name",
"creditorType": "SUP",
"area": "PJ",
"purchaseAgent": "PA01",
"branchCode": "HQ",
"displayTerm": "30 DAYS",
"currencyCode": "MYR",
"taxCode": "SST",
"controlAccount": "400-0000",
"creditLimit": 30000,
"overdueLimit": 30,
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"postCode": "46000",
"attention": "Supplier Accounts",
"phone2": "019-8888888",
"fax1": "03-33333334",
"website": "https://supplier.example.com",
"registrationNo": "202602000002",
"taxRegisterNo": "SST-400-API",
"businessNature": "Supplier",
"remark1": "Created by API",
"remark2": "Supplier credit control example",
"deliveryAddress2": "Logistics Park",
"deliveryPostCode": "46000",
"deliveryContact": "Supplier Store",
"contacts": [
{
"name": "Tan Supplier",
"department": "Finance",
"designation": "Accounts",
"mobilePhone": "019-1111111",
"directPhone": "03-33333335",
"emailAddress": "supplier-accounts@example.com",
"includeInContactInfo": true
}
],
"branches": [
{
"branchCode": "HQ",
"branchName": "Head Office",
"address1": "No. 2 Jalan API",
"address2": "Supplier Park",
"postCode": "46000",
"contact": "Tan Supplier",
"phone1": "03-33333333",
"emailAddress": "supplier-hq@example.com",
"taxEntityID": 1,
"isActive": true
}
]
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Creditor account code.CompanyName string - Creditor/supplier name.Address1 string - Address line 1.Address2 string - Address line 2.Address3 string - Address line 3.Address4 string - Address line 4.Attention string - Attention/contact person.Phone1 string - Phone number.Phone2 string - Second phone number.Fax1 string - Fax number.EmailAddress string - Email address.Website string - Website URL. Connector tries common SDK aliases and verifies read-back.RegistrationNo string - Company registration number. Connector tries common SDK aliases and verifies read-back.TaxRegisterNo string - SST/tax registration number. Connector tries common SDK aliases and verifies read-back.CurrencyCode string - Currency code.TaxCode string - Default tax code.TaxEntityID number - Tax Entity Maintenance id.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Updates supplier/creditor master data through AutoCount SDK using the same supported fields as create-creditor. This is the full human payload reference for Creditor Maintenance. The connector writes normal fields through AutoCount DLL properties and writes branches/contacts through AutoCount DLL child DataTables, then reloads the creditor and returns writeVerification.notMapped, writeVerification.notPersisted, and writeVerification.childRows when AutoCount does not expose or persist a requested value. If top-level deliveryAddress fields are supplied without branches, the connector creates/updates an AutoCount BranchTable row using branchCode or HQ. If top-level contactPerson/contactName/contact fields are supplied without contacts, the connector creates/updates an AutoCount ContactTable row.
Create a stock item. Supports proven UOM, sub-code, price, opening balance, BOM, and replacement child rows.
Full payload schema: /v1/schema/commands/create-item
{
"itemCode": "API-ITEM",
"description": "API Test Item",
"desc2": "API Item Second Description",
"furtherDescription": "Long item note visible in AutoCount item detail.",
"templateItemCode": "00004",
"baseUom": "UNIT",
"salesUom": "UNIT",
"purchaseUom": "UNIT",
"reportUom": "UNIT",
"itemGroup": "FG",
"itemType": "Stock",
"taxCode": "S-0",
"purchaseTaxCode": "P-0",
"isSalesItem": true,
"isPurchaseItem": true,
"stockControl": true,
"hasBatchNo": false,
"hasSerialNo": false,
"isActive": true,
"uoms": [
{
"uom": "UNIT",
"rate": 1,
"price": 100,
"cost": 80,
"barCode": "9550000000011",
"minSalePrice": 90,
"maxSalePrice": 9999
},
{
"uom": "BOX",
"rate": 12,
"price": 1200,
"cost": 960,
"barCode": "9550000000012"
}
],
"subCodes": [
{
"subCode": "ALT-API-ITEM",
"uom": "UNIT"
}
],
"priceBooks": [
{
"ref": "PB-API-ITEM",
"priceCategory": "RETAIL",
"uom": "UNIT",
"fixedPrice": 100,
"qty1": 1,
"price1": 100
}
],
"customerPrices": [
{
"ref": "CP-API-ITEM",
"debtorCode": "300-A001",
"currencyCode": "MYR",
"uom": "UNIT",
"customerItemCode": "CUST-API-ITEM",
"fixedPrice": 95,
"qty1": 1,
"price1": 95
}
],
"supplierPrices": [
{
"ref": "SP-API-ITEM",
"creditorCode": "400-S001",
"currencyCode": "MYR",
"uom": "UNIT",
"supplierItemCode": "SUP-API-ITEM",
"fixedPrice": 80,
"qty1": 1,
"price1": 80
}
],
"openingBalances": [
{
"location": "HQ",
"qty": 10,
"uom": "UNIT",
"unitCost": 80,
"batchNo": "BATCH-001",
"docDate": "2026-07-26"
}
],
"bomRows": [
{
"subItemCode": "API-COMPONENT",
"qty": 2,
"overheadCost": 0,
"seq": 1,
"costFraction": 1
}
],
"replacements": [
{
"replacementItemCode": "API-REPLACEMENT",
"replacementDegree": 1,
"note": "Alternative item"
}
],
"itemBrand": "MACSOFT",
"itemCategory": "API",
"itemClass": "A",
"tariffCode": "8471.30",
"barCode": "9550000000011",
"defaultLocation": "HQ",
"costingMethod": "Weighted Average",
"standardCost": 80,
"minimumSellingPrice": 90,
"sellingPrice": 100,
"purchasePrice": 80,
"reorderLevel": 10,
"normalLevel": 50,
"minimumLevel": 5,
"maximumLevel": 200,
"snFormatName": "",
"batchNo": "BATCH-001",
"batchDescription": "Opening API batch",
"remark1": "Created by API",
"remark2": "Stock item full payload example"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
ItemCode string - Stock item code.Description string - Item description.BaseUOM string - Base unit of measure.SalesUOM string - Sales unit of measure.PurchaseUOM string - Purchase unit of measure.ItemGroup string - Item group/category.TaxType string - Default tax type/code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates item master data through AutoCount SDK. Proven child table rows are written through AutoCount DLL DataTables and verified after save in writeVerification.childRows. This is the full human payload reference for Stock Item Maintenance. The connector writes proven UOM rows, item sub-codes, price book rows, customer prices, supplier prices, opening balances, BOM rows, and replacement rows through AutoCount DLL child DataTables, then reloads the item and returns writeVerification.childRows. Batch rows use AutoCount NewItemBatch where enabled.
Update a stock item.
Full payload schema: /v1/schema/commands/update-item
{
"itemCode": "API-ITEM",
"description": "Updated API Test Item",
"desc2": "API Item Second Description",
"isSalesItem": true,
"isPurchaseItem": true,
"stockControl": true,
"isActive": true,
"uoms": [
{
"uom": "UNIT",
"rate": 1,
"price": 100,
"cost": 80,
"barCode": "9550000000011",
"minSalePrice": 90,
"maxSalePrice": 9999
},
{
"uom": "BOX",
"rate": 12,
"price": 1200,
"cost": 960,
"barCode": "9550000000012"
}
],
"subCodes": [
{
"subCode": "ALT-API-ITEM",
"uom": "UNIT"
}
],
"priceBooks": [
{
"ref": "PB-API-ITEM",
"priceCategory": "RETAIL",
"uom": "UNIT",
"fixedPrice": 100,
"qty1": 1,
"price1": 100
}
],
"furtherDescription": "Long item note visible in AutoCount item detail.",
"templateItemCode": "00004",
"itemGroup": "FG",
"itemType": "Stock",
"itemBrand": "MACSOFT",
"itemCategory": "API",
"itemClass": "A",
"tariffCode": "8471.30",
"barCode": "9550000000011",
"baseUom": "UNIT",
"salesUom": "UNIT",
"purchaseUom": "UNIT",
"reportUom": "UNIT",
"taxCode": "S-0",
"purchaseTaxCode": "P-0",
"defaultLocation": "HQ",
"costingMethod": "Weighted Average",
"standardCost": 80,
"minimumSellingPrice": 90,
"sellingPrice": 100,
"purchasePrice": 80,
"reorderLevel": 10,
"normalLevel": 50,
"minimumLevel": 5,
"maximumLevel": 200,
"hasBatchNo": false,
"hasSerialNo": false,
"snFormatName": "",
"customerPrices": [
{
"ref": "CP-API-ITEM",
"debtorCode": "300-A001",
"currencyCode": "MYR",
"uom": "UNIT",
"customerItemCode": "CUST-API-ITEM",
"fixedPrice": 95,
"qty1": 1,
"price1": 95
}
],
"supplierPrices": [
{
"ref": "SP-API-ITEM",
"creditorCode": "400-S001",
"currencyCode": "MYR",
"uom": "UNIT",
"supplierItemCode": "SUP-API-ITEM",
"fixedPrice": 80,
"qty1": 1,
"price1": 80
}
],
"openingBalances": [
{
"location": "HQ",
"qty": 10,
"uom": "UNIT",
"unitCost": 80,
"batchNo": "BATCH-001",
"docDate": "2026-07-26"
}
],
"bomRows": [
{
"subItemCode": "API-COMPONENT",
"qty": 2,
"overheadCost": 0,
"seq": 1,
"costFraction": 1
}
],
"replacements": [
{
"replacementItemCode": "API-REPLACEMENT",
"replacementDegree": 1,
"note": "Alternative item"
}
],
"batchNo": "BATCH-001",
"batchDescription": "Opening API batch",
"remark1": "Created by API",
"remark2": "Stock item full payload example"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
ItemCode string - Stock item code.Description string - Item description.BaseUOM string - Base unit of measure.SalesUOM string - Sales unit of measure.PurchaseUOM string - Purchase unit of measure.ItemGroup string - Item group/category.TaxType string - Default tax type/code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Updates item master data through AutoCount SDK. Proven child table rows are written through AutoCount DLL DataTables and verified after save in writeVerification.childRows. This is the full human payload reference for Stock Item Maintenance. The connector writes proven UOM rows, item sub-codes, price book rows, customer prices, supplier prices, opening balances, BOM rows, and replacement rows through AutoCount DLL child DataTables, then reloads the item and returns writeVerification.childRows. Batch rows use AutoCount NewItemBatch where enabled.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-account-type
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded create request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/create-general-account-type
{
"code": "EP",
"accType": "EP",
"description": "API Account Type",
"desc2": "Account Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Account Type setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns createBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Full human payload reference for Account Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Guarded edit request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/update-general-account-type
{
"code": "EP",
"reason": "correct setup value",
"accType": "EP",
"description": "API Account Type",
"desc2": "Account Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Account Type setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Full human payload reference for Account Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-account-type
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-account-type
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-address
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-address
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-address
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-area
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-area
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-area
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-cn-type
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-cn-type
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-cn-type
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-credit-term
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded create request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/create-general-credit-term
{
"code": "30 DAYS",
"displayTerm": "30 DAYS",
"terms": "30 DAYS",
"termType": "Day",
"termDays": 30,
"discountDays": 7,
"discountPercent": 2
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DisplayTerm string - Credit term display code.Terms string - Underlying terms value.TermType string - Credit term type such as day or month.TermDays number - Number of credit days.DiscountDays number - Early payment discount days.DiscountPercent number - Early payment discount percent.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Returns createBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Credit Term writes are guarded unless the exact AutoCount SDK write path is proven for the account book. These fields reflect the connector's current list/read surface, not an advertised writable native schema.
Guarded edit request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/update-general-credit-term
{
"code": "30 DAYS",
"reason": "correct setup value",
"displayTerm": "30 DAYS",
"terms": "30 DAYS",
"termType": "Day",
"termDays": 30,
"discountDays": 7,
"discountPercent": 2
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DisplayTerm string - Credit term display code.Terms string - Underlying terms value.TermType string - Credit term type such as day or month.TermDays number - Number of credit days.DiscountDays number - Early payment discount days.DiscountPercent number - Early payment discount percent.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Returns editBlocked until AutoCount exposes a proven safe SDK write path for this setup table. Credit Term writes are guarded unless the exact AutoCount SDK write path is proven for the account book. These fields reflect the connector's current list/read surface, not an advertised writable native schema.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-credit-term
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-credit-term
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-creditor-type
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-creditor-type
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-creditor-type
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-currency
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-currency
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-currency
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-dn-type
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-dn-type
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-dn-type
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-debtor-type
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-debtor-type
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-debtor-type
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-payment-method
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-payment-method
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-payment-method
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-price-category
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-price-category
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-price-category
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-project
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-project
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-project
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-purchase-agent
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-purchase-agent
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-purchase-agent
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-sales-agent
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-sales-agent
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-sales-agent
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
Get one General Maintenance setup record by code.
Full payload schema: /v1/schema/commands/get-general-shipping-method
{
"code": "API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses the same AutoCount SDK/listing source as the matching list command and returns the matching row.
Guarded void request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/void-general-shipping-method
{
"code": "API",
"reason": "void unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked. Most setup tables should be edited to inactive where AutoCount supports it.
Guarded delete request for General Maintenance setup data.
Full payload schema: /v1/schema/commands/delete-general-shipping-method
{
"code": "API",
"reason": "remove unused setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked until AutoCount SDK delete safety is proven for this setup table.
List account types. Read-only because AutoCount 2.2 does not expose a safe SDK write command for Account Type.
Full payload schema: /v1/schema/commands/list-general-account-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List credit terms. Read-only because AutoCount 2.2 does not expose a safe SDK write command for Credit Term.
Full payload schema: /v1/schema/commands/list-general-credit-terms
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List address maintenance records.
Full payload schema: /v1/schema/commands/list-general-addresses
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create an address maintenance record.
Full payload schema: /v1/schema/commands/create-general-address
{
"code": "HQ",
"address1": "No. 1 Jalan API",
"phone": "03-00000000",
"addressName": "Head Office",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"city": "Kuala Lumpur",
"state": "Wilayah Persekutuan",
"country": "Malaysia",
"contact": "Admin",
"fax": "03-00000001",
"emailAddress": "admin@example.com",
"isActive": true,
"remark1": "Created by API",
"remark2": "Address setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Address Maintenance. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Update an address maintenance record.
Full payload schema: /v1/schema/commands/update-general-address
{
"code": "HQ",
"phone": "03-00000000",
"addressName": "Head Office",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"postCode": "50000",
"city": "Kuala Lumpur",
"state": "Wilayah Persekutuan",
"country": "Malaysia",
"contact": "Admin",
"fax": "03-00000001",
"emailAddress": "admin@example.com",
"isActive": true,
"remark1": "Created by API",
"remark2": "Address setup example",
"reason": "correct setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Address Maintenance. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
List area maintenance records.
Full payload schema: /v1/schema/commands/list-general-areas
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create an area.
Full payload schema: /v1/schema/commands/create-general-area
{
"code": "KL",
"description": "Kuala Lumpur",
"areaCode": "KL",
"desc2": "Central region"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AreaCode string - Area code.Description string - Area description.Desc2 string - Optional second description.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Area Maintenance.
Update an area.
Full payload schema: /v1/schema/commands/update-general-area
{
"code": "KL",
"description": "Kuala Lumpur",
"areaCode": "KL",
"desc2": "Central region",
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AreaCode string - Area code.Description string - Area description.Desc2 string - Optional second description.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Area Maintenance.
List C/N type maintenance records.
Full payload schema: /v1/schema/commands/list-general-cn-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a C/N type.
Full payload schema: /v1/schema/commands/create-general-cn-type
{
"code": "CNAPI",
"description": "API C/N Type",
"cnType": "CNAPI",
"desc2": "C/N Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "C/N Type setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for C/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Update a C/N type.
Full payload schema: /v1/schema/commands/update-general-cn-type
{
"code": "CNAPI",
"isActive": true,
"cnType": "CNAPI",
"description": "API C/N Type",
"desc2": "C/N Type second description",
"remark1": "Created by API",
"remark2": "C/N Type setup example",
"reason": "correct setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for C/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
List creditor type maintenance records.
Full payload schema: /v1/schema/commands/list-general-creditor-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a creditor type.
Full payload schema: /v1/schema/commands/create-general-creditor-type
{
"code": "SUP",
"description": "API Creditor Type",
"creditorType": "SUP",
"desc2": "Creditor Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Creditor Type setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Creditor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Update a creditor type.
Full payload schema: /v1/schema/commands/update-general-creditor-type
{
"code": "SUP",
"isActive": true,
"creditorType": "SUP",
"description": "API Creditor Type",
"desc2": "Creditor Type second description",
"remark1": "Created by API",
"remark2": "Creditor Type setup example",
"reason": "correct setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Creditor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
List currency maintenance records.
Full payload schema: /v1/schema/commands/list-general-currencies
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a currency.
Full payload schema: /v1/schema/commands/create-general-currency
{
"code": "USD",
"currencySymbol": "$",
"currencyWord": "US Dollar",
"currencyWord2": "US Dollars",
"currencyCode": "USD",
"bankBuyRate": 4.7,
"bankSellRate": 4.75,
"fcGainAccount": "720-0000",
"fcLossAccount": "820-0000",
"gainLossJournalType": "GL"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
CurrencyCode string - Currency code.CurrencySymbol string - Currency symbol.CurrencyWord string - Currency word/name.CurrencyWord2 string - Secondary currency word/name.BankBuyRate number - Bank buying rate.BankSellRate number - Bank selling rate.FCGainAccount string - Foreign exchange gain account.FCLossAccount string - Foreign exchange loss account.GainLossJournalType string - Gain/loss journal type.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Currency Maintenance. Exchange rate behavior follows AutoCount account-book currency settings.
Update a currency.
Full payload schema: /v1/schema/commands/update-general-currency
{
"code": "USD",
"bankBuyRate": 4.7,
"bankSellRate": 4.75,
"currencyCode": "USD",
"currencySymbol": "$",
"currencyWord": "US Dollar",
"currencyWord2": "US Dollars",
"fcGainAccount": "720-0000",
"fcLossAccount": "820-0000",
"gainLossJournalType": "GL",
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
CurrencyCode string - Currency code.CurrencySymbol string - Currency symbol.CurrencyWord string - Currency word/name.CurrencyWord2 string - Secondary currency word/name.BankBuyRate number - Bank buying rate.BankSellRate number - Bank selling rate.FCGainAccount string - Foreign exchange gain account.FCLossAccount string - Foreign exchange loss account.GainLossJournalType string - Gain/loss journal type.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Currency Maintenance. Exchange rate behavior follows AutoCount account-book currency settings.
List D/N type maintenance records.
Full payload schema: /v1/schema/commands/list-general-dn-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a D/N type.
Full payload schema: /v1/schema/commands/create-general-dn-type
{
"code": "DNAPI",
"description": "API D/N Type",
"dnType": "DNAPI",
"desc2": "D/N Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "D/N Type setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for D/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Update a D/N type.
Full payload schema: /v1/schema/commands/update-general-dn-type
{
"code": "DNAPI",
"isActive": true,
"dnType": "DNAPI",
"description": "API D/N Type",
"desc2": "D/N Type second description",
"remark1": "Created by API",
"remark2": "D/N Type setup example",
"reason": "correct setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for D/N Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
List debtor type maintenance records.
Full payload schema: /v1/schema/commands/list-general-debtor-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a debtor type.
Full payload schema: /v1/schema/commands/create-general-debtor-type
{
"code": "CUS",
"description": "API Debtor Type",
"debtorType": "CUS",
"desc2": "Debtor Type second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Debtor Type setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Debtor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Update a debtor type.
Full payload schema: /v1/schema/commands/update-general-debtor-type
{
"code": "CUS",
"isActive": true,
"debtorType": "CUS",
"description": "API Debtor Type",
"desc2": "Debtor Type second description",
"remark1": "Created by API",
"remark2": "Debtor Type setup example",
"reason": "correct setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Debtor Type. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
List General Maintenance payment methods.
Full payload schema: /v1/schema/commands/list-general-payment-methods
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a payment method.
Full payload schema: /v1/schema/commands/create-general-payment-method
{
"code": "BANKAPI",
"paymentType": "Bank",
"paymentBy": "Bank Transfer",
"bankChargeAccount": "810-0000",
"paymentMethod": "BANKAPI",
"journalType": "BANK",
"bankAccount": "110-0010",
"bankChargePercent": 2.5,
"minBankCharge": 0,
"odLimit": 0,
"nextChequeNo": "CHQ-000101",
"acceptChequeNo": true,
"mergeBankChargeTrans": false,
"isActive": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
PaymentMethod string - Payment method code.PaymentType string - Payment type such as Cash, Bank, or Cheque.PaymentBy string - Default payment-by label.JournalType string - AutoCount journal type.BankAccount string - Linked GL bank/cash account.BankChargeAccount string - Optional bank charge GL account.BankChargePercent number - Optional bank charge percent.MinBankCharge number - Optional minimum bank charge.ODLimit number - Optional overdraft limit.NextChequeNo string - Optional next cheque/reference number.AcceptChequeNo boolean - Whether cheque/reference number is accepted.MergeBankChargeTrans boolean - Whether bank charge is merged into one transaction.IsActive boolean - Whether payment method is active.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission and valid AutoCount GL settings. Full human payload reference for Payment Method Maintenance. GL accounts must exist and match the customer's AutoCount posting setup.
Update a payment method.
Full payload schema: /v1/schema/commands/update-general-payment-method
{
"code": "BANKAPI",
"isActive": true,
"paymentMethod": "BANKAPI",
"paymentType": "Bank",
"paymentBy": "Bank Transfer",
"journalType": "BANK",
"bankAccount": "110-0010",
"bankChargeAccount": "810-0000",
"bankChargePercent": 2.5,
"minBankCharge": 0,
"odLimit": 0,
"nextChequeNo": "CHQ-000101",
"acceptChequeNo": true,
"mergeBankChargeTrans": false,
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
PaymentMethod string - Payment method code.PaymentType string - Payment type such as Cash, Bank, or Cheque.PaymentBy string - Default payment-by label.JournalType string - AutoCount journal type.BankAccount string - Linked GL bank/cash account.BankChargeAccount string - Optional bank charge GL account.BankChargePercent number - Optional bank charge percent.MinBankCharge number - Optional minimum bank charge.ODLimit number - Optional overdraft limit.NextChequeNo string - Optional next cheque/reference number.AcceptChequeNo boolean - Whether cheque/reference number is accepted.MergeBankChargeTrans boolean - Whether bank charge is merged into one transaction.IsActive boolean - Whether payment method is active.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Payment Method Maintenance. GL accounts must exist and match the customer's AutoCount posting setup.
List price categories.
Full payload schema: /v1/schema/commands/list-general-price-categories
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a price category.
Full payload schema: /v1/schema/commands/create-general-price-category
{
"code": "API",
"description": "API Price Category",
"priceCategory": "API",
"discountPercent": 5,
"detailDiscount": "5%",
"markupRatio": 1.2,
"roundingMethod": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "Price category setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Price Category Maintenance. Item selling price rows can also refer to this price category.
Update a price category.
Full payload schema: /v1/schema/commands/update-general-price-category
{
"code": "API",
"discountPercent": 5,
"priceCategory": "API",
"description": "API Price Category",
"detailDiscount": "5%",
"markupRatio": 1.2,
"roundingMethod": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "Price category setup example",
"reason": "correct setup value"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Full human payload reference for Price Category Maintenance. Item selling price rows can also refer to this price category.
List projects.
Full payload schema: /v1/schema/commands/list-general-projects
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a project.
Full payload schema: /v1/schema/commands/create-general-project
{
"code": "PRJAPI",
"description": "API Project",
"projectNo": "PRJAPI",
"projNo": "PRJAPI",
"parentProjNo": "",
"desc2": "Project second description",
"isActive": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
ProjNo string - Project code.ParentProjNo string - Optional parent project code.Description string - Project description.Desc2 string - Optional second description.IsActive boolean - Whether project is active.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Project Maintenance. Parent project and active flags depend on AutoCount project settings.
Update a project.
Full payload schema: /v1/schema/commands/update-general-project
{
"code": "PRJAPI",
"isActive": true,
"projectNo": "PRJAPI",
"projNo": "PRJAPI",
"parentProjNo": "",
"description": "API Project",
"desc2": "Project second description",
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
ProjNo string - Project code.ParentProjNo string - Optional parent project code.Description string - Project description.Desc2 string - Optional second description.IsActive boolean - Whether project is active.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Project Maintenance. Parent project and active flags depend on AutoCount project settings.
List purchase agents.
Full payload schema: /v1/schema/commands/list-general-purchase-agents
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a purchase agent.
Full payload schema: /v1/schema/commands/create-general-purchase-agent
{
"code": "PAAPI",
"description": "API Purchase Agent",
"signature": "Approved by Purchasing",
"purchaseAgent": "PAAPI",
"desc2": "Purchase Agent second description",
"isActive": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
PurchaseAgent string - Purchase agent code.Description string - Purchase agent name/description.Desc2 string - Optional second description.IsActive boolean - Whether purchase agent is active.Signature string - Optional signature text/blob exposed by the AutoCount setup entity.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Purchase Agent Maintenance.
Update a purchase agent.
Full payload schema: /v1/schema/commands/update-general-purchase-agent
{
"code": "PAAPI",
"isActive": true,
"purchaseAgent": "PAAPI",
"description": "API Purchase Agent",
"desc2": "Purchase Agent second description",
"signature": "Approved by Purchasing",
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
PurchaseAgent string - Purchase agent code.Description string - Purchase agent name/description.Desc2 string - Optional second description.IsActive boolean - Whether purchase agent is active.Signature string - Optional signature text/blob exposed by the AutoCount setup entity.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Purchase Agent Maintenance.
List sales agents.
Full payload schema: /v1/schema/commands/list-general-sales-agents
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a sales agent.
Full payload schema: /v1/schema/commands/create-general-sales-agent
{
"code": "SAAPI",
"description": "API Sales Agent",
"approverEmailAddress": "approver@example.com",
"salesAgent": "SAAPI",
"desc2": "Sales Agent second description",
"emailAddress": "sales@example.com"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
SalesAgent string - Sales agent code.Description string - Sales agent name/description.Desc2 string - Optional second description.EmailAddress string - Optional email address.ApproverEmailAddress string - Optional approver email address.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Sales Agent Maintenance.
Update a sales agent.
Full payload schema: /v1/schema/commands/update-general-sales-agent
{
"code": "SAAPI",
"emailAddress": "sales@example.com",
"salesAgent": "SAAPI",
"description": "API Sales Agent",
"desc2": "Sales Agent second description",
"approverEmailAddress": "approver@example.com",
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
SalesAgent string - Sales agent code.Description string - Sales agent name/description.Desc2 string - Optional second description.EmailAddress string - Optional email address.ApproverEmailAddress string - Optional approver email address.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Sales Agent Maintenance.
List shipping methods.
Full payload schema: /v1/schema/commands/list-general-shipping-methods
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a shipping method.
Full payload schema: /v1/schema/commands/create-general-shipping-method
{
"code": "LALAMOVE",
"description": "API Shipping Method",
"shippingMethod": "LALAMOVE",
"desc2": "Shipping Method second description",
"isActive": true,
"remark1": "Created by API",
"remark2": "Shipping Method setup example"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
ShippingMethod string - Shipping method code.Description string - Shipping method description.IsActive boolean - Whether shipping method is active.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Shipping Method. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
Update a shipping method.
Full payload schema: /v1/schema/commands/update-general-shipping-method
{
"code": "LALAMOVE",
"isActive": true,
"shippingMethod": "LALAMOVE",
"description": "API Shipping Method",
"desc2": "Shipping Method second description",
"remark1": "Created by API",
"remark2": "Shipping Method setup example",
"reason": "correct setup value"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
ShippingMethod string - Shipping method code.Description string - Shipping method description.IsActive boolean - Whether shipping method is active.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Full human payload reference for Shipping Method. Exact fields saved depend on the AutoCount setup SDK exposed for this table.
List all tax codes from the account book.
Full payload schema: /v1/schema/commands/list-tax-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.TaxCodeMaintenance.TaxCodeCommand.LoadBrowseTable. Alias accepted: list-tax-codes.
Get one tax code by code.
Full payload schema: /v1/schema/commands/get-tax-type
{
"code": "S-0"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Reads one account-book tax setup row without direct SQL writes. Alias accepted: get-tax-code.
Alias for list-tax-types; lists all AutoCount tax codes.
Full payload schema: /v1/schema/commands/list-tax-codes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cloud and local connector normalize this to list-tax-types before execution.
Alias for get-tax-type; gets one AutoCount tax code.
Full payload schema: /v1/schema/commands/get-tax-code
{
"taxCode": "S-0"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cloud and local connector normalize this to get-tax-type before execution.
Create a tax code.
Full payload schema: /v1/schema/commands/create-tax-type
{
"code": "S-API",
"description": "API sales tax",
"taxRate": 8,
"supplyPurchase": "S",
"isActive": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
TaxType string - Tax type/code.Description string - Tax description.TaxRate number - Tax rate percentage.SupplyPurchase string - Supply/Purchase side where AutoCount exposes it.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount.Tax.TaxCodeMaintenance.TaxCodeCommand.NewTaxCode and SaveTaxCode.
Update a tax code.
Full payload schema: /v1/schema/commands/update-tax-type
{
"code": "S-API",
"description": "Updated API sales tax",
"taxRate": 8,
"supplyPurchase": "S",
"isActive": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
TaxType string - Tax type/code.Description string - Tax description.TaxRate number - Tax rate percentage.SupplyPurchase string - Supply/Purchase side where AutoCount exposes it.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount.Tax.TaxCodeMaintenance.TaxCodeCommand.GetTaxCode and SaveTaxCode.
Alias for create-tax-type; creates an AutoCount tax code.
Full payload schema: /v1/schema/commands/create-tax-code
{
"code": "S-API",
"description": "API sales tax",
"taxRate": 8,
"supplyPurchase": "S"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cloud and local connector normalize this to create-tax-type before execution.
Alias for update-tax-type; updates an AutoCount tax code.
Full payload schema: /v1/schema/commands/update-tax-code
{
"code": "S-API",
"description": "Updated API sales tax",
"taxRate": 8,
"supplyPurchase": "S"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cloud and local connector normalize this to update-tax-type before execution.
List tax entities from the account book.
Full payload schema: /v1/schema/commands/list-tax-entities
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.TaxEntityMaintenance.TaxEntityCommand.LoadDataTable.
Get one tax entity by id, code, or name.
Full payload schema: /v1/schema/commands/get-tax-entity
{
"code": "MY"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Reads account-book tax entity data without direct SQL writes.
Create a tax entity.
Full payload schema: /v1/schema/commands/create-tax-entity
{
"name": "API Tax Entity Sdn Bhd",
"tin": "C1234567890",
"identityNo": "202601010001",
"identityType": "BRN",
"countryCode": "MYS"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
TaxEntityID number - AutoCount Tax Entity id.TIN string - Tax identification number.IdentityType string - Identity type such as BRN/MyKAD.IdentityNo string - Identity number.Name string - Tax entity name.MSICCode string - MSIC code.BusinessActivityDesc string - Business activity description.EmailAddress string - Email address.Phone string - Phone number.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount.Tax.TaxEntityMaintenance.TaxEntityCommand.New and TaxEntity.Save.
Update a tax entity.
Full payload schema: /v1/schema/commands/update-tax-entity
{
"taxEntityID": 1,
"name": "Updated API Tax Entity Sdn Bhd",
"countryCode": "MYS"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
TaxEntityID number - AutoCount Tax Entity id.TIN string - Tax identification number.IdentityType string - Identity type such as BRN/MyKAD.IdentityNo string - Identity number.Name string - Tax entity name.MSICCode string - MSIC code.BusinessActivityDesc string - Business activity description.EmailAddress string - Email address.Phone string - Phone number.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount.Tax.TaxEntityMaintenance.TaxEntityCommand.Edit and TaxEntity.Save.
List tariff codes.
Full payload schema: /v1/schema/commands/list-tariff-codes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.LoadBrowseTable.
Get one tariff code.
Full payload schema: /v1/schema/commands/get-tariff-code
{
"code": "API-TAR"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.GetTariff.
Create a tariff code.
Full payload schema: /v1/schema/commands/create-tariff-code
{
"code": "API-TAR",
"description": "API tariff",
"taxType": "S-0"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.NewTariff and SaveTariff.
Update a tariff code.
Full payload schema: /v1/schema/commands/update-tariff-code
{
"code": "API-TAR",
"description": "Updated API tariff"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GeneralMaint.Tariff.TariffCommand.GetTariff and SaveTariff.
List withholding tax codes.
Full payload schema: /v1/schema/commands/list-withholding-tax-codes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.LoadBrowseTable.
Get one withholding tax code.
Full payload schema: /v1/schema/commands/get-withholding-tax-code
{
"code": "WHT-API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.GetWithholdingTax.
Create a withholding tax code.
Full payload schema: /v1/schema/commands/create-withholding-tax-code
{
"code": "WHT-API",
"withholdingTaxRate": 2,
"description": "API withholding tax"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.NewWithholdingTax and SaveWithholdingTax.
Update a withholding tax code.
Full payload schema: /v1/schema/commands/update-withholding-tax-code
{
"code": "WHT-API",
"withholdingTaxRate": 3
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.WithholdingTax.WithholdingTaxCommand.GetWithholdingTax and SaveWithholdingTax.
Read GST settings.
Full payload schema: /v1/schema/commands/read-gst-settings
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Reads settings from available account-book GST tables.
Guarded GST settings update request.
Full payload schema: /v1/schema/commands/update-gst-settings
{
"reason": "configure tax period",
"settings": {}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until the exact AutoCount SDK save workflow is proven.
Read SST settings.
Full payload schema: /v1/schema/commands/read-sst-settings
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Reads settings from available account-book SST tables.
Guarded SST settings update request.
Full payload schema: /v1/schema/commands/update-sst-settings
{
"reason": "configure SST period",
"settings": {}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until the exact AutoCount SDK save workflow is proven.
List GST processors.
Full payload schema: /v1/schema/commands/list-gst-processors
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.MalaysiaGST.GSTProcessor.GSTProcessorCommand.LoadGSTProcessorTable.
Get one GST processor by key.
Full payload schema: /v1/schema/commands/get-gst-processor
{
"key": 1
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.MalaysiaGST.GSTProcessor.GSTProcessorCommand.ViewGSTProcessor.
Guarded GST processor create request.
Full payload schema: /v1/schema/commands/create-gst-processor
{
"fromDate": "2026-01-01",
"toDate": "2026-03-31",
"reason": "prepare GST return"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns createBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
Guarded GST processor edit request.
Full payload schema: /v1/schema/commands/update-gst-processor
{
"key": 1,
"reason": "correct period"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
List SST processors.
Full payload schema: /v1/schema/commands/list-sst-processors
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.MalaysiaGST.SSTProcessor.SSTProcessorCommand.LoadSSTProcessorTable.
Get one SST processor by key.
Full payload schema: /v1/schema/commands/get-sst-processor
{
"key": 1
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Tax.MalaysiaGST.SSTProcessor.SSTProcessorCommand.ViewSSTProcessor.
Guarded SST processor create request.
Full payload schema: /v1/schema/commands/create-sst-processor
{
"fromDate": "2026-01-01",
"toDate": "2026-02-28",
"reason": "prepare SST return"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns createBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
Guarded SST processor edit request.
Full payload schema: /v1/schema/commands/update-sst-processor
{
"key": 1,
"reason": "correct period"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until fresh-account-book proof confirms generated journals, audit trail, and recovery behavior.
Guarded GST payment request.
Full payload schema: /v1/schema/commands/create-gst-payment
{
"processorKey": 1,
"paymentDate": "2026-04-30",
"reason": "record GST payment"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns createBlocked until fresh-account-book proof confirms the AutoCount GSTPaymentCommand workflow.
Guarded SST payment request.
Full payload schema: /v1/schema/commands/create-sst-payment
{
"processorKey": 1,
"paymentDate": "2026-03-31",
"reason": "record SST payment"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns createBlocked until fresh-account-book proof confirms the AutoCount SSTPaymentCommand workflow.
Validate a sales invoice without saving.
Full payload schema: /v1/schema/commands/validate-sales-invoice
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a sales invoice when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-invoice
{
"docNo": "IV-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a sales invoice while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-invoice
{
"docNo": "IV-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a sales invoice.
Full payload schema: /v1/schema/commands/delete-sales-invoice
{
"docNo": "IV-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update sales invoice header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-invoice
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a sales order without saving.
Full payload schema: /v1/schema/commands/validate-sales-order
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a sales order when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-order
{
"docNo": "SO-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a sales order while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-order
{
"docNo": "SO-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a sales order.
Full payload schema: /v1/schema/commands/delete-sales-order
{
"docNo": "SO-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update sales order header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-order
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a delivery order without saving.
Full payload schema: /v1/schema/commands/validate-delivery-order
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a delivery order when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-delivery-order
{
"docNo": "DO-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a delivery order while keeping audit trail.
Full payload schema: /v1/schema/commands/void-delivery-order
{
"docNo": "DO-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a delivery order.
Full payload schema: /v1/schema/commands/delete-delivery-order
{
"docNo": "DO-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update delivery order header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-delivery-order
{
"docNo": "DE-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a cash sale without saving.
Full payload schema: /v1/schema/commands/validate-cash-sale
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a cash sale when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-cash-sale
{
"docNo": "CS-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a cash sale while keeping audit trail.
Full payload schema: /v1/schema/commands/void-cash-sale
{
"docNo": "CS-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a cash sale.
Full payload schema: /v1/schema/commands/delete-cash-sale
{
"docNo": "CS-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update cash sale header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-cash-sale
{
"docNo": "CA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a quotation without saving.
Full payload schema: /v1/schema/commands/validate-quotation
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a quotation when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-quotation
{
"docNo": "QT-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a quotation while keeping audit trail.
Full payload schema: /v1/schema/commands/void-quotation
{
"docNo": "QT-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a quotation.
Full payload schema: /v1/schema/commands/delete-quotation
{
"docNo": "QT-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update quotation header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-quotation
{
"docNo": "QU-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a advanced quotation without saving.
Full payload schema: /v1/schema/commands/validate-advanced-quotation
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a advanced quotation when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-advanced-quotation
{
"docNo": "AQ-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a advanced quotation while keeping audit trail.
Full payload schema: /v1/schema/commands/void-advanced-quotation
{
"docNo": "AQ-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a advanced quotation.
Full payload schema: /v1/schema/commands/delete-advanced-quotation
{
"docNo": "AQ-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update advanced quotation header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-advanced-quotation
{
"docNo": "AD-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a sales credit note without saving.
Full payload schema: /v1/schema/commands/validate-sales-credit-note
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a sales credit note when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-credit-note
{
"docNo": "CN-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a sales credit note while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-credit-note
{
"docNo": "CN-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a sales credit note.
Full payload schema: /v1/schema/commands/delete-sales-credit-note
{
"docNo": "CN-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update sales credit note header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-credit-note
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a sales debit note without saving.
Full payload schema: /v1/schema/commands/validate-sales-debit-note
{
"debtorCode": "300-A001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Validation only; does not save. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Cancel a sales debit note when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-sales-debit-note
{
"docNo": "DN-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a sales debit note while keeping audit trail.
Full payload schema: /v1/schema/commands/void-sales-debit-note
{
"docNo": "DN-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a sales debit note.
Full payload schema: /v1/schema/commands/delete-sales-debit-note
{
"docNo": "DN-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update sales debit note header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-sales-debit-note
{
"docNo": "SA-000001",
"reason": "correct document detail",
"debtorCode": "300-A001",
"contact": "Purchasing Department",
"attention": "Purchasing Department",
"phone": "03-11111111",
"ref": "WEB-ORDER-1001",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for sales detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Transfer quotation to sales order.
Full payload schema: /v1/schema/commands/transfer-quotation-to-sales-order
{
"sourceDocNo": "QT-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer quotation to sales order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer quotation directly to delivery order.
Full payload schema: /v1/schema/commands/transfer-quotation-to-delivery-order
{
"sourceDocNo": "QT-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer quotation to delivery order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic where the account book allows direct quotation-to-delivery-order transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer quotation directly to sales invoice.
Full payload schema: /v1/schema/commands/transfer-quotation-to-sales-invoice
{
"sourceDocNo": "QT-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer quotation to sales invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic where the account book allows direct quotation-to-sales-invoice transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer sales order to delivery order.
Full payload schema: /v1/schema/commands/transfer-sales-order-to-delivery-order
{
"sourceDocNo": "SO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales order to delivery order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer sales order directly to sales invoice.
Full payload schema: /v1/schema/commands/transfer-sales-order-to-sales-invoice
{
"sourceDocNo": "SO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales order to sales invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic where the account book allows direct sales-order-to-invoice transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer sales order to purchase order.
Full payload schema: /v1/schema/commands/transfer-sales-order-to-purchase-order
{
"sourceDocNo": "SO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales order to purchase order",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic where supported by the account book. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer delivery order to sales invoice.
Full payload schema: /v1/schema/commands/transfer-delivery-order-to-sales-invoice
{
"sourceDocNo": "DO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer delivery order to sales invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer sales invoice to sales credit note.
Full payload schema: /v1/schema/commands/transfer-sales-invoice-to-sales-credit-note
{
"sourceDocNo": "IV-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer sales invoice to sales credit note",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
List sales invoices. For latest rows, send limit/top/take; connector returns newest DocDate then DocNo first.
Full payload schema: /v1/schema/commands/list-sales-invoices
{
"limit": 10,
"top": 10,
"take": 10,
"orderBy": "docDate desc"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses a bounded read-only header query for known AutoCount sales invoice tables so large account books do not hang while loading all invoices.
Get one sales invoice by document number.
Full payload schema: /v1/schema/commands/get-sales-invoice
{
"docNo": "IV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Rank customers who bought an item by quantity and amount.
Full payload schema: /v1/schema/commands/read-item-sales-by-customer
{
"itemCode": "00002",
"fromDate": "2020-01-01",
"toDate": "2026-07-19",
"limit": 10
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Use this when asking who bought the most of one item. It reads sales invoice and cash sale detail lines, groups by debtor/customer, and returns TotalQty, TotalAmount, DocumentCount, FirstDocDate, and LastDocDate.
Read all sales document lines together, or filter with document.
Full payload schema: /v1/schema/commands/read-sales-detail-lines
{
"document": "sales-invoice",
"itemCode": "ITEM001",
"dateFrom": "2026-01-01",
"dateTo": "2026-07-19",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Prefer the document-specific read-*-lines commands when the document family is known.
Read sales invoice detail lines only.
Full payload schema: /v1/schema/commands/read-sales-invoice-lines
{
"itemCode": "ITEM001",
"dateFrom": "2026-01-01",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns header keys plus raw AutoCount invoice detail columns such as ItemCode, AccNo, Qty, UOM, UnitPrice, TaxCode, ProjNo, DeptNo, and Detail_* fields.
Read cash sale detail lines only.
Full payload schema: /v1/schema/commands/read-cash-sale-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read delivery order detail lines only.
Full payload schema: /v1/schema/commands/read-delivery-order-lines
{
"docNo": "DO-000001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read sales order detail lines only.
Full payload schema: /v1/schema/commands/read-sales-order-lines
{
"debtorCode": "300-A001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read quotation detail lines only.
Full payload schema: /v1/schema/commands/read-quotation-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read advanced quotation detail lines only.
Full payload schema: /v1/schema/commands/read-advanced-quotation-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read sales credit note detail lines only.
Full payload schema: /v1/schema/commands/read-sales-credit-note-lines
{
"docNo": "CN-000001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read sales debit note detail lines only.
Full payload schema: /v1/schema/commands/read-sales-debit-note-lines
{
"docNo": "DN-000001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List sales orders.
Full payload schema: /v1/schema/commands/list-sales-orders
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List delivery orders.
Full payload schema: /v1/schema/commands/list-delivery-orders
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List cash sales.
Full payload schema: /v1/schema/commands/list-cash-sales
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List quotations.
Full payload schema: /v1/schema/commands/list-quotations
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List advanced quotations.
Full payload schema: /v1/schema/commands/list-advanced-quotations
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List sales credit notes.
Full payload schema: /v1/schema/commands/list-sales-credit-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List sales debit notes.
Full payload schema: /v1/schema/commands/list-sales-debit-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a sales invoice.
Full payload schema: /v1/schema/commands/create-sales-invoice
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Requires write access permission. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one sales order by document number.
Full payload schema: /v1/schema/commands/get-sales-order
{
"docNo": "SO-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a sales order.
Full payload schema: /v1/schema/commands/create-sales-order
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Creates sales order through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one delivery order by document number.
Full payload schema: /v1/schema/commands/get-delivery-order
{
"docNo": "DO-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a delivery order.
Full payload schema: /v1/schema/commands/create-delivery-order
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Creates delivery order through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one cash sale by document number.
Full payload schema: /v1/schema/commands/get-cash-sale
{
"docNo": "CS-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a cash sale.
Full payload schema: /v1/schema/commands/create-cash-sale
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Create Cash Sale with payment. Creates cash sale through AutoCount SDK and returns paymentLines where AutoCount exposes the payment table. Use read-payment-methods first; payments[].paymentMethod must match an active AutoCount Payment Method code, and paymentAmount totals should equal the document total. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one quotation by document number.
Full payload schema: /v1/schema/commands/get-quotation
{
"docNo": "QT-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a quotation.
Full payload schema: /v1/schema/commands/create-quotation
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Creates quotation through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one advanced quotation by document number.
Full payload schema: /v1/schema/commands/get-advanced-quotation
{
"docNo": "AQ-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create an advanced quotation.
Full payload schema: /v1/schema/commands/create-advanced-quotation
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Creates advanced quotation through AutoCount SDK. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one sales credit note by document number.
Full payload schema: /v1/schema/commands/get-sales-credit-note
{
"docNo": "CN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a sales credit note.
Full payload schema: /v1/schema/commands/create-sales-credit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Creates sales credit note through AutoCount Sales CreditNote SDK when available. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Get one sales debit note by document number.
Full payload schema: /v1/schema/commands/get-sales-debit-note
{
"docNo": "DN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a sales debit note.
Full payload schema: /v1/schema/commands/create-sales-debit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"salesLocation": "HQ",
"multiPricing": "Price 1",
"salesAgent": "SA01",
"attention": "Purchasing Department",
"contact": "Purchasing Department",
"deliverContact": "Store Receiver",
"deliverPhone1": "012-3456789",
"phone": "03-11111111",
"address1": "No. 1 Jalan API",
"address2": "Taman Integration",
"address3": "Kuala Lumpur",
"address4": "Malaysia",
"description": "Sales document created through API",
"ref": "WEB-ORDER-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 100,
"discount": "5%",
"taxType": "S-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 190,
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"deliveryDate": "2026-06-30",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 130,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "CARD",
"paymentBy": "Credit Card",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "APPROVED-001"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Sales document number.DocDate date - Document date.DebtorCode string - Customer/debtor code.DebtorName string - Customer display name.DeliverAddr1 string - Delivery address line 1.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as SO or DO.DocNo string - Source document number.No field names are published for this section yet.
SaveAsDraft boolean - Save document as draft if supported.DocNoFormatName string - Document numbering format name.Notes: Creates sales debit note through AutoCount Sales DebitNote SDK when available. Full payload example is for human/Postman reference. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them.
Validate a purchase order without saving.
Full payload schema: /v1/schema/commands/validate-purchase-order
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Cancel a purchase order when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-purchase-order
{
"docNo": "PO-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a purchase order while keeping audit trail.
Full payload schema: /v1/schema/commands/void-purchase-order
{
"docNo": "PO-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a purchase order.
Full payload schema: /v1/schema/commands/delete-purchase-order
{
"docNo": "PO-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update purchase order header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-purchase-order
{
"docNo": "PU-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Validate a goods received note without saving.
Full payload schema: /v1/schema/commands/validate-goods-received-note
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Cancel a goods received note when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-goods-received-note
{
"docNo": "GRN-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a goods received note while keeping audit trail.
Full payload schema: /v1/schema/commands/void-goods-received-note
{
"docNo": "GRN-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a goods received note.
Full payload schema: /v1/schema/commands/delete-goods-received-note
{
"docNo": "GRN-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update goods received note header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-goods-received-note
{
"docNo": "GO-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Validate a purchase invoice without saving.
Full payload schema: /v1/schema/commands/validate-purchase-invoice
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Cancel a purchase invoice when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-purchase-invoice
{
"docNo": "PI-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a purchase invoice while keeping audit trail.
Full payload schema: /v1/schema/commands/void-purchase-invoice
{
"docNo": "PI-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a purchase invoice.
Full payload schema: /v1/schema/commands/delete-purchase-invoice
{
"docNo": "PI-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update purchase invoice header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-purchase-invoice
{
"docNo": "PU-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Validate a purchase return without saving.
Full payload schema: /v1/schema/commands/validate-purchase-return
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Cancel a purchase return when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-purchase-return
{
"docNo": "PR-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a purchase return while keeping audit trail.
Full payload schema: /v1/schema/commands/void-purchase-return
{
"docNo": "PR-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a purchase return.
Full payload schema: /v1/schema/commands/delete-purchase-return
{
"docNo": "PR-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update purchase return header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-purchase-return
{
"docNo": "PU-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Validate a cash purchase without saving.
Full payload schema: /v1/schema/commands/validate-cash-purchase
{
"creditorCode": "400-S001",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Validation only; does not save. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Cancel a cash purchase when AutoCount allows it.
Full payload schema: /v1/schema/commands/cancel-cash-purchase
{
"docNo": "CP-000001",
"reason": "cancelled by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation depends on AutoCount posting/link status and account-book permissions.
Void a cash purchase while keeping audit trail.
Full payload schema: /v1/schema/commands/void-cash-purchase
{
"docNo": "CP-000001",
"reason": "voided by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CancelDocument and returns operationUsed: CancelDocument. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Delete/void request for a cash purchase.
Full payload schema: /v1/schema/commands/delete-cash-purchase
{
"docNo": "CP-000001",
"reason": "deleted by API request"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Safely maps to AutoCount cancellation/void behavior. AutoCount may reject if the document is posted, linked, transferred, or blocked by permissions.
Update cash purchase header/contact fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-cash-purchase
{
"docNo": "CA-000001",
"reason": "correct document detail",
"creditorCode": "400-S001",
"contact": "Supplier Sales Department",
"attention": "Supplier Sales Department",
"phone": "03-33333333",
"ref": "API-REF-UPDATED",
"yourPONo": "PO-UPDATED-001",
"deliverContact": "Warehouse",
"deliverPhone1": "03-22222222",
"deliverAddress1": "Warehouse 1",
"detailMode": "replace",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"supplierInvoiceNo": "SUP-INV-1001",
"supplierDONo": "SUP-DO-UPDATED-001",
"docDate": "2026-06-24",
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Uses AutoCount SDK Edit(string) + Save(). Supports header/contact changes plus detailMode replace | append | update | delete for purchase detail rows. AutoCount may reject edits for posted, transferred, linked, or permission-blocked documents. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Transfer purchase order to goods received note.
Full payload schema: /v1/schema/commands/transfer-purchase-order-to-goods-received-note
{
"sourceDocNo": "PO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer purchase order to goods received note",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer purchase order directly to purchase invoice.
Full payload schema: /v1/schema/commands/transfer-purchase-order-to-purchase-invoice
{
"sourceDocNo": "PO-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer purchase order to purchase invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic where the account book allows direct purchase-order-to-invoice transfer. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer goods received note to purchase invoice.
Full payload schema: /v1/schema/commands/transfer-goods-received-note-to-purchase-invoice
{
"sourceDocNo": "GRN-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer goods received note to purchase invoice",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
Transfer purchase invoice to purchase return.
Full payload schema: /v1/schema/commands/transfer-purchase-invoice-to-purchase-return
{
"sourceDocNo": "PI-000001",
"targetDocNo": "",
"docDate": "2026-06-24",
"creditorCode": "400-S001",
"transferQtyMode": "outstanding",
"description": "Transfer purchase invoice to purchase return",
"ref": "API-TRANSFER-1001",
"lines": [
{
"sourceLineNo": 1,
"itemCode": "ITEM001",
"qty": 1,
"uom": "UNIT"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount transfer logic. AutoCount transfer rules decide which source lines and quantities are allowed. Omit lines to transfer the normal outstanding balance where supported.
List purchase invoices.
Full payload schema: /v1/schema/commands/list-purchase-invoices
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read all purchase document lines together, or filter with document.
Full payload schema: /v1/schema/commands/read-purchase-detail-lines
{
"document": "purchase-invoice",
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Prefer the document-specific read-*-lines commands when the document family is known.
Read purchase invoice detail lines only.
Full payload schema: /v1/schema/commands/read-purchase-invoice-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns account/project/tax/detail columns where AutoCount stores them.
Read cash purchase detail lines only.
Full payload schema: /v1/schema/commands/read-cash-purchase-lines
{
"accountNo": "610-0000",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read goods received note detail lines only.
Full payload schema: /v1/schema/commands/read-goods-received-note-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read purchase order detail lines only.
Full payload schema: /v1/schema/commands/read-purchase-order-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read purchase return detail lines only.
Full payload schema: /v1/schema/commands/read-purchase-return-lines
{
"docNo": "PR-000001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List purchase orders.
Full payload schema: /v1/schema/commands/list-purchase-orders
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List goods received notes.
Full payload schema: /v1/schema/commands/list-goods-received-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List purchase returns.
Full payload schema: /v1/schema/commands/list-purchase-returns
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List cash purchases.
Full payload schema: /v1/schema/commands/list-cash-purchases
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one purchase order by document number.
Full payload schema: /v1/schema/commands/get-purchase-order
{
"docNo": "PO-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a purchase order.
Full payload schema: /v1/schema/commands/create-purchase-order
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Creates purchase order through AutoCount SDK. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Get one goods received note by document number.
Full payload schema: /v1/schema/commands/get-goods-received-note
{
"docNo": "GRN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a goods received note.
Full payload schema: /v1/schema/commands/create-goods-received-note
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Creates goods received note through AutoCount SDK. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Get one purchase invoice by document number.
Full payload schema: /v1/schema/commands/get-purchase-invoice
{
"docNo": "PI-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a purchase invoice.
Full payload schema: /v1/schema/commands/create-purchase-invoice
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100,
"accountNo": "610-0000"
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Creates purchase invoice through AutoCount SDK. If default account is missing, call read-default-accounts and use purchaseAccNo, or choose a valid purchase/expense GL account from read-chart-accounts. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Get one purchase return by document number.
Full payload schema: /v1/schema/commands/get-purchase-return
{
"docNo": "PR-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a purchase return.
Full payload schema: /v1/schema/commands/create-purchase-return
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"supplierInvoiceNo": "SUP-INV-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Creates purchase return through AutoCount Purchase Return SDK when available. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Get one cash purchase by document number.
Full payload schema: /v1/schema/commands/get-cash-purchase
{
"docNo": "CP-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a cash purchase.
Full payload schema: /v1/schema/commands/create-cash-purchase
{
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-INV-1001",
"docDate": "2026-06-24",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"items": [
{
"itemCode": "ITEM001",
"qty": 1,
"unitPrice": 100,
"accountNo": "610-0000",
"project": "PRJAPI",
"projNo": "PRJAPI"
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
},
{
"paymentMethod": "BANK",
"paymentBy": "Bank Transfer",
"paymentAmount": 60,
"chequeNo": "",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"displayTerm": "30 DAYS",
"branchCode": "MAIN",
"purchaseLocation": "HQ",
"purchaseAgent": "PA01",
"attention": "Supplier Sales Department",
"contact": "Supplier Sales Department",
"phone": "03-33333333",
"address1": "No. 2 Jalan Supplier",
"address2": "Supplier Park",
"address3": "Petaling Jaya",
"address4": "Malaysia",
"description": "Purchase document created through API",
"currencyCode": "MYR",
"inclusiveTax": false,
"taxEntityID": 1,
"lines": [
{
"itemCode": "ITEM001",
"description": "API purchase item line 1",
"description2": "Line second description",
"furtherDescription": "Optional longer line note",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitPrice": 80,
"discount": "0",
"taxType": "P-0",
"taxRate": 0,
"taxAmount": 0,
"amount": 160,
"accountNo": "610-0000",
"postingAccountNo": "610-0000",
"location": "HQ",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "Blue"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Purchase invoice document number.DocDate date - Document date.CreditorCode string - Supplier/creditor code.CreditorName string - Supplier display name.Agent string - Purchase agent.PurchaseLocation string - Purchase stock location.Ref string - Reference.Description string - Header description.DisplayTerm string - Credit term.InvAddr1 string - Invoice address line 1.Phone1 string - Phone.Attention string - Attention/contact.BranchCode string - Branch code.CurrencyCode string - Currency code.CurrencyRate number - Currency rate.Note string - Note.Remark1 string - Remark 1.Remark2 string - Remark 2.Remark3 string - Remark 3.Remark4 string - Remark 4.RefDocNo string - Reference document number.ShipVia string - Shipping method.ShipInfo string - Shipping info.SupplierDONo string - Supplier delivery order number.SupplierInvoiceNo string - Supplier invoice number.DtlKey number - Existing detail key for updates.AccNo string - Posting GL account.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - Stock location.Description string - Line description.Desc2 string - Line description 2.FurtherDescription string - Further description.ProjNo string - Project code.DeptNo string - Department code.Qty number - Quantity.FOCQty number - FOC quantity.UnitPrice number - Unit price.Discount string - Discount.TaxCode string - Tax code.TaxRate number - Tax rate.TaxAdjustment number - Tax adjustment.DeliveryDate date - Delivery date.SalesExemptionNo string - Sales exemption number.No field names are published for this section yet.
DocType string - Source document type such as PO or GRN.DocNo string - Source document number.No field names are published for this section yet.
DocNoFormatName string - Document number format.SaveAsDraft boolean - Draft/save option.Notes: Creates cash purchase when the installed AutoCount SDK exposes the command. If default account is missing, call read-default-accounts and use purchaseAccNo, or choose a valid purchase/expense GL account from read-chart-accounts. Use read-payment-methods first; payments[].paymentMethod must match an active AutoCount Payment Method code, and paymentAmount totals should equal the document total. Line-level project overrides top-level project. Direct void/delete stay guarded until linked payment/cash-book reversal is proven. Full payload example is for human/Postman reference. For purchase invoice/cash purchase, line accountNo is a GL posting account. If AutoCount says no default account or AI does not know the account, first call read-default-accounts and use purchaseAccNo, or list read-chart-accounts and choose a valid purchase/expense account. For AP invoice, if accountNo is omitted the connector tries payload/default purchase account first, then recent AP invoice history for the same creditor. The connector sends supported fields into AutoCount SDK and ignores unsupported optional fields where the exact document SDK does not expose them. For cash purchase, create/list/get are supported where AutoCount exposes the command; direct void/delete stay guarded until the linked payment/cash-book reversal workflow is proven.
Legacy AR outstanding lookup. Prefer read-ar-outstanding-documents for docKey-based knock-off.
Full payload schema: /v1/schema/commands/read-ar-outstanding
{
"debtorCode": "300-A001",
"maxRows": 0
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Update AR payment header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-payment
{
"docNo": "OR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424496",
"docNo": "IV-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
Guarded AR payment void request.
Full payload schema: /v1/schema/commands/void-ar-payment
{
"docNo": "OR-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AR payment delete request.
Full payload schema: /v1/schema/commands/delete-ar-payment
{
"docNo": "OR-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AR invoice header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-invoice
{
"docNo": "AR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"lines": [
{
"accNo": "400-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
Guarded AR invoice void request.
Full payload schema: /v1/schema/commands/void-ar-invoice
{
"docNo": "ARI-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AR invoice delete request.
Full payload schema: /v1/schema/commands/delete-ar-invoice
{
"docNo": "ARI-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AR credit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-credit-note
{
"docNo": "AR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"lines": [
{
"accNo": "400-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
Guarded AR credit note void request.
Full payload schema: /v1/schema/commands/void-ar-credit-note
{
"docNo": "CN-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AR credit note delete request.
Full payload schema: /v1/schema/commands/delete-ar-credit-note
{
"docNo": "CN-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AR debit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-debit-note
{
"docNo": "AR-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"lines": [
{
"accNo": "400-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
Guarded AR debit note void request.
Full payload schema: /v1/schema/commands/void-ar-debit-note
{
"docNo": "DN-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AR debit note delete request.
Full payload schema: /v1/schema/commands/delete-ar-debit-note
{
"docNo": "DN-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AR refund header/simple fields.
Full payload schema: /v1/schema/commands/update-ar-refund
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"debtorCode": "300-A001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424496",
"docNo": "IV-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
Guarded AR refund void request.
Full payload schema: /v1/schema/commands/void-ar-refund
{
"docNo": "PV-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AR refund delete request.
Full payload schema: /v1/schema/commands/delete-ar-refund
{
"docNo": "PV-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
List debtors/customers.
Full payload schema: /v1/schema/commands/read-debtors
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read one debtor/customer with all public SDK fields and child tables.
Full payload schema: /v1/schema/commands/get-debtor-detail
{
"accNo": "300-A001",
"maxTableRows": 0
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.ARAP.Debtor.DebtorDataAccess.GetDebtor. Returns fields and child tables such as DebtorTable, BranchTable, ContactTable, TaxExemptionTable, and GLMastTable when available.
Read one debtor/customer credit-control settings through AutoCount debtor SDK.
Full payload schema: /v1/schema/commands/get-debtor-credit-control
{
"accNo": "300-A001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns stable fields such as companyName, controlAccount, currencyCode, creditTerm and a creditControl field map containing credit/term/limit/control fields exposed by that AutoCount DLL.
List outstanding AR invoice documents with docKey for allocation and knock-off.
Full payload schema: /v1/schema/commands/read-ar-outstanding-documents
{
"debtorCode": "300-A001",
"maxRows": 0
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns SDK-safe docType RI plus displayDocType IV. Use the returned docType for AR payment and AR credit-note invoice knock-off.
Read AR account/detail lines across AR invoices, payments, refunds, credit notes, and debit notes.
Full payload schema: /v1/schema/commands/read-ar-detail-lines
{
"debtorCode": "300-A001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AR invoice detail/account lines only.
Full payload schema: /v1/schema/commands/read-ar-invoice-lines
{
"accountNo": "500-0000",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AR payment detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ar-payment-lines
{
"debtorCode": "300-A001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AR credit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ar-credit-note-lines
{
"debtorCode": "300-A001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AR debit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ar-debit-note-lines
{
"debtorCode": "300-A001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AR refund detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ar-refund-lines
{
"debtorCode": "300-A001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List AR invoices.
Full payload schema: /v1/schema/commands/list-ar-invoices
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AR invoice by document number.
Full payload schema: /v1/schema/commands/get-ar-invoice
{
"docNo": "ARI-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR invoice without saving.
Full payload schema: /v1/schema/commands/validate-ar-invoice
{
"debtorCode": "300-A001",
"amount": 100,
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Create an AR invoice.
Full payload schema: /v1/schema/commands/create-ar-invoice
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
List AR payments.
Full payload schema: /v1/schema/commands/list-ar-payments
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AR payment by document number.
Full payload schema: /v1/schema/commands/get-ar-payment
{
"docNo": "OR-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR payment/receipt without saving. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ar-payment
{
"debtorCode": "300-A001",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Optional AutoCount document number.DocDate date - Payment document date.DebtorCode string - Customer/debtor code.ProjNo string - Header project code.DeptNo string - Header department code.Description string - Payment description.CurrencyCode string - Currency code.Note string - Payment note.PaymentMethod string - Exact AutoCount payment method code.ChequeNo string - Cheque/reference number.PaymentAmt number - Payment amount.BankCharge number - Bank charge amount.ToBankRate number - Bank currency rate.PaymentBy string - Payment by label.DocType string - AutoCount knock-off document type such as RI.DocKey number - AutoCount outstanding document key.DocNo string - Outstanding document number.KnockOffDate date - Knock-off date.KnockOffAmount number - Allocated amount.No field names are published for this section yet.
No field names are published for this section yet.
DocNoFormatName string - Optional AutoCount numbering format.SaveAsDraft boolean - Draft/save behavior where AutoCount supports it.Notes: Real positive knock-off validation is proven for outstanding AR documents. The connector also accepts old IV aliases and normalizes them to RI. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
Create an AR payment/receipt. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ar-payment
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Optional AutoCount document number.DocDate date - Payment document date.DebtorCode string - Customer/debtor code.ProjNo string - Header project code.DeptNo string - Header department code.Description string - Payment description.CurrencyCode string - Currency code.Note string - Payment note.PaymentMethod string - Exact AutoCount payment method code.ChequeNo string - Cheque/reference number.PaymentAmt number - Payment amount.BankCharge number - Bank charge amount.ToBankRate number - Bank currency rate.PaymentBy string - Payment by label.DocType string - AutoCount knock-off document type such as RI.DocKey number - AutoCount outstanding document key.DocNo string - Outstanding document number.KnockOffDate date - Knock-off date.KnockOffAmount number - Allocated amount.No field names are published for this section yet.
No field names are published for this section yet.
DocNoFormatName string - Optional AutoCount numbering format.SaveAsDraft boolean - Draft/save behavior where AutoCount supports it.Notes: Requires write access permission. Real multi-invoice knock-off save is proven; IV aliases are normalized to RI. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
List AR deposits.
Full payload schema: /v1/schema/commands/list-ar-deposits
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AR deposit by document number.
Full payload schema: /v1/schema/commands/get-ar-deposit
{
"docNo": "OR-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR deposit without saving.
Full payload schema: /v1/schema/commands/validate-ar-deposit
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AR deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
Create an AR deposit with a real payment detail and GL transaction.
Full payload schema: /v1/schema/commands/create-ar-deposit
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AR deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Real save is tested against AutoCount ARDepositCommand and verifies GLTrxID. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
List AR refunds.
Full payload schema: /v1/schema/commands/list-ar-refunds
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AR refund by document number.
Full payload schema: /v1/schema/commands/get-ar-refund
{
"docNo": "PV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR refund without saving. Refund knocks off AR credit notes, not invoices. Use docType RC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/validate-ar-refund
{
"debtorCode": "300-A001",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Real AR refund knock-off save is proven against AR credit notes. CN/CreditNote aliases are normalized to RC. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
Create an AR refund. Refund knocks off AR credit notes, not invoices. Use docType RC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/create-ar-refund
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AR payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Real AR refund knock-off save is proven against AR credit notes; CN aliases are normalized to RC. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
List AR credit notes.
Full payload schema: /v1/schema/commands/list-ar-credit-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AR credit note by document number.
Full payload schema: /v1/schema/commands/get-ar-credit-note
{
"docNo": "CN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR credit note without saving. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ar-credit-note
{
"debtorCode": "300-A001",
"amount": 100,
"lineDescription": "Credit adjustment",
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Real positive knock-off validation is proven for outstanding AR documents. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Create an AR credit note. Supports one or many real invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ar-credit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"lineDescription": "Credit adjustment",
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Real knock-off validation is proven; saving should still be tested per account book. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
List AR debit notes.
Full payload schema: /v1/schema/commands/list-ar-debit-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AR debit note by document number.
Full payload schema: /v1/schema/commands/get-ar-debit-note
{
"docNo": "DN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR debit note without saving.
Full payload schema: /v1/schema/commands/validate-ar-debit-note
{
"debtorCode": "300-A001",
"amount": 100,
"lineDescription": "Debit adjustment",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Create an AR debit note.
Full payload schema: /v1/schema/commands/create-ar-debit-note
{
"debtorCode": "300-A001",
"docDate": "2026-06-24",
"amount": 100,
"lineDescription": "Debit adjustment",
"dueDate": "2026-07-24",
"description": "AR document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "500-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "501-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "RI",
"docKey": "424508",
"docNo": "IV-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates AR debit note through AutoCount SDK. AR = customer/debtor. Use debtorCode only for AR commands; do not send creditorCode for AR. Use read-ar-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Legacy AP outstanding lookup. Prefer read-ap-outstanding-documents for docKey-based knock-off.
Full payload schema: /v1/schema/commands/read-ap-outstanding
{
"creditorCode": "400-S001",
"maxRows": 0
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Update AP invoice header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-invoice
{
"docNo": "AP-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"lines": [
{
"accNo": "500-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
],
"newDocNo": "API-000001-UPDATED",
"supplierInvoiceNo": "SUP-INV-UPDATED-001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines, including RM0.00 detail lines. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods. For AP invoice number changes: use docNo to find the existing AP invoice, newDocNo to change AutoCount DocNo, and supplierInvoiceNo/invoiceNo to change the supplier invoice number.
Guarded AP invoice void request.
Full payload schema: /v1/schema/commands/void-ap-invoice
{
"docNo": "API-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AP invoice delete request.
Full payload schema: /v1/schema/commands/delete-ap-invoice
{
"docNo": "API-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AP credit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-credit-note
{
"docNo": "AP-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"lines": [
{
"accNo": "500-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines, including RM0.00 detail lines. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
Guarded AP credit note void request.
Full payload schema: /v1/schema/commands/void-ap-credit-note
{
"docNo": "PCN-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AP credit note delete request.
Full payload schema: /v1/schema/commands/delete-ap-credit-note
{
"docNo": "PCN-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AP debit note header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-debit-note
{
"docNo": "AP-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"lines": [
{
"accNo": "500-0000",
"description": "Corrected line",
"amount": 100,
"taxCode": "S-0"
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines, including RM0.00 detail lines. Credit notes also support knock-off allocation edit when the SDK exposes safe knock-off methods.
Guarded AP debit note void request.
Full payload schema: /v1/schema/commands/void-ap-debit-note
{
"docNo": "PDN-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AP debit note delete request.
Full payload schema: /v1/schema/commands/delete-ap-debit-note
{
"docNo": "PDN-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AP payment header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-payment
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424496",
"docNo": "PI-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
Guarded AP payment void request.
Full payload schema: /v1/schema/commands/void-ap-payment
{
"docNo": "PV-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AP payment delete request.
Full payload schema: /v1/schema/commands/delete-ap-payment
{
"docNo": "PV-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
Update AP refund header/simple fields.
Full payload schema: /v1/schema/commands/update-ap-refund
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"creditorCode": "400-S001",
"detailMode": "replace",
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424496",
"docNo": "PI-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Uses AutoCount SDK load/edit + Save for header/simple fields, payment/detail edit, and knock-off allocation edit when safe SDK methods are available. detailMode: replace | append | update | delete.
Guarded AP refund void request.
Full payload schema: /v1/schema/commands/void-ap-refund
{
"docNo": "PV-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AP refund delete request.
Full payload schema: /v1/schema/commands/delete-ap-refund
{
"docNo": "PV-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
List creditors/suppliers.
Full payload schema: /v1/schema/commands/read-creditors
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read one creditor/supplier with all public SDK fields and child tables.
Full payload schema: /v1/schema/commands/get-creditor-detail
{
"accNo": "400-S001",
"maxTableRows": 0
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.ARAP.Creditor.CreditorDataAccess.GetCreditor. Returns fields and child tables such as CreditorTable, BranchTable, ContactTable, TaxExemptionTable, and GLMastTable when available.
List outstanding AP invoice documents with docKey for allocation and knock-off.
Full payload schema: /v1/schema/commands/read-ap-outstanding-documents
{
"creditorCode": "400-S001",
"maxRows": 0
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns SDK-safe docType PB plus displayDocType PI. Use the returned docType for AP payment and AP credit-note invoice knock-off.
Read AP account/detail lines across AP invoices, payments, refunds, credit notes, and debit notes.
Full payload schema: /v1/schema/commands/read-ap-detail-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AP invoice detail/account lines only.
Full payload schema: /v1/schema/commands/read-ap-invoice-lines
{
"accountNo": "610-0000",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AP payment detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ap-payment-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AP credit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ap-credit-note-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AP debit note detail/account lines only.
Full payload schema: /v1/schema/commands/read-ap-debit-note-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read AP refund detail/payment method lines only.
Full payload schema: /v1/schema/commands/read-ap-refund-lines
{
"creditorCode": "400-S001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List AP payments.
Full payload schema: /v1/schema/commands/list-ap-payments
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AP payment by document number.
Full payload schema: /v1/schema/commands/get-ap-payment
{
"docNo": "PV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AP payment without saving. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ap-payment
{
"creditorCode": "400-S001",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Optional AutoCount document number.DocDate date - Payment document date.CreditorCode string - Supplier/creditor code.ProjNo string - Header project code.DeptNo string - Header department code.Description string - Payment description.CurrencyCode string - Currency code.Note string - Payment note.PaymentMethod string - Exact AutoCount payment method code.ChequeNo string - Cheque/reference number.PaymentAmt number - Payment amount.BankCharge number - Bank charge amount.ToBankRate number - Bank currency rate.PaymentBy string - Payment by label.DocType string - AutoCount knock-off document type such as PB.DocKey number - AutoCount outstanding document key.DocNo string - Outstanding document number.KnockOffDate date - Knock-off date.KnockOffAmount number - Allocated amount.No field names are published for this section yet.
No field names are published for this section yet.
DocNoFormatName string - Optional AutoCount numbering format.SaveAsDraft boolean - Draft/save behavior where AutoCount supports it.Notes: Real positive knock-off validation is proven for outstanding AP documents. The connector also accepts old PI aliases and normalizes them to PB. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
Create an AP payment. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ap-payment
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Optional AutoCount document number.DocDate date - Payment document date.CreditorCode string - Supplier/creditor code.ProjNo string - Header project code.DeptNo string - Header department code.Description string - Payment description.CurrencyCode string - Currency code.Note string - Payment note.PaymentMethod string - Exact AutoCount payment method code.ChequeNo string - Cheque/reference number.PaymentAmt number - Payment amount.BankCharge number - Bank charge amount.ToBankRate number - Bank currency rate.PaymentBy string - Payment by label.DocType string - AutoCount knock-off document type such as PB.DocKey number - AutoCount outstanding document key.DocNo string - Outstanding document number.KnockOffDate date - Knock-off date.KnockOffAmount number - Allocated amount.No field names are published for this section yet.
No field names are published for this section yet.
DocNoFormatName string - Optional AutoCount numbering format.SaveAsDraft boolean - Draft/save behavior where AutoCount supports it.Notes: Requires write access permission. Real multi-invoice knock-off save is proven; PI aliases are normalized to PB. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
List AP deposits.
Full payload schema: /v1/schema/commands/list-ap-deposits
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AP deposit by document number.
Full payload schema: /v1/schema/commands/get-ap-deposit
{
"docNo": "PV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AP deposit without saving.
Full payload schema: /v1/schema/commands/validate-ap-deposit
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AP deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
Create an AP deposit with a real payment detail and GL transaction.
Full payload schema: /v1/schema/commands/create-ap-deposit
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"paymentMethod": "CASH",
"depositPaymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-DEP-1001",
"bankCharge": 0,
"description": "AP deposit created through API",
"note": "Deposit received before invoice",
"isSecurityDeposit": false,
"project": "PRJAPI",
"department": "HQ"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Real save is tested against AutoCount APDepositCommand and verifies GLTrxID. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Creates a real AutoCount deposit with one payment detail row and posts a GL transaction when saved.
List AP refunds.
Full payload schema: /v1/schema/commands/list-ap-refunds
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AP refund by document number.
Full payload schema: /v1/schema/commands/get-ap-refund
{
"docNo": "PV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AP refund without saving. Refund knocks off AP credit notes, not supplier invoices. Use docType PC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/validate-ap-refund
{
"creditorCode": "400-S001",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"docDate": "2026-06-24",
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Real AP refund knock-off save is proven against AP credit notes. CN/CreditNote aliases are normalized to PC. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
Create an AP refund. Refund knocks off AP credit notes, not supplier invoices. Use docType PC or friendly CN alias; docKey is recommended.
Full payload schema: /v1/schema/commands/create-ap-refund
{
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0,
"gainLossAmount": 0,
"withholdingTaxAmount": 0
}
],
"paymentMethod": "CASH",
"paymentBy": "Cash",
"chequeNo": "API-PAY-1001",
"bankCharge": 0,
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": "",
"description": "AP payment/refund created through API",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Real AP refund knock-off save is proven against AP credit notes; CN aliases are normalized to PC. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. For payment against invoices use RI for AR and PB for AP. For refund against credit notes use RC/ARCN for AR and PC/APCN for AP. Friendly aliases are normalized by the connector where supported.
List AP invoices.
Full payload schema: /v1/schema/commands/list-ap-invoices
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AP invoice by document number.
Full payload schema: /v1/schema/commands/get-ap-invoice
{
"docNo": "API-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AP invoice without saving.
Full payload schema: /v1/schema/commands/validate-ap-invoice
{
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-INV-1001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"ref": "API-REF-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"description": "AP document created through API",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Use validate before create when AI imports many supplier bills. Posting account order is: lines[].accountNo/top-level accountNo, AutoCount default purchase account, then recent AP invoice detail account for the same creditor. If no account is found, connector returns a clear validation error before AutoCount save. Send top-level project/projNo to apply one project to every line, or send line-level project/projNo for different projects per line. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Create an AP invoice.
Full payload schema: /v1/schema/commands/create-ap-invoice
{
"creditorCode": "400-S001",
"supplierInvoiceNo": "SUP-INV-1001",
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"ref": "API-REF-1001",
"currencyCode": "MYR",
"inclusiveTax": false,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"description": "AP document created through API",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates AP invoice through AutoCount SDK. The connector pre-checks creditorCode, AP journalType, detail count, and every GL posting account before SaveAPInvoice. Posting account order is: lines[].accountNo/top-level accountNo, AutoCount default purchase account, then recent AP invoice detail account for the same creditor. Send top-level project/projNo to apply one project to every line, or send line-level project/projNo for different projects per line. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
List AP credit notes.
Full payload schema: /v1/schema/commands/list-ap-credit-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AP credit note by document number.
Full payload schema: /v1/schema/commands/get-ap-credit-note
{
"docNo": "PCN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AP credit note without saving. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/validate-ap-credit-note
{
"creditorCode": "400-S001",
"supplierCreditNoteNo": "SCN-001",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Real positive knock-off validation is proven for outstanding AP documents. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Create an AP credit note. Supports one or many real supplier invoice knock-offs.
Full payload schema: /v1/schema/commands/create-ap-credit-note
{
"creditorCode": "400-S001",
"supplierCreditNoteNo": "SCN-001",
"docDate": "2026-06-24",
"amount": 100,
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Real knock-off validation is proven; saving should still be tested per account book. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
List AP debit notes.
Full payload schema: /v1/schema/commands/list-ap-debit-notes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one AP debit note by document number.
Full payload schema: /v1/schema/commands/get-ap-debit-note
{
"docNo": "PDN-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AP debit note without saving.
Full payload schema: /v1/schema/commands/validate-ap-debit-note
{
"creditorCode": "400-S001",
"supplierDebitNoteNo": "SDN-001",
"amount": 100,
"docDate": "2026-06-24",
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Create an AP debit note.
Full payload schema: /v1/schema/commands/create-ap-debit-note
{
"creditorCode": "400-S001",
"supplierDebitNoteNo": "SDN-001",
"docDate": "2026-06-24",
"amount": 100,
"dueDate": "2026-07-24",
"description": "AP document created through API",
"ref": "API-REF-1001",
"branchCode": "MAIN",
"attention": "Accounts Department",
"contact": "Accounts Department",
"currencyCode": "MYR",
"inclusiveTax": false,
"lines": [
{
"accountNo": "610-0000",
"description": "Service line 1",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"taxAmount": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accountNo": "620-0000",
"description": "Different posting account line",
"amount": 50,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022"
}
],
"knockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100,
"discountAmount": 0,
"taxAdjustment": 0
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates AP debit note through AutoCount SDK. AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP. Use read-ap-outstanding-documents first when a knock-off needs docKey. For simple invoices, amount/accountNo still works. For multiple posting accounts, send lines and put accountNo on each line. AR/AP invoice/note posting account order is: lines[].accountNo/top-level accountNo, AutoCount default account only when needed, then safe recent same-party history where the connector has a proven read path.
Get one AR/AP contra document by document number.
Full payload schema: /v1/schema/commands/get-arap-contra
{
"docNo": "CON-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Update AR/AP contra header/simple fields.
Full payload schema: /v1/schema/commands/update-arap-contra
{
"docNo": "CON-000001",
"reason": "correct contra",
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. Line/detail, payment-detail, and knock-off reallocation edits remain guarded until proven. Use read-ar-outstanding-documents and read-ap-outstanding-documents first to get docKey values for contra knock-off rows.
Guarded AR/AP contra void request.
Full payload schema: /v1/schema/commands/void-arap-contra
{
"docNo": "CON-000001",
"reason": "void/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked until module-specific AutoCount void/cancel safety is proven.
Guarded AR/AP contra delete request.
Full payload schema: /v1/schema/commands/delete-arap-contra
{
"docNo": "CON-000001",
"reason": "remove/correct document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked. Use reversal, cancellation, or replacement workflow until module-specific AutoCount delete safety is proven.
List AR/AP contra documents.
Full payload schema: /v1/schema/commands/list-arap-contras
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate an AR/AP contra document without saving. Invoice knock-off allocation is guarded until proven with AutoCount SDK.
Full payload schema: /v1/schema/commands/validate-arap-contra
{
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"amount": 100,
"docDate": "2026-06-24",
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Plain contra validation is supported. Use payment/credit-note commands for invoice allocation and refund commands for credit-note allocation until contra allocation is proven. Use read-ar-outstanding-documents and read-ap-outstanding-documents first to get docKey values for contra knock-off rows.
Create an AR/AP contra document. Invoice knock-off allocation is guarded until proven with AutoCount SDK.
Full payload schema: /v1/schema/commands/create-arap-contra
{
"debtorCode": "300-A001",
"creditorCode": "400-S001",
"docDate": "2026-06-24",
"amount": 100,
"description": "API AR/AP contra",
"ref": "API-CONTRA-1001",
"arKnockOffs": [
{
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
}
],
"apKnockOffs": [
{
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
],
"knockOffs": [
{
"side": "AR",
"docType": "RI",
"docKey": "424501",
"docNo": "IV-000001",
"amount": 100
},
{
"side": "AP",
"docType": "PB",
"docKey": "424508",
"docNo": "PI-000001",
"amount": 100
}
]
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Use payment/credit-note commands for invoice allocation and refund commands for credit-note allocation until contra allocation is proven. Use read-ar-outstanding-documents and read-ap-outstanding-documents first to get docKey values for contra knock-off rows.
List stock adjustment records.
Full payload schema: /v1/schema/commands/list-stock-adjustments
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock adjustment by document/code.
Full payload schema: /v1/schema/commands/get-stock-adjustment
{
"docNo": "SA-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock adjustment without saving.
Full payload schema: /v1/schema/commands/validate-stock-adjustment
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock adjustment header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-adjustment
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock adjustment.
Full payload schema: /v1/schema/commands/void-stock-adjustment
{
"docNo": "SA-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock adjustment.
Full payload schema: /v1/schema/commands/delete-stock-adjustment
{
"docNo": "SA-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock receive records.
Full payload schema: /v1/schema/commands/list-stock-receives
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock receive by document/code.
Full payload schema: /v1/schema/commands/get-stock-receive
{
"docNo": "SR-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock receive without saving.
Full payload schema: /v1/schema/commands/validate-stock-receive
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock receive header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-receive
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock receive.
Full payload schema: /v1/schema/commands/void-stock-receive
{
"docNo": "SR-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock receive.
Full payload schema: /v1/schema/commands/delete-stock-receive
{
"docNo": "SR-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock issue records.
Full payload schema: /v1/schema/commands/list-stock-issues
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock issue by document/code.
Full payload schema: /v1/schema/commands/get-stock-issue
{
"docNo": "SI-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock issue without saving.
Full payload schema: /v1/schema/commands/validate-stock-issue
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock issue header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-issue
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock issue.
Full payload schema: /v1/schema/commands/void-stock-issue
{
"docNo": "SI-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock issue.
Full payload schema: /v1/schema/commands/delete-stock-issue
{
"docNo": "SI-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock transfer records.
Full payload schema: /v1/schema/commands/list-stock-transfers
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock transfer by document/code.
Full payload schema: /v1/schema/commands/get-stock-transfer
{
"docNo": "ST-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock transfer without saving.
Full payload schema: /v1/schema/commands/validate-stock-transfer
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock transfer header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-transfer
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock transfer.
Full payload schema: /v1/schema/commands/void-stock-transfer
{
"docNo": "ST-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock transfer.
Full payload schema: /v1/schema/commands/delete-stock-transfer
{
"docNo": "ST-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock UOM conversion records.
Full payload schema: /v1/schema/commands/list-stock-uom-conversions
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock UOM conversion by document/code.
Full payload schema: /v1/schema/commands/get-stock-uom-conversion
{
"docNo": "UC-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock UOM conversion without saving.
Full payload schema: /v1/schema/commands/validate-stock-uom-conversion
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock UOM conversion header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-uom-conversion
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock UOM conversion.
Full payload schema: /v1/schema/commands/void-stock-uom-conversion
{
"docNo": "UC-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock UOM conversion.
Full payload schema: /v1/schema/commands/delete-stock-uom-conversion
{
"docNo": "UC-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock take records.
Full payload schema: /v1/schema/commands/list-stock-takes
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock take by document/code.
Full payload schema: /v1/schema/commands/get-stock-take
{
"docNo": "STK-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock take without saving.
Full payload schema: /v1/schema/commands/validate-stock-take
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock take header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-take
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock take.
Full payload schema: /v1/schema/commands/void-stock-take
{
"docNo": "STK-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock take.
Full payload schema: /v1/schema/commands/delete-stock-take
{
"docNo": "STK-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock write-off records.
Full payload schema: /v1/schema/commands/list-stock-write-offs
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock write-off by document/code.
Full payload schema: /v1/schema/commands/get-stock-write-off
{
"docNo": "SWO-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock write-off without saving.
Full payload schema: /v1/schema/commands/validate-stock-write-off
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock write-off header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-write-off
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock write-off.
Full payload schema: /v1/schema/commands/void-stock-write-off
{
"docNo": "SWO-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock write-off.
Full payload schema: /v1/schema/commands/delete-stock-write-off
{
"docNo": "SWO-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock update cost records.
Full payload schema: /v1/schema/commands/list-stock-update-costs
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock update cost by document/code.
Full payload schema: /v1/schema/commands/get-stock-update-cost
{
"docNo": "SUC-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock update cost without saving.
Full payload schema: /v1/schema/commands/validate-stock-update-cost
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Edit stock update cost header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-update-cost
{
"docNo": "STK-000001",
"description": "Stock document created through API",
"detailMode": "update",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"reason": "API stock operation",
"docDate": "2026-06-24",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Void/cancel stock update cost.
Full payload schema: /v1/schema/commands/void-stock-update-cost
{
"docNo": "SUC-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock update cost.
Full payload schema: /v1/schema/commands/delete-stock-update-cost
{
"docNo": "SUC-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List item package records.
Full payload schema: /v1/schema/commands/list-item-packages
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one item package by document/code.
Full payload schema: /v1/schema/commands/get-item-package
{
"docNo": "PKG-API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate item package without saving.
Full payload schema: /v1/schema/commands/validate-item-package
{
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"packageCode": "PKG-API",
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Full human payload reference for Item Package. Component item codes and UOM must exist in AutoCount.
Guarded item package edit request.
Full payload schema: /v1/schema/commands/update-item-package
{
"packageCode": "PKG-API",
"reason": "correct package",
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until item package update safety is proven. Full human payload reference for Item Package. Component item codes and UOM must exist in AutoCount.
Guarded item package void request.
Full payload schema: /v1/schema/commands/void-item-package
{
"packageCode": "PKG-API",
"reason": "void package"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Master definitions do not have a proven safe void path; request is guarded.
Guarded item package delete request.
Full payload schema: /v1/schema/commands/delete-item-package
{
"packageCode": "PKG-API",
"reason": "remove package"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Deletion remains guarded for master definitions.
List item BOM records.
Full payload schema: /v1/schema/commands/list-bom-items
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one item BOM by document/code.
Full payload schema: /v1/schema/commands/get-item-bom
{
"docNo": "BOM-API"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate item BOM without saving.
Full payload schema: /v1/schema/commands/validate-item-bom
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"itemCode": "FINISHED-API",
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Full human payload reference for Item BOM. Finished and component item codes must exist in the same account book and be valid for BOM usage. New account books normally need these items created before BOM/manufacturing commands.
Update item BOM definition.
Full payload schema: /v1/schema/commands/update-item-bom
{
"itemCode": "FINISHED-API",
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"reason": "correct BOM",
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Updates item BOM through AutoCount SDK. Full human payload reference for Item BOM. Finished and component item codes must exist in the same account book and be valid for BOM usage. New account books normally need these items created before BOM/manufacturing commands.
Guarded item BOM void request.
Full payload schema: /v1/schema/commands/void-item-bom
{
"itemCode": "FINISHED-API",
"reason": "void BOM"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Master definitions do not have a proven safe void path; request is guarded.
Guarded item BOM delete request.
Full payload schema: /v1/schema/commands/delete-item-bom
{
"itemCode": "FINISHED-API",
"reason": "remove BOM"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Deletion remains guarded for master definitions.
List stock assembly records.
Full payload schema: /v1/schema/commands/list-stock-assemblies
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock assembly by document/code.
Full payload schema: /v1/schema/commands/get-stock-assembly
{
"docNo": "ASM-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock assembly without saving.
Full payload schema: /v1/schema/commands/validate-stock-assembly
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock assembly created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Edit stock assembly header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-assembly
{
"docNo": "ASM-000001",
"description": "Stock assembly created through API",
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail",
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Void/cancel stock assembly.
Full payload schema: /v1/schema/commands/void-stock-assembly
{
"docNo": "ASM-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock assembly.
Full payload schema: /v1/schema/commands/delete-stock-assembly
{
"docNo": "ASM-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock assembly order records.
Full payload schema: /v1/schema/commands/list-stock-assembly-orders
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock assembly order by document/code.
Full payload schema: /v1/schema/commands/get-stock-assembly-order
{
"docNo": "ASO-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock assembly order without saving.
Full payload schema: /v1/schema/commands/validate-stock-assembly-order
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock assembly order created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Edit stock assembly order header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-assembly-order
{
"docNo": "ASM-000001",
"description": "Stock assembly order created through API",
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail",
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Void/cancel stock assembly order.
Full payload schema: /v1/schema/commands/void-stock-assembly-order
{
"docNo": "ASO-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock assembly order.
Full payload schema: /v1/schema/commands/delete-stock-assembly-order
{
"docNo": "ASO-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock disassembly records.
Full payload schema: /v1/schema/commands/list-stock-disassemblies
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one stock disassembly by document/code.
Full payload schema: /v1/schema/commands/get-stock-disassembly
{
"docNo": "DSA-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Validate stock disassembly without saving.
Full payload schema: /v1/schema/commands/validate-stock-disassembly
{
"items": [
{
"itemCode": "ITEM001",
"qty": 1
}
],
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"description": "Stock disassembly created through API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Validation only; does not save. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Edit stock disassembly header fields and detail lines.
Full payload schema: /v1/schema/commands/update-stock-disassembly
{
"docNo": "ASM-000001",
"description": "Stock disassembly created through API",
"detailMode": "replace",
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"reason": "correct assembly detail",
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"uom": "UNIT",
"unitCost": 100
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK EditDetail/AddDetail/DeleteDetail/ClearDetails + Save. Supported line fields include itemCode, qty, uom, location, batchNo, unitCost, oldCost, newCost, fromQty, toQty, fromUom, toUom, itemCost, rate, description, projNo, and deptNo where the document type exposes them. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Void/cancel stock disassembly.
Full payload schema: /v1/schema/commands/void-stock-disassembly
{
"docNo": "DSA-000001",
"reason": "void/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK CancelDocument.
Delete stock disassembly.
Full payload schema: /v1/schema/commands/delete-stock-disassembly
{
"docNo": "DSA-000001",
"reason": "remove/correct stock document"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount SDK Delete. Use carefully because stock transactions affect costing and audit history.
List stock items quickly with limit/search filters.
Full payload schema: /v1/schema/commands/read-items
{
"limit": 50,
"search": "V274",
"activeOnly": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Bounded by default so AI tools do not block the connector queue with full item exports. Use read-items-all/export-items only when a full item master export is required.
Explicit full stock item export.
Full payload schema: /v1/schema/commands/read-items-all
{
"activeOnly": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Can be slow on large account books. Prefer read-items with limit/search for normal AI lookup.
Alias for read-items-all explicit full stock item export.
Full payload schema: /v1/schema/commands/export-items
{
"activeOnly": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Use only for export/sync jobs, not repeated quick lookups.
Read one stock item with all public SDK fields and child tables.
Full payload schema: /v1/schema/commands/get-stock-item-detail
{
"itemCode": "ITEM001",
"maxTableRows": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.Stock.Item.ItemDataAccess.LoadItem(View). Returns fields and child tables such as ItemUomTable, ItemPriceBook, ItemCustomerPrice, ItemSupplierPrice, ItemOpeningBalance, ItemBOMTable, ItemBatchTable, and sub-code/replacement/ingredient tables when available. If maxTableRows: 0 is requested without confirmFullDetail: true, the connector returns a bounded result with fullDetailBlocked so AI/customer calls do not hang accidentally.
Inquire stock balance by item/location using AutoCount stock balance by location logic.
Full payload schema: /v1/schema/commands/stock-balance
{
"itemCode": "ITEM001",
"location": "HQ",
"maxRows": 100
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns rows from the first non-empty AutoCount result table plus table summaries. Use this when a customer asks stock quantity by location.
Read stock movement.
Full payload schema: /v1/schema/commands/read-stock-movement
{
"itemCode": "ITEM001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock transaction lines together, or filter with document.
Full payload schema: /v1/schema/commands/read-stock-detail-lines
{
"document": "stock-adjustment",
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock adjustment detail lines only.
Full payload schema: /v1/schema/commands/read-stock-adjustment-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock receive detail lines only.
Full payload schema: /v1/schema/commands/read-stock-receive-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock issue detail lines only.
Full payload schema: /v1/schema/commands/read-stock-issue-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock transfer detail lines only.
Full payload schema: /v1/schema/commands/read-stock-transfer-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock UOM conversion detail lines only.
Full payload schema: /v1/schema/commands/read-stock-uom-conversion-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock take detail lines only.
Full payload schema: /v1/schema/commands/read-stock-take-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock write-off detail lines only.
Full payload schema: /v1/schema/commands/read-stock-write-off-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read stock update cost detail lines only.
Full payload schema: /v1/schema/commands/read-stock-update-cost-lines
{
"itemCode": "ITEM001",
"limit": 50
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List stock locations.
Full payload schema: /v1/schema/commands/read-locations
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List Stock Item Group Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-groups
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one Stock Item Group Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-group
{
"code": "FG"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a Stock Item Group Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-group
{
"code": "FG",
"description": "Finished Goods"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item group maintenance SDK where available.
Update a Stock Item Group Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-group
{
"code": "FG",
"description": "Finished Goods"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item group maintenance SDK where available.
List Stock Item Type Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-types
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one Stock Item Type Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-type
{
"code": "RAW"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a Stock Item Type Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-type
{
"code": "RAW",
"description": "Raw Material"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item type maintenance SDK where available.
Update a Stock Item Type Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-type
{
"code": "RAW",
"description": "Raw Material"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item type maintenance SDK where available.
List Stock Item Brand Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-brands
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one Stock Item Brand Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-brand
{
"code": "BRAND1"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a Stock Item Brand Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-brand
{
"code": "BRAND1",
"description": "Brand 1"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item brand maintenance SDK where available.
Update a Stock Item Brand Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-brand
{
"code": "BRAND1",
"description": "Brand 1"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item brand maintenance SDK where available.
List Stock Item Category Maintenance records.
Full payload schema: /v1/schema/commands/list-stock-item-categories
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Get one Stock Item Category Maintenance record.
Full payload schema: /v1/schema/commands/get-stock-item-category
{
"code": "CAT1"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a Stock Item Category Maintenance record.
Full payload schema: /v1/schema/commands/create-stock-item-category
{
"code": "CAT1",
"description": "Category 1"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item category maintenance SDK where available.
Update a Stock Item Category Maintenance record.
Full payload schema: /v1/schema/commands/update-stock-item-category
{
"code": "CAT1",
"description": "Category 1"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount stock item category maintenance SDK where available.
Create stock adjustment.
Full payload schema: /v1/schema/commands/create-stock-adjustment
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates one or many stock adjustment detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock receive.
Full payload schema: /v1/schema/commands/create-stock-receive
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates one or many stock receive detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock issue.
Full payload schema: /v1/schema/commands/create-stock-issue
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates one or many stock issue detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock transfer.
Full payload schema: /v1/schema/commands/create-stock-transfer
{
"docDate": "2026-06-24",
"fromLocation": "HQ",
"toLocation": "STORE",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Stock document number.DocDate date - Document date.Description string - Document description.ItemCode string - Stock item code.UOM string - Unit of measure.Location string - From/location code.ToLocation string - Destination location for transfers.Qty number - Quantity.UnitCost number - Unit cost.BatchNo string - Batch number.SerialNo string - Serial number where supported.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Creates one or many stock transfer detail lines through AutoCount stock document logic. Fresh account books need at least two active stock locations before transfer. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock UOM conversion.
Full payload schema: /v1/schema/commands/create-stock-uom-conversion
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates one or many stock UOM conversion detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock take.
Full payload schema: /v1/schema/commands/create-stock-take
{
"docDate": "2026-06-24",
"location": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates one or many stock take detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock write-off.
Full payload schema: /v1/schema/commands/create-stock-write-off
{
"docDate": "2026-06-24",
"location": "HQ",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates one or many stock write-off detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create stock update cost document.
Full payload schema: /v1/schema/commands/create-stock-update-cost
{
"docDate": "2026-06-24",
"lines": [
{
"itemCode": "ITEM001",
"description": "Stock line 1",
"description2": "Stock line second description",
"barCode": "9550000000011",
"qty": 2,
"uom": "UNIT",
"unitCost": 80,
"unitPrice": 100,
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"batchNo": "BATCH-001",
"serialNo": "SN-0001",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"description": "Stock document created through API",
"reason": "API stock operation",
"location": "HQ",
"fromLocation": "HQ",
"toLocation": "STORE",
"project": "PRJAPI",
"department": "HQ",
"userDefinedFields": {
"APITEST": "API"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates one or many stock update-cost detail lines through AutoCount stock document logic. Batch, serial, UOM, project, department, and location fields depend on AutoCount item/account-book settings. The connector validates through AutoCount SDK before saving.
Create item package definition.
Full payload schema: /v1/schema/commands/create-item-package
{
"packageCode": "PKG-API",
"items": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
},
{
"itemCode": "ITEM002",
"description": "Component 2",
"qty": 2,
"uom": "UNIT",
"unitPrice": 10
}
],
"description": "API Package",
"desc2": "Package second description",
"uom": "SET",
"price": 120,
"isActive": true,
"lines": [
{
"itemCode": "ITEM001",
"description": "Component 1",
"qty": 1,
"uom": "UNIT",
"unitPrice": 100
}
],
"remark1": "Created by API",
"remark2": "Item package example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates item package through AutoCount SDK. Full human payload reference for Item Package. Component item codes and UOM must exist in AutoCount.
Create item BOM definition.
Full payload schema: /v1/schema/commands/create-item-bom
{
"itemCode": "FINISHED-API",
"components": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
},
{
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5
}
],
"description": "API BOM",
"uom": "UNIT",
"qty": 1,
"lines": [
{
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10
}
],
"scrapPercent": 0,
"remark1": "Created by API",
"remark2": "BOM setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates item BOM through AutoCount SDK. Manufacturing commands should use BOM parent/component item codes from the same account book. Full human payload reference for Item BOM. Finished and component item codes must exist in the same account book and be valid for BOM usage. New account books normally need these items created before BOM/manufacturing commands.
Create stock assembly.
Full payload schema: /v1/schema/commands/create-stock-assembly
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"description": "Stock assembly created through API",
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"reason": "correct assembly detail"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates stock assembly with optional multiple component/detail lines through AutoCount manufacturing/stock logic. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Create stock assembly order.
Full payload schema: /v1/schema/commands/create-stock-assembly-order
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"description": "Stock assembly order created through API",
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"reason": "correct assembly detail"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates stock assembly order with optional multiple component/detail lines through AutoCount manufacturing/stock logic. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
Create stock disassembly.
Full payload schema: /v1/schema/commands/create-stock-disassembly
{
"docDate": "2026-06-24",
"itemCode": "FINISHED-API",
"location": "HQ",
"qty": 1,
"lines": [
{
"lineNo": 1,
"itemCode": "RAW-API-1",
"description": "Raw material 1",
"qty": 2,
"uom": "UNIT",
"location": "HQ",
"unitCost": 10,
"batchNo": "BATCH-001",
"serialNo": ""
},
{
"lineNo": 2,
"itemCode": "RAW-API-2",
"description": "Raw material 2",
"qty": 3,
"uom": "UNIT",
"location": "HQ",
"unitCost": 5,
"batchNo": "",
"serialNo": ""
}
],
"description": "Stock disassembly created through API",
"uom": "UNIT",
"unitCost": 100,
"detailMode": "replace",
"reason": "correct assembly detail"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates stock disassembly with optional multiple detail lines through AutoCount manufacturing/stock logic. Full human payload reference for stock assembly/order/disassembly. Batch, serial, and costing behavior depends on item and account-book settings.
List POS sales/receipt rows through AutoCount POS DLL only.
Full payload schema: /v1/schema/commands/list-pos-raw-transactions
{
"businessDate": "2026-08-01",
"businessDayEndTime": "02:00",
"filterByDateType": "PaymentTime",
"transactionStatus": "Valid",
"maxRows": 100
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
businessDate date - POS business date. Use with businessDayEndTime when the shop closes after midnight.dateFrom date - Optional start date/time filter.dateTo date - Optional end date/time filter.businessDayEndTime string - Optional close time such as 02:00 for shops that close after midnight.docNo string - POS receipt/document number for get.docKey number - AutoCount POS document key for get.maxRows number - Maximum POS rows to return. Use bounded reads for large POS books.ItemCode string - POS item code returned by AutoCount POS DLL.Description string - POS item/line description.Qty number - Quantity sold.UOM string - Unit of measure.UnitPrice number - Unit price.Discount string - Discount text/amount where returned.TaxCode string - Tax code where returned.Amount number - Line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - POS payment method returned by AutoCount POS DLL.PaymentAmount number - Payment amount.ReferenceNo string - Payment/reference number where returned.includeRawTables boolean - Return raw DLL tables where supported.Notes: Connector auto-detects AutoCount POS 5.2 Backend and calls AutoCount.POS.Report.CashReceipt.CashReceiptReport.Inquire. Returns raw DLL DataTables: CashReceiptReportDataTable, PaymentDetailDataTable, and CashReceiptReportDistinctDataTable. For shops closing after midnight, use businessDate + businessDayEndTime so receipts after 12AM, such as 00:00-02:00, are included in the previous business day. No direct SQL read is used.
Get one POS receipt raw AutoCount bundle through AutoCount POS DLL only.
Full payload schema: /v1/schema/commands/get-pos-raw-transaction
{
"docKey": 3000152
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
businessDate date - POS business date. Use with businessDayEndTime when the shop closes after midnight.dateFrom date - Optional start date/time filter.dateTo date - Optional end date/time filter.businessDayEndTime string - Optional close time such as 02:00 for shops that close after midnight.docNo string - POS receipt/document number for get.docKey number - AutoCount POS document key for get.maxRows number - Maximum POS rows to return. Use bounded reads for large POS books.ItemCode string - POS item code returned by AutoCount POS DLL.Description string - POS item/line description.Qty number - Quantity sold.UOM string - Unit of measure.UnitPrice number - Unit price.Discount string - Discount text/amount where returned.TaxCode string - Tax code where returned.Amount number - Line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - POS payment method returned by AutoCount POS DLL.PaymentAmount number - Payment amount.ReferenceNo string - Payment/reference number where returned.includeRawTables boolean - Return raw DLL tables where supported.Notes: Connector auto-detects AutoCount POS 5.2 Backend and calls AutoCount.POS.Data.PosCommand.GetPos(docKey/guid). Returns raw header, detail, payment, promotion, modifier, delivery, serial, and related child DataTables exposed by the DLL. No direct SQL read is used.
Cancel/void a journal entry.
Full payload schema: /v1/schema/commands/void-journal-entry
{
"docNo": "JV-000001",
"reason": "void/correct journal"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount JournalEntryCommand.CancelDocument.
Hard delete a journal entry.
Full payload schema: /v1/schema/commands/delete-journal-entry
{
"docNo": "JV-000001",
"reason": "delete incorrect journal"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount JournalEntryCommand.Delete. Use void-journal-entry when audit-trail cancellation is required.
Get one GL Account Maintenance account.
Full payload schema: /v1/schema/commands/get-gl-account
{
"accNo": "610-0000"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Reads from AutoCount AccountInquiry chart data.
Guarded GL account edit request.
Full payload schema: /v1/schema/commands/update-gl-account
{
"accNo": "690-9000",
"reason": "correct account description",
"description": "API Expense Account",
"desc2": "API expense second description",
"accType": "EP",
"parentAccNo": "610-0000",
"currencyCode": "MYR",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "Normal",
"isActive": true,
"remark1": "Created by API",
"remark2": "GL account setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns editBlocked until AccountCommand edit/save safety is proven. Full human payload reference for GL Account Maintenance. Account type, parent account, and special account type must match the account book's chart of accounts rules. Use list-general-account-types to discover valid account type codes. For a fixed asset GL account, use a valid Asset accType returned by list-general-account-types and set specialAccType: "SFA" or "FixedAsset". Do not put fixed asset into accType unless that exact AccType code exists in the account book.
Guarded GL account void request.
Full payload schema: /v1/schema/commands/void-gl-account
{
"accNo": "610-0000",
"reason": "deactivate account"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked; chart accounts may be linked to posted transactions.
Guarded GL account delete request.
Full payload schema: /v1/schema/commands/delete-gl-account
{
"accNo": "610-0000",
"reason": "remove unused account"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns deleteBlocked; chart accounts may be linked to posted transactions.
List journal entries.
Full payload schema: /v1/schema/commands/list-journal-entries
{
"columns": "DocKey,DocNo,DocDate,JournalType,Description,TotalDR,TotalCR,Cancelled,LastModified"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount JournalEntryCommand.InquireAllMaster.
Get one journal entry with detail lines.
Full payload schema: /v1/schema/commands/get-journal-entry
{
"docNo": "JV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount JournalEntryCommand.View.
List GL chart of accounts.
Full payload schema: /v1/schema/commands/read-chart-accounts
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Read one GL account balance.
Full payload schema: /v1/schema/commands/read-gl-account-balance
{
"accNo": "500-0000",
"fromDate": "2026-01-01",
"toDate": "2026-06-15"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Create a GL Account Maintenance account.
Full payload schema: /v1/schema/commands/create-gl-account
{
"accNo": "690-9000",
"description": "API Expense Account",
"accType": "EP",
"parentAccNo": "610-0000",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "Normal",
"desc2": "API expense second description",
"currencyCode": "MYR",
"isActive": true,
"remark1": "Created by API",
"remark2": "GL account setup example"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Requires write access permission. Uses AutoCount.GL.AccountMaintenance.AccountCommand.NewAccount and AccountCommand.SaveAccount, with duplicate account check before save. Use list-general-account-types to discover valid account type codes for the account book. For fixed asset, use a valid Asset accType returned by list-general-account-types and set specialAccType: "SFA" or "FixedAsset". Do not put fixed asset into accType unless that exact AccType code exists. Full human payload reference for GL Account Maintenance. Account type, parent account, and special account type must match the account book's chart of accounts rules. Use list-general-account-types to discover valid account type codes. For a fixed asset GL account, use a valid Asset accType returned by list-general-account-types and set specialAccType: "SFA" or "FixedAsset". Do not put fixed asset into accType unless that exact AccType code exists in the account book.
Create the two GL accounts from AutoCount's Create New Fixed Asset Account screen.
Full payload schema: /v1/schema/commands/create-fixed-asset-gl-accounts
{
"fixedAsset": {
"accNo": "150-1000",
"description": "Motor Vehicle",
"accType": "use an Asset code from list-general-account-types",
"parentAccNo": "<<FIXED ASSETS>>",
"currencyCode": "MYR",
"cashFlowCategory": "InvestingActivities",
"specialAccType": "SFA"
},
"accumulatedDepreciation": {
"accNo": "159-1000",
"description": "Accumulated Depreciation - Motor Vehicle",
"accType": "use an Asset code from list-general-account-types",
"parentAccNo": "<<FIXED ASSETS>>",
"currencyCode": "MYR",
"cashFlowCategory": "OperatingActivities",
"specialAccType": "SAD"
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Creates both GL Account Maintenance records through AutoCount AccountCommand.NewAccount and SaveAccount. The connector checks both account numbers before saving either record. Use create-gl-account only when creating one account. Matches AutoCount Create New Fixed Asset Account screen. It saves two GL Account Maintenance records through AutoCount AccountCommand: the fixed asset account with specialAccType SFA and the accumulated depreciation account with specialAccType SAD. Use list-general-account-types first; accType must be a real account type code in that account book.
Validate a GL journal entry without saving. Supports the same multi-line payload as create-journal-entry.
Full payload schema: /v1/schema/commands/validate-journal-entry
{
"docDate": "2026-06-24",
"description": "API journal entry",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Debit expense",
"debit": 100,
"credit": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accNo": "500-1000",
"accountNo": "500-1000",
"description": "Credit control",
"debit": 0,
"credit": 100,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022"
}
],
"journalType": "JV",
"refNo": "API-JV-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Journal document number.DocDate date - Journal date.JournalType string - Journal type.Description string - Journal description.AccNo string - GL account number.Description string - Line description.Debit number - Debit amount.Credit number - Credit amount.ProjNo string - Project code.DeptNo string - Department code.TaxCode string - Tax code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Validation only. Total debit must equal total credit. Multiple lines are supported. Debit and credit totals must balance before AutoCount will save.
Create GL journal entry. Supports one or many debit/credit lines.
Full payload schema: /v1/schema/commands/create-journal-entry
{
"docDate": "2026-06-24",
"description": "API journal entry",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Debit expense",
"debit": 100,
"credit": 0,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
},
{
"accNo": "500-1000",
"accountNo": "500-1000",
"description": "Credit control",
"debit": 0,
"credit": 100,
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"taxType": "S-0",
"taxCode": "S-0",
"classification": "022"
}
],
"journalType": "JV",
"refNo": "API-JV-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Journal document number.DocDate date - Journal date.JournalType string - Journal type.Description string - Journal description.AccNo string - GL account number.Description string - Line description.Debit number - Debit amount.Credit number - Credit amount.ProjNo string - Project code.DeptNo string - Department code.TaxCode string - Tax code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Requires write access permission. Total debit must equal total credit. Old debitAccNo/creditAccNo/amount payload still works. Multiple lines are supported. Debit and credit totals must balance before AutoCount will save.
Update a journal entry header/simple fields and supported detail rows.
Full payload schema: /v1/schema/commands/update-journal-entry
{
"docNo": "JV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"detailMode": "replace",
"lines": [
{
"accNo": "610-0000",
"debit": 100,
"description": "Corrected debit line",
"projNo": "HQ"
},
{
"accNo": "500-0000",
"credit": 100,
"description": "Corrected credit line",
"projNo": "HQ"
}
]
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Journal document number.DocDate date - Journal date.JournalType string - Journal type.Description string - Journal description.AccNo string - GL account number.Description string - Line description.Debit number - Debit amount.Credit number - Credit amount.ProjNo string - Project code.DeptNo string - Department code.TaxCode string - Tax code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount SDK load/edit + Save. Header/simple fields are enabled. detailMode: replace | append | update | delete. If lines do not include lineNo/dtlKey, the connector treats the request as replace. Use detailMode replace when splitting one AP invoice line into multiple lines. Supports line/detail edit, payment/detail edit, and knock-off allocation edit where the AutoCount SDK exposes safe methods. Uses AutoCount JournalEntry edit/view + Save for header/simple fields and line/detail edit. detailMode: replace | append | update | delete. Journal debit and credit must balance before save.
Get one G/L Cash Book entry with detail and payment rows.
Full payload schema: /v1/schema/commands/get-gl-cash-book-entry
{
"docNo": "PV-000001"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CashBookCommand.View.
Validate a G/L Cash Book payment voucher without saving.
Full payload schema: /v1/schema/commands/validate-gl-cash-book-payment
{
"docDate": "2026-06-24",
"payTo": "API Supplier",
"taxEntityID": 1,
"description": "API payment voucher",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Cash book document number.DocDate date - Cash book date.PayTo string - Payment payee.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.No field names are published for this section yet.
Notes: Validation only; uses CashBookCommand.AddNew + CashBook.Validate. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
Validate a G/L Cash Book official receipt without saving.
Full payload schema: /v1/schema/commands/validate-gl-cash-book-receipt
{
"docDate": "2026-06-24",
"receiveFrom": "API Customer",
"taxEntityID": 1,
"description": "API official receipt",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Cash book document number.DocDate date - Cash book date.ReceiveFrom string - Receipt payer.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.No field names are published for this section yet.
Notes: Validation only; uses CashBookCommand.AddNew + CashBook.Validate. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
Create a G/L Cash Book payment voucher. Supports one or many account lines and payment rows.
Full payload schema: /v1/schema/commands/create-gl-cash-book-payment
{
"docDate": "2026-06-24",
"payTo": "API Supplier",
"taxEntityID": 1,
"description": "API payment voucher",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Cash book document number.DocDate date - Cash book date.PayTo string - Payment payee.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.No field names are published for this section yet.
Notes: Creates through AutoCount CashBookCommand.AddNew(CashPayment) + CashBook.Save. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
Create a G/L Cash Book official receipt. Supports one or many account lines and payment rows.
Full payload schema: /v1/schema/commands/create-gl-cash-book-receipt
{
"docDate": "2026-06-24",
"receiveFrom": "API Customer",
"taxEntityID": 1,
"description": "API official receipt",
"lines": [
{
"accNo": "610-0000",
"accountNo": "610-0000",
"description": "Expense line",
"amount": 100,
"taxType": "S-0",
"taxCode": "S-0",
"project": "PRJAPI",
"projNo": "PRJAPI",
"department": "HQ",
"deptNo": "HQ",
"classification": "022",
"userDefinedFields": {
"APITEST": "API-LINE"
}
}
],
"payments": [
{
"paymentMethod": "CASH",
"paymentBy": "Cash",
"paymentAmount": 100,
"chequeNo": "PV-API-1001",
"bankCharge": 0,
"bankAccount": "110-0010",
"paymentAccountNo": "110-0010",
"bankChargeAccountNo": "810-0000",
"creditCardApprovalCode": ""
}
],
"chequeNo": "PV-API-1001",
"userDefinedFields": {
"APITEST": "API"
}
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Cash book document number.DocDate date - Cash book date.ReceiveFrom string - Receipt payer.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.No field names are published for this section yet.
Notes: Creates through AutoCount CashBookCommand.AddNew(CashReceipt) + CashBook.Save. Cash book supports one or many posting lines and one or many payment rows when AutoCount payment method setup allows it.
Update G/L Cash Book header/simple fields.
Full payload schema: /v1/schema/commands/update-gl-cash-book-entry
{
"docNo": "PV-000001",
"reason": "correct header fields",
"description": "Updated by API",
"ref": "API-REF-UPDATED",
"detailMode": "replace",
"taxEntityID": 1,
"lines": [
{
"accNo": "610-0000",
"amount": 100,
"description": "Corrected cash book line"
}
],
"paymentLines": [
{
"paymentMethod": "CASH",
"paymentAmount": 100,
"chequeNo": "API-EDIT-001"
}
]
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
DocNo string - Cash book document number.DocDate date - Cash book date.PayTo string - Payment payee.TaxEntityID number - Tax entity maintenance id.Description string - Cash book description.AccNo string - GL account number.Amount number - Cash book line amount.No field names are published for this section yet.
No field names are published for this section yet.
PaymentMethod string - Payment method code.PaymentAmount number - Payment amount.No field names are published for this section yet.
Notes: Uses AutoCount CashBookCommand Edit/View + Save. Header/simple fields are enabled. Detail/payment line edits remain guarded until proven. Uses AutoCount CashBookCommand edit/view + Save for header/simple fields, line/detail edit, and payment/detail edit. detailMode: replace | append | update | delete; payment rows use replace/append.
Cancel/void a G/L Cash Book entry.
Full payload schema: /v1/schema/commands/void-gl-cash-book-entry
{
"docNo": "PV-000001",
"reason": "cancel incorrect voucher"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CashBookCommand.CancelDocument.
Hard delete a G/L Cash Book entry.
Full payload schema: /v1/schema/commands/delete-gl-cash-book-entry
{
"docNo": "PV-000001",
"reason": "delete incorrect voucher"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount CashBookCommand.Delete. Use void-gl-cash-book-entry when audit-trail cancellation is required.
List payment methods used by AR/AP cashbook-style documents.
Full payload schema: /v1/schema/commands/read-payment-methods
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List GL bank and cash accounts used by cash book.
Full payload schema: /v1/schema/commands/list-gl-bank-cash-accounts
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List GL accounts with cash-flow category metadata.
Full payload schema: /v1/schema/commands/read-gl-cash-flow-accounts
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List issued or received cheque entries.
Full payload schema: /v1/schema/commands/list-gl-cheques
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"chequeOption": "issued",
"cancelled": "uncancelled",
"showCashAccount": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List the G/L > Cash Book Entry document grid.
Full payload schema: /v1/schema/commands/list-gl-cash-book-documents
{
"columns": "DocKey,DocNo,DocDate,Description,DealWith,Total,NetTotal,TotalPayment,Cancelled,LastModified"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List cash book report/inquiry rows grouped by bank/cash account.
Full payload schema: /v1/schema/commands/list-gl-cash-book-entries
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"showTotal": true,
"showDebtorDetails": false,
"showCreditorDetails": false,
"showInLocalCurrency": false
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
List bank reconciliation records.
Full payload schema: /v1/schema/commands/list-gl-bank-reconciliations
No payload fields required.
{}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GL.BankRecon.BankReconCommand.InquireAllMaster.
Get one bank reconciliation with master/detail/reconciliation rows.
Full payload schema: /v1/schema/commands/get-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GL.BankRecon.BankReconCommand.View.
List uncleared transactions for a bank/cash account.
Full payload schema: /v1/schema/commands/list-gl-bank-reconciliation-uncleared
{
"accNo": "110-0010",
"startDate": "2026-01-01"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount.GL.BankRecon.BankReconCommand.InquireUnclearedData.
Create a bank reconciliation draft without saving. If selectedBankTransKeys or clearedRows are supplied, the returned draft shows which rows would be ticked.
Full payload schema: /v1/schema/commands/validate-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"actualBalance": 2900,
"selectedBankTransKeys": [
1,
2
],
"bankStatementNo": "BS-2026-06",
"description": "June bank reconciliation by API",
"clearedRows": [
{
"bankTransKey": 1,
"sourceType": "PV",
"sourceKey": "1001",
"dtlKey": "1",
"docNo": "PV-000001",
"lineNo": 1
},
{
"bankTransKey": 2,
"sourceType": "OR",
"sourceKey": "1002",
"dtlKey": "1",
"docNo": "OR-000001",
"lineNo": 1
}
],
"unselectedBankTransKeys": [],
"reason": "match bank statement"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Bank/cash account number.ReconDate date - Reconciliation date.ActualBalance number - Actual bank balance.BankTransKey string - Bank reconciliation transaction key.DocNo string - Document number.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Validation only; uses BankReconCommand.AddNew and does not call Save. List uncleared rows first, then pass selectedBankTransKeys or clearedRows. The connector fails before saving if a selected row cannot be found.
Create and save a bank reconciliation.
Full payload schema: /v1/schema/commands/create-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"actualBalance": 2900,
"selectedBankTransKeys": [
1,
2
],
"bankStatementNo": "BS-2026-06",
"description": "June bank reconciliation by API",
"clearedRows": [
{
"bankTransKey": 1,
"sourceType": "PV",
"sourceKey": "1001",
"dtlKey": "1",
"docNo": "PV-000001",
"lineNo": 1
},
{
"bankTransKey": 2,
"sourceType": "OR",
"sourceKey": "1002",
"dtlKey": "1",
"docNo": "OR-000001",
"lineNo": 1
}
],
"unselectedBankTransKeys": [],
"reason": "match bank statement"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Bank/cash account number.ReconDate date - Reconciliation date.ActualBalance number - Actual bank balance.BankTransKey string - Bank reconciliation transaction key.DocNo string - Document number.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount BankReconCommand.AddNew + BankRecon.Save. The connector fails before saving if any selected row is not found. List uncleared rows first, then pass selectedBankTransKeys or clearedRows. The connector fails before saving if a selected row cannot be found.
Edit and re-save an existing bank reconciliation.
Full payload schema: /v1/schema/commands/update-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"actualBalance": 2900,
"selectedBankTransKeys": [
1,
2
],
"bankStatementNo": "BS-2026-06",
"description": "June bank reconciliation by API",
"clearedRows": [
{
"bankTransKey": 1,
"sourceType": "PV",
"sourceKey": "1001",
"dtlKey": "1",
"docNo": "PV-000001",
"lineNo": 1
},
{
"bankTransKey": 2,
"sourceType": "OR",
"sourceKey": "1002",
"dtlKey": "1",
"docNo": "OR-000001",
"lineNo": 1
}
],
"unselectedBankTransKeys": [],
"reason": "match bank statement"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
AccNo string - Bank/cash account number.ReconDate date - Reconciliation date.ActualBalance number - Actual bank balance.BankTransKey string - Bank reconciliation transaction key.DocNo string - Document number.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Uses AutoCount BankReconCommand.Edit + BankRecon.Save. The selected row list replaces the saved tick selection. List uncleared rows first, then pass selectedBankTransKeys or clearedRows. The connector fails before saving if a selected row cannot be found.
Guarded bank reconciliation void request.
Full payload schema: /v1/schema/commands/void-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"reason": "reverse reconciliation"
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns voidBlocked; no safe Bank Recon void path has been proven.
Delete a bank reconciliation.
Full payload schema: /v1/schema/commands/delete-gl-bank-reconciliation
{
"accNo": "110-0010",
"reconDate": "2026-06-30",
"confirmDelete": true
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Uses AutoCount BankReconCommand.Delete. confirmDelete=true is required.
Legacy sales invoice PDF/export command. Prefer sales-document-autocount-pdf for new integrations.
Full payload schema: /v1/schema/commands/sales-invoice-autocount-pdf
{
"docNo": "IV-000001"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Compatibility command kept for older integrations.
List AutoCount report templates available in this account book.
Full payload schema: /v1/schema/commands/list-autocount-report-templates
{
"document": "statement",
"maxRows": 200
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Use this first when a human wants to choose the same report layout they see in AutoCount. Then send the selected ReportName as reportName to the PDF/report command. Lists report templates from AutoCount DefaultReport and Report tables. Pick a ReportName from the result and pass it as reportName to AutoCount PDF/report commands.
Read AutoCount debtor statement data.
Full payload schema: /v1/schema/commands/debtor-statement-report
{
"debtorCode": "300-A001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"statementType": "DebtorDefault",
"zeroBalanceMethod": "IncludeWithActiveTransactionOnly",
"showPaidTransaction": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Uses AutoCount DebtorStatement.Inquire and returns the real statement DataSet tables. This is data output, not a PDF. Runs AutoCount DebtorStatement.Inquire through the local SDK and returns the real statement DataSet tables, including master/detail/aging rows where AutoCount provides them. Use arap-statement-autocount-pdf when the official AutoCount PDF layout is needed.
Read AutoCount creditor statement data.
Full payload schema: /v1/schema/commands/creditor-statement-report
{
"creditorCode": "400-S001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"statementType": "CreditorDefault",
"zeroBalanceMethod": "IncludeWithActiveTransactionOnly",
"showPaidTransaction": true
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Uses AutoCount CreditorStatement.Inquire and returns the real statement DataSet tables. This is data output, not a PDF. Runs AutoCount CreditorStatement.Inquire through the local SDK and returns the real statement DataSet tables, including master/detail/aging rows where AutoCount provides them. Use arap-statement-autocount-pdf when the official AutoCount PDF layout is needed.
Export a human-readable debtor or creditor statement HTML report.
Full payload schema: /v1/schema/commands/statement-report-html
{
"document": "debtor-statement",
"debtorCode": "300-A001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"maxRows": 2000
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Statement HTML report uses real AutoCount SDK statement data. For official AutoCount PDF layout, use arap-statement-autocount-pdf. Exports a human-readable statement HTML file using AutoCount SDK statement data. For official AutoCount PDF layout, use arap-statement-autocount-pdf.
Generate official AutoCount debtor or creditor statement PDF.
Full payload schema: /v1/schema/commands/arap-statement-autocount-pdf
{
"document": "debtor-statement",
"debtorCode": "300-A001",
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"reportName": "Debtor Statement - 12 Months"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Supported for debtor and creditor statements. Uses AutoCount statement report templates and returns a downloadable PDF artifact. Generate official AutoCount debtor or creditor statement PDF using SDK statement data and AutoCount statement report templates. Download the result from result.artifactUrl or GET /v1/commands/{commandId}/artifact.
Generate an AutoCount-looking sales document PDF/report.
Full payload schema: /v1/schema/commands/sales-document-autocount-pdf
{
"document": "invoice",
"docNo": "IV-000001",
"reportName": "Invoice"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Generate an AutoCount-looking purchase document PDF/report.
Full payload schema: /v1/schema/commands/purchase-document-autocount-pdf
{
"document": "purchase-invoice",
"docNo": "PI-000001",
"reportName": "Purchase Invoice"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Uses AutoCount purchase report templates for PO, GRN, purchase invoice, purchase return, and cash purchase.
Generate an AutoCount-looking stock document PDF/report.
Full payload schema: /v1/schema/commands/stock-document-autocount-pdf
{
"document": "stock-adjustment",
"docNo": "SA-000001",
"reportName": "Stock Adjustment"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Uses AutoCount stock and manufacturing stock report templates.
Generate AutoCount PDFs for AR/AP invoice, payment, deposit, refund, credit note, debit note, and contra.
Full payload schema: /v1/schema/commands/arap-document-autocount-pdf
{
"document": "ar-payment",
"docNo": "OR-000001"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: Uses AutoCount report templates. Invoice/payment/deposit/refund use single-document listing data sources; credit/debit note and contra use document data sources.
Generate AutoCount-looking GL cash book voucher and journal voucher PDFs.
Full payload schema: /v1/schema/commands/gl-document-autocount-pdf
{
"document": "payment-voucher",
"docNo": "PV-000001",
"reportName": "PV - Half Page"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Notes: payment-voucher, official-receipt, and journal-entry are supported with AutoCount report templates.
Generate readable sales report HTML.
Full payload schema: /v1/schema/commands/sales-report-html
{
"document": "invoice"
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
Document string - Document/report family.DocNo string - Document number.DocKey number - Document key.ReportType string - AutoCount report type.FromDate date - From date.ToDate date - To date.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
ReportName string - AutoCount report template name.Out string - Local output path.Read local AutoCount e-Invoice settings summary.
Full payload schema: /v1/schema/commands/einvoice.setting.get
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false,
"maxRows": 0
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
FromDate date - From date.ToDate date - To date.DocNo string - Document number.SubmissionUID string - LHDN submission id.UUID string - e-Invoice UUID.SupplierItemCode string - Supplier item code.ItemCode string - AutoCount item code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Full human payload reference for einvoice.setting.get. Unsupported filters are ignored safely by read-only connector handlers.
List local AutoCount e-Invoice submission status.
Full payload schema: /v1/schema/commands/einvoice.status.list
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false,
"maxRows": 0
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
FromDate date - From date.ToDate date - To date.DocNo string - Document number.SubmissionUID string - LHDN submission id.UUID string - e-Invoice UUID.SupplierItemCode string - Supplier item code.ItemCode string - AutoCount item code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Full human payload reference for einvoice.status.list. Unsupported filters are ignored safely by read-only connector handlers.
List consolidated e-Invoice inquiry rows from AutoCount handlers.
Full payload schema: /v1/schema/commands/einvoice.consolidated.list
{
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false,
"maxRows": 0
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
FromDate date - From date.ToDate date - To date.DocNo string - Document number.SubmissionUID string - LHDN submission id.UUID string - e-Invoice UUID.SupplierItemCode string - Supplier item code.ItemCode string - AutoCount item code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Full human payload reference for einvoice.consolidated.list. Unsupported filters are ignored safely by read-only connector handlers.
List local self-billed e-Invoice records when the account book has the table.
Full payload schema: /v1/schema/commands/einvoice.self-billed.list
{
"maxRows": 0,
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
FromDate date - From date.ToDate date - To date.DocNo string - Document number.SubmissionUID string - LHDN submission id.UUID string - e-Invoice UUID.SupplierItemCode string - Supplier item code.ItemCode string - AutoCount item code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Full human payload reference for einvoice.self-billed.list. Unsupported filters are ignored safely by read-only connector handlers.
List local supplier item mapping records when the account book has the table.
Full payload schema: /v1/schema/commands/einvoice.supplier-item-mapping.list
{
"maxRows": 0,
"fromDate": "2026-01-01",
"toDate": "2026-12-31",
"status": "all",
"document": "all",
"docType": "IV",
"docNo": "IV-000001",
"creditorCode": "400-S001",
"debtorCode": "300-A001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"handlerName": "AutoCount",
"includeRaw": false
}
Sections: Master, Details, KnockOffDetails, TransferDetails, PaymentDetails, Options
FromDate date - From date.ToDate date - To date.DocNo string - Document number.SubmissionUID string - LHDN submission id.UUID string - e-Invoice UUID.SupplierItemCode string - Supplier item code.ItemCode string - AutoCount item code.No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
No field names are published for this section yet.
Notes: Full human payload reference for einvoice.supplier-item-mapping.list. Unsupported filters are ignored safely by read-only connector handlers.
Guarded MyInvois/AIP status refresh request.
Full payload schema: /v1/schema/commands/einvoice.status.refresh
{
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.status.refresh by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Returns eInvoiceActionBlocked until compliance workflow proof is completed. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded e-Invoice submit request.
Full payload schema: /v1/schema/commands/einvoice.submit
{
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.submit by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Submission affects tax/MyInvois compliance and is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded e-Invoice cancel request.
Full payload schema: /v1/schema/commands/einvoice.cancel
{
"docType": "IV",
"docNo": "IV-000001",
"reason": "einvoice.cancel by API",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Cancellation affects tax/MyInvois compliance and is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded sync for MyInvois reject requests.
Full payload schema: /v1/schema/commands/einvoice.reject-request.sync
{
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.reject-request.sync by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: External sync is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded supplier e-Invoice import preview.
Full payload schema: /v1/schema/commands/einvoice.supplier-import.preview
{
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.supplier-import.preview by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Supplier portal import is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded supplier e-Invoice import into AutoCount.
Full payload schema: /v1/schema/commands/einvoice.supplier-import.apply
{
"documentId": "AIP-document-id",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.supplier-import.apply by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Import can create accounting records and is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded self-billed e-Invoice draft generation.
Full payload schema: /v1/schema/commands/einvoice.self-billed.create-draft
{
"sourceDocType": "PI",
"sourceDocNo": "PI-000001",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.self-billed.create-draft by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Draft generation is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded consolidated e-Invoice draft generation.
Full payload schema: /v1/schema/commands/einvoice.consolidated.create-draft
{
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"mappingKey": "1",
"reason": "einvoice.consolidated.create-draft by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Draft generation is blocked until separately proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded supplier item mapping create request.
Full payload schema: /v1/schema/commands/einvoice.supplier-item-mapping.create
{
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"itemCode": "ITEM001",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"mappingKey": "1",
"reason": "einvoice.supplier-item-mapping.create by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Write is blocked until the exact AutoCount mapping SDK/table write path is proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
Guarded supplier item mapping update request.
Full payload schema: /v1/schema/commands/einvoice.supplier-item-mapping.update
{
"mappingKey": "1",
"itemCode": "ITEM001",
"docType": "IV",
"docNo": "IV-000001",
"docKey": "424501",
"documentId": "AIP-document-id",
"uuid": "myinvois-uuid",
"fromDate": "2026-01-01",
"toDate": "2026-01-31",
"creditorCode": "400-S001",
"supplierItemCode": "SUP-ITEM",
"reason": "einvoice.supplier-item-mapping.update by API",
"payload": {
"source": "api",
"dryRun": true
}
}
Native payload: Simple JSON only
This command uses the standard simple JSON payload documented in the command reference.
Notes: Write is blocked until the exact AutoCount mapping SDK/table write path is proven. e-Invoice write/compliance actions are deliberately guarded until the exact MyInvois workflow is proven. The payload shows the full human field reference for future/guarded actions.
{
"commandId": "sales-invoices-001",
"connectorId": "customer-main",
"companyId": "macsofttest",
"type": "list-sales-invoices",
"payload": {}
}
{
"commandId": "stock-items-001",
"connectorId": "customer-main",
"companyId": "macsofttest",
"type": "read-items",
"payload": {
"limit": 50,
"search": "item code or keyword"
}
}
{
"commandId": "stock-balance-001",
"connectorId": "customer-main",
"companyId": "macsofttest",
"type": "stock-balance",
"payload": {}
}
Exact command types depend on the connector module coverage installed for that customer. Start with a safe read command, confirm results, then create documents only with unique commandId values and the customer account book intentionally connected.
AI tools may also send common aliases such as sales.invoice.count or sales.invoice.list; the cloud normalizes them to list-sales-invoices before the local connector receives the command.
Need the full JSON list? Open OpenAPI JSON and read x-autocount-command-catalog.commands. It contains command type, mode, payload schema, and example request JSON.
| Need | Command type | Payload example |
|---|---|---|
| Get one sales invoice | get-sales-invoice | { "docNo": "IV-000001" } |
| Find report layouts | list-autocount-report-templates | { "document": "sales-invoice" } |
| Sales document PDF/report | sales-document-autocount-pdf | { "document": "invoice", "docNo": "IV-000001", "reportName": "Invoice" } |
| Purchase document PDF/report | purchase-document-autocount-pdf | { "document": "purchase-invoice", "docNo": "PI-000001", "reportName": "Purchase Invoice" } |
| Stock document PDF/report | stock-document-autocount-pdf | { "document": "stock-adjustment", "docNo": "SA-000001", "reportName": "Stock Adjustment" } |
| GL payment voucher PDF | gl-document-autocount-pdf | { "document": "payment-voucher", "docNo": "PV-000001", "reportName": "PV - Half Page" } |
| GL official receipt PDF | gl-document-autocount-pdf | { "document": "official-receipt", "docNo": "OR-000001", "reportName": "OR - Half Page" } |
| List quotations | list-quotations | {} |
| Create sales invoice | create-sales-invoice | { "debtorCode": "300-A001", "items": [...] } |
| Debtor list | read-debtors | {} |
| Debtor full detail | get-debtor-detail | { "accNo": "300-A001" } |
| Debtor credit control | get-debtor-credit-control | { "accNo": "300-A001" } |
| Creditor full detail | get-creditor-detail | { "accNo": "400-S001" } |
| AR outstanding documents for knock-off | read-ar-outstanding-documents | { "debtorCode": "300-A001" } |
| Validate AR payment knock-off | validate-ar-payment | { "debtorCode": "300-A001", "amount": 100, "knockOffs": [{ "docType": "RI", "docKey": "424496", "amount": 100 }] } |
| AR credit note list | list-ar-credit-notes | {} |
| AP payment list | list-ap-payments | {} |
| AP outstanding documents for knock-off | read-ap-outstanding-documents | { "creditorCode": "400-S001" } |
| Payment methods | read-payment-methods | {} |
| AR deposit | create-ar-deposit | { "debtorCode": "300-A001", "amount": 100, "paymentMethod": "CASH" } |
| AP deposit | create-ap-deposit | { "creditorCode": "400-S001", "amount": 100, "paymentMethod": "CASH" } |
| Stock item quick search | read-items | { "search": "ITEM", "limit": 50 } |
| Stock item full export | export-items | { "activeOnly": true } |
| Stock item full detail | get-stock-item-detail | { "itemCode": "ITEM001" } |
| GL account balance | read-gl-account-balance | { "accNo": "500-0000", "fromDate": "2026-01-01", "toDate": "2026-06-15" } |
| GL bank/cash accounts | list-gl-bank-cash-accounts | {} |
| GL cash-flow accounts | read-gl-cash-flow-accounts | {} |
| GL account types | list-general-account-types | {} |
| GL cheque entries | list-gl-cheques | { "fromDate": "2026-01-01", "toDate": "2026-12-31", "chequeOption": "issued" } |
| GL Cash Book Entry grid | list-gl-cash-book-documents | { "columns": "DocKey,DocNo,DocDate,Description,NetTotal" } |
| GL cash book report/inquiry | list-gl-cash-book-entries | { "fromDate": "2026-01-01", "toDate": "2026-12-31", "accountNo": "110-0010" } |
| Bank reconciliation list | list-gl-bank-reconciliations | {} |
| Bank reconciliation detail | get-gl-bank-reconciliation | { "accNo": "110-0010", "reconDate": "2026-06-30" } |
| Bank reconciliation uncleared rows | list-gl-bank-reconciliation-uncleared | { "accNo": "110-0010", "startDate": "2026-01-01" } |
| Bank reconciliation draft check | validate-gl-bank-reconciliation | { "accNo": "110-0010", "reconDate": "2026-06-30", "actualBalance": 2900, "selectedBankTransKeys": [1, 2] } |
| Create bank reconciliation | create-gl-bank-reconciliation | { "accNo": "110-0010", "reconDate": "2026-06-30", "actualBalance": 2900, "selectedBankTransKeys": [1, 2] } |
| Edit bank reconciliation | update-gl-bank-reconciliation | { "accNo": "110-0010", "reconDate": "2026-06-30", "actualBalance": 2900, "selectedBankTransKeys": [1, 2] } |
| Delete bank reconciliation | delete-gl-bank-reconciliation | { "accNo": "110-0010", "reconDate": "2026-06-30", "confirmDelete": true } |
| GL Account Maintenance create | create-gl-account | { "accNo": "690-9000", "description": "API Expense Account", "accType": "EP" } |
| GL fixed asset account create | create-gl-account | { "accNo": "150-1000", "description": "Motor Vehicle", "accType": "use an Asset code from list-general-account-types", "specialAccType": "SFA" } |
| Create New Fixed Asset Account | create-fixed-asset-gl-accounts | { "fixedAsset": { "accNo": "150-1000", "description": "Motor Vehicle", "accType": "Asset AccType", "specialAccType": "SFA" }, "accumulatedDepreciation": { "accNo": "159-1000", "description": "Accumulated Depreciation - Motor Vehicle", "accType": "Asset AccType", "specialAccType": "SAD" } } |
| Quotation to sales order | transfer-quotation-to-sales-order | { "fromDocNo": "QT-000001" } |
| Quotation to delivery order | transfer-quotation-to-delivery-order | { "fromDocNo": "QT-000001" } |
| Quotation to invoice | transfer-quotation-to-sales-invoice | { "fromDocNo": "QT-000001" } |
| Sales order to delivery order | transfer-sales-order-to-delivery-order | { "fromDocNo": "SO-000001" } |
| Sales order to invoice | transfer-sales-order-to-sales-invoice | { "fromDocNo": "SO-000001" } |
| Delivery order to invoice | transfer-delivery-order-to-sales-invoice | { "fromDocNo": "DO-000001" } |
| Invoice to credit note | transfer-sales-invoice-to-sales-credit-note | { "fromDocNo": "IV-000001" } |
| Purchase order to GRN | transfer-purchase-order-to-goods-received-note | { "fromDocNo": "PO-000001" } |
| Purchase order to purchase invoice | transfer-purchase-order-to-purchase-invoice | { "fromDocNo": "PO-000001" } |
| GRN to purchase invoice | transfer-goods-received-note-to-purchase-invoice | { "fromDocNo": "GR-000001" } |
| Purchase invoice to return | transfer-purchase-invoice-to-purchase-return | { "fromDocNo": "PI-000001" } |
| Validate GL Cash Book payment | validate-gl-cash-book-payment | { "payTo": "API Supplier", "taxEntityID": 1, "lines": [{ "accNo": "610-0000", "amount": 100 }], "payments": [{ "paymentMethod": "CASH", "paymentAmount": 100 }] } |
| Create GL Cash Book payment | create-gl-cash-book-payment | { "payTo": "API Supplier", "taxEntityID": 1, "lines": [{ "accNo": "610-0000", "amount": 100 }], "payments": [{ "paymentMethod": "CASH", "paymentAmount": 100 }] } |
| Create GL Cash Book receipt | create-gl-cash-book-receipt | { "receiveFrom": "API Customer", "taxEntityID": 1, "lines": [{ "accNo": "500-0000", "amount": 100 }], "payments": [{ "paymentMethod": "CASH", "paymentAmount": 100 }] } |
| Void/cancel GL Cash Book entry | void-gl-cash-book-entry | { "docNo": "PV-000001", "reason": "Cancel incorrect voucher" } |
| Bulk create GL Cash Book payments | bulk-create-gl-cash-book-payments | { "records": [{ "externalId": "pv-001", "payTo": "API Supplier", "lines": [{ "accNo": "610-0000", "amount": 100 }] }] } |
| Validate multi-line journal | validate-journal-entry | { "lines": [{ "accNo": "610-0000", "debit": 60 }, { "accNo": "620-0000", "debit": 40 }, { "accNo": "500-1000", "credit": 100 }] } |
| Create multi-line journal | create-journal-entry | { "lines": [{ "accNo": "610-0000", "debit": 60 }, { "accNo": "620-0000", "debit": 40 }, { "accNo": "500-1000", "credit": 100 }] } |
| Endpoint | Purpose |
|---|---|
GET /login | Customer login page. |
GET /forgot-password | Request password reset email. |
GET /portal | Dashboard with subscription, connector config usage, computers, account books, installer, config download, API keys, a copy-ready developer/Mac Soft AI message, API example, and commands. |
GET /app/state | Authenticated JSON state for the customer dashboard. |
POST /app/test-api | Dashboard button that queues a read-only list-sales-invoices test command. |
GET /app/connector-config.json | Authenticated default connector config JSON for one-click import. Requires verified email. |
POST /app/connectors | Create another connector config, subject to the subscription connector limit. |
GET /app/connectors/:id/config.json | Download a specific connector config for a PC/server or branch. |
| Endpoint | Purpose |
|---|---|
POST /v1/commands | Queue a read or write command for a connector and account book. |
GET /v1/commands/:id | Check command status and read final result. |
GET /v1/connectors/:connectorId/status | Check connector online state, installed build, latest version, updateRequired, computers, and account books. Safe for Mac Soft AI with tenant/app API key. |
GET /v1/schema/modules | List canonical modules and each module's supported schema-aware commands. |
GET /v1/schema/modules/:moduleId | Read one module and its schema-aware commands by canonical module id. |
GET /v1/schema/commands/:commandType | Read payload schema, example, notes, and native field sections for one command type. |
The local connector uses these cloud endpoints with its connector key. Customers do not call these directly.
| Endpoint | Purpose |
|---|---|
GET /connectors/:id/commands/next | Connector polls for the next command. |
POST /connectors/:id/commands/:commandId/result | Connector posts command result or error. |
POST /connectors/:id/companies | Connector reports configured account books. |
POST /connectors/:id/heartbeat | Connector reports service health. |
createBlocked when a module-specific AutoCount save path is not proven yet.edit means changing an existing record through a proven SDK load/save path; unproven transaction edits return editBlocked.void means cancelling or voiding a transaction while keeping the audit trail. Sales and purchase void commands use AutoCount CancelDocument; unproven modules return voidBlocked.delete does not mean blind SQL delete. Sales, purchase, GL Cash Book, and journal delete use AutoCount SDK hard delete where the document is not locked or linked; other modules return deleteBlocked until proven./v1/schema/commands/{commandType} and the module matrix. If status is guarded/blocked/not supported, the AI must stop and report that exact state.| Error | Meaning | What to do |
|---|---|---|
401 Unauthorized | Missing or wrong API key. | Check tenant/app key or connector key. |
402 Subscription is not active | Tenant is not active/trialing. | Renew or activate subscription. |
403 Please verify your email first | Customer email is not verified. | Open verification email or resend from portal. |
409 ConnectorUpdateRequired | The command needs a newer Local Connector build than the customer PC is running. | Download and install the latest connector from the portal, restart the service, then retry with a new commandId. |
| Connector offline | Cloud has not received recent heartbeat. | Start Windows Service or check connector internet access. |
| AutoCount login failed | Configured AutoCount credentials are wrong or changed. | Open connector setup and update account book credentials. |
| Command failed | AutoCount SDK returned validation or business logic error. | Check command result message and AutoCount document rules. |
| Question | Answer |
|---|---|
| Does the customer need to open router ports? | No. The Local Connector polls outbound to the cloud. |
| What does connector count mean? | It means connector configs / command queues, not computers. One config on three computers still counts as one connector, but production branches should use separate connector configs. |
| Can one customer connect many account books? | Yes. Connectors can report multiple configured account books. Subscription limits decide how many are allowed. |
| Can the same config run on many computers? | Yes for monitoring or backup, but they share one command queue. For multiple active PCs or branches, create separate connector configs. |
| Can AI use this API? | Yes. Mac Soft AI can read the human docs and OpenAPI JSON, then call tenant/app API keys to queue commands. |
| Can the connector run after Windows logout? | Yes, it is designed as a Windows Service, so it can keep running without an interactive Windows login. |
| Why not cloud-only? | AutoCount desktop account books are private/local. The connector is required to run SDK calls inside the licensed AutoCount environment. |
| Can write commands create real documents? | Yes. New account books are write-enabled by default, while guarded direct edits stay blocked until safe SDK behavior is proven. |
| What must exist in a blank account book? | Create or confirm debtor, creditor, item/UOM, and stock locations first. Stock transfer needs two locations, AP invoice needs a valid posting account, and BOM/manufacturing needs valid BOM item/component records. |