{
  "item": {
    "item_id": "RI-8853563",
    "period": "2026-08",
    "booking_id": "RS-8853563",
    "duty_id": "D-513563",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "T. Quinn",
    "station": "CGN",
    "property_id": "P-108",
    "hotel": "Leonardo Hotel Koln",
    "check_in": "2026-08-15",
    "check_out": "2026-08-17",
    "nights": 2,
    "booking_amount": 550.13,
    "card_auth": 575.13,
    "card_settled": 745.31,
    "folio_amount": 745.31,
    "variance": 195.18,
    "variance_pct": 35.48,
    "variance_category": "rate_change",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-17T02:10:00Z",
    "resolved_at": "2026-08-22T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-16",
    "age_days": 23,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-2998",
      "item_id": "RI-8853563",
      "booking_id": "RS-8853563",
      "period": "2026-08",
      "vcc_ref": "VCC-8853563",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-13T09:00:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853563",
      "source_ref": "feed-2026-08-2998"
    },
    {
      "event_id": "CE-2999",
      "item_id": "RI-8853563",
      "booking_id": "RS-8853563",
      "period": "2026-08",
      "vcc_ref": "VCC-8853563",
      "event_type": "auth",
      "amount": 575.13,
      "currency": "EUR",
      "occurred_at": "2026-08-15T14:20:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853563",
      "source_ref": "feed-2026-08-2999"
    },
    {
      "event_id": "CE-3000",
      "item_id": "RI-8853563",
      "booking_id": "RS-8853563",
      "period": "2026-08",
      "vcc_ref": "VCC-8853563",
      "event_type": "capture",
      "amount": 745.31,
      "currency": "EUR",
      "occurred_at": "2026-08-17T08:05:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853563",
      "source_ref": "feed-2026-08-3000"
    },
    {
      "event_id": "CE-3001",
      "item_id": "RI-8853563",
      "booking_id": "RS-8853563",
      "period": "2026-08",
      "vcc_ref": "VCC-8853563",
      "event_type": "settle",
      "amount": 745.31,
      "currency": "EUR",
      "occurred_at": "2026-08-19T03:00:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853563",
      "source_ref": "feed-2026-08-3001"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853563-c0",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    },
    {
      "line_id": "FL-RI-8853563-r0",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "room",
      "description": "Room charge",
      "amount": 256.02,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    },
    {
      "line_id": "FL-RI-8853563-v0",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.92,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    },
    {
      "line_id": "FL-RI-8853563-c1",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    },
    {
      "line_id": "FL-RI-8853563-r1",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "room",
      "description": "Room charge",
      "amount": 248.78,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    },
    {
      "line_id": "FL-RI-8853563-v1",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.41,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    },
    {
      "line_id": "FL-RI-8853563-x",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "adjustment",
      "description": "Rate adjustment",
      "amount": 195.18,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853563",
      "folio_id": "folio-8853563"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853563-1",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-17T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853563-2",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-19T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853563-3",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-19T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 195.18 EUR"
    },
    {
      "event_id": "RE-RI-8853563-4",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-20T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as rate change"
    },
    {
      "event_id": "RE-RI-8853563-5",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-26T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853563-1989",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-15",
      "entry_type": "pending",
      "amount": 575.13,
      "balance_effect": -575.13,
      "description": "Authorization held — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853563-1990",
      "item_id": "RI-8853563",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-19",
      "entry_type": "posted",
      "amount": 745.31,
      "balance_effect": 0,
      "description": "Charge posted — Leonardo Hotel Koln",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-15",
      "room_net": 256.02,
      "vat_amount": 17.92,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 278.94,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853563",
      "checkin_time": "05:40",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-16",
      "room_net": 248.78,
      "vat_amount": 17.41,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 271.19,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853563",
      "checkin_time": "05:40",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853563",
    "layover_id": "L-513564",
    "duty_id": "D-513563",
    "crew_id": "IRE-1009",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-108",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-12T05:40:00Z",
    "check_in": "2026-08-15",
    "check_out": "2026-08-17",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853563",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 566.1
  },
  "duty": {
    "duty_id": "D-513563",
    "crew_id": "IRE-1009",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513563",
    "duty_type": "overnight",
    "flight_no": "ABR158",
    "dep_station": "EMA",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-14T18:05:00Z",
    "duty_end_utc": "2026-08-15T04:49:00Z",
    "duty_hours": 6.68,
    "block_hours": 5.33,
    "source_system": "aims",
    "published_at": "2026-08-05T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513564",
    "duty_in": "D-513563",
    "duty_out": "D-513563R",
    "crew_id": "IRE-1009",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-15T04:49:00Z",
    "rest_ends_utc": "2026-08-17T06:00:00Z",
    "rest_hours_available": 38.23,
    "sleep_opportunity_hours": 36.34,
    "transfer_in_minutes": 16,
    "transfer_out_minutes": 19,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13564",
    "period": "2026-08",
    "booking_id": "RS-8853563",
    "item_id": "RI-8853563",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-12T05:37:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "CGN",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853563",
    "booking_id": "RS-8853563",
    "item_id": "RI-8853563",
    "period": "2026-08",
    "issued_at": "2026-08-12T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 591.1,
    "currency": "EUR",
    "valid_from": "2026-08-15",
    "valid_to": "2026-08-24",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Leonardo Hotel Koln",
    "auth_count": 2,
    "settled_amount": 550.13,
    "status": "settled",
    "closed_at": "2026-08-19T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853563",
    "booking_id": "RS-8853563",
    "item_id": "RI-8853563",
    "property_id": "P-108",
    "period": "2026-08",
    "folio_number": "CGN260815-4555",
    "guest_name": "T. Quinn",
    "check_in": "2026-08-15",
    "check_out": "2026-08-17",
    "issued_at": "2026-08-17T09:30:00Z",
    "received_at": "2026-08-19T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 745.31,
    "line_count": 7,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}