-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparseflow-process-example.json
More file actions
69 lines (69 loc) · 1.97 KB
/
parseflow-process-example.json
File metadata and controls
69 lines (69 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"request": {
"method": "POST",
"url": "https://parseflow-api.thankfulisland-fec0f8f2.westus2.azurecontainerapps.io/v2/process",
"headers": {
"X-API-Key": "pfk_live_REDACTED",
"Idempotency-Key": "9b1f2c8a-b3e6-4f0a-9c45-2b1a7c3d8e2f",
"Content-Type": "multipart/form-data"
},
"form": {
"file": "@invoice-2026-05-001.pdf",
"mode": "deterministic",
"chunk_size": 2000,
"overlap": 200,
"output_format": "json",
"include_markdown": true,
"preset": "invoice",
"enforce_schema": false
}
},
"response": {
"status": 200,
"body": {
"document_id": "doc_01HZ7MR8X2QFV5C0G4ATBYK7E1",
"filename": "invoice-2026-05-001.pdf",
"mode": "deterministic",
"chunk_count": 3,
"chunks": [
{
"index": 0,
"text": "ACME SUPPLY CO. Invoice #INV-2026-05-001 Date: 2026-05-12 Bill To: Naftiko, Inc. ...",
"tokens": 412,
"page": 1,
"confidence": 0.98
},
{
"index": 1,
"text": "Line items: 1) Governance review subscription — $4,800.00 2) On-call retainer — $1,200.00 ...",
"tokens": 388,
"page": 1,
"confidence": 0.97
},
{
"index": 2,
"text": "Subtotal: $6,000.00 Tax (0%): $0.00 Total Due: $6,000.00 Net 30. Remit to ACME SUPPLY CO.",
"tokens": 96,
"page": 2,
"confidence": 0.99
}
],
"extraction": {
"invoice_number": "INV-2026-05-001",
"invoice_date": "2026-05-12",
"vendor": "ACME SUPPLY CO.",
"bill_to": "Naftiko, Inc.",
"subtotal": 6000.00,
"tax": 0.00,
"total": 6000.00,
"currency": "USD",
"terms": "Net 30"
},
"markdown": "# Invoice INV-2026-05-001\n\n**Vendor:** ACME SUPPLY CO.\n**Date:** 2026-05-12\n...",
"usage": {
"requests_remaining": 487,
"monthly_cap": 500
}
}
}
}