Factuarea APIDevelopers

sales_order_line_already_served

The line already carries served quantity —a delivery note or an invoice was issued for it—, and served quantity cannot be withdrawn or reduced below what already left the warehouse.

CodeTypeHTTPCategory
sales_order_line_already_servedinvalid_request_error422Sales Orders

Cause

The line already carries served quantity —a delivery note or an invoice was issued for it—, and served quantity cannot be withdrawn or reduced below what already left the warehouse.

What to do

Leave the served quantity untouched and adjust only what is still pending; to undo what was already served, register a return for that line instead of editing it.

On this page

Need a hand?Contact support