---
# System prepended metadata

title: Untitled

---

```plantuml
@startuml

actor       "Stockist Officer"     as stockist
participant "stockist dashboard fe" as stockistFE
participant "evm-stockist" as evmStockist
participant "evm-pos" as evmPos
participant "evm-inventory" as evmInv
participant "evm-product" as evmProduct
database "evm_pos" as db

stockist -> stockistFE : Create Offline Trx
stockistFE -> evmStockist : POST v2/offline/transaction/
evmStockist -> evmStockist : aggregate service (validate)
evmStockist -> evmPos : POST v1/transaction/
evmPos <-> evmProduct : GET v3/internal/variant/search
evmPos -> evmPos : validate variant owner
evmPos -> db : Insert order, order_detail, snapshot_detail
evmPos <-> evmInv : PUT /v2/stock
evmStockist <- evmPos : Response v1/transaction/
stockistFE <- evmStockist : Response v2/offline/transaction/
stockistFE -> stockist

```