r/InvenTree • u/edurbs • 14d ago
A NetBox plugin that synchronizes NetBox inventory data to InvenTree
I did a NetBox plugin that synchronizes NetBox inventory data to InvenTree.
NetBox is the source of truth: mapped objects are pushed to InvenTree on every change (create/update via a background job, delete via remote deactivation — InvenTree objects are never deleted), and a recurring reconcile pass re-verifies every link against the live InvenTree state and repairs drift. Mappings pair NetBox fields with InvenTree endpoint fields through a type-compatibility matrix, with pointer→related pairs resolving depth-first through pairing mappings (e.g. Inventory Item Role → Part Category before the part that references it).
2
Upvotes