{
  "item": {
    "item_id": "RI-8854987",
    "period": "2026-08",
    "booking_id": "RS-8854987",
    "duty_id": "D-514987",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "V. Girard",
    "station": "LYS",
    "property_id": "P-130",
    "hotel": "Comfort Hotel Lyon",
    "check_in": "2026-08-01",
    "check_out": "2026-08-02",
    "nights": 1,
    "booking_amount": 251.88,
    "card_auth": 276.88,
    "card_settled": null,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "card_never_charged",
    "state": "open",
    "resolution": null,
    "opened_at": "2026-08-02T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-01",
    "age_days": 29,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-8694",
      "item_id": "RI-8854987",
      "booking_id": "RS-8854987",
      "period": "2026-08",
      "vcc_ref": "VCC-8854987",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-07-30T09:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854987",
      "source_ref": "feed-2026-08-8694"
    },
    {
      "event_id": "CE-8695",
      "item_id": "RI-8854987",
      "booking_id": "RS-8854987",
      "period": "2026-08",
      "vcc_ref": "VCC-8854987",
      "event_type": "auth",
      "amount": 276.88,
      "currency": "EUR",
      "occurred_at": "2026-08-01T14:20:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854987",
      "source_ref": "feed-2026-08-8695"
    },
    {
      "event_id": "CE-8696",
      "item_id": "RI-8854987",
      "booking_id": "RS-8854987",
      "period": "2026-08",
      "vcc_ref": "VCC-8854987",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-05T00:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854987",
      "source_ref": "feed-2026-08-8696"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8854987-1",
      "item_id": "RI-8854987",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-02T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854987-2",
      "item_id": "RI-8854987",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-04T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "card never charged"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854987-5726",
      "item_id": "RI-8854987",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-01",
      "entry_type": "pending",
      "amount": 276.88,
      "balance_effect": -276.88,
      "description": "Authorization held — Comfort Hotel Lyon",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854987-5727",
      "item_id": "RI-8854987",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-05",
      "entry_type": "voided",
      "amount": 276.88,
      "balance_effect": 276.88,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-01",
      "room_net": 225.98,
      "vat_amount": 22.6,
      "city_tax": 3.3,
      "ancillaries": 0,
      "rate_paid": 251.88,
      "hotel": "Comfort Hotel Lyon",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854987",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854987",
    "layover_id": "L-514988",
    "duty_id": "D-514987",
    "crew_id": "FRA-1015",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "LYS",
    "property_id": "P-130",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "travel_desk",
    "requested_by": "U-102",
    "created_at": "2026-07-23T14:00:00Z",
    "check_in": "2026-08-01",
    "check_out": "2026-08-02",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-854987",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 267.85
  },
  "duty": {
    "duty_id": "D-514987",
    "crew_id": "FRA-1015",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514987",
    "duty_type": "overnight",
    "flight_no": "FPO376",
    "dep_station": "MRS",
    "arr_station": "LYS",
    "duty_start_utc": "2026-07-31T18:05:00Z",
    "duty_end_utc": "2026-08-01T13:15:00Z",
    "duty_hours": 7.51,
    "block_hours": 3.74,
    "source_system": "aims",
    "published_at": "2026-07-27T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514988",
    "duty_in": "D-514987",
    "duty_out": "D-514987R",
    "crew_id": "FRA-1015",
    "entity_id": "ASL Airlines France",
    "station": "LYS",
    "rest_starts_utc": "2026-08-01T13:15:00Z",
    "rest_ends_utc": "2026-08-02T08:45:00Z",
    "rest_hours_available": 14.05,
    "sleep_opportunity_hours": 12.21,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 9,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14988",
    "period": "2026-08",
    "booking_id": "RS-8854987",
    "item_id": "RI-8854987",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-23T13:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "LYS",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 90.89,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3080",
    "eval_id": "PE-14988",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Rank grade requested by fleet office",
    "approved_at": "2026-07-23T13:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7738",
      "eval_id": "PE-14988",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 90.89,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854987",
    "booking_id": "RS-8854987",
    "item_id": "RI-8854987",
    "period": "2026-08",
    "issued_at": "2026-07-23T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 292.85,
    "currency": "EUR",
    "valid_from": "2026-08-01",
    "valid_to": "2026-08-09",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Comfort Hotel Lyon",
    "auth_count": 1,
    "settled_amount": 251.88,
    "status": "settled",
    "closed_at": "2026-08-04T03:00:00Z"
  },
  "folioDoc": null
}