{
  "item": {
    "item_id": "RI-8853715",
    "period": "2026-08",
    "booking_id": "RS-8853715",
    "duty_id": "D-513715",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "T. Quinn",
    "station": "EMA",
    "property_id": "P-105",
    "hotel": "Holiday Inn Castle Donington",
    "check_in": "2026-08-13",
    "check_out": "2026-08-17",
    "nights": 4,
    "booking_amount": 1180.98,
    "card_auth": 1205.98,
    "card_settled": 1274,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "folio_not_received",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-17T02:10:00Z",
    "resolved_at": "2026-08-23T11:00:00Z",
    "final_at": "2026-09-16T00:01:00Z",
    "final_due_at": "2026-09-16",
    "age_days": 9,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-3606",
      "item_id": "RI-8853715",
      "booking_id": "RS-8853715",
      "period": "2026-08",
      "vcc_ref": "VCC-8853715",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-11T09:00:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853715",
      "source_ref": "feed-2026-08-3606"
    },
    {
      "event_id": "CE-3607",
      "item_id": "RI-8853715",
      "booking_id": "RS-8853715",
      "period": "2026-08",
      "vcc_ref": "VCC-8853715",
      "event_type": "auth",
      "amount": 1205.98,
      "currency": "EUR",
      "occurred_at": "2026-08-13T14:20:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853715",
      "source_ref": "feed-2026-08-3607"
    },
    {
      "event_id": "CE-3608",
      "item_id": "RI-8853715",
      "booking_id": "RS-8853715",
      "period": "2026-08",
      "vcc_ref": "VCC-8853715",
      "event_type": "capture",
      "amount": 1274,
      "currency": "EUR",
      "occurred_at": "2026-08-17T08:05:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853715",
      "source_ref": "feed-2026-08-3608"
    },
    {
      "event_id": "CE-3609",
      "item_id": "RI-8853715",
      "booking_id": "RS-8853715",
      "period": "2026-08",
      "vcc_ref": "VCC-8853715",
      "event_type": "settle",
      "amount": 1274,
      "currency": "EUR",
      "occurred_at": "2026-08-19T03:00:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853715",
      "source_ref": "feed-2026-08-3609"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8853715-1",
      "item_id": "RI-8853715",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-17T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853715-2",
      "item_id": "RI-8853715",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-19T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "folio not received"
    },
    {
      "event_id": "RE-RI-8853715-3",
      "item_id": "RI-8853715",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-27T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8853715-4",
      "item_id": "RI-8853715",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-16T00:01:00Z",
      "event": "finalised",
      "actor": "close-engine",
      "actor_type": "rule",
      "note": "30 days from last known checkout elapsed; entry immutable"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853715-2392",
      "item_id": "RI-8853715",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-13",
      "entry_type": "pending",
      "amount": 1205.98,
      "balance_effect": -1205.98,
      "description": "Authorization held — Holiday Inn Castle Donington",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853715-2393",
      "item_id": "RI-8853715",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-19",
      "entry_type": "posted",
      "amount": 1274,
      "balance_effect": 0,
      "description": "Charge posted — Holiday Inn Castle Donington",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-13",
      "room_net": 267.2,
      "vat_amount": 53.44,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 320.64,
      "hotel": "Holiday Inn Castle Donington",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853715",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-14",
      "room_net": 249.08,
      "vat_amount": 49.81,
      "city_tax": 0,
      "ancillaries": 32.49,
      "rate_paid": 298.89,
      "hotel": "Holiday Inn Castle Donington",
      "duty_reason": "standby",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853715",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-15",
      "room_net": 233.01,
      "vat_amount": 46.6,
      "city_tax": 0,
      "ancillaries": 32.54,
      "rate_paid": 279.61,
      "hotel": "Holiday Inn Castle Donington",
      "duty_reason": "held",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853715",
      "checkin_time": null,
      "checkout_time": null
    },
    {
      "night": "2026-08-16",
      "room_net": 234.87,
      "vat_amount": 46.97,
      "city_tax": 0,
      "ancillaries": 27.99,
      "rate_paid": 281.84,
      "hotel": "Holiday Inn Castle Donington",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853715",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853715",
    "layover_id": "L-513716",
    "duty_id": "D-513715",
    "crew_id": "IRE-1009",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "EMA",
    "property_id": "P-105",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T15:00:00Z",
    "check_in": "2026-08-13",
    "check_out": "2026-08-17",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-853715",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1289.97
  },
  "duty": {
    "duty_id": "D-513715",
    "crew_id": "IRE-1009",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513715",
    "duty_type": "overnight",
    "flight_no": "ABR621",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-12T15:30:00Z",
    "duty_end_utc": "2026-08-13T14:14:00Z",
    "duty_hours": 11.06,
    "block_hours": 5.54,
    "source_system": "aims",
    "published_at": "2026-08-07T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513716",
    "duty_in": "D-513715",
    "duty_out": "D-513715R",
    "crew_id": "IRE-1009",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-13T14:14:00Z",
    "rest_ends_utc": "2026-08-17T11:20:00Z",
    "rest_hours_available": 82.05,
    "sleep_opportunity_hours": 80.39,
    "transfer_in_minutes": 11,
    "transfer_out_minutes": 12,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13716",
    "period": "2026-08",
    "booking_id": "RS-8853715",
    "item_id": "RI-8853715",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T14:57:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "EMA",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 1
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853715",
    "booking_id": "RS-8853715",
    "item_id": "RI-8853715",
    "period": "2026-08",
    "issued_at": "2026-08-11T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1314.97,
    "currency": "EUR",
    "valid_from": "2026-08-13",
    "valid_to": "2026-08-24",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Holiday Inn Castle Donington",
    "auth_count": 4,
    "settled_amount": 1274,
    "status": "authorised",
    "closed_at": "2026-08-19T03:00:00Z"
  },
  "folioDoc": null
}