The safe
Every store that keeps cash has a safe in Cash Management: a repository of type Safe that holds one balance
per currency. All of the store's cash movements are booked into it: the counted cash from the tills, the floats, the
bank deposits and withdrawals, and the safe audit's corrections.
One safe per store
A store has one active safe. Cash Management books every event from Reconciliation into it, so it never has to ask which safe the cash went to. Creating a second safe for the same store is refused.
🛑 Create the safe before the store's tills start trading. Cash Management does not create one by itself. For a store without a safe, it ignores the events from Reconciliation, and they are not kept for later: floats, counted cash and recounts from that period never reach any balance.
A store's safe cannot be deleted while it is the store's only safe. If the store moves to a new physical safe, keep the repository and rename it, so that its balance and history stay in one place.
Setting up a store
- Create the safe:
POST /api/v1/business-units/{businessUnitId}/repositorieswith{ "name": "Main safe", "type": "Safe" }. The response holds therepositoryIdthat every other call uses. - Enter the opening balance. Count the safe in Hii InStore's Count Safe, which books the counted amount in each currency as a correction. Without it, the balance starts at zero and the first safe audit shows the whole content as a deviation.
- Check the tenders. Only tenders whose type is cash or foreign currency reach the safe. See What Cash Management receives.
- Set the limits for the safe audit, if the store has them: the most cash the safe may hold and the smallest bank drop. See Configuration.
GET …/repositories lists the store's active repositories with their id and name.
PATCH …/repositories/{repositoryId}/name renames one.