Docs

Retry Extraction

POST /extractions/{extractionId}/retry

POST/extractions/{extractionId}/retry

Re-runs a Failed extraction from whichever phase failed and returns the extraction. A failure while reading re-runs the whole read and returns it to Pending; a failure while matching re-runs matching only and returns it to Matching, because re-reading the same file costs money and can give a different result. Refused unless the state is Failed. Requires EventAdmin on the event.

Path Parameters

FieldTypeRequiredDescription
extractionIduuidRequired

Response

FieldTypeDescription
iduuid
orderIduuid| null
expenseIduuid| null
statestring| null
createdAtdate-time
failedPhasestring| null
failureReasonstring| null
failureCodestring| null
documentTypestring| null
pricingLevelstring| null
matchedCollaboratorRecordIduuid| null
printedSubtotalnumber| null
printedTotalnumber| null
receivedDatedate-time| null
pageCountinteger
modelTierUsedstring| null
committedOrderDocumentIduuid| null
gateGetFinancialDocumentExtractionResponseGateInfo| null
groupsGetFinancialDocumentExtractionResponseGroup[]| null
linesGetFinancialDocumentExtractionResponseLine[]| null
adjustmentsGetFinancialDocumentExtractionResponseAdjustment[]| null
sourcePagesGetFinancialDocumentExtractionResponseSourcePage[]| null
originalFileGetFinancialDocumentExtractionResponseOriginalFileInfo| null

GetFinancialDocumentExtractionResponseGateInfo

FieldTypeDescription
tieOutPassedboolean
tieOutDeltanumber| null
tieOutBasisstring| null
tieOutApplicableboolean
traceabilityPassedboolean
untraceableLineCountinteger
rowCountWarningboolean
detectedRowCountinteger| null
bestTableAdjustedRowCountinteger| null
emittedLineCountinteger
evaluatedAtdate-time
allPassedboolean

GetFinancialDocumentExtractionResponseGroup

FieldTypeDescription
iduuid
namestring| null
subtotalnumber
indexinteger

GetFinancialDocumentExtractionResponseLine

FieldTypeDescription
iduuid
indexinteger
descriptionstring| null
quantitynumber
unitPricenumber
lineTotalnumber
extractedFinancialLineGroupIduuid| null
sourcePageNumberinteger
isTraceableboolean
isBalanceLineboolean
matchStatestring| null
proposedResourceTypeIduuid| null
proposedResourceVariantIduuid| null
proposedResourceNamestring| null
proposedResourceVariantNamestring| null
procurementResourceIduuid| null
matchSourcestring| null
userEditedboolean
rateCardDifferenceGetFinancialDocumentExtractionResponseRateCardDifferenceInfo| null
kindstring| null

GetFinancialDocumentExtractionResponseAdjustment

FieldTypeDescription
typestring| null
labelstring| null
amountnumber

GetFinancialDocumentExtractionResponseSourcePage

FieldTypeDescription
pageNumberinteger
uriuri| null

GetFinancialDocumentExtractionResponseOriginalFileInfo

FieldTypeDescription
fileIduuid
fileNamestring| null

GetFinancialDocumentExtractionResponseRateCardDifferenceInfo

FieldTypeDescription
currentCostnumber
extractedCostnumber
decisionstring| null
canBackfillboolean