{
  "item": {
    "item_id": "RI-8853645",
    "period": "2026-08",
    "booking_id": "RS-8853645",
    "duty_id": "D-513645",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "O. Fitzgerald",
    "station": "BHX",
    "property_id": "P-113",
    "hotel": "Novotel Birmingham Airport",
    "check_in": "2026-08-20",
    "check_out": "2026-08-23",
    "nights": 3,
    "booking_amount": 859.87,
    "card_auth": 884.87,
    "card_settled": 891.25,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "folio_not_received",
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-23T02:10:00Z",
    "resolved_at": "2026-09-03T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-22",
    "age_days": 9,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-3326",
      "item_id": "RI-8853645",
      "booking_id": "RS-8853645",
      "period": "2026-08",
      "vcc_ref": "VCC-8853645",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-18T09:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853645",
      "source_ref": "feed-2026-08-3326"
    },
    {
      "event_id": "CE-3327",
      "item_id": "RI-8853645",
      "booking_id": "RS-8853645",
      "period": "2026-08",
      "vcc_ref": "VCC-8853645",
      "event_type": "auth",
      "amount": 884.87,
      "currency": "EUR",
      "occurred_at": "2026-08-20T14:20:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853645",
      "source_ref": "feed-2026-08-3327"
    },
    {
      "event_id": "CE-3328",
      "item_id": "RI-8853645",
      "booking_id": "RS-8853645",
      "period": "2026-08",
      "vcc_ref": "VCC-8853645",
      "event_type": "capture",
      "amount": 891.25,
      "currency": "EUR",
      "occurred_at": "2026-08-23T08:05:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853645",
      "source_ref": "feed-2026-08-3328"
    },
    {
      "event_id": "CE-3329",
      "item_id": "RI-8853645",
      "booking_id": "RS-8853645",
      "period": "2026-08",
      "vcc_ref": "VCC-8853645",
      "event_type": "settle",
      "amount": 891.25,
      "currency": "EUR",
      "occurred_at": "2026-08-25T03:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853645",
      "source_ref": "feed-2026-08-3329"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8853645-1",
      "item_id": "RI-8853645",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-23T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853645-2",
      "item_id": "RI-8853645",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-25T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "folio not received"
    },
    {
      "event_id": "RE-RI-8853645-3",
      "item_id": "RI-8853645",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-24T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853645-2203",
      "item_id": "RI-8853645",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-20",
      "entry_type": "pending",
      "amount": 884.87,
      "balance_effect": -884.87,
      "description": "Authorization held — Novotel Birmingham Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853645-2204",
      "item_id": "RI-8853645",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-25",
      "entry_type": "posted",
      "amount": 891.25,
      "balance_effect": 0,
      "description": "Charge posted — Novotel Birmingham Airport",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-20",
      "room_net": 267.05,
      "vat_amount": 53.41,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 320.46,
      "hotel": "Novotel Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853645",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-21",
      "room_net": 233.88,
      "vat_amount": 46.77,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 280.65,
      "hotel": "Novotel Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853645",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-22",
      "room_net": 215.63,
      "vat_amount": 43.13,
      "city_tax": 0,
      "ancillaries": 31.38,
      "rate_paid": 258.76,
      "hotel": "Novotel Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853645",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853645",
    "layover_id": "L-513646",
    "duty_id": "D-513645",
    "crew_id": "IRE-1065",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "BHX",
    "property_id": "P-113",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-19T01:15:00Z",
    "check_in": "2026-08-20",
    "check_out": "2026-08-23",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853645",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 907.22
  },
  "duty": {
    "duty_id": "D-513645",
    "crew_id": "IRE-1065",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513645",
    "duty_type": "overnight",
    "flight_no": "ABR782",
    "dep_station": "DUB",
    "arr_station": "BHX",
    "duty_start_utc": "2026-08-19T12:15:00Z",
    "duty_end_utc": "2026-08-20T00:16:00Z",
    "duty_hours": 9.69,
    "block_hours": 7.81,
    "source_system": "aims",
    "published_at": "2026-08-10T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513646",
    "duty_in": "D-513645",
    "duty_out": "D-513645R",
    "crew_id": "IRE-1065",
    "entity_id": "ASL Airlines Ireland",
    "station": "BHX",
    "rest_starts_utc": "2026-08-20T00:16:00Z",
    "rest_ends_utc": "2026-08-23T08:45:00Z",
    "rest_hours_available": 59.97,
    "sleep_opportunity_hours": 57.57,
    "transfer_in_minutes": 24,
    "transfer_out_minutes": 25,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13646",
    "period": "2026-08",
    "booking_id": "RS-8853645",
    "item_id": "RI-8853645",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-19T01:12:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "BHX",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 37.04,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7099",
      "eval_id": "PE-13646",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "1 days",
      "limit_value": "48 hours",
      "cost_impact": 37.04,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853645",
    "booking_id": "RS-8853645",
    "item_id": "RI-8853645",
    "period": "2026-08",
    "issued_at": "2026-08-19T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 932.22,
    "currency": "EUR",
    "valid_from": "2026-08-20",
    "valid_to": "2026-08-30",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Novotel Birmingham Airport",
    "auth_count": 3,
    "settled_amount": 891.25,
    "status": "settled",
    "closed_at": "2026-08-25T03:00:00Z"
  },
  "folioDoc": null
}