Docs

Add Extracted Line

POST /extractions/{extractionId}/lines

POST/extractions/{extractionId}/lines

Adds a hand-entered line to the extraction and returns its id. Kind is Resource (default) or Expense (shown as Charge and Reimbursable in the app); the group id is optional and comes from Orders_AddExtractedGroup or Orders_GetExtraction. Count and unit default to 1 and Each, under the same unit rules as document lines. Only while the extraction is Ready, Flagged or NoLineItems. Adding the first line to a NoLineItems extraction makes it Ready. Needs Order.Edit on its order (Expense.Edit at the event for an expense extraction).

Path Parameters

FieldTypeRequiredDescription
extractionIduuidRequired

Request Body

FieldTypeRequiredDescription
descriptionstringOptional
quantitynumberOptional
unitPricenumberOptional
lineTotalnumberOptional
countnumberOptional
unitstringOptional
extractedFinancialLineGroupIduuidOptional
kindstringOptional

Response

Type: uuid