GET
/
v1-preview
/
models
/
taxi-receipt
/
{documentId}
using ABBYY.DocumentAI;
using ABBYY.DocumentAI.Schemas.Components;

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

var res = await sdk.Models.TaxiReceipt.GetExtractedFieldsAsync(documentId: "wh23anb5xjf0ntw5taase5qz");

// handle response
{
  "meta": {
    "id": "wh23anb5xjf0ntw5taase5qz",
    "name": "document.jpg",
    "createdAt": "2025-02-07T17:44:06.949Z",
    "model": "taxi-receipt",
    "status": "Processed",
    "pageCount": 10,
    "errors": [
      {
        "message": "Total is required"
      }
    ]
  },
  "fields": {
    "date": "2024-03-15",
    "startDate": "2024-03-15",
    "endDate": "2024-03-15",
    "days": 1,
    "fromLocation": "JFK Airport",
    "toLocation": "Manhattan Hotel",
    "vendor": "Yellow Cab Company",
    "address": "789 Taxi Street",
    "city": "New York",
    "state": "NY",
    "postalCode": "10001",
    "country": "USA",
    "phone": "+1-123-456-7890",
    "currency": "USD",
    "total": 75,
    "taxTotal": 6,
    "taxes": [
      {
        "taxRate": 8,
        "taxAmount": 6
      }
    ],
    "paymentMethod": "Card",
    "cardType": "VISA",
    "creditOrDebit": "Credit",
    "cardNumber": "XXXX-XXXX-XXXX-1234"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

documentId
string
required

The id of the document

Response

200
application/json

Extracted Taxi Receipt Data Response