{"ok":true,"commandType":"bulk-create-cash-sales","module":"Bulk","mode":"write","summary":"Bulk wrapper for create-cash-sale.","payloadSchema":{"records":"required array; each row uses the same payload as create-cash-sale","stopOnError":"optional boolean; stop the batch when a row fails","dryRun":"optional boolean; validate without saving where supported","idempotencyKey":"optional caller batch key"},"examplePayload":{"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.","nativePayload":{"supported":false,"sections":[{"name":"Master","fields":[]},{"name":"Details","fields":[]},{"name":"KnockOffDetails","fields":[]},{"name":"TransferDetails","fields":[]},{"name":"PaymentDetails","fields":[]},{"name":"Options","fields":[]}]}}