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
}
}
The General Invoices template extracts structured data from standard commercial invoices from businesses and service providers, including invoice number, customer details, items/services, and payment information.

Template Features

Extracts the following information from general invoices:
  • Invoice metadata and identification
  • Customer and vendor information
  • Line items and service details
  • Pricing and payment terms
  • Tax calculations and totals
  • Payment methods and due dates

Usage Example

{
  "fileExtension": "pdf",
  "docuType": "InvoiceGeneral",
  "fileData": "base64-encoded-general-invoice-data"
}

Response Format

The template returns structured general invoice data including:

Invoice Information

  • Invoice Number: Unique invoice identifier
  • Issue Date: Date invoice was created
  • Due Date: Payment deadline
  • Payment Terms: Payment conditions and terms

Customer Information

  • Customer Name: Client or customer name
  • Customer Address: Complete customer address
  • Contact Person: Primary contact for customer
  • Contact Information: Email and phone numbers

Vendor Information

  • Vendor Name: Service provider or seller name
  • Vendor Address: Complete vendor address
  • Contact Information: Vendor contact details
  • Tax ID: Vendor tax identification number

Line Items

  • Service Description: Detailed service or product description
  • Quantity: Number of units or hours
  • Unit Price: Price per unit or hour
  • Total: Line item total amount
  • Tax Rate: Applicable tax percentage

Financial Details

  • Subtotal: Sum before taxes
  • Tax Amount: Total tax calculated
  • Total Amount: Final invoice amount
  • Currency: Invoice currency
  • Payment Methods: Accepted payment options

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "invoiceInfo": {
        "invoiceNumber": "INV-2024-001",
        "issueDate": "2024-01-15",
        "dueDate": "2024-02-15",
        "paymentTerms": "Net 30"
      },
      "customerInfo": {
        "name": "ABC Company",
        "address": "789 Corporate Blvd, Business City, BC 67890",
        "contactPerson": "Jane Manager",
        "email": "accounts@abccompany.com"
      },
      "vendorInfo": {
        "name": "Professional Services Inc.",
        "address": "123 Service Lane, Provider City, PC 12345",
        "contactNumber": "+1-555-9876"
      },
      "lineItems": [
        {
          "description": "Website Development Services",
          "quantity": 1,
          "unitPrice": 5000.00,
          "total": 5000.00
        },
        {
          "description": "SEO Optimization",
          "quantity": 1,
          "unitPrice": 1500.00,
          "total": 1500.00
        }
      ],
      "totals": {
        "subtotal": 6500.00,
        "taxRate": 0.08,
        "taxAmount": 520.00,
        "totalAmount": 7020.00
      }
    },
    "confidence": 0.91
  }
}

Supported General Invoice Types

  • Service Provider Invoices
  • Consulting Service Bills
  • Professional Service Invoices
  • Maintenance Service Bills
  • Software License Invoices
  • Equipment Rental Bills
  • Training Service Invoices
  • Marketing Service Bills
  • Legal Service Invoices
  • Accounting Service Bills

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Successful analysis

The response is of type object.