Skip to main content
POST
/
v1-preview
/
models
/
arrival-notice
Csharp (SDK)
using ABBYY.DocumentAI;
using ABBYY.DocumentAI.Schemas.Components;

var sdk = new DocumentAI(apiKeyAuth: "<YOUR_BEARER_TOKEN_HERE>");

BeginArrivalNoticeFieldExtractionRequestBody req = new BeginArrivalNoticeFieldExtractionRequestBody() {
    InputSource = InputSource.CreateUrlInputSource(
        new UrlInputSource() {
            Url = "https://example.com/documents/invoice.png",
        }
    ),
};

var res = await sdk.Models.ArrivalNotice.BeginFieldExtractionAsync(req);

// handle response
[
  {
    "id": "wh23anb5xjf0ntw5taase5qz",
    "name": "document.jpg",
    "createdAt": "2025-02-07T17:44:06.949Z",
    "model": "image-to-text",
    "status": "Processed",
    "pageCount": 10,
    "errors": [
      {
        "message": "Total is required"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Our API offers authentication via API keys. You can obtain an API key from https://developer.abbyy.com

Body

application/json

Request to process a document using the arrival-notice model

inputSource
object
required

The source of the document(s) to be processed Input the URL of a remote file.

  • UrlInputSource
  • UrlListInputSource
  • RawInputSource
Examples:
{
"url": "https://example.com/documents/invoice.png"
}

Response

A list containing the document(s) sent for processing

id
string
required

The id of the document.

name
string
required

The name of the document.

createdAt
string<date-time>
required

Timestamp at which the document was created.

status
enum<string>
required

The status of the document. Valid values are Pending, Processing, Processed, Failed, Canceled.

Available options:
Pending,
Processing,
Processed,
Failed,
Canceled
pageCount
integer
required

The number of pages associated with the document that have been processed. This number will always be at least 1.

model
string

The model used to process the document.

errors
object[]

An array of errors that occurred while processing the document.

I