Status
Public API: not yet exposed. Internal HTTP surface: live at /subcontract-orders/*. gRPC layer: subcontractOrder.grpc.controller.js.
Planned endpoints
| Method | Planned path | Action | Planned scope |
|---|---|---|---|
GET | /orgs/:o/entities/:e/subcontract-orders | List | subcontractOrder:read |
GET | /orgs/:o/entities/:e/subcontract-orders/:id | Read one | subcontractOrder:read |
POST | /orgs/:o/entities/:e/subcontract-orders | Create | subcontractOrder:create |
PUT | /orgs/:o/entities/:e/subcontract-orders/:id | Update | subcontractOrder:update |
PUT | /orgs/:o/entities/:e/subcontract-orders/:id/issue-materials | Issue materials to subcontractor | subcontractOrder:update |
PUT | /orgs/:o/entities/:e/subcontract-orders/:id/receive-goods | Receive finished goods back | subcontractOrder:update |
PUT | /orgs/:o/entities/:e/subcontract-orders/:id/complete | Mark complete | subcontractOrder:update |
DELETE | /orgs/:o/entities/:e/subcontract-orders | Soft-archive (bulk) | subcontractOrder:delete |
PUT | /orgs/:o/entities/:e/subcontract-orders/restore | Un-archive (bulk) | subcontractOrder:update |
Planned webhook events
subcontract_order.materials_issued— fired after issue-materialssubcontract_order.goods_received— fired after receive-goodssubcontract_order.completed— fired after complete
India-specific note (ITC-04)
Subcontract orders feed the quarterly ITC-04 return for Indian GST tenants. The ITC-04 generation logic itself is on a separate feature branch (feat/manufacturing-itc04-jobwork) and is not yet on dev — its public-API exposure timeline tracks the feature branch merge, not the subcontract-order curated subset above.