Skip to content

Item movements

ItemMovements allow you to track all stock entries and exits.

TypeDescriptionStock impact
ENTRYGoods reception+quantity
EXITOutput/usage-quantity
  1. Access the Items module

    From the sidebar, click Items.

  2. Click “Add Entry/Exit” on the item

  3. Fill in the form

    FieldRequiredDescription
    QuantityNumber of units
    Unit PriceUnit price
    SupplierSource company
    Invoice numberOrder number
    Invoice dateOrder date
    DateDate when Entry/Exit occurred
    NotesComments
  4. Validate

    Stock is automatically updated.

POST /api/v1/item-movements
{
"item_id": 1,
"type": "ENTRY",
"quantity": 50,
"company_id": 3,
"reference": "PO-2024-0042",
"notes": "Annual order reception"
}
{
"item_id": 1,
"type": "EXIT",
"quantity": 5,
"maintenance_id": 12,
"notes": "Used for preventive maintenance"
}
{
"item_id": 1,
"type": "ADJUSTMENT",
"quantity": -3,
"notes": "Stock correction after inventory count"
}

The item’s quantity is automatically recalculated:

current_stock = Σ entries - Σ exits + Σ adjustments

When stock falls below the number_warning_minimum, an alert notification is triggered:

{
"item_id": 1,
"name": "Air Filter XL",
"quantity": 2,
"number_warning_minimum": 5,
"number_warning_enabled": true
}

When stock falls below the number_critical_minimum, an alert email is triggered and an alert notification:

{
"item_id": 1,
"name": "Air Filter XL",
"quantity": 2,
"number_critical_minimum": 5,
"number_critical_enabled": true
}
ActionPermission
View listitem-movement.viewAny
View a movementitem-movement.view
Createitem-movement.create
Modifyitem-movement.update
Deleteitem-movement.delete

All movements are logged with:

  • Creation date
  • User who created the movement
  • Previous and new quantity
GET /api/v1/items/{id}/movements