{
  "product": "landed",
  "displayName": "LandedCost",
  "classification": "PUBLIC SYNTHETIC DATA ONLY",
  "execution": "Recorded actual local gateway/engine results; no external calls/network/database or private credential use",
  "localStatus": "Passed",
  "localCalls": 6,
  "operationsCovered": 5,
  "tools": [
    "landed_ingestQuote",
    "landed_addCost",
    "landed_normalizeCurrencyAndUnit",
    "landed_computeLandedCost",
    "landed_compareQuotes"
  ],
  "claudeFormalHostSelfTest": "Not established by these local fixtures",
  "openaiFormalHostSelfTest": "Not established by these local fixtures",
  "limitation": "Supplied quotes/costs and included fixed conversion tables; no live foreign exchange, supplier inquiry, purchase or payment.",
  "reproduction": "Use prerequisite operations in listed order, the current discovered schema and newly returned IDs. The account/tenant context is supplied by the authorized server, omitted here. Local result IDs are examples from one isolated run. These records are not production data or a production-host test.",
  "cases": [
    {
      "tool": "landed_ingestQuote",
      "arguments": [
        {
          "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
          "supplier_id": "su_a1102acd-6dbc-4eb1-8786-fc7cf1e1460c",
          "item_lookup": "SYNTHETIC-WIDGET",
          "lines": [
            {
              "line_id": "1",
              "product_name": "Synthetic widget",
              "unit_price": 10,
              "currency": "USD",
              "quantity": 10,
              "unit": "EA"
            }
          ]
        },
        {},
        "2026-10-19T00:00:00.000Z"
      ],
      "expected": "subtotal equals price times ten",
      "actual": {
        "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
        "supplier_id": "su_a1102acd-6dbc-4eb1-8786-fc7cf1e1460c",
        "item_lookup": "SYNTHETIC-WIDGET",
        "lines": [
          {
            "line_id": "1",
            "product_name": "Synthetic widget",
            "unit_price": 10,
            "currency": "USD",
            "quantity": 10,
            "unit": "EA",
            "discount_pct": 0
          }
        ],
        "line_total_invoice": 100,
        "ingested_at": "2026-10-19T00:00:00.000Z",
        "invoice_digest": "sha256:8be0a81ea1921afe90219827aa7db2e4f0c37e59ca140c53f7b52f4fe35347e3"
      },
      "dependencies": [],
      "localStatus": "Passed"
    },
    {
      "tool": "landed_ingestQuote",
      "arguments": [
        {
          "quote_id": "qty_ca3b43ec-f6ed-4bd6-b0df-ac292e37dcfa",
          "supplier_id": "su_01889692-aa9a-4d2f-a71c-7008115e1452",
          "item_lookup": "SYNTHETIC-WIDGET",
          "lines": [
            {
              "line_id": "1",
              "product_name": "Synthetic widget",
              "unit_price": 20,
              "currency": "USD",
              "quantity": 10,
              "unit": "EA"
            }
          ]
        },
        {},
        "2026-10-19T00:00:00.000Z"
      ],
      "expected": "subtotal equals price times ten",
      "actual": {
        "quote_id": "qty_ca3b43ec-f6ed-4bd6-b0df-ac292e37dcfa",
        "supplier_id": "su_01889692-aa9a-4d2f-a71c-7008115e1452",
        "item_lookup": "SYNTHETIC-WIDGET",
        "lines": [
          {
            "line_id": "1",
            "product_name": "Synthetic widget",
            "unit_price": 20,
            "currency": "USD",
            "quantity": 10,
            "unit": "EA",
            "discount_pct": 0
          }
        ],
        "line_total_invoice": 200,
        "ingested_at": "2026-10-19T00:00:00.000Z",
        "invoice_digest": "sha256:dd0b998ebfbfc2cd5cb5c5fea8d68f5d47e0679ca7801141bc7792a942bbbce4"
      },
      "dependencies": [],
      "localStatus": "Passed"
    },
    {
      "tool": "landed_addCost",
      "arguments": [
        {
          "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
          "kind": "FREIGHT",
          "amount": 20,
          "currency": "USD",
          "basis": "TOTAL"
        },
        {},
        "2026-10-19T00:00:00.000Z"
      ],
      "expected": "cost added",
      "actual": {
        "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
        "kind": "FREIGHT",
        "amount": 20,
        "currency": "USD",
        "basis": "TOTAL"
      },
      "dependencies": [],
      "localStatus": "Passed"
    },
    {
      "tool": "landed_normalizeCurrencyAndUnit",
      "arguments": [
        {
          "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
          "to_currency": "USD",
          "to_unit": "EA"
        },
        {},
        "2026-10-19T00:00:00.000Z"
      ],
      "expected": "normalization result present",
      "actual": {
        "quote": {
          "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
          "supplier_id": "su_a1102acd-6dbc-4eb1-8786-fc7cf1e1460c",
          "item_lookup": "SYNTHETIC-WIDGET",
          "lines": [
            {
              "line_id": "1",
              "product_name": "Synthetic widget",
              "unit_price": 10,
              "currency": "USD",
              "quantity": 10,
              "unit": "EA",
              "discount_pct": 0
            }
          ],
          "line_total_invoice": 100,
          "ingested_at": "2026-10-19T00:00:00.000Z",
          "invoice_digest": "sha256:8be0a81ea1921afe90219827aa7db2e4f0c37e59ca140c53f7b52f4fe35347e3"
        },
        "fx": [
          {
            "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
            "from_currency": "USD",
            "to_currency": "USD",
            "base_amount": 100,
            "fx_rate": 1,
            "converted_amount": 100,
            "rate_version": 2,
            "as_of_date": "2026-10-01T00:00:00.000Z",
            "source": "goods_subtotal;scaffold-static-v2",
            "computed_at": "2026-10-19T00:00:00.000Z"
          }
        ],
        "unit": {
          "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
          "per_line": [
            {
              "line_id": "1",
              "product_name": "Synthetic widget",
              "from_unit": "EA",
              "to_unit": "EA",
              "factor": 1,
              "quantity_source_unit": 10,
              "quantity_landed_unit": 10
            }
          ],
          "quantity_total_landed": 10,
          "computed_at": "2026-10-19T00:00:00.000Z"
        },
        "convertedGoodsValue": 100
      },
      "dependencies": [],
      "localStatus": "Passed"
    },
    {
      "tool": "landed_computeLandedCost",
      "arguments": [
        {
          "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
          "target_currency": "USD",
          "target_unit": "EA"
        },
        {},
        "2026-10-19T00:00:00.000Z"
      ],
      "expected": "total 120; per unit 12",
      "actual": {
        "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
        "supplier_id": "su_a1102acd-6dbc-4eb1-8786-fc7cf1e1460c",
        "item_lookup": "SYNTHETIC-WIDGET",
        "target_currency": "USD",
        "target_unit": "EA",
        "goods_value": 100,
        "duty": 0,
        "freight": 20,
        "insurance": 0,
        "fx": 0,
        "handling": 0,
        "cost_breakdown": [
          {
            "kind": "FREIGHT",
            "currency": "USD",
            "amount": 20,
            "source": "manual"
          }
        ],
        "total_landed": 120,
        "unit_landed_cost": 12,
        "quantity_target_unit": 10,
        "fx_rates_used": [],
        "version": 1,
        "computed_at": "2026-10-19T00:00:00.000Z"
      },
      "dependencies": [],
      "localStatus": "Passed"
    },
    {
      "tool": "landed_compareQuotes",
      "arguments": [
        {
          "item_lookup": "SYNTHETIC-WIDGET",
          "quote_ids": [
            "qty_293c912a-aedd-4b96-8dee-165e380b850c",
            "qty_ca3b43ec-f6ed-4bd6-b0df-ac292e37dcfa"
          ],
          "target_currency": "USD",
          "target_unit": "EA"
        },
        {},
        "2026-10-19T00:00:00.000Z"
      ],
      "expected": "q1 ranks first at 12; q2 at 20",
      "actual": {
        "item_lookup": "SYNTHETIC-WIDGET",
        "target_currency": "USD",
        "target_unit": "EA",
        "ranking": [
          {
            "rank": 1,
            "quote_id": "qty_293c912a-aedd-4b96-8dee-165e380b850c",
            "supplier_id": "su_a1102acd-6dbc-4eb1-8786-fc7cf1e1460c",
            "unit_landed_cost": 12,
            "total_landed": 120
          },
          {
            "rank": 2,
            "quote_id": "qty_ca3b43ec-f6ed-4bd6-b0df-ac292e37dcfa",
            "supplier_id": "su_01889692-aa9a-4d2f-a71c-7008115e1452",
            "unit_landed_cost": 20,
            "total_landed": 200
          }
        ],
        "computed_at": "2026-10-19T00:00:00.000Z"
      },
      "dependencies": [],
      "localStatus": "Passed"
    }
  ],
  "hostConversationCases": {
    "positive": [
      {
        "prompt": "Using the supplied synthetic fixture inputs, register a supplied supplier quote; then compare supplied landed-cost estimates. Explain the returned evidence and limits.",
        "tools_triggered": "landed_ingestQuote, landed_compareQuotes",
        "expected_behavior": "landed_ingestQuote: subtotal equals price times ten; landed_compareQuotes: q1 ranks first at 12; q2 at 20"
      },
      {
        "prompt": "Using the supplied synthetic fixture inputs, register a supplied supplier quote. Explain the returned evidence and limits.",
        "tools_triggered": "landed_ingestQuote",
        "expected_behavior": "landed_ingestQuote: subtotal equals price times ten"
      },
      {
        "prompt": "Using the supplied synthetic fixture inputs, add a supplied cost to a stored quote. Explain the returned evidence and limits.",
        "tools_triggered": "landed_addCost",
        "expected_behavior": "landed_addCost: cost added"
      },
      {
        "prompt": "Using the supplied synthetic fixture inputs, normalize a quote's currencies and units. Explain the returned evidence and limits.",
        "tools_triggered": "landed_normalizeCurrencyAndUnit",
        "expected_behavior": "landed_normalizeCurrencyAndUnit: normalization result present"
      },
      {
        "prompt": "Using the supplied synthetic fixture inputs, calculate example landed cost for a quote. Explain the returned evidence and limits.",
        "tools_triggered": "landed_computeLandedCost",
        "expected_behavior": "landed_computeLandedCost: total 120; per unit 12"
      }
    ],
    "negative": [
      {
        "prompt": "Purchase the cheapest supplier quote."
      },
      {
        "prompt": "Fetch current carrier rates and live FX automatically."
      },
      {
        "prompt": "Guarantee the exact customs charge on arrival."
      }
    ]
  },
  "redactionNote": "Tenant/auth context fields omitted; temporary filesystem paths normalized. Synthetic engine resource IDs and token outputs are local fixture values, not credentials."
}
