Tax Templates
Tax returns, filings, and compliance documents. Structurify provides 3 templates for this category.
Available Templates
| Template | ID | Description |
|---|---|---|
| Form W-8BEN (Individual) | ptpl_w8ben | Extract foreign status and treaty benefits from IRS Form W-8BEN for individual f |
| Form W-8BEN-E (Entity) | ptpl_w8ben_e | Extract foreign entity status, FATCA classification, and treaty benefits from IR |
| Form 1099-K (Payment Card/Marketplace) | ptpl_1099k_form | Extract gross payment amounts and transaction data from IRS Form 1099-K for paym |
Example Usage
from structurify import Structurify
client = Structurify(api_key="sk_live_xxx")
# Create project with template
project = client.projects.create(
name="My Tax Project",
template_id="ptpl_w8ben"
)
# Upload and extract
doc = client.documents.upload(
project_id=project["id"],
file_path="document.pdf"
)
job = client.extraction.run(project_id=project["id"])
result = client.extraction.wait_for_completion(job["id"])
Try It
- Run in Google Colab - Interactive notebooks
- CodeSandbox Examples - Node.js examples