Inventory write-offs

Unusable or expired inventory removed from stock.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
NamelabelText
NumberuidTextThe number is a human-readable, unique identifier for the record.
DaydateDateYesCalendar date for this value.
QuantityquantityQuantityYesQuantity in the catalog unit after any unit conversion on the line.
CatalogcatalogConstantFixed option from the allowed set for this field.
UnitcatalogunitUnit
ItemproductitemIdReference
ItemcustomitemIdReference
IdentifierinventoryidentifierIdReference
On holdisOnholdBooleanYesWhen enabled, the write-off removes on-hold quantity. When disabled, it removes available quantity.
LocationsitelocationIdReferenceYes
ZonesiteareaIdReferenceYes
ReasonreasonOption (Select)YesFixed option from the allowed set for this field.
TagstagIdsTags
DescriptiondescriptionText Area
DatadataData
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Canceled bycanceledByUser
Canceled atcanceledAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

FieldPoints toKind
Identifier inventoryidentifierIdInventory identifiersreference
Location sitelocationIdSite locationsreference
Zone siteareaIdSite areasreference
Tags tagIdsTagsreference

Actions

What you can do with a record. Every action also sends the webhook event inventoryscraps.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd a new write-off.App · API · MCP · CLI
EditupdateSave changes to this write-off.App · API · MCP · CLI
CancelcancelReverse the posted effect of this write-off.App · API · MCP · CLI
BlockblockStop edits and deletion of this write-off. It stays visible and can still appear on existing documents. Unblock to edit again.App · API · MCP · CLI
UnblockunblockAllow edits and deletion of this write-off again.App · API · MCP · CLI
ArchivearchiveRetire this write-off from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · API · MCP · CLI
RestoreunarchiveReturn this write-off to active lists and actions.App · API · MCP · CLI
DeletedeleteDelete this write-off and the data that belongs with it. This cannot be undone.App · API · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

CancelCreatedCanceled