{
  "item": {
    "item_id": "RI-8854730",
    "period": "2026-08",
    "booking_id": "RS-8854730",
    "duty_id": "D-514730",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "J. Delacroix",
    "station": "CDG",
    "property_id": "P-126",
    "hotel": "Novotel Paris CDG",
    "check_in": "2026-08-17",
    "check_out": "2026-08-18",
    "nights": 1,
    "booking_amount": 296.64,
    "card_auth": 321.64,
    "card_settled": 716.58,
    "folio_amount": 716.58,
    "variance": 390.9,
    "variance_pct": 131.78,
    "variance_category": "rate_change",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "open",
    "resolution": null,
    "opened_at": "2026-08-18T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-17",
    "age_days": 35,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-7664",
      "item_id": "RI-8854730",
      "booking_id": "RS-8854730",
      "period": "2026-08",
      "vcc_ref": "VCC-8854730",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-15T09:00:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854730",
      "source_ref": "feed-2026-08-7664"
    },
    {
      "event_id": "CE-7665",
      "item_id": "RI-8854730",
      "booking_id": "RS-8854730",
      "period": "2026-08",
      "vcc_ref": "VCC-8854730",
      "event_type": "auth",
      "amount": 321.64,
      "currency": "EUR",
      "occurred_at": "2026-08-17T14:20:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854730",
      "source_ref": "feed-2026-08-7665"
    },
    {
      "event_id": "CE-7666",
      "item_id": "RI-8854730",
      "booking_id": "RS-8854730",
      "period": "2026-08",
      "vcc_ref": "VCC-8854730",
      "event_type": "capture",
      "amount": 716.58,
      "currency": "EUR",
      "occurred_at": "2026-08-18T08:05:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854730",
      "source_ref": "feed-2026-08-7666"
    },
    {
      "event_id": "CE-7667",
      "item_id": "RI-8854730",
      "booking_id": "RS-8854730",
      "period": "2026-08",
      "vcc_ref": "VCC-8854730",
      "event_type": "settle",
      "amount": 716.58,
      "currency": "EUR",
      "occurred_at": "2026-08-20T03:00:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854730",
      "source_ref": "feed-2026-08-7667"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854730-c0",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8854730",
      "folio_id": "folio-8854730"
    },
    {
      "line_id": "FL-RI-8854730-a0",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 29.04,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8854730",
      "folio_id": "folio-8854730"
    },
    {
      "line_id": "FL-RI-8854730-r0",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 264.95,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8854730",
      "folio_id": "folio-8854730"
    },
    {
      "line_id": "FL-RI-8854730-v0",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.49,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8854730",
      "folio_id": "folio-8854730"
    },
    {
      "line_id": "FL-RI-8854730-x",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "adjustment",
      "description": "Rate adjustment",
      "amount": 390.9,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8854730",
      "folio_id": "folio-8854730"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854730-1",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-18T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854730-2",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-20T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854730-3",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-20T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 390.90 EUR"
    },
    {
      "event_id": "RE-RI-8854730-4",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-21T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as rate change"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854730-5058",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-17",
      "entry_type": "pending",
      "amount": 321.64,
      "balance_effect": -321.64,
      "description": "Authorization held — Novotel Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854730-5059",
      "item_id": "RI-8854730",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-20",
      "entry_type": "posted",
      "amount": 716.58,
      "balance_effect": 0,
      "description": "Charge posted — Novotel Paris CDG",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-17",
      "room_net": 264.95,
      "vat_amount": 26.49,
      "city_tax": 5.2,
      "ancillaries": 29.04,
      "rate_paid": 296.64,
      "hotel": "Novotel Paris CDG",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854730",
      "checkin_time": "15:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8854730",
    "layover_id": "L-514731",
    "duty_id": "D-514730",
    "crew_id": "FRA-1013",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "CDG",
    "property_id": "P-126",
    "vendor_id": null,
    "contract_id": "C-126",
    "revenue_model": "routespring_contract",
    "channel": "travel_desk",
    "requested_by": "U-101",
    "created_at": "2026-08-16T15:00:00Z",
    "check_in": "2026-08-17",
    "check_out": "2026-08-18",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-854730",
    "cancellation_deadline": "2026-08-15T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 341.65
  },
  "duty": {
    "duty_id": "D-514730",
    "crew_id": "FRA-1013",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514730",
    "duty_type": "irops",
    "flight_no": "FPO177",
    "dep_station": "LYS",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-16T12:15:00Z",
    "duty_end_utc": "2026-08-17T14:11:00Z",
    "duty_hours": 10.65,
    "block_hours": 7.74,
    "source_system": "aims",
    "published_at": "2026-08-03T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514731",
    "duty_in": "D-514730",
    "duty_out": "D-514730R",
    "crew_id": "FRA-1013",
    "entity_id": "ASL Airlines France",
    "station": "CDG",
    "rest_starts_utc": "2026-08-17T14:11:00Z",
    "rest_ends_utc": "2026-08-18T08:45:00Z",
    "rest_hours_available": 18.3,
    "sleep_opportunity_hours": 16.28,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 14,
    "nights": 1,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14731",
    "period": "2026-08",
    "booking_id": "RS-8854730",
    "item_id": "RI-8854730",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-16T14:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "CDG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 33.79,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7636",
      "eval_id": "PE-14731",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "1 days",
      "limit_value": "48 hours",
      "cost_impact": 33.79,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854730",
    "booking_id": "RS-8854730",
    "item_id": "RI-8854730",
    "period": "2026-08",
    "issued_at": "2026-08-16T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 366.65,
    "currency": "EUR",
    "valid_from": "2026-08-17",
    "valid_to": "2026-08-25",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Novotel Paris CDG",
    "auth_count": 1,
    "settled_amount": 325.68,
    "status": "settled",
    "closed_at": "2026-08-20T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854730",
    "booking_id": "RS-8854730",
    "item_id": "RI-8854730",
    "property_id": "P-126",
    "period": "2026-08",
    "folio_number": "CDG260817-7068",
    "guest_name": "J. Delacroix",
    "check_in": "2026-08-17",
    "check_out": "2026-08-18",
    "issued_at": "2026-08-18T09:30:00Z",
    "received_at": "2026-08-20T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 716.58,
    "line_count": 5,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}