datacastle_audit_customs_document
Performs deep audit and entity extraction on EU freight and customs documents (CMR Consignment Notes, Tullverket SAD Customs Declarations, Commercial Invoices). Extracts TARIC/HS codes, gross/net weights, Incoterms, currency, and cross-checks for discrepancy risks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentText": "<documentText>"
},
"name": "datacastle_audit_customs_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentText | Yes | Raw text content of the customs document, CMR note, or commercial invoice to audit. | |
| documentType | No | Type of document. Options: 'CMR', 'SAD_DECLARATION', 'COMMERCIAL_INVOICE', 'AUTO_DETECT'. Defaults to 'AUTO_DETECT'. |