{
  "item": {
    "item_id": "RI-8853293",
    "period": "2026-08",
    "booking_id": "RS-8853293",
    "duty_id": "D-513293",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "V. Doyle",
    "station": "DUB",
    "property_id": "P-101",
    "hotel": "Clayton Hotel Dublin Airport",
    "check_in": "2026-08-24",
    "check_out": "2026-08-25",
    "nights": 1,
    "booking_amount": 239.99,
    "card_auth": 264.99,
    "card_settled": 263.41,
    "folio_amount": 263.41,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "orphan",
    "exception_type": "orphan_folio",
    "state": "resolved",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-25T02:10:00Z",
    "resolved_at": "2026-09-06T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-24",
    "age_days": 16,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-1913",
      "item_id": "RI-8853293",
      "booking_id": "RS-8853293",
      "period": "2026-08",
      "vcc_ref": "VCC-8853293",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-22T09:00:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853293",
      "source_ref": "feed-2026-08-1913"
    },
    {
      "event_id": "CE-1914",
      "item_id": "RI-8853293",
      "booking_id": "RS-8853293",
      "period": "2026-08",
      "vcc_ref": "VCC-8853293",
      "event_type": "auth",
      "amount": 264.99,
      "currency": "EUR",
      "occurred_at": "2026-08-24T14:20:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853293",
      "source_ref": "feed-2026-08-1914"
    },
    {
      "event_id": "CE-1915",
      "item_id": "RI-8853293",
      "booking_id": "RS-8853293",
      "period": "2026-08",
      "vcc_ref": "VCC-8853293",
      "event_type": "capture",
      "amount": 263.41,
      "currency": "EUR",
      "occurred_at": "2026-08-25T08:05:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853293",
      "source_ref": "feed-2026-08-1915"
    },
    {
      "event_id": "CE-1916",
      "item_id": "RI-8853293",
      "booking_id": "RS-8853293",
      "period": "2026-08",
      "vcc_ref": "VCC-8853293",
      "event_type": "settle",
      "amount": 263.41,
      "currency": "EUR",
      "occurred_at": "2026-08-27T03:00:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853293",
      "source_ref": "feed-2026-08-1916"
    },
    {
      "event_id": "CE-1917",
      "item_id": "RI-8853293",
      "booking_id": "RS-8853293",
      "period": "2026-08",
      "vcc_ref": "VCC-8853293",
      "event_type": "refund",
      "amount": -68.22,
      "currency": "EUR",
      "occurred_at": "2026-09-06T16:30:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853293",
      "source_ref": "feed-2026-08-1917"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853293-a0",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 23.42,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853293",
      "folio_id": "folio-8853293"
    },
    {
      "line_id": "FL-RI-8853293-r0",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 211.44,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853293",
      "folio_id": "folio-8853293"
    },
    {
      "line_id": "FL-RI-8853293-v0",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 28.55,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853293",
      "folio_id": "folio-8853293"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853293-1",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-25T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853293-2",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-27T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853293-3",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-27T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "orphan folio"
    },
    {
      "event_id": "RE-RI-8853293-4",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-29T14:00:00Z",
      "event": "disputed",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8853293-5",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-06T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8853293-6",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-08-27T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853293-1266",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-24",
      "entry_type": "pending",
      "amount": 264.99,
      "balance_effect": -264.99,
      "description": "Authorization held — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853293-1267",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-27",
      "entry_type": "posted",
      "amount": 263.41,
      "balance_effect": 0,
      "description": "Charge posted — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853293-1268",
      "item_id": "RI-8853293",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-27",
      "entry_type": "released",
      "amount": 1.58,
      "balance_effect": 1.58,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-24",
      "room_net": 211.44,
      "vat_amount": 28.55,
      "city_tax": 0,
      "ancillaries": 23.42,
      "rate_paid": 239.99,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853293",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853293",
    "layover_id": "L-513294",
    "duty_id": "D-513293",
    "crew_id": "IRE-1026",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "DUB",
    "property_id": "P-101",
    "vendor_id": null,
    "contract_id": "C-101",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-22T01:15:00Z",
    "check_in": "2026-08-24",
    "check_out": "2026-08-25",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-853293",
    "cancellation_deadline": "2026-08-23T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 279.38
  },
  "duty": {
    "duty_id": "D-513293",
    "crew_id": "IRE-1026",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513293",
    "duty_type": "positioning",
    "flight_no": "ABR382",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-23T18:05:00Z",
    "duty_end_utc": "2026-08-24T00:25:00Z",
    "duty_hours": 6.26,
    "block_hours": 5.64,
    "source_system": "aims",
    "published_at": "2026-08-06T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513294",
    "duty_in": "D-513293",
    "duty_out": "D-513293R",
    "crew_id": "IRE-1026",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-24T00:25:00Z",
    "rest_ends_utc": "2026-08-25T11:20:00Z",
    "rest_hours_available": 17.73,
    "sleep_opportunity_hours": 15.98,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 18,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13294",
    "period": "2026-08",
    "booking_id": "RS-8853293",
    "item_id": "RI-8853293",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-22T01:12:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "DUB",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853293",
    "booking_id": "RS-8853293",
    "item_id": "RI-8853293",
    "period": "2026-08",
    "issued_at": "2026-08-22T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 304.38,
    "currency": "EUR",
    "valid_from": "2026-08-24",
    "valid_to": "2026-09-01",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Clayton Hotel Dublin Airport",
    "auth_count": 1,
    "settled_amount": 263.41,
    "status": "settled",
    "closed_at": "2026-08-27T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853293",
    "booking_id": "RS-8853293",
    "item_id": "RI-8853293",
    "property_id": "P-101",
    "period": "2026-08",
    "folio_number": "DUB260824-3817",
    "guest_name": "V. Doyle",
    "check_in": "2026-08-24",
    "check_out": "2026-08-25",
    "issued_at": "2026-08-25T09:30:00Z",
    "received_at": "2026-08-28T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 263.41,
    "line_count": 3,
    "days_to_receive": 3.29,
    "disputed": 1
  }
}