{
  "item": {
    "item_id": "RI-8852854",
    "period": "2026-08",
    "booking_id": "RS-8852854",
    "duty_id": "D-512854",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "A. Devlin",
    "station": "DUB",
    "property_id": "P-101",
    "hotel": "Clayton Hotel Dublin Airport",
    "check_in": "2026-08-20",
    "check_out": "2026-08-22",
    "nights": 2,
    "booking_amount": 483.9,
    "card_auth": 508.9,
    "card_settled": 508.38,
    "folio_amount": 508.38,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-22T02:10:00Z",
    "resolved_at": "2026-08-26T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-21",
    "age_days": 23,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-164",
      "item_id": "RI-8852854",
      "booking_id": "RS-8852854",
      "period": "2026-08",
      "vcc_ref": "VCC-8852854",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-18T09:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-25",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852854",
      "source_ref": "feed-2026-08-164"
    },
    {
      "event_id": "CE-165",
      "item_id": "RI-8852854",
      "booking_id": "RS-8852854",
      "period": "2026-08",
      "vcc_ref": "VCC-8852854",
      "event_type": "auth",
      "amount": 508.9,
      "currency": "EUR",
      "occurred_at": "2026-08-20T14:20:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-25",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852854",
      "source_ref": "feed-2026-08-165"
    },
    {
      "event_id": "CE-166",
      "item_id": "RI-8852854",
      "booking_id": "RS-8852854",
      "period": "2026-08",
      "vcc_ref": "VCC-8852854",
      "event_type": "capture",
      "amount": 508.38,
      "currency": "EUR",
      "occurred_at": "2026-08-22T08:05:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-25",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852854",
      "source_ref": "feed-2026-08-166"
    },
    {
      "event_id": "CE-167",
      "item_id": "RI-8852854",
      "booking_id": "RS-8852854",
      "period": "2026-08",
      "vcc_ref": "VCC-8852854",
      "event_type": "settle",
      "amount": 508.38,
      "currency": "EUR",
      "occurred_at": "2026-08-24T03:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-25",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852854",
      "source_ref": "feed-2026-08-167"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8852854-r0",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "room",
      "description": "Room charge",
      "amount": 213.17,
      "disputed": 0,
      "received_at": "2026-08-24T07:00:00Z",
      "source_ref": "folio-8852854",
      "folio_id": "folio-8852854"
    },
    {
      "line_id": "FL-RI-8852854-v0",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 28.78,
      "disputed": 0,
      "received_at": "2026-08-24T07:00:00Z",
      "source_ref": "folio-8852854",
      "folio_id": "folio-8852854"
    },
    {
      "line_id": "FL-RI-8852854-a1",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 24.48,
      "disputed": 0,
      "received_at": "2026-08-24T07:00:00Z",
      "source_ref": "folio-8852854",
      "folio_id": "folio-8852854"
    },
    {
      "line_id": "FL-RI-8852854-r1",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "room",
      "description": "Room charge",
      "amount": 213.17,
      "disputed": 0,
      "received_at": "2026-08-24T07:00:00Z",
      "source_ref": "folio-8852854",
      "folio_id": "folio-8852854"
    },
    {
      "line_id": "FL-RI-8852854-v1",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 28.78,
      "disputed": 0,
      "received_at": "2026-08-24T07:00:00Z",
      "source_ref": "folio-8852854",
      "folio_id": "folio-8852854"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8852854-1",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-22T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8852854-2",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-24T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8852854-3",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-24T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8852854-4",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-31T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8852854-108",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-20",
      "entry_type": "pending",
      "amount": 508.9,
      "balance_effect": -508.9,
      "description": "Authorization held — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8852854-109",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-24",
      "entry_type": "posted",
      "amount": 508.38,
      "balance_effect": 0,
      "description": "Charge posted — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8852854-110",
      "item_id": "RI-8852854",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-24",
      "entry_type": "released",
      "amount": 0.52,
      "balance_effect": 0.52,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-20",
      "room_net": 213.17,
      "vat_amount": 28.78,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 241.95,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852854",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-21",
      "room_net": 213.17,
      "vat_amount": 28.78,
      "city_tax": 0,
      "ancillaries": 24.48,
      "rate_paid": 241.95,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852854",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8852854",
    "layover_id": "L-512855",
    "duty_id": "D-512854",
    "crew_id": "IRE-1011",
    "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": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T05:40:00Z",
    "check_in": "2026-08-20",
    "check_out": "2026-08-22",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-852854",
    "cancellation_deadline": "2026-08-19T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 524.35
  },
  "duty": {
    "duty_id": "D-512854",
    "crew_id": "IRE-1011",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/512854",
    "duty_type": "overnight",
    "flight_no": "ABR822",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-19T09:40:00Z",
    "duty_end_utc": "2026-08-20T04:50:00Z",
    "duty_hours": 7.36,
    "block_hours": 6.77,
    "source_system": "aims",
    "published_at": "2026-08-14T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-512855",
    "duty_in": "D-512854",
    "duty_out": "D-512854R",
    "crew_id": "IRE-1011",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-20T04:50:00Z",
    "rest_ends_utc": "2026-08-22T08:45:00Z",
    "rest_hours_available": 37.57,
    "sleep_opportunity_hours": 35.2,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 14,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-12855",
    "period": "2026-08",
    "booking_id": "RS-8852854",
    "item_id": "RI-8852854",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T05:37: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-8852854",
    "booking_id": "RS-8852854",
    "item_id": "RI-8852854",
    "period": "2026-08",
    "issued_at": "2026-08-11T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 549.35,
    "currency": "EUR",
    "valid_from": "2026-08-20",
    "valid_to": "2026-08-29",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Clayton Hotel Dublin Airport",
    "auth_count": 2,
    "settled_amount": 508.38,
    "status": "settled",
    "closed_at": "2026-08-24T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8852854",
    "booking_id": "RS-8852854",
    "item_id": "RI-8852854",
    "property_id": "P-101",
    "period": "2026-08",
    "folio_number": "DUB260820-2072",
    "guest_name": "A. Devlin",
    "check_in": "2026-08-20",
    "check_out": "2026-08-22",
    "issued_at": "2026-08-22T09:30:00Z",
    "received_at": "2026-08-24T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 508.38,
    "line_count": 5,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}