← Files Quote Unit Cost NormalizeARCHIVED FILE

EXAMPLE.json

1.19 KB · Nov 3, 2026 · 12:13 UTC

↓ Download file

{
  "input": {
    "baseUnit": "sheet",
    "comparisonUnits": 100,
    "quotes": [
      {
        "id": "Q1",
        "unitsPerPackage": 50,
        "packagePrice": 25
      },
      {
        "id": "Q2",
        "unitsPerPackage": 20,
        "packagePrice": 12
      }
    ]
  },
  "expected": {
    "summary": "2 package quotes normalized per sheet.",
    "rows": [
      {
        "id": "Q1",
        "unitsPerPackage": 50,
        "packagePrice": 25,
        "rank": 1,
        "baseUnit": "sheet",
        "pricePerBaseUnit": 0.5,
        "comparisonUnits": 100,
        "proportionalCost": 50
      },
      {
        "id": "Q2",
        "unitsPerPackage": 20,
        "packagePrice": 12,
        "rank": 2,
        "baseUnit": "sheet",
        "pricePerBaseUnit": 0.6,
        "comparisonUnits": 100,
        "proportionalCost": 60
      }
    ],
    "warnings": [
      "Compare supplied figures in one currency for the same specification. No supplier verification, negotiation, ordering or payment occurs.",
      "Unit prices retain numeric precision. Proportional costs round to two decimals and permit fractional packages; actual packs, minimum quantities and extra fees need separate checks."
    ]
  }
}

SHA-256: fa0fe98aac3040d5a4a71c2fb8a71c5446c415deca31d30184c4e2c989438cee