Create Inventory Write-Off
Create an Inventory Write-Off or update an existing one.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
string
Set this parameter to update an existing Inventory Write-Off.
number
Company user unique ID
numberrequired
ID of the reason. Choose an option from the list or use "Get Reason Codes".
stringrequired
ID of the warehouse
numberrequired
Product ID for this document line.
numberrequired
Amount for this document line.
number
(decimal) Unit cost. NB! It is typically unnecessary to set this field, because Erply removes items from stock according to FIFO principle (items are subtracted from the oldest batch currently in stock) and the cost is taken automatically from that batch.
string
number