{
  "item": {
    "item_id": "RI-8853454",
    "period": "2026-08",
    "booking_id": "RS-8853454",
    "duty_id": "D-513454",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "S. Brennan",
    "station": "EMA",
    "property_id": "P-104",
    "hotel": "Hilton East Midlands",
    "check_in": "2026-08-05",
    "check_out": "2026-08-09",
    "nights": 4,
    "booking_amount": 1186.28,
    "card_auth": 1211.28,
    "card_settled": 1262.44,
    "folio_amount": 1262.44,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-09T02:10:00Z",
    "resolved_at": "2026-08-17T11:00:00Z",
    "final_at": "2026-09-08T00:01:00Z",
    "final_due_at": "2026-09-08",
    "age_days": 31,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-2562",
      "item_id": "RI-8853454",
      "booking_id": "RS-8853454",
      "period": "2026-08",
      "vcc_ref": "VCC-8853454",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-03T09:00:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853454",
      "source_ref": "feed-2026-08-2562"
    },
    {
      "event_id": "CE-2563",
      "item_id": "RI-8853454",
      "booking_id": "RS-8853454",
      "period": "2026-08",
      "vcc_ref": "VCC-8853454",
      "event_type": "auth",
      "amount": 1211.28,
      "currency": "EUR",
      "occurred_at": "2026-08-05T14:20:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853454",
      "source_ref": "feed-2026-08-2563"
    },
    {
      "event_id": "CE-2564",
      "item_id": "RI-8853454",
      "booking_id": "RS-8853454",
      "period": "2026-08",
      "vcc_ref": "VCC-8853454",
      "event_type": "capture",
      "amount": 1262.44,
      "currency": "EUR",
      "occurred_at": "2026-08-09T08:05:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853454",
      "source_ref": "feed-2026-08-2564"
    },
    {
      "event_id": "CE-2565",
      "item_id": "RI-8853454",
      "booking_id": "RS-8853454",
      "period": "2026-08",
      "vcc_ref": "VCC-8853454",
      "event_type": "settle",
      "amount": 1262.44,
      "currency": "EUR",
      "occurred_at": "2026-08-11T03:00:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853454",
      "source_ref": "feed-2026-08-2565"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853454-a0",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 12.04,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-r0",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.14,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-v0",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.43,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-r1",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.14,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-v1",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.43,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-a2",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 30.92,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-r2",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.14,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-v2",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.43,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-a3",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 33.2,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-r3",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.14,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    },
    {
      "line_id": "FL-RI-8853454-v3",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.43,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853454",
      "folio_id": "folio-8853454"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853454-1",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-09T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853454-2",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-11T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853454-3",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-11T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853454-4",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-20T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8853454-5",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-08T00: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-8853454-1700",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-05",
      "entry_type": "pending",
      "amount": 1211.28,
      "balance_effect": -1211.28,
      "description": "Authorization held — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853454-1701",
      "item_id": "RI-8853454",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-11",
      "entry_type": "posted",
      "amount": 1262.44,
      "balance_effect": 0,
      "description": "Charge posted — Hilton East Midlands",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-05",
      "room_net": 247.14,
      "vat_amount": 49.43,
      "city_tax": 0,
      "ancillaries": 12.04,
      "rate_paid": 296.57,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853454",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-06",
      "room_net": 247.14,
      "vat_amount": 49.43,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 296.57,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853454",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-07",
      "room_net": 247.14,
      "vat_amount": 49.43,
      "city_tax": 0,
      "ancillaries": 30.92,
      "rate_paid": 296.57,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853454",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-08",
      "room_net": 247.14,
      "vat_amount": 49.43,
      "city_tax": 0,
      "ancillaries": 33.2,
      "rate_paid": 296.57,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853454",
      "checkin_time": "01:15",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853454",
    "layover_id": "L-513455",
    "duty_id": "D-513454",
    "crew_id": "IRE-S201",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "EMA",
    "property_id": "P-104",
    "vendor_id": null,
    "contract_id": "C-104",
    "revenue_model": "routespring_contract",
    "channel": "staff_portal",
    "requested_by": "U-101",
    "created_at": "2026-07-31T01:15:00Z",
    "check_in": "2026-08-05",
    "check_out": "2026-08-09",
    "nights": 4,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-853454",
    "cancellation_deadline": "2026-08-04T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1278.41
  },
  "duty": {
    "duty_id": "D-513454",
    "crew_id": "IRE-S201",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513454",
    "duty_type": "overnight",
    "flight_no": "ABR277",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-04T15:30:00Z",
    "duty_end_utc": "2026-08-05T00:25:00Z",
    "duty_hours": 10.61,
    "block_hours": 5.82,
    "source_system": "aims",
    "published_at": "2026-07-16T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513455",
    "duty_in": "D-513454",
    "duty_out": "D-513454R",
    "crew_id": "IRE-S201",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-05T00:25:00Z",
    "rest_ends_utc": "2026-08-09T08:45:00Z",
    "rest_hours_available": 84.2,
    "sleep_opportunity_hours": 82.34,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 18,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13455",
    "period": "2026-08",
    "booking_id": "RS-8853454",
    "item_id": "RI-8853454",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-31T01:12:00Z",
    "channel": "staff_portal",
    "traveller_type": "staff",
    "entity": "ASL Airlines Ireland",
    "station": "EMA",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853454",
    "booking_id": "RS-8853454",
    "item_id": "RI-8853454",
    "period": "2026-08",
    "issued_at": "2026-07-31T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1303.41,
    "currency": "EUR",
    "valid_from": "2026-08-05",
    "valid_to": "2026-08-16",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hilton East Midlands",
    "auth_count": 4,
    "settled_amount": 1262.44,
    "status": "settled",
    "closed_at": "2026-08-11T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853454",
    "booking_id": "RS-8853454",
    "item_id": "RI-8853454",
    "property_id": "P-104",
    "period": "2026-08",
    "folio_number": "EMA260805-5923",
    "guest_name": "S. Brennan",
    "check_in": "2026-08-05",
    "check_out": "2026-08-09",
    "issued_at": "2026-08-09T09:30:00Z",
    "received_at": "2026-08-11T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 1262.44,
    "line_count": 11,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}