Docs

Bulk Remap Lines

PATCH /extractions/{extractionId}/lines

PATCH/extractions/{extractionId}/lines

Maps several lines to one resource in a single call, always as an explicit user override rather than an AI proposal. lineIds must not be empty; the need, resource type and variant are optional. The whole call is refused, changing nothing, if any line is an Expense line. Only while the extraction is Ready, Flagged or NoLineItems. Needs Order.Edit on its order (Expense.Edit at the event for an expense extraction). Resource ids come from Orders_GetCandidates.

Path Parameters

FieldTypeRequiredDescription
extractionIduuidRequired

Request Body

FieldTypeRequiredDescription
lineIdsuuid[]Optional
procurementResourceIduuidOptional
resourceTypeIduuidOptional
resourceVariantIduuidOptional