{
  "item": {
    "item_id": "RI-8853167",
    "period": "2026-08",
    "booking_id": "RS-8853167",
    "duty_id": "D-513167",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "E. Doyle",
    "station": "STN",
    "property_id": "P-116",
    "hotel": "Hampton by Hilton Stansted",
    "check_in": "2026-08-02",
    "check_out": "2026-08-06",
    "nights": 4,
    "booking_amount": 1340.97,
    "card_auth": 1365.97,
    "card_settled": 1384.74,
    "folio_amount": 1384.74,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-06T02:10:00Z",
    "resolved_at": "2026-08-15T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-05",
    "age_days": 24,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-1409",
      "item_id": "RI-8853167",
      "booking_id": "RS-8853167",
      "period": "2026-08",
      "vcc_ref": "VCC-8853167",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-07-31T09:00:00Z",
      "valid_from": "2026-08-02",
      "valid_to": "2026-08-09",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853167",
      "source_ref": "feed-2026-08-1409"
    },
    {
      "event_id": "CE-1410",
      "item_id": "RI-8853167",
      "booking_id": "RS-8853167",
      "period": "2026-08",
      "vcc_ref": "VCC-8853167",
      "event_type": "auth",
      "amount": 1365.97,
      "currency": "EUR",
      "occurred_at": "2026-08-02T14:20:00Z",
      "valid_from": "2026-08-02",
      "valid_to": "2026-08-09",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853167",
      "source_ref": "feed-2026-08-1410"
    },
    {
      "event_id": "CE-1411",
      "item_id": "RI-8853167",
      "booking_id": "RS-8853167",
      "period": "2026-08",
      "vcc_ref": "VCC-8853167",
      "event_type": "capture",
      "amount": 1384.74,
      "currency": "EUR",
      "occurred_at": "2026-08-06T08:05:00Z",
      "valid_from": "2026-08-02",
      "valid_to": "2026-08-09",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853167",
      "source_ref": "feed-2026-08-1411"
    },
    {
      "event_id": "CE-1412",
      "item_id": "RI-8853167",
      "booking_id": "RS-8853167",
      "period": "2026-08",
      "vcc_ref": "VCC-8853167",
      "event_type": "settle",
      "amount": 1384.74,
      "currency": "EUR",
      "occurred_at": "2026-08-08T03:00:00Z",
      "valid_from": "2026-08-02",
      "valid_to": "2026-08-09",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853167",
      "source_ref": "feed-2026-08-1412"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853167-r0",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "room",
      "description": "Room charge",
      "amount": 243.58,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-v0",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 48.71,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-r1",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "room",
      "description": "Room charge",
      "amount": 277.86,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-v1",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 55.57,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-a2",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-04",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 21.13,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-r2",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-04",
      "line_type": "room",
      "description": "Room charge",
      "amount": 295.35,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-v2",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-04",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 59.07,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-a3",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 22.64,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-r3",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "room",
      "description": "Room charge",
      "amount": 300.69,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    },
    {
      "line_id": "FL-RI-8853167-v3",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 60.14,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8853167",
      "folio_id": "folio-8853167"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853167-1",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-06T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853167-2",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-08T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853167-3",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-08T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853167-4",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-09T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853167-931",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-02",
      "entry_type": "pending",
      "amount": 1365.97,
      "balance_effect": -1365.97,
      "description": "Authorization held — Hampton by Hilton Stansted",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853167-932",
      "item_id": "RI-8853167",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-08",
      "entry_type": "posted",
      "amount": 1384.74,
      "balance_effect": 0,
      "description": "Charge posted — Hampton by Hilton Stansted",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-02",
      "room_net": 243.58,
      "vat_amount": 48.71,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 292.29,
      "hotel": "Hampton by Hilton Stansted",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853167",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-03",
      "room_net": 277.86,
      "vat_amount": 55.57,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 333.43,
      "hotel": "Hampton by Hilton Stansted",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853167",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-04",
      "room_net": 295.35,
      "vat_amount": 59.07,
      "city_tax": 0,
      "ancillaries": 21.13,
      "rate_paid": 354.42,
      "hotel": "Hampton by Hilton Stansted",
      "duty_reason": "standby",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853167",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-05",
      "room_net": 300.69,
      "vat_amount": 60.14,
      "city_tax": 0,
      "ancillaries": 22.64,
      "rate_paid": 360.83,
      "hotel": "Hampton by Hilton Stansted",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853167",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853167",
    "layover_id": "L-513168",
    "duty_id": "D-513167",
    "crew_id": "IRE-1002",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "STN",
    "property_id": "P-116",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-01T14:00:00Z",
    "check_in": "2026-08-02",
    "check_out": "2026-08-06",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853167",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1400.71
  },
  "duty": {
    "duty_id": "D-513167",
    "crew_id": "IRE-1002",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513167",
    "duty_type": "positioning",
    "flight_no": "ABR542",
    "dep_station": "EMA",
    "arr_station": "STN",
    "duty_start_utc": "2026-08-01T15:30:00Z",
    "duty_end_utc": "2026-08-02T13:07:00Z",
    "duty_hours": 6.48,
    "block_hours": 7.3,
    "source_system": "aims",
    "published_at": "2026-07-14T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513168",
    "duty_in": "D-513167",
    "duty_out": "D-513167R",
    "crew_id": "IRE-1002",
    "entity_id": "ASL Airlines Ireland",
    "station": "STN",
    "rest_starts_utc": "2026-08-02T13:07:00Z",
    "rest_ends_utc": "2026-08-06T11:20:00Z",
    "rest_hours_available": 79.63,
    "sleep_opportunity_hours": 77.44,
    "transfer_in_minutes": 18,
    "transfer_out_minutes": 20,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13168",
    "period": "2026-08",
    "booking_id": "RS-8853167",
    "item_id": "RI-8853167",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-01T13:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "STN",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 96.62,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-6904",
      "eval_id": "PE-13168",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "1 days",
      "limit_value": "48 hours",
      "cost_impact": 96.62,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853167",
    "booking_id": "RS-8853167",
    "item_id": "RI-8853167",
    "period": "2026-08",
    "issued_at": "2026-08-01T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1425.71,
    "currency": "EUR",
    "valid_from": "2026-08-02",
    "valid_to": "2026-08-13",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hampton by Hilton Stansted",
    "auth_count": 4,
    "settled_amount": 1384.74,
    "status": "settled",
    "closed_at": "2026-08-08T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853167",
    "booking_id": "RS-8853167",
    "item_id": "RI-8853167",
    "property_id": "P-116",
    "period": "2026-08",
    "folio_number": "STN260802-4210",
    "guest_name": "E. Doyle",
    "check_in": "2026-08-02",
    "check_out": "2026-08-06",
    "issued_at": "2026-08-06T09:30:00Z",
    "received_at": "2026-08-10T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 1384.74,
    "line_count": 10,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}