{"ok":true,"commandType":"create-gl-account","module":"GL","mode":"write","summary":"Create a GL Account Maintenance account.","payloadSchema":{"accNo":"required GL account number","description":"required account description/name","accType":"required AutoCount account type","parentAccNo":"optional parent account number","currencyCode":"optional currency code","cashFlowCategory":"optional cash flow category","specialAccType":"optional special account type such as Normal, Bank, Cash, FixedAsset/SFA, AccumulatedDepreciation/SAD, DebtorControl, or CreditorControl","desc2":"optional second description","isActive":"optional boolean active flag","remark1":"optional remark field 1","remark2":"optional remark field 2"},"examplePayload":{"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.","nativePayload":{"supported":false,"sections":[{"name":"Master","fields":[]},{"name":"Details","fields":[]},{"name":"KnockOffDetails","fields":[]},{"name":"TransferDetails","fields":[]},{"name":"PaymentDetails","fields":[]},{"name":"Options","fields":[]}]}}