{
  "item": {
    "item_id": "RI-8853603",
    "period": "2026-08",
    "booking_id": "RS-8853603",
    "duty_id": "D-513603",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "T. Fitzgerald",
    "station": "EMA",
    "property_id": "P-104",
    "hotel": "Hilton East Midlands",
    "check_in": "2026-08-13",
    "check_out": "2026-08-15",
    "nights": 2,
    "booking_amount": 590.52,
    "card_auth": 615.52,
    "card_settled": null,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "card_never_charged",
    "state": "resolved",
    "resolution": "charged_to_crew",
    "opened_at": "2026-08-15T02:10:00Z",
    "resolved_at": "2026-08-17T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-14",
    "age_days": 21,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-3159",
      "item_id": "RI-8853603",
      "booking_id": "RS-8853603",
      "period": "2026-08",
      "vcc_ref": "VCC-8853603",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-11T09:00:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853603",
      "source_ref": "feed-2026-08-3159"
    },
    {
      "event_id": "CE-3160",
      "item_id": "RI-8853603",
      "booking_id": "RS-8853603",
      "period": "2026-08",
      "vcc_ref": "VCC-8853603",
      "event_type": "auth",
      "amount": 615.52,
      "currency": "EUR",
      "occurred_at": "2026-08-13T14:20:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853603",
      "source_ref": "feed-2026-08-3160"
    },
    {
      "event_id": "CE-3161",
      "item_id": "RI-8853603",
      "booking_id": "RS-8853603",
      "period": "2026-08",
      "vcc_ref": "VCC-8853603",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-18T00:00:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853603",
      "source_ref": "feed-2026-08-3161"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8853603-1",
      "item_id": "RI-8853603",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-15T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853603-2",
      "item_id": "RI-8853603",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-17T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "card never charged"
    },
    {
      "event_id": "RE-RI-8853603-3",
      "item_id": "RI-8853603",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-21T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: charged_to_crew"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853603-2094",
      "item_id": "RI-8853603",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-13",
      "entry_type": "pending",
      "amount": 615.52,
      "balance_effect": -615.52,
      "description": "Authorization held — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853603-2095",
      "item_id": "RI-8853603",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-18",
      "entry_type": "voided",
      "amount": 615.52,
      "balance_effect": 615.52,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-13",
      "room_net": 246.05,
      "vat_amount": 49.21,
      "city_tax": 0,
      "ancillaries": 16.77,
      "rate_paid": 295.26,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853603",
      "checkin_time": "14:00",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-14",
      "room_net": 246.05,
      "vat_amount": 49.21,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 295.26,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853603",
      "checkin_time": "14:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853603",
    "layover_id": "L-513604",
    "duty_id": "D-513603",
    "crew_id": "IRE-1053",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "EMA",
    "property_id": "P-104",
    "vendor_id": null,
    "contract_id": "C-104",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-13T02:00:00Z",
    "check_in": "2026-08-13",
    "check_out": "2026-08-15",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-853603",
    "cancellation_deadline": "2026-08-12T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 623.26
  },
  "duty": {
    "duty_id": "D-513603",
    "crew_id": "IRE-1053",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513603",
    "duty_type": "overnight",
    "flight_no": "ABR594",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-12T18:05:00Z",
    "duty_end_utc": "2026-08-13T13:10:00Z",
    "duty_hours": 8.94,
    "block_hours": 3.6,
    "source_system": "aims",
    "published_at": "2026-08-02T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513604",
    "duty_in": "D-513603",
    "duty_out": "D-513603R",
    "crew_id": "IRE-1053",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-13T13:10:00Z",
    "rest_ends_utc": "2026-08-15T11:20:00Z",
    "rest_hours_available": 35.25,
    "sleep_opportunity_hours": 33.43,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 17,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13604",
    "period": "2026-08",
    "booking_id": "RS-8853603",
    "item_id": "RI-8853603",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-13T01:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "EMA",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 24.75,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7082",
      "eval_id": "PE-13604",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "0.5 days",
      "limit_value": "48 hours",
      "cost_impact": 24.75,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [
    {
      "change_id": "BC-1621",
      "booking_id": "RS-8853603",
      "period": "2026-08",
      "occurred_at": "2026-08-13T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "aims",
      "trigger": "crew_swap",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 101.18,
      "cutoff_hours": 18,
      "cost": 12.94,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8853603",
    "booking_id": "RS-8853603",
    "item_id": "RI-8853603",
    "period": "2026-08",
    "issued_at": "2026-08-13T02:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 648.26,
    "currency": "EUR",
    "valid_from": "2026-08-13",
    "valid_to": "2026-08-22",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hilton East Midlands",
    "auth_count": 2,
    "settled_amount": 607.29,
    "status": "authorised",
    "closed_at": "2026-08-17T03:00:00Z"
  },
  "folioDoc": null
}