Check Document Package Integrity
check_document_packageValidate 2-20 trade finance documents for cross-document consistency before releasing funds. Detects mismatches in numbers, parties, references, dates, commodities; returns PASS/FLAG/FAIL verdicts.
Instructions
Validates a package of 2-20 related trade finance documents for cross-document consistency. Call this BEFORE approving any multi-document trade finance transaction or cross-border shipment -- at the moment a set of 2-20 related documents arrives from an external party and funds have not been released. Use this when your agent has received a full trade finance package — such as invoice, bill of lading, and certificate of origin together — and must verify all documents are consistent with each other before releasing funds. Returns PASS/FLAG/FAIL verdict per document with mismatch details. Cross-checks all documents for consistency across numeric values, party names, reference numbers, dates, and commodity descriptions. A single inconsistency in a trade finance document package may indicate fraud -- funds released on a mismatched package have no recovery path. Do not use as a substitute for check_document when only one document requires verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | Array of 2 to 20 related documents to assess individually and cross-check against each other. Each document must have a unique label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verdict | Yes | ||
| documents | Yes | ||
| checked_at | Yes | ||
| confidence | Yes | ||
| _disclaimer | Yes | ||
| verdict_ttl | Yes | ||
| agent_action | Yes | ||
| analysis_type | Yes | ||
| calls_remaining | Yes | ||
| package_verdict | Yes | ||
| data_source_status | Yes | ||
| package_agent_action | Yes | ||
| cross_document_conflicts | Yes |