{
  "item": {
    "item_id": "RI-8853063",
    "period": "2026-08",
    "booking_id": "RS-8853063",
    "duty_id": "D-513063",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "M. O Conaill",
    "station": "LGG",
    "property_id": "P-112",
    "hotel": "Husa de la Couronne",
    "check_in": "2026-08-28",
    "check_out": "2026-08-31",
    "nights": 3,
    "booking_amount": 874.78,
    "card_auth": 899.78,
    "card_settled": null,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "card_never_charged",
    "state": "final",
    "resolution": "written_off",
    "opened_at": "2026-08-31T02:10:00Z",
    "resolved_at": "2026-09-10T11:00:00Z",
    "final_at": "2026-09-30T00:01:00Z",
    "final_due_at": "2026-09-30",
    "age_days": 6,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-995",
      "item_id": "RI-8853063",
      "booking_id": "RS-8853063",
      "period": "2026-08",
      "vcc_ref": "VCC-8853063",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-26T09:00:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853063",
      "source_ref": "feed-2026-08-995"
    },
    {
      "event_id": "CE-996",
      "item_id": "RI-8853063",
      "booking_id": "RS-8853063",
      "period": "2026-08",
      "vcc_ref": "VCC-8853063",
      "event_type": "auth",
      "amount": 899.78,
      "currency": "EUR",
      "occurred_at": "2026-08-28T14:20:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853063",
      "source_ref": "feed-2026-08-996"
    },
    {
      "event_id": "CE-997",
      "item_id": "RI-8853063",
      "booking_id": "RS-8853063",
      "period": "2026-08",
      "vcc_ref": "VCC-8853063",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-09-03T00:00:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853063",
      "source_ref": "feed-2026-08-997"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8853063-1",
      "item_id": "RI-8853063",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-31T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853063-2",
      "item_id": "RI-8853063",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-02T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "card never charged"
    },
    {
      "event_id": "RE-RI-8853063-3",
      "item_id": "RI-8853063",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-02T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: written_off"
    },
    {
      "event_id": "RE-RI-8853063-4",
      "item_id": "RI-8853063",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-30T00: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-8853063-651",
      "item_id": "RI-8853063",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "pending",
      "amount": 899.78,
      "balance_effect": -899.78,
      "description": "Authorization held — Husa de la Couronne",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853063-652",
      "item_id": "RI-8853063",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-03",
      "entry_type": "voided",
      "amount": 899.78,
      "balance_effect": 899.78,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-28",
      "room_net": 294.67,
      "vat_amount": 17.68,
      "city_tax": 4,
      "ancillaries": 19.97,
      "rate_paid": 316.35,
      "hotel": "Husa de la Couronne",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853063",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-29",
      "room_net": 256.09,
      "vat_amount": 15.37,
      "city_tax": 4,
      "ancillaries": 25.99,
      "rate_paid": 275.46,
      "hotel": "Husa de la Couronne",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853063",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-30",
      "room_net": 263.18,
      "vat_amount": 15.79,
      "city_tax": 4,
      "ancillaries": 12.58,
      "rate_paid": 282.97,
      "hotel": "Husa de la Couronne",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853063",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853063",
    "layover_id": "L-513064",
    "duty_id": "D-513063",
    "crew_id": "IRE-1037",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "LGG",
    "property_id": "P-112",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-27T13:15:00Z",
    "check_in": "2026-08-28",
    "check_out": "2026-08-31",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-853063",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 949.29
  },
  "duty": {
    "duty_id": "D-513063",
    "crew_id": "IRE-1037",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513063",
    "duty_type": "irops",
    "flight_no": "ABR475",
    "dep_station": "DUB",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-27T12:15:00Z",
    "duty_end_utc": "2026-08-28T00:04:00Z",
    "duty_hours": 12.11,
    "block_hours": 6.04,
    "source_system": "aims",
    "published_at": "2026-08-22T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513064",
    "duty_in": "D-513063",
    "duty_out": "D-513063R",
    "crew_id": "IRE-1037",
    "entity_id": "ASL Airlines Ireland",
    "station": "LGG",
    "rest_starts_utc": "2026-08-28T00:04:00Z",
    "rest_ends_utc": "2026-08-31T06:00:00Z",
    "rest_hours_available": 57.33,
    "sleep_opportunity_hours": 54.47,
    "transfer_in_minutes": 36,
    "transfer_out_minutes": 39,
    "nights": 3,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13064",
    "period": "2026-08",
    "booking_id": "RS-8853063",
    "item_id": "RI-8853063",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-27T13:12:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "LGG",
    "outcome": "hard_refusal",
    "breach_count": 1,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-D8233",
      "eval_id": "PE-13064",
      "period": "2026-08",
      "rule_id": "R-EASA-ACC",
      "layer": "regulatory",
      "severity": "block",
      "observed": "Audit AUD-20 (2026-08-11): 50.55 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"
    }
  ],
  "changes": [
    {
      "change_id": "BC-1569",
      "booking_id": "RS-8853063",
      "period": "2026-08",
      "occurred_at": "2026-08-29T17:22:00Z",
      "change_type": "cancel_rebook",
      "source": "aims",
      "trigger": "irops",
      "modify_attempted": 1,
      "failed_reason": "rate_changed",
      "hours_before_checkin": 82.43,
      "cutoff_hours": 24,
      "cost": 242.33,
      "room_lost": 0,
      "resolved_by": "human",
      "resolved_at": "2026-08-29T18:40:00Z",
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8853063",
    "booking_id": "RS-8853063",
    "item_id": "RI-8853063",
    "period": "2026-08",
    "issued_at": "2026-08-27T13:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 974.29,
    "currency": "EUR",
    "valid_from": "2026-08-28",
    "valid_to": "2026-09-07",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Husa de la Couronne",
    "auth_count": 3,
    "settled_amount": 933.32,
    "status": "authorised",
    "closed_at": "2026-09-02T03:00:00Z"
  },
  "folioDoc": null
}