Docs
Add Extracted Line
POST /extractions/{extractionId}/lines
POST
/extractions/{extractionId}/linesAdds 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
| Field | Type | Required | Description |
|---|---|---|---|
| extractionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| description | string | Optional | |
| quantity | number | Optional | |
| unitPrice | number | Optional | |
| lineTotal | number | Optional | |
| count | number | Optional | |
| unit | string | Optional | |
| extractedFinancialLineGroupId | uuid | Optional | |
| kind | string | Optional |
Response
Type: uuid