POST
/
v1
/
textify
/
analyzer
curl --request POST \
--url https://api.argosidentity.com/v1/textify/analyzer \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"fileExtension": "pdf",
"docuType": "InvoiceMedical",
"fileData": "base64-encoded-medical-invoice-pdf"
}'
{
"status": "success",
"data": {
"document": {
"patientInfo": {
"name": "John Smith",
"patientId": "P12345",
"dateOfBirth": "1985-03-15",
"contactNumber": "+1-555-0123"
},
"medicalProvider": {
"name": "City General Hospital",
"providerId": "H789",
"address": "123 Medical Center Dr, City, State 12345"
},
"billingDetails": {
"invoiceNumber": "INV-2024-001",
"serviceDate": "2024-01-15",
"dueDate": "2024-02-15",
"totalAmount": 1250,
"insuranceCoverage": 1000,
"patientResponsibility": 250
},
"medicalServices": [
{
"service": "Cardiology Consultation",
"code": "99204",
"amount": 350
},
{
"service": "EKG Test",
"code": "93000",
"amount": 150
},
{
"service": "Blood Work",
"code": "80048",
"amount": 750
}
]
},
"confidence": 0.95
}
}

Arrival Notices Template

The Arrival Notices template extracts structured data from shipping and logistics arrival notifications, delivery confirmations, including shipment details, arrival dates, and delivery information.

Template Features

Extracts the following information from arrival notice documents:
  • Shipment tracking and identification
  • Consignee and shipper details
  • Cargo specifications and quantities
  • Customs and clearance information
  • Delivery instructions and requirements
  • Logistics and transportation details

Usage Example

{
  "fileExtension": "pdf",
  "docuType": "ArrivalNotice",
  "fileData": "base64-encoded-arrival-notice-data"
}

Response Format

The template returns structured arrival notice data including:

Shipment Information

  • Tracking Number: Unique shipment identifier
  • Arrival Date: Date shipment arrived at destination
  • Estimated Delivery: Expected delivery date
  • Status: Current shipment status
  • Vessel/Transport: Carrier information

Consignee Details

  • Consignee Name: Recipient company or individual
  • Consignee Address: Complete delivery address
  • Contact Person: Primary contact for delivery
  • Contact Information: Phone and email details

Shipper Information

  • Shipper Name: Sender company or individual
  • Shipper Address: Origin address
  • Contact Person: Shipper contact details
  • Contact Information: Phone and email

Cargo Details

  • Description: Detailed cargo description
  • Weight: Total cargo weight
  • Volume: Cargo volume measurements
  • Pieces: Number of packages or items
  • Container Numbers: Shipping container identifiers

Customs Information

  • Customs Broker: Customs clearance agent
  • Entry Number: Customs entry identifier
  • Duty Amount: Import duties and taxes
  • Clearance Status: Customs clearance status

Delivery Instructions

  • Delivery Requirements: Special handling instructions
  • Signature Requirements: Delivery confirmation needs
  • Business Hours: Preferred delivery times
  • Special Instructions: Additional delivery notes

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "shipmentInfo": {
        "trackingNumber": "TRK-2024-001234",
        "arrivalDate": "2024-01-25",
        "estimatedDelivery": "2024-01-26",
        "status": "Arrived at Destination"
      },
      "consignee": {
        "name": "Global Import Company",
        "address": "456 Import Street, Port City, PC 12345",
        "contactPerson": "John Import",
        "phone": "+1-555-0123"
      },
      "shipper": {
        "name": "Overseas Export Ltd.",
        "address": "789 Export Road, Export City, EC 67890",
        "contactPerson": "Sarah Export",
        "phone": "+44-20-1234-5678"
      },
      "cargoDetails": {
        "description": "Electronic components and machinery parts",
        "weight": "2,500 kg",
        "volume": "15 cubic meters",
        "pieces": 150
      },
      "customsInfo": {
        "customsBroker": "Fast Customs Services",
        "entryNumber": "ENT-2024-001",
        "dutyAmount": 1250.00
      },
      "deliveryInstructions": "Deliver during business hours, signature required"
    },
    "confidence": 0.89
  }
}

Supported Arrival Notice Types

  • Ocean Freight Arrival Notices
  • Air Freight Arrival Notices
  • Trucking Arrival Notices
  • Rail Freight Arrival Notices
  • Express Delivery Notices
  • Container Arrival Notices
  • Bulk Cargo Arrival Notices
  • Hazardous Materials Arrival Notices
  • Temperature-Controlled Cargo Notices
  • Oversized Cargo Arrival Notices

Authorizations

X-API-Key
string
header
required

Body

application/json
fileExtension
enum<string>
required

File extension of the uploaded document (e.g., 'pdf', 'jpg', 'png')

Available options:
pdf,
jpg,
jpeg,
png
docuType
enum<string>
required

The type of document to be analyzed. This determines the extraction model and data structure used for analysis.

Supported Document Types:

  • InvoiceMedical: Medical invoices and bills from healthcare providers, hospitals, clinics, and medical facilities. Extracts patient information, medical services, costs, and billing details.
  • BusinessRegistration: Official business registration documents, corporate certificates, and company formation papers. Extracts business name, registration number, business type, and address information.
  • InvoiceGeneral: Standard commercial invoices from businesses and service providers. Extracts invoice number, customer details, items/services, and payment information.
  • MedicalObservation: Medical reports, patient records, and clinical observation documents. Extracts patient data, medical findings, diagnosis, and treatment information.
  • Contract: Legal contracts, agreements, and binding documents between parties. Extracts contract terms, parties involved, dates, and legal obligations.
  • ArrivalNotice: Shipping and logistics arrival notifications, delivery confirmations. Extracts shipment details, arrival dates, and delivery information.
  • BillofLading: Transportation documents for cargo and freight shipments. Extracts shipping details, cargo information, and transport terms.
  • Jobapplication: Employment applications, resumes, and job-related documents. Extracts applicant information, qualifications, and employment history.
  • BalanceCertificate_KR: Korean bank balance certificates and financial statements. Extracts account information, balance details, and banking data.
  • ProofOfAddress: Address verification documents, utility bills, and residence certificates. Extracts address information and verification details.
Available options:
InvoiceMedical,
BusinessRegistration,
InvoiceGeneral,
MedicalObservation,
Contract,
ArrivalNotice,
BillofLading,
Jobapplication,
BalanceCertificate_KR,
ProofOfAddress
fileData
file
required

Base64 encoded file data

Response

Successful analysis

status
string

Analysis status

data
object

Extracted structured data from the document. The structure varies based on the document type.