Trade Finance Templates
Letters of credit, bank guarantees, and trade documents. Structurify provides 6 templates for this category.
Available Templates
| Template | ID | Description |
|---|---|---|
| Letter of Credit (LC) | ptpl_letter_of_credit | Extract data from documentary letters of credit |
| Bank Guarantee | ptpl_bank_guarantee | Extract data from bank guarantees and standby letters of credit |
| Bill of Exchange / Draft | ptpl_bill_of_exchange | Extract data from bills of exchange and trade drafts |
| Commercial Invoice (Trade) | ptpl_trade_invoice | Extract data from commercial invoices for trade finance and customs |
| Packing Credit / Pre-Export Finance | ptpl_packing_credit | Extract data from packing credit and pre-export financing documents |
| SWIFT MT103 (Wire Transfer) | ptpl_swift_mt103 | Extract payment details from SWIFT MT103 single customer credit transfer message |
Example Usage
from structurify import Structurify
client = Structurify(api_key="sk_live_xxx")
# Create project with template
project = client.projects.create(
name="My Trade Finance Project",
template_id="ptpl_letter_of_credit"
)
# 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