GET
View a damaged item
Company space For: Stock keeper, Manager · Permission: inventory_damage_items.retrieve Conditions
  • The item must belong to the damage record in the URL.
Part of Correct stock and declare damage.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

inventory_damage
string
required

Identifier of the damage record (27-character KSUID).

item
string
required

Identifier of the reception line (not the purchase line) of the delivery or pickup named in the path (27-character KSUID). It must belong to that reception.

Response

200 - application/json

InventoryDamageItemResource

id
string
required

Identifier of the item (27-character KSUID).

inventory_damage_id
string
required

Identifier of the damage record the item belongs to.

stockable_id
string
required

Identifier of the damaged item.

stockable_unit_id
string | null
required

Unit in which the quantity is expressed; null when it is in the base unit.

quantity
integer
required

Damaged quantity in the item's unit, the sum of the source quantities.

stock_sources
array
required

Sources the quantity is taken from, as a list of objects with quantity and either asset_id or group_id.

cost_total
number
required

Cost of the lost stock in major units of the company currency. It is 0 until the record is confirmed, then the cost of the lots removed.

created_at
string<date-time>
required

Date and time the record was created (ISO 8601, UTC).

updated_at
string<date-time>
required

Date and time the record was last changed (ISO 8601, UTC).