{"ok":true,"commandType":"create-item-bom","module":"Stock","mode":"write","summary":"Create item BOM definition.","payloadSchema":{"itemCode":"required finished item code","components":"required component item rows","description":"optional BOM description","uom":"optional finished item UOM","qty":"optional finished quantity, default 1","lines":"optional alias for components","scrapPercent":"optional scrap percentage where supported","remark1":"optional remark field 1","remark2":"optional remark field 2"},"examplePayload":{"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.","nativePayload":{"supported":false,"sections":[{"name":"Master","fields":[]},{"name":"Details","fields":[]},{"name":"KnockOffDetails","fields":[]},{"name":"TransferDetails","fields":[]},{"name":"PaymentDetails","fields":[]},{"name":"Options","fields":[]}]}}