[
  {
    "key": "independent",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "status": 200,
    "request": {
      "meta": {
        "request_id": "req-independent-89b0a30303ec55744f3d",
        "idempotency_key": "idem-independent-89b0a30303ec55744f3d"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66m7mwfhw2y1z2mvsk8t0fe",
          "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66m7mwfhw2y1z2mvsk8t0fe"
            },
            "request": {
              "request_id": "scenario-pct-stacking-definition-percentage-stacking-fixture",
              "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "residential_apartment"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "individual",
                "facility_type": "residential_apartment"
              }
            }
          }
        }
      }
    },
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66M7P9EWN4GY3QFV4411EAJ",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
              "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
              "canonical_service_key": "platform:carrier-pct-stacking-definition-percentage-stacking-fixture.svc-pct-stacking-definition-percentage-stacking-fixture",
              "presentation_identity_key": "parcel.pct_stacking",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "surcharge",
                  "code": "pct-stacking-security-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "0.63",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7ngm09z22sk0k24rsw57",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_adjustment_table",
                    "artifact_id": "01m66m7n9cpx8c20x6cv718s8k",
                    "artifact_code": "pct-stacking-security-adjustments-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7n9srggzedpqhk8cjm92",
                    "artifact_row_code": "pct-stacking-security-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": "vat_bearing",
                    "percentage_basis_group_codes": [
                      "base_rate"
                    ],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": 12.5,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "security"
                },
                {
                  "kind": "base_rate",
                  "code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7ngm09z22sk0k24rsw57",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66m7nb8t8fk1xb82pfrj3qy",
                    "artifact_code": "pct-stacking-base-grid-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7nbh9pr5fqbaahje11qr",
                    "artifact_row_code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                },
                {
                  "kind": "fuel",
                  "code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "1.25",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7ngm09z22sk0k24rsw57",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_surcharge_table",
                    "artifact_id": "01m66m7n8nzpbf5kad1c2eb78y",
                    "artifact_code": "pct-stacking-fuel-surcharge-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7n9337kcswp9t6yejwxm",
                    "artifact_row_code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": null,
                    "percentage_basis_group_codes": [
                      "base_rate"
                    ],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": 12.5,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "fuel"
                }
              ],
              "total_price": {
                "amount": "14.38",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                  "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "residential_apartment"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66M7P9EWN4GY3QFV4411EAJ"
        },
        "idempotency": {
          "key": "idem-independent-89b0a30303ec55744f3d",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T14:43:16+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "compounded",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "status": 200,
    "request": {
      "meta": {
        "request_id": "req-compounded-5f74c303eeea0d082cd3",
        "idempotency_key": "idem-compounded-5f74c303eeea0d082cd3"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66m7pbmpejjqhet31897xjw",
          "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66m7pbmpejjqhet31897xjw"
            },
            "request": {
              "request_id": "scenario-pct-stacking-definition-percentage-stacking-fixture",
              "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "residential_apartment"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "individual",
                "facility_type": "residential_apartment"
              }
            }
          }
        }
      }
    },
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66M7Q45FTWH7Q1VG269G8HY",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
              "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
              "canonical_service_key": "platform:carrier-pct-stacking-definition-percentage-stacking-fixture.svc-pct-stacking-definition-percentage-stacking-fixture",
              "presentation_identity_key": "parcel.pct_stacking",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "surcharge",
                  "code": "pct-stacking-security-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "0.69",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7pnam0p379capxz2w0p0",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_adjustment_table",
                    "artifact_id": "01m66m7pjcwghdk13cwxwqqgkm",
                    "artifact_code": "pct-stacking-security-adjustments-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7pje7ep43n0ezrd2xqje",
                    "artifact_row_code": "pct-stacking-security-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": "vat_bearing",
                    "percentage_basis_group_codes": [
                      "base_rate",
                      "fuel"
                    ],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": 13.75,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "security"
                },
                {
                  "kind": "base_rate",
                  "code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7pnam0p379capxz2w0p0",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66m7pjqh1bnab8gdfh0h90w",
                    "artifact_code": "pct-stacking-base-grid-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7pjs0nfe0r0mda3hvf5x",
                    "artifact_row_code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                },
                {
                  "kind": "fuel",
                  "code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "1.25",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7pnam0p379capxz2w0p0",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_surcharge_table",
                    "artifact_id": "01m66m7pj8jsbc92vccrsrev0k",
                    "artifact_code": "pct-stacking-fuel-surcharge-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7pjat4s55jaz0eegz81a",
                    "artifact_row_code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": null,
                    "percentage_basis_group_codes": [
                      "base_rate"
                    ],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": 12.5,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "fuel"
                }
              ],
              "total_price": {
                "amount": "14.44",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                  "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "residential_apartment"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66M7Q45FTWH7Q1VG269G8HY"
        },
        "idempotency": {
          "key": "idem-compounded-5f74c303eeea0d082cd3",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T14:43:17+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "excluded",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "status": 200,
    "request": {
      "meta": {
        "request_id": "req-excluded-3f110730d06cda725407",
        "idempotency_key": "idem-excluded-3f110730d06cda725407"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66m7q5zmederr8z8hvwsz5m",
          "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66m7q5zmederr8z8hvwsz5m"
            },
            "request": {
              "request_id": "scenario-pct-stacking-definition-percentage-stacking-fixture",
              "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "residential_apartment"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "individual",
                "facility_type": "residential_apartment"
              }
            }
          }
        }
      }
    },
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66M7QWC0X5FT9C9QYMDZWRE",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
              "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
              "canonical_service_key": "platform:carrier-pct-stacking-definition-percentage-stacking-fixture.svc-pct-stacking-definition-percentage-stacking-fixture",
              "presentation_identity_key": "parcel.pct_stacking",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "surcharge",
                  "code": "pct-stacking-security-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "0.63",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7qfna9j3e22c0xqnn5ev",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_adjustment_table",
                    "artifact_id": "01m66m7qcb1eef4khn5be782sd",
                    "artifact_code": "pct-stacking-security-adjustments-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7qcegxfppqy7k6jnmqqr",
                    "artifact_row_code": "pct-stacking-security-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": "vat_bearing",
                    "percentage_basis_group_codes": [
                      "base_rate",
                      "fuel"
                    ],
                    "percentage_excluded_group_codes": [
                      "fuel"
                    ],
                    "percentage_basis_amount": 12.5,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "security"
                },
                {
                  "kind": "base_rate",
                  "code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7qfna9j3e22c0xqnn5ev",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66m7qcptd8byx44g2nh4bd7",
                    "artifact_code": "pct-stacking-base-grid-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7qcrs9zfsc4m2mvc2g20",
                    "artifact_row_code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                },
                {
                  "kind": "fuel",
                  "code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "1.25",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7qfna9j3e22c0xqnn5ev",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_surcharge_table",
                    "artifact_id": "01m66m7qc756hjsxg8pjervdyf",
                    "artifact_code": "pct-stacking-fuel-surcharge-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7qc95p7derrgzparv8zn",
                    "artifact_row_code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": null,
                    "percentage_basis_group_codes": [
                      "base_rate"
                    ],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": 12.5,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "fuel"
                }
              ],
              "total_price": {
                "amount": "14.38",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                  "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "residential_apartment"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66M7QWC0X5FT9C9QYMDZWRE"
        },
        "idempotency": {
          "key": "idem-excluded-3f110730d06cda725407",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T14:43:18+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  },
  {
    "key": "unknown_group",
    "method": "POST",
    "path": "/api/rating/evaluate",
    "status": 200,
    "request": {
      "meta": {
        "request_id": "req-unknown_group-542216bd01c9a89b1b4e",
        "idempotency_key": "idem-unknown_group-542216bd01c9a89b1b4e"
      },
      "data": {
        "type": "rating-evaluation",
        "attributes": {
          "division_id": "01m66m7qy4b08y7p6jby7a4aqg",
          "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
          "operation_code": "rate_quote",
          "timezone": "Europe/Helsinki",
          "context": {
            "scope": {
              "division_id": "01m66m7qy4b08y7p6jby7a4aqg"
            },
            "request": {
              "request_id": "scenario-pct-stacking-definition-percentage-stacking-fixture",
              "contract_version": "pct-stacking-demo-definition-percentage-stacking-fixture",
              "operation_code": "rate_quote",
              "timezone": "Europe/Helsinki",
              "execution_mode": "live"
            },
            "channel": {
              "channel_code": "api"
            },
            "customer": {
              "customer_group_codes": [
                "standard"
              ]
            }
          },
          "shipment": {
            "origin": {
              "country_code": "FI",
              "postal_code": "00100"
            },
            "destination": {
              "country_code": "FI",
              "postal_code": "70800"
            },
            "packages": [
              {
                "id": "pkg_1",
                "type": "parcel",
                "weight": {
                  "value": "1",
                  "unit": "kg"
                },
                "dimensions": {
                  "length": {
                    "value": "40",
                    "unit": "cm"
                  },
                  "width": {
                    "value": "30",
                    "unit": "cm"
                  },
                  "height": {
                    "value": "20",
                    "unit": "cm"
                  }
                }
              }
            ],
            "items": [
              {
                "id": "item-1",
                "description": "Parcel goods",
                "origin_country": "FI",
                "quantity": {
                  "value": 1,
                  "unit": "EACH"
                },
                "unit_value": {
                  "amount": "100.00",
                  "currency_code": "EUR"
                }
              }
            ],
            "legs": [
              {
                "id": "leg_1",
                "sequence": 1,
                "transport_mode": "road",
                "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                "origin": {
                  "country_code": "FI",
                  "postal_code": "00100"
                },
                "destination": {
                  "country_code": "FI",
                  "postal_code": "70800"
                },
                "package_ids": [
                  "pkg_1"
                ],
                "parties": {
                  "payor": {
                    "type": "organization"
                  },
                  "delivery_party": {
                    "facility_type": "residential_apartment"
                  }
                }
              }
            ],
            "parties": {
              "shipper": {
                "type": "business",
                "facility_type": "commercial_office"
              },
              "consignor": {
                "type": "business",
                "facility_type": "warehouse",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "consignee": {
                "type": "individual",
                "facility_type": "residential_apartment",
                "country_code": "FI",
                "address": {
                  "country_code": "FI"
                }
              },
              "payor": {
                "type": "organization",
                "facility_type": "depot",
                "country_code": "FI"
              },
              "delivery_party": {
                "type": "individual",
                "facility_type": "residential_apartment"
              }
            }
          }
        }
      }
    },
    "response": {
      "data": {
        "type": "rating-evaluation",
        "id": "01M66M7RHMQN164SVJ6R9S2RQ5",
        "attributes": {
          "operation": "EvaluateShippingOptions",
          "operation_code": "rate_quote",
          "shipping_options": [
            {
              "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
              "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
              "canonical_service_key": "platform:carrier-pct-stacking-definition-percentage-stacking-fixture.svc-pct-stacking-definition-percentage-stacking-fixture",
              "presentation_identity_key": "parcel.pct_stacking",
              "service_names": [],
              "service_name": "",
              "sustainability_score": null,
              "capability_options": [],
              "price_components": [
                {
                  "kind": "base_rate",
                  "code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "12.50",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7r5jrmwc0me98zrrdvwb",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_tariff_grid",
                    "expression_tree": null,
                    "artifact_type": "pricing_tariff_grid",
                    "artifact_id": "01m66m7r3b1v90yw227znkmyq0",
                    "artifact_code": "pct-stacking-base-grid-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7r3dcz15jf2ydr7gebp0",
                    "artifact_row_code": "pct-stacking-base-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "offer_codes": [],
                    "resolved_zone_code": "A"
                  },
                  "_group_code": "base_rate"
                },
                {
                  "kind": "fuel",
                  "code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                  "scope": "shipment",
                  "scope_reference": null,
                  "amount": {
                    "amount": "1.25",
                    "currency_code": "EUR"
                  },
                  "calculation_basis": {
                    "ruleset_id": "01m66m7r5jrmwc0me98zrrdvwb",
                    "ruleset_version": 1,
                    "rule_id": null,
                    "rule_version": null,
                    "logic": "pricing_profile",
                    "expression_tree": null,
                    "artifact_type": "pricing_surcharge_table",
                    "artifact_id": "01m66m7r2x9cj1vhr6vv8tpjgf",
                    "artifact_code": "pct-stacking-fuel-surcharge-definition-percentage-stacking-fixture",
                    "artifact_version": 1,
                    "artifact_row_id": "01m66m7r2z7qccqwy6377pcrev",
                    "artifact_row_code": "pct-stacking-fuel-row-definition-percentage-stacking-fixture",
                    "row_sequence": 1,
                    "amount_mode": "percentage",
                    "tax_treatment": null,
                    "percentage_basis_group_codes": [
                      "base_rate"
                    ],
                    "percentage_excluded_group_codes": [],
                    "percentage_basis_amount": 12.5,
                    "percentage_basis_context": null,
                    "minimum_amount": null,
                    "minimum_currency_code": null,
                    "maximum_amount": null
                  },
                  "_group_code": "fuel"
                }
              ],
              "total_price": {
                "amount": "13.75",
                "currency_code": "EUR"
              },
              "transit": {
                "min_days": 0,
                "max_days": 0,
                "promised_date": null,
                "confidence": 0
              },
              "eligibility_trace": [],
              "legs": [
                {
                  "id": "leg_1",
                  "sequence": 1,
                  "transport_mode": "road",
                  "carrier_id": "carrier-pct-stacking-definition-percentage-stacking-fixture",
                  "service_id": "svc-pct-stacking-definition-percentage-stacking-fixture",
                  "origin": {
                    "country_code": "FI",
                    "postal_code": "00100"
                  },
                  "destination": {
                    "country_code": "FI",
                    "postal_code": "70800"
                  },
                  "parties": {
                    "payor": {
                      "type": "organization"
                    },
                    "delivery_party": {
                      "facility_type": "residential_apartment"
                    }
                  },
                  "package_ids": [
                    "pkg_1"
                  ],
                  "metrics": {
                    "derived": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    },
                    "effective": {
                      "package_count": 1,
                      "pallet_count": 0,
                      "total_loading_meters": 0,
                      "total_weight_canonical": 1,
                      "total_chargeable_weight_canonical": 1,
                      "total_freight_weight_canonical": 1,
                      "total_volume_canonical": 0.024,
                      "max_package_weight_canonical": 1,
                      "max_package_chargeable_weight_canonical": 1,
                      "max_package_volume_canonical": 0.024,
                      "max_package_width_canonical": 30,
                      "max_package_height_canonical": 20,
                      "max_package_linear_size_canonical": 90,
                      "max_longest_side_canonical": 40,
                      "max_package_length_plus_girth_canonical": 140
                    }
                  },
                  "price_components": [],
                  "total_price": {
                    "amount": "0.00",
                    "currency_code": "EUR"
                  },
                  "eligible": null
                }
              ]
            }
          ],
          "diagnostics": []
        }
      },
      "jsonapi": {
        "version": "1.1"
      },
      "meta": {
        "transport": {
          "content_type": "application/vnd.api+json"
        },
        "endpoint": {
          "endpoint_id": "api-rating-evaluate"
        },
        "contract": {
          "contract_version": "2026-03-22",
          "request_contract_version": "2026-03-22",
          "response_contract_version": "2026-03-22"
        },
        "decision": {
          "decision_id": "01M66M7RHMQN164SVJ6R9S2RQ5"
        },
        "idempotency": {
          "key": "idem-unknown_group-542216bd01c9a89b1b4e",
          "status": "created",
          "replayed": false,
          "original_decision_id": null,
          "original_outcome_reference": null,
          "request_hash_algorithm": "sha256"
        },
        "decision_instant_at": "2026-10-30T14:43:18+00:00",
        "decision_instant_source": "admission_default"
      }
    }
  }
]
