AI 기반 추출
고급 AI가 송장, 영수증, 계약서 등 다양한 문서에서 높은 정확도로 구조화된 데이터를 추출합니다.
단일 API 호출로 PDF에서 구조화된 데이터를 추출합니다:
curl -X POST https://api.docmap.io/v1/extractions/run \
-H "Authorization: Bearer dm_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"templateId": "your-template-id",
"fileName": "invoice.pdf",
"pdfBase64": "JVBERi0xLjQ...",
"mimeType": "application/pdf"
}'API는 템플릿 정의에 맞는 구조화된 JSON을 반환합니다:
{
"id": "ext_abc123",
"status": "completed",
"data": {
"vendor_name": "Acme Corp",
"invoice_number": "INV-2024-001",
"total_amount": 1250.00,
"line_items": [
{ "description": "Widget A", "quantity": 10, "unit_price": 125.00 }
]
}
}