Save recognized document

PUT /api-v1/invoice-scan-recognizer/batch

Headers

Body Required

body

Responses

PUT /api-v1/invoice-scan-recognizer/batch
curl \
 -X PUT http://wyzio.app/api-v1/invoice-scan-recognizer/batch \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string" \
 -d '{"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
}