SYNTHETIC PROOF WALKTHROUGH
Stop a quote ranking when the supplied currencies differ
A synthetic line-total comparison that makes an incompatible currency basis explicit before vendor selection.
THREE STEPS
Put the control before the consequential action.
One supplied quote is in USD and the other is in EUR, so their totals are not directly comparable.
- 01
Supply competing quotes
The caller provides quote lines, quantities, prices, currency, terms, and validity dates.
- 02
Calculate and compare
The control calculates line totals and checks currency, expected currency, and supplied validity.
- 03
Hold incompatible rankings
Different currencies produce REVIEW_REQUIRED instead of a misleading lowest-price selection.
VISIBLE SYNTHETIC CONTRACT
Inspect exactly what the workflow sees.
The input and output are representative of the named product contract. Copy them into an architecture note, test fixture, or internal review—never treat this browser-only demonstration as a live control result.
{
"quotes": [
{
"quote_reference": "Q-100",
"vendor_name": "Northstar Supply",
"currency": "USD",
"lines": [
{
"description": "Office chair",
"quantity": "10",
"unit_price": "125.00"
}
],
"valid_until": "2026-12-31"
},
{
"quote_reference": "Q-101",
"vendor_name": "Summit Office",
"currency": "EUR",
"lines": [
{
"description": "Office chair",
"quantity": "10",
"unit_price": "119.00"
}
],
"valid_until": "2026-12-31"
}
]
}{
"status": "COMPLETED",
"decision": "REVIEW_REQUIRED",
"exceptions": [
{
"code": "QUOTE_CURRENCY_MISMATCH",
"severity": "HIGH",
"message": "The supplied quotes use different currencies.",
"evidence": {}
}
],
"evidence": {
"currencies": [
"EUR",
"USD"
],
"comparison_basis": "customer-supplied line quantities and unit prices"
},
"next_action": "Normalize currency treatment with a reviewer before comparing totals."
}WHAT THIS PROVES
Evidence for a stop point—not permission to act.
Quote Compare ranks customer-supplied arithmetic only. It does not convert currency, score vendor quality, select a vendor, negotiate terms, or create a purchase order.
- Decision
- REVIEW_REQUIRED
- Named exception
QUOTE_CURRENCY_MISMATCH- Evidence
- currenciesEUR,USDcomparison basiscustomer-supplied line quantities and unit prices
- Next action
- Normalize currency treatment with a reviewer before comparing totals.
KEEP BUILDING
Move from the synthetic fixture to the exact API contract.
Review the product inputs, outputs, errors, and safety boundary before using authorized data. The related implementation guide explains the design decisions behind the control.
Try the control through the supported buyer path.
RapidAPI provides the subscription, key, quota, and capped marketplace plan for this synchronous control.