{
  "item": {
    "item_id": "RI-8853301",
    "period": "2026-08",
    "booking_id": "RS-8853301",
    "duty_id": "D-513301",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "O. Fitzgerald",
    "station": "EMA",
    "property_id": "P-104",
    "hotel": "Hilton East Midlands",
    "check_in": "2026-08-23",
    "check_out": "2026-08-26",
    "nights": 3,
    "booking_amount": 894.3,
    "card_auth": 919.3,
    "card_settled": 1138.09,
    "folio_amount": 1138.09,
    "variance": 220.71,
    "variance_pct": 24.68,
    "variance_category": "incidentals",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-26T02:10:00Z",
    "resolved_at": "2026-09-06T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-25",
    "age_days": 36,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-1946",
      "item_id": "RI-8853301",
      "booking_id": "RS-8853301",
      "period": "2026-08",
      "vcc_ref": "VCC-8853301",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-21T09:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853301",
      "source_ref": "feed-2026-08-1946"
    },
    {
      "event_id": "CE-1947",
      "item_id": "RI-8853301",
      "booking_id": "RS-8853301",
      "period": "2026-08",
      "vcc_ref": "VCC-8853301",
      "event_type": "auth",
      "amount": 919.3,
      "currency": "EUR",
      "occurred_at": "2026-08-23T14:20:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853301",
      "source_ref": "feed-2026-08-1947"
    },
    {
      "event_id": "CE-1948",
      "item_id": "RI-8853301",
      "booking_id": "RS-8853301",
      "period": "2026-08",
      "vcc_ref": "VCC-8853301",
      "event_type": "capture",
      "amount": 1138.09,
      "currency": "EUR",
      "occurred_at": "2026-08-26T08:05:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853301",
      "source_ref": "feed-2026-08-1948"
    },
    {
      "event_id": "CE-1949",
      "item_id": "RI-8853301",
      "booking_id": "RS-8853301",
      "period": "2026-08",
      "vcc_ref": "VCC-8853301",
      "event_type": "settle",
      "amount": 1138.09,
      "currency": "EUR",
      "occurred_at": "2026-08-28T03:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853301",
      "source_ref": "feed-2026-08-1949"
    },
    {
      "event_id": "CE-1950",
      "item_id": "RI-8853301",
      "booking_id": "RS-8853301",
      "period": "2026-08",
      "vcc_ref": "VCC-8853301",
      "event_type": "refund",
      "amount": -220.71,
      "currency": "EUR",
      "occurred_at": "2026-09-07T16:30:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853301",
      "source_ref": "feed-2026-08-1950"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853301-a0",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 23.08,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-r0",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 248.42,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-v0",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.68,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-r1",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 248.42,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-v1",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.68,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-r2",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 248.42,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-v2",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 49.68,
      "disputed": 0,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    },
    {
      "line_id": "FL-RI-8853301-x",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "incidental",
      "description": "Unitemised incidentals",
      "amount": 220.71,
      "disputed": 1,
      "received_at": "2026-08-28T07:00:00Z",
      "source_ref": "folio-8853301",
      "folio_id": "folio-8853301"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853301-1",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-26T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853301-2",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-28T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853301-3",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-28T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 220.71 EUR"
    },
    {
      "event_id": "RE-RI-8853301-4",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-29T10:20:00Z",
      "event": "category_assigned",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Categorised as incidentals"
    },
    {
      "event_id": "RE-RI-8853301-5",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-30T14:00:00Z",
      "event": "disputed",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8853301-6",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-07T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8853301-7",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-09-01T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853301-1288",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-23",
      "entry_type": "pending",
      "amount": 919.3,
      "balance_effect": -919.3,
      "description": "Authorization held — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853301-1289",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "posted",
      "amount": 1138.09,
      "balance_effect": 0,
      "description": "Charge posted — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853301-1290",
      "item_id": "RI-8853301",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-07",
      "entry_type": "refund",
      "amount": -220.71,
      "balance_effect": 220.71,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-23",
      "room_net": 248.42,
      "vat_amount": 49.68,
      "city_tax": 0,
      "ancillaries": 23.08,
      "rate_paid": 298.1,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853301",
      "checkin_time": "15:00",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-24",
      "room_net": 248.42,
      "vat_amount": 49.68,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 298.1,
      "hotel": "Hilton East Midlands",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853301",
      "checkin_time": "15:00",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-25",
      "room_net": 248.42,
      "vat_amount": 49.68,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 298.1,
      "hotel": "Hilton East Midlands",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853301",
      "checkin_time": "15:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853301",
    "layover_id": "L-513302",
    "duty_id": "D-513301",
    "crew_id": "IRE-1017",
    "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": "crew_app",
    "requested_by": "IRE-1017",
    "created_at": "2026-08-20T15:00:00Z",
    "check_in": "2026-08-23",
    "check_out": "2026-08-26",
    "nights": 3,
    "room_type": "executive",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853301",
    "cancellation_deadline": "2026-08-22T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 933.35
  },
  "duty": {
    "duty_id": "D-513301",
    "crew_id": "IRE-1017",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513301",
    "duty_type": "overnight",
    "flight_no": "ABR146",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-22T15:30:00Z",
    "duty_end_utc": "2026-08-23T14:10:00Z",
    "duty_hours": 10.61,
    "block_hours": 4.95,
    "source_system": "aims",
    "published_at": "2026-08-14T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513302",
    "duty_in": "D-513301",
    "duty_out": "D-513301R",
    "crew_id": "IRE-1017",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-23T14:10:00Z",
    "rest_ends_utc": "2026-08-26T06:00:00Z",
    "rest_hours_available": 61.1,
    "sleep_opportunity_hours": 59.05,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 15,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13302",
    "period": "2026-08",
    "booking_id": "RS-8853301",
    "item_id": "RI-8853301",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-20T14:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "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-8853301",
    "booking_id": "RS-8853301",
    "item_id": "RI-8853301",
    "period": "2026-08",
    "issued_at": "2026-08-20T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 958.35,
    "currency": "EUR",
    "valid_from": "2026-08-23",
    "valid_to": "2026-09-02",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hilton East Midlands",
    "auth_count": 3,
    "settled_amount": 917.38,
    "status": "authorised",
    "closed_at": "2026-08-28T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853301",
    "booking_id": "RS-8853301",
    "item_id": "RI-8853301",
    "property_id": "P-104",
    "period": "2026-08",
    "folio_number": "EMA260823-2284",
    "guest_name": "O. Fitzgerald",
    "check_in": "2026-08-23",
    "check_out": "2026-08-26",
    "issued_at": "2026-08-26T09:30:00Z",
    "received_at": "2026-08-28T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 1138.09,
    "line_count": 8,
    "days_to_receive": 2.29,
    "disputed": 1
  }
}