Extraction
Extract many documents at once
Submit a batch and retrieve it as a group.
Generated endpoint reference
Before you start
Step 1 — Build the batch
python -c "
import base64, json
def entry(path, doc_type):
return {
'documentType': doc_type,
'content': base64.b64encode(open(path,'rb').read()).decode()
}
json.dump({'files': [
entry('balance-sheet.pdf', 'BalanceSheet'),
entry('profit-loss.pdf', 'ProfitAndLossStatement'),
entry('bank-jan.pdf', 'BankStatements'),
]}, open('bulk.json','w'))
"Step 2 — Submit
Step 3 — Poll each result
Step 4 — Handle partial success
Multi-extraction: several documents inside one file
Field
Meaning
Which one do you need
You have
Use
You get back
When it goes wrong
Symptom
Cause
Fix
Related pages
Last updated

