Enrich the invoice
post
/service/v1/enrichment
This endpoint is used to enrich the invoice with necessary fields for creation.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
Request Body with ML attributes picked from model.
Root Schema : ScfMLTagsModel
Type:
object
ScfMLTags Model
Show Source
-
applicationNumber:
string
-
docId:
string
-
docType:
string
-
enrichedTags:
array enrichedTags
-
event:
string
-
id:
string
-
isOverdue:
string
Is it an overdue receivable
-
keyvals:
array keyvals
-
processCode:
string
-
processRefNumber:
string
-
seqNo:
integer(int64)
-
srcAppCd:
string
-
taskInstanceId:
string
-
text:
string
-
validateForOverdue:
string
Whether validation for Overdue required or not
-
workflowInstanceId:
string
Nested Schema : enrichedTags
Type:
Show Source
array
-
Array of:
object TagValueModel
Payload from ML Service
Nested Schema : keyvals
Type:
Show Source
array
-
Array of:
object TagValueModel
Payload from ML Service
Response
Supported Media Types
- application/json
- application/xml
201 Response
Enriched invoice Model with required fields
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Bad Request
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error