{
  "item": {
    "item_id": "RI-8853687",
    "period": "2026-08",
    "booking_id": "RS-8853687",
    "duty_id": "D-513687",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "L. Cassidy",
    "station": "STN",
    "property_id": "P-115",
    "hotel": "Radisson Blu Stansted",
    "check_in": "2026-08-27",
    "check_out": "2026-08-29",
    "nights": 2,
    "booking_amount": 697.4,
    "card_auth": 722.4,
    "card_settled": 732.24,
    "folio_amount": 732.24,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-29T02:10:00Z",
    "resolved_at": "2026-09-06T11:00:00Z",
    "final_at": "2026-09-28T00:01:00Z",
    "final_due_at": "2026-09-28",
    "age_days": 13,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-3495",
      "item_id": "RI-8853687",
      "booking_id": "RS-8853687",
      "period": "2026-08",
      "vcc_ref": "VCC-8853687",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-25T09:00:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853687",
      "source_ref": "feed-2026-08-3495"
    },
    {
      "event_id": "CE-3496",
      "item_id": "RI-8853687",
      "booking_id": "RS-8853687",
      "period": "2026-08",
      "vcc_ref": "VCC-8853687",
      "event_type": "auth",
      "amount": 722.4,
      "currency": "EUR",
      "occurred_at": "2026-08-27T14:20:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853687",
      "source_ref": "feed-2026-08-3496"
    },
    {
      "event_id": "CE-3497",
      "item_id": "RI-8853687",
      "booking_id": "RS-8853687",
      "period": "2026-08",
      "vcc_ref": "VCC-8853687",
      "event_type": "capture",
      "amount": 732.24,
      "currency": "EUR",
      "occurred_at": "2026-08-29T08:05:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853687",
      "source_ref": "feed-2026-08-3497"
    },
    {
      "event_id": "CE-3498",
      "item_id": "RI-8853687",
      "booking_id": "RS-8853687",
      "period": "2026-08",
      "vcc_ref": "VCC-8853687",
      "event_type": "settle",
      "amount": 732.24,
      "currency": "EUR",
      "occurred_at": "2026-08-31T03:00:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853687",
      "source_ref": "feed-2026-08-3498"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853687-a0",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 34.84,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8853687",
      "folio_id": "folio-8853687"
    },
    {
      "line_id": "FL-RI-8853687-r0",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "room",
      "description": "Room charge",
      "amount": 294.91,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8853687",
      "folio_id": "folio-8853687"
    },
    {
      "line_id": "FL-RI-8853687-v0",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 58.98,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8853687",
      "folio_id": "folio-8853687"
    },
    {
      "line_id": "FL-RI-8853687-r1",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "line_date": "2026-08-28",
      "line_type": "room",
      "description": "Room charge",
      "amount": 286.26,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8853687",
      "folio_id": "folio-8853687"
    },
    {
      "line_id": "FL-RI-8853687-v1",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "line_date": "2026-08-28",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 57.25,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8853687",
      "folio_id": "folio-8853687"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853687-1",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-29T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853687-2",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-31T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853687-3",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-31T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853687-4",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-30T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8853687-5",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-28T00: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-8853687-2315",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-27",
      "entry_type": "pending",
      "amount": 722.4,
      "balance_effect": -722.4,
      "description": "Authorization held — Radisson Blu Stansted",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853687-2316",
      "item_id": "RI-8853687",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-31",
      "entry_type": "posted",
      "amount": 732.24,
      "balance_effect": 0,
      "description": "Charge posted — Radisson Blu Stansted",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-27",
      "room_net": 294.91,
      "vat_amount": 58.98,
      "city_tax": 0,
      "ancillaries": 34.84,
      "rate_paid": 353.89,
      "hotel": "Radisson Blu Stansted",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853687",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-28",
      "room_net": 286.26,
      "vat_amount": 57.25,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 343.51,
      "hotel": "Radisson Blu Stansted",
      "duty_reason": "standby",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853687",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853687",
    "layover_id": "L-513688",
    "duty_id": "D-513687",
    "crew_id": "IRE-1022",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "STN",
    "property_id": "P-115",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-18T16:00:00Z",
    "check_in": "2026-08-27",
    "check_out": "2026-08-29",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-853687",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 748.21
  },
  "duty": {
    "duty_id": "D-513687",
    "crew_id": "IRE-1022",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513687",
    "duty_type": "positioning",
    "flight_no": "ABR522",
    "dep_station": "EMA",
    "arr_station": "STN",
    "duty_start_utc": "2026-08-26T12:15:00Z",
    "duty_end_utc": "2026-08-27T15:03:00Z",
    "duty_hours": 11.81,
    "block_hours": 7.74,
    "source_system": "aims",
    "published_at": "2026-08-17T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513688",
    "duty_in": "D-513687",
    "duty_out": "D-513687R",
    "crew_id": "IRE-1022",
    "entity_id": "ASL Airlines Ireland",
    "station": "STN",
    "rest_starts_utc": "2026-08-27T15:03:00Z",
    "rest_ends_utc": "2026-08-29T06:00:00Z",
    "rest_hours_available": 39.84,
    "sleep_opportunity_hours": 37.55,
    "transfer_in_minutes": 22,
    "transfer_out_minutes": 22,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13688",
    "period": "2026-08",
    "booking_id": "RS-8853687",
    "item_id": "RI-8853687",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-18T15:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "STN",
    "outcome": "soft_breach",
    "breach_count": 3,
    "cost_impact": 278.68,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2873",
    "eval_id": "PE-13688",
    "period": "2026-08",
    "approver": "S. Whelan",
    "approver_role": "travel_desk",
    "reason": "Operational necessity — disruption",
    "approved_at": "2026-08-18T15:58:48Z",
    "second_approver": "Raphaele Titaud"
  },
  "breaches": [
    {
      "breach_id": "PB-7125",
      "eval_id": "PE-13688",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 109.56,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-7126",
      "eval_id": "PE-13688",
      "period": "2026-08",
      "rule_id": "R-ANC",
      "layer": "commercial",
      "severity": "warn",
      "observed": "34.84 EUR uncovered",
      "limit_value": "breakfast, wifi",
      "cost_impact": 34.84,
      "resolved": "auto_allowed",
      "name": "Covered ancillaries",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-7127",
      "eval_id": "PE-13688",
      "period": "2026-08",
      "rule_id": "R-GRADE",
      "layer": "entitlement",
      "severity": "approve",
      "observed": "Grade above rank",
      "limit_value": "rank-based",
      "cost_impact": 134.28,
      "resolved": "approved",
      "name": "Room grade by rank",
      "authority": "ASL",
      "reference": "ASL OM-A 7.2"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853687",
    "booking_id": "RS-8853687",
    "item_id": "RI-8853687",
    "period": "2026-08",
    "issued_at": "2026-08-18T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 773.21,
    "currency": "EUR",
    "valid_from": "2026-08-27",
    "valid_to": "2026-09-05",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Radisson Blu Stansted",
    "auth_count": 2,
    "settled_amount": 732.24,
    "status": "settled",
    "closed_at": "2026-08-31T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853687",
    "booking_id": "RS-8853687",
    "item_id": "RI-8853687",
    "property_id": "P-115",
    "period": "2026-08",
    "folio_number": "STN260827-6028",
    "guest_name": "L. Cassidy",
    "check_in": "2026-08-27",
    "check_out": "2026-08-29",
    "issued_at": "2026-08-29T09:30:00Z",
    "received_at": "2026-08-30T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 732.24,
    "line_count": 5,
    "days_to_receive": 1.29,
    "disputed": 0
  }
}