General Invoices Template
Extract structured data from various document types using specialized AI models.
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
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
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
Body
The file extension of the document to be analyzed. Must be one of the supported formats.
PDF, TIFF, JPG, PNG 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.
InvoiceMedical, BusinessRegistration, InvoiceGeneral, MedicalObservation, Contract, ArrivalNotice, BillofLading, Jobapplication, BalanceCertificate_KR, ProofOfAddress The base64 encoded data of the file to be analyzed. The file should be encoded without line breaks or additional formatting.
Response
Successful analysis
The status of the analysis operation. Returns 'success' when the document analysis is completed successfully.
"success"
Extracted structured data from the document
{
"patientName": "John Doe",
"hospitalName": "City General Hospital",
"totalAmount": 1500,
"services": [
{ "service": "Consultation", "amount": 200 },
{ "service": "Lab Test", "amount": 300 }
]
}Confidence score of the extraction, ranging from 0.0 to 1.0. Higher values indicate more reliable extraction results.
0.95