One remaining quantity per batch, kept in ApiCore: movement ledger for bottlings and new production batches, shop write-back of paid sales and returns, withdrawals in ApiCore reflected in the shop via webhook plus a 10-minute reconcile. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>