{
  "item": {
    "item_id": "RI-8853298",
    "period": "2026-08",
    "booking_id": "RS-8853298",
    "duty_id": "D-513298",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "K. O Conaill",
    "station": "EMA",
    "property_id": "P-104",
    "hotel": "Hilton East Midlands",
    "check_in": "2026-08-29",
    "check_out": "2026-08-30",
    "nights": 1,
    "booking_amount": 285.5,
    "card_auth": 310.5,
    "card_settled": 317.99,
    "folio_amount": 317.99,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-30T02:10:00Z",
    "resolved_at": "2026-08-31T11:00:00Z",
    "final_at": "2026-09-29T00:01:00Z",
    "final_due_at": "2026-09-29",
    "age_days": 8,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-1934",
      "item_id": "RI-8853298",
      "booking_id": "RS-8853298",
      "period": "2026-08",
      "vcc_ref": "VCC-8853298",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-27T09:00:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853298",
      "source_ref": "feed-2026-08-1934"
    },
    {
      "event_id": "CE-1935",
      "item_id": "RI-8853298",
      "booking_id": "RS-8853298",
      "period": "2026-08",
      "vcc_ref": "VCC-8853298",
      "event_type": "auth",
      "amount": 310.5,
      "currency": "EUR",
      "occurred_at": "2026-08-29T14:20:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853298",
      "source_ref": "feed-2026-08-1935"
    },
    {
      "event_id": "CE-1936",
      "item_id": "RI-8853298",
      "booking_id": "RS-8853298",
      "period": "2026-08",
      "vcc_ref": "VCC-8853298",
      "event_type": "capture",
      "amount": 317.99,
      "currency": "EUR",
      "occurred_at": "2026-08-30T08:05:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853298",
      "source_ref": "feed-2026-08-1936"
    },
    {
      "event_id": "CE-1937",
      "item_id": "RI-8853298",
      "booking_id": "RS-8853298",
      "period": "2026-08",
      "vcc_ref": "VCC-8853298",
      "event_type": "settle",
      "amount": 317.99,
      "currency": "EUR",
      "occurred_at": "2026-09-01T03:00:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853298",
      "source_ref": "feed-2026-08-1937"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853298-a0",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 32.49,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853298",
      "folio_id": "folio-8853298"
    },
    {
      "line_id": "FL-RI-8853298-r0",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "room",
      "description": "Room charge",
      "amount": 237.92,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853298",
      "folio_id": "folio-8853298"
    },
    {
      "line_id": "FL-RI-8853298-v0",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 47.58,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853298",
      "folio_id": "folio-8853298"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853298-1",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-30T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853298-2",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-01T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853298-3",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-01T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853298-4",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-04T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8853298-5",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-29T00: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-8853298-1281",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-29",
      "entry_type": "pending",
      "amount": 310.5,
      "balance_effect": -310.5,
      "description": "Authorization held — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853298-1282",
      "item_id": "RI-8853298",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-01",
      "entry_type": "posted",
      "amount": 317.99,
      "balance_effect": 0,
      "description": "Charge posted — Hilton East Midlands",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-29",
      "room_net": 237.92,
      "vat_amount": 47.58,
      "city_tax": 0,
      "ancillaries": 32.49,
      "rate_paid": 285.5,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853298",
      "checkin_time": "16:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853298",
    "layover_id": "L-513299",
    "duty_id": "D-513298",
    "crew_id": "IRE-1061",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "EMA",
    "property_id": "P-104",
    "vendor_id": "VEN-04",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "crew_app",
    "requested_by": "IRE-1061",
    "created_at": "2026-08-27T16:00:00Z",
    "check_in": "2026-08-29",
    "check_out": "2026-08-30",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-853298",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 333.96
  },
  "duty": {
    "duty_id": "D-513298",
    "crew_id": "IRE-1061",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513298",
    "duty_type": "overnight",
    "flight_no": "ABR398",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-28T09:40:00Z",
    "duty_end_utc": "2026-08-29T15:10:00Z",
    "duty_hours": 10.29,
    "block_hours": 4.98,
    "source_system": "aims",
    "published_at": "2026-08-17T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513299",
    "duty_in": "D-513298",
    "duty_out": "D-513298R",
    "crew_id": "IRE-1061",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-29T15:10:00Z",
    "rest_ends_utc": "2026-08-30T11:20:00Z",
    "rest_hours_available": 15.55,
    "sleep_opportunity_hours": 13.88,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 13,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13299",
    "period": "2026-08",
    "booking_id": "RS-8853298",
    "item_id": "RI-8853298",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-27T15:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "EMA",
    "outcome": "soft_breach",
    "breach_count": 2,
    "cost_impact": 199.47,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2812",
    "eval_id": "PE-13299",
    "period": "2026-08",
    "approver": "S. Whelan",
    "approver_role": "travel_desk",
    "reason": "Late schedule change inside window",
    "approved_at": "2026-08-27T15:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-6961",
      "eval_id": "PE-13299",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 43.96,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-6962",
      "eval_id": "PE-13299",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 155.51,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853298",
    "booking_id": "RS-8853298",
    "item_id": "RI-8853298",
    "period": "2026-08",
    "issued_at": "2026-08-27T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 358.96,
    "currency": "EUR",
    "valid_from": "2026-08-29",
    "valid_to": "2026-09-06",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hilton East Midlands",
    "auth_count": 1,
    "settled_amount": 317.99,
    "status": "settled",
    "closed_at": "2026-09-01T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853298",
    "booking_id": "RS-8853298",
    "item_id": "RI-8853298",
    "property_id": "P-104",
    "period": "2026-08",
    "folio_number": "EMA260829-1104",
    "guest_name": "K. O Conaill",
    "check_in": "2026-08-29",
    "check_out": "2026-08-30",
    "issued_at": "2026-08-30T09:30:00Z",
    "received_at": "2026-09-04T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 317.99,
    "line_count": 3,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}