OCR Text
PROFORMA INVOICE
PI No.: PF-O9O8O7
Date: 2024/11/20
Exporter: Shanghai Trade Co
Importer: Los Angeles Dist LLC
Goods:
1. Electronic Components - 1000 pcs @ $2.50 = $2,500.00
2. Packaging Materials - 500 pcs @ $0.80 = $400.00
FOB Total: $2,900.00
Freight: $350.00
Insurance: $50.00
CIF Total: $3,300.00
Extraction JSON
{
"currency": "USD",
"invoice_date": "2024-11-20",
"invoice_number": "PF-090807",
"line_items": [
{
"amount": 2500.0,
"description": "Electronic Components",
"quantity": 1000,
"unit_price": 2.5
},
{
"amount": 400.0,
"description": "Packaging Materials",
"quantity": 500,
"unit_price": 0.8
},
{
"amount": 350.0,
"description": "Freight",
"quantity": 1,
"unit_price": 350.0
},
{
"amount": 50.0,
"description": "Insurance",
"quantity": 1,
"unit_price": 50.0
}
],
"payee_name": "Los Angeles Dist LLC",
"payer_name": "Shanghai Trade Co",
"subtotal": 2900.0,
"total_amount": 3300.0
}
Correction Result
corrected
Corrected Extraction
{
"currency": "USD",
"invoice_date": "2024-11-20",
"invoice_number": "PF-090807",
"line_items": [
{
"amount": 2500.0,
"description": "Electronic Components",
"quantity": 1000,
"unit_price": 2.5
},
{
"amount": 400.0,
"description": "Packaging Materials",
"quantity": 500,
"unit_price": 0.8
},
{
"amount": 350.0,
"description": "Freight",
"quantity": 1,
"unit_price": 350.0
},
{
"amount": 50.0,
"description": "Insurance",
"quantity": 1,
"unit_price": 50.0
}
],
"payee_name": "Shanghai Trade Co",
"payer_name": "Los Angeles Dist LLC",
"subtotal": 2900.0,
"total_amount": 3300.0
}
Corrections (2)
payee_name (ROLE_SWAP_PAYEE_PAYER)
Before:
Los Angeles Dist LLC
After:
Shanghai Trade Co
Confidence: 0.9
Evidence: Exporter: Shanghai Trade Co
payer_name (ROLE_SWAP_PAYEE_PAYER)
Before:
Shanghai Trade Co
After:
Los Angeles Dist LLC
Confidence: 0.9
Evidence: Importer: Los Angeles Dist LLC
Verification
- Schema Valid: True
- Evidence Valid: True
- Consistency Valid: True
- Overall Confidence: 0.9