{
  "item": {
    "item_id": "RI-8853332",
    "period": "2026-08",
    "booking_id": "RS-8853332",
    "duty_id": "D-513332",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "B. Mulligan",
    "station": "DUB",
    "property_id": "P-101",
    "hotel": "Clayton Hotel Dublin Airport",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "nights": 2,
    "booking_amount": 559.02,
    "card_auth": 584.02,
    "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-12T02:10:00Z",
    "resolved_at": "2026-08-22T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-11",
    "age_days": 24,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-2073",
      "item_id": "RI-8853332",
      "booking_id": "RS-8853332",
      "period": "2026-08",
      "vcc_ref": "VCC-8853332",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-08T09:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853332",
      "source_ref": "feed-2026-08-2073"
    },
    {
      "event_id": "CE-2074",
      "item_id": "RI-8853332",
      "booking_id": "RS-8853332",
      "period": "2026-08",
      "vcc_ref": "VCC-8853332",
      "event_type": "auth",
      "amount": 584.02,
      "currency": "EUR",
      "occurred_at": "2026-08-10T14:20:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853332",
      "source_ref": "feed-2026-08-2074"
    },
    {
      "event_id": "CE-2075",
      "item_id": "RI-8853332",
      "booking_id": "RS-8853332",
      "period": "2026-08",
      "vcc_ref": "VCC-8853332",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-15T00:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853332",
      "source_ref": "feed-2026-08-2075"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8853332-1",
      "item_id": "RI-8853332",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-12T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853332-2",
      "item_id": "RI-8853332",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-14T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "card never charged"
    },
    {
      "event_id": "RE-RI-8853332-3",
      "item_id": "RI-8853332",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-17T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: charged_to_crew"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853332-1369",
      "item_id": "RI-8853332",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-10",
      "entry_type": "pending",
      "amount": 584.02,
      "balance_effect": -584.02,
      "description": "Authorization held — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853332-1370",
      "item_id": "RI-8853332",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-15",
      "entry_type": "voided",
      "amount": 584.02,
      "balance_effect": 584.02,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-10",
      "room_net": 239.63,
      "vat_amount": 32.35,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 271.98,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853332",
      "checkin_time": "05:40",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-11",
      "room_net": 252.9,
      "vat_amount": 34.14,
      "city_tax": 0,
      "ancillaries": 21.94,
      "rate_paid": 287.04,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853332",
      "checkin_time": "05:40",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853332",
    "layover_id": "L-513333",
    "duty_id": "D-513332",
    "crew_id": "IRE-S214",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "DUB",
    "property_id": "P-101",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "staff_portal",
    "requested_by": "U-102",
    "created_at": "2026-08-09T05:40:00Z",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853332",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 596.93
  },
  "duty": {
    "duty_id": "D-513332",
    "crew_id": "IRE-S214",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513332",
    "duty_type": "overnight",
    "flight_no": "ABR696",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-09T09:40:00Z",
    "duty_end_utc": "2026-08-10T04:50:00Z",
    "duty_hours": 8.37,
    "block_hours": 5.73,
    "source_system": "aims",
    "published_at": "2026-07-27T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513333",
    "duty_in": "D-513332",
    "duty_out": "D-513332R",
    "crew_id": "IRE-S214",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-10T04:50:00Z",
    "rest_ends_utc": "2026-08-12T08:45:00Z",
    "rest_hours_available": 39.38,
    "sleep_opportunity_hours": 37.44,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 15,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13333",
    "period": "2026-08",
    "booking_id": "RS-8853332",
    "item_id": "RI-8853332",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-09T05:37:00Z",
    "channel": "staff_portal",
    "traveller_type": "staff",
    "entity": "ASL Airlines Ireland",
    "station": "DUB",
    "outcome": "hard_refusal",
    "breach_count": 3,
    "cost_impact": 559.02,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-D8266",
      "eval_id": "PE-13333",
      "period": "2026-08",
      "rule_id": "R-EASA-ACC",
      "layer": "regulatory",
      "severity": "block",
      "observed": "Audit AUD-1 (2026-08-06): 50.49 dB measured at night",
      "limit_value": "35 dB — quiet, dark, temperature-controlled",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Accommodation standard",
      "authority": "EASA",
      "reference": "CS FTL.1.235"
    },
    {
      "breach_id": "PB-D8267",
      "eval_id": "PE-13333",
      "period": "2026-08",
      "rule_id": "R-RECEPTION",
      "layer": "regulatory",
      "severity": "approve",
      "observed": "Arrival 05:40, reception unstaffed",
      "limit_value": "staffed 24h",
      "cost_impact": 0,
      "resolved": "approved",
      "name": "24-hour reception",
      "authority": "ASL",
      "reference": "ASL OM-A 7.5"
    },
    {
      "breach_id": "PB-D8268",
      "eval_id": "PE-13333",
      "period": "2026-08",
      "rule_id": "R-ENTITLE",
      "layer": "entitlement",
      "severity": "block",
      "observed": "Overnight at home base DUB",
      "limit_value": "rest away from base only",
      "cost_impact": 559.02,
      "resolved": "refused",
      "name": "Duty entitlement",
      "authority": "ASL",
      "reference": "ASL OM-A 7.1"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853332",
    "booking_id": "RS-8853332",
    "item_id": "RI-8853332",
    "period": "2026-08",
    "issued_at": "2026-08-09T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 621.93,
    "currency": "EUR",
    "valid_from": "2026-08-10",
    "valid_to": "2026-08-19",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Clayton Hotel Dublin Airport",
    "auth_count": 2,
    "settled_amount": 308.98,
    "status": "settled",
    "closed_at": "2026-08-14T03:00:00Z"
  },
  "folioDoc": null
}