{"ok":true,"commandType":"validate-ap-deposit","module":"AP","mode":"read","summary":"Validate an AP deposit without saving.","payloadSchema":{"creditorCode":"required AutoCount creditor/supplier code","docDate":"required or optional YYYY-MM-DD document date","amount":"required deposit amount","paymentMethod":"optional AutoCount Payment Method code such as CASH or MAYBANK","_arApRule":"AP = supplier/creditor. Use creditorCode only for AP commands; do not send debtorCode for AP.","docNo":"optional AutoCount document number; omit to let AutoCount numbering generate it","depositPaymentMethod":"optional AutoCount deposit header payment method; defaults from paymentMethod","paymentBy":"optional payment type such as Cash, Cheque, Bank Transfer, Credit Card","chequeNo":"optional cheque/reference number","bankCharge":"optional bank charge amount","description":"optional deposit narration","note":"optional note","isSecurityDeposit":"optional boolean; true for security deposit where AutoCount account book supports it","project":"optional project code","department":"optional department code"},"examplePayload":{"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.","nativePayload":{"supported":false,"sections":[{"name":"Master","fields":[]},{"name":"Details","fields":[]},{"name":"KnockOffDetails","fields":[]},{"name":"TransferDetails","fields":[]},{"name":"PaymentDetails","fields":[]},{"name":"Options","fields":[]}]}}