Aller au contenu principal

Events (EPCIS 2.0)

Stockaj records every meaningful change to the inventory — checkout, return, transfer, receipt, inspection, disposal — as an EPCIS 2.0 event. The event log is append-only and is the single source of truth.

Why EPCIS

EPCIS (GS1, ISO/IEC 19987) is the industry standard for capturing "what, when, where, why" of object movements. By writing EPCIS events, Stockaj data is consumable by any partner WMS, ERP, or auditor without custom translation.

Event categories

CategoryWhen
Object eventMost actions: checkout, return, inspection, status change
Aggregation eventItems packed into / unpacked from a container (SSCC)
Transaction eventLinking instances to a business transaction (rental, PO)
Transformation eventInputs consumed to produce different outputs (kit assembly)
Association eventSensor (e.g. cold-chain logger) bound to an instance

Event vocabulary

Each event carries a biz_step (what was done) and a disposition (what state the object is in afterwards), both controlled-vocabulary URIs from the GS1 CBV vocabulary.

Reading the event log

Authenticated EPCIS REST endpoint, OAuth 2.1 client credentials:

GET /epcis/v2.0/events?event_time=ge:2026-04-01T00:00:00Z&biz_step=urn:epcglobal:cbv:bizstep:shipping
Authorization: Bearer <client-credentials-token>

Per-tenant scoping is enforced server-side; a token is bound to a single tenant.