datacastle_reconcile_freight_discrepancy
Performs deterministic reconciliation between commercial invoice items and packing list / waybill shipping manifests. Compares line-item quantities, gross/net weights, declared customs values, and flags variances exceeding legal tolerances.
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": {
"invoiceItems": "<invoiceItems>",
"shippingItems": "<shippingItems>"
},
"name": "datacastle_reconcile_freight_discrepancy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceItems | Yes | List of items as stated on the commercial invoice. | |
| shippingItems | Yes | List of items as recorded on the transport waybill or physical packing list. | |
| declaredCurrency | No | ISO currency code (e.g. 'EUR', 'SEK', 'USD'). Default: 'EUR'. |