Headers
-
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
PUT
/api-v1/invoice-scan-recognizer/batch
curl \
--request PUT 'https://wyzio.app/api-v1/invoice-scan-recognizer/batch' \
--header "Content-Type: application/json" \
--header "TARGET-ORGANIZATION-ID: 42" \
--header "WEAL-TOKEN: string" \
--data '{"documentFileId":"string","documentWidth":42,"isNotPurchaseInvoice":true,"result":{"message":"string","taskType":"RECOGNIZE"},"status":"PENDING"}'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
{
"documentFileId": "string",
"documentWidth": 42,
"isNotPurchaseInvoice": true,
"result": {
"message": "string",
"taskType": "RECOGNIZE"
},
"status": "PENDING"
}
Response examples (200)
{
"documentFileId": 42,
"documentWidth": 42,
"fields": [
{
"anchor": true,
"fieldId": "string",
"id": 42,
"recognizedDocumentId": 42,
"value": "string"
}
],
"id": 42,
"notPurchaseInvoice": true,
"status": "PENDING",
"templateId": 42
}