{
  "item": {
    "item_id": "RI-8852946",
    "period": "2026-08",
    "booking_id": "RS-8852946",
    "duty_id": "D-512946",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "C. Devlin",
    "station": "BHX",
    "property_id": "P-114",
    "hotel": "Ibis Birmingham Airport",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "nights": 2,
    "booking_amount": 516.81,
    "card_auth": 356.9,
    "card_settled": 356.9,
    "folio_amount": 546.03,
    "variance": 189.13,
    "variance_pct": 36.6,
    "variance_category": "unexplained",
    "match_state": "unmatched",
    "exception_type": "partial_authorization",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-03T02:10:00Z",
    "resolved_at": "2026-08-15T11:00:00Z",
    "final_at": "2026-09-02T00:01:00Z",
    "final_due_at": "2026-09-02",
    "age_days": 8,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-530",
      "item_id": "RI-8852946",
      "booking_id": "RS-8852946",
      "period": "2026-08",
      "vcc_ref": "VCC-8852946",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-07-30T09:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852946",
      "source_ref": "feed-2026-08-530"
    },
    {
      "event_id": "CE-531",
      "item_id": "RI-8852946",
      "booking_id": "RS-8852946",
      "period": "2026-08",
      "vcc_ref": "VCC-8852946",
      "event_type": "partial_auth",
      "amount": 356.9,
      "currency": "EUR",
      "occurred_at": "2026-08-01T14:20:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852946",
      "source_ref": "feed-2026-08-531"
    },
    {
      "event_id": "CE-532",
      "item_id": "RI-8852946",
      "booking_id": "RS-8852946",
      "period": "2026-08",
      "vcc_ref": "VCC-8852946",
      "event_type": "capture",
      "amount": 356.9,
      "currency": "EUR",
      "occurred_at": "2026-08-03T08:05:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852946",
      "source_ref": "feed-2026-08-532"
    },
    {
      "event_id": "CE-533",
      "item_id": "RI-8852946",
      "booking_id": "RS-8852946",
      "period": "2026-08",
      "vcc_ref": "VCC-8852946",
      "event_type": "settle",
      "amount": 356.9,
      "currency": "EUR",
      "occurred_at": "2026-08-05T03:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852946",
      "source_ref": "feed-2026-08-533"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8852946-r0",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "room",
      "description": "Room charge",
      "amount": 214.48,
      "disputed": 0,
      "received_at": "2026-08-05T07:00:00Z",
      "source_ref": "folio-8852946",
      "folio_id": "folio-8852946"
    },
    {
      "line_id": "FL-RI-8852946-v0",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 42.89,
      "disputed": 0,
      "received_at": "2026-08-05T07:00:00Z",
      "source_ref": "folio-8852946",
      "folio_id": "folio-8852946"
    },
    {
      "line_id": "FL-RI-8852946-a1",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 29.22,
      "disputed": 0,
      "received_at": "2026-08-05T07:00:00Z",
      "source_ref": "folio-8852946",
      "folio_id": "folio-8852946"
    },
    {
      "line_id": "FL-RI-8852946-r1",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "room",
      "description": "Room charge",
      "amount": 216.2,
      "disputed": 0,
      "received_at": "2026-08-05T07:00:00Z",
      "source_ref": "folio-8852946",
      "folio_id": "folio-8852946"
    },
    {
      "line_id": "FL-RI-8852946-v1",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 43.24,
      "disputed": 0,
      "received_at": "2026-08-05T07:00:00Z",
      "source_ref": "folio-8852946",
      "folio_id": "folio-8852946"
    },
    {
      "line_id": "FL-RI-8852946-x",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "adjustment",
      "description": "Unexplained charge",
      "amount": 189.13,
      "disputed": 0,
      "received_at": "2026-08-05T07:00:00Z",
      "source_ref": "folio-8852946",
      "folio_id": "folio-8852946"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8852946-1",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-03T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8852946-2",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-05T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8852946-3",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-05T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "partial authorization — 189.13 EUR"
    },
    {
      "event_id": "RE-RI-8852946-4",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-06T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as unexplained"
    },
    {
      "event_id": "RE-RI-8852946-5",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-06T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8852946-6",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-02T00: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-8852946-350",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-01",
      "entry_type": "pending",
      "amount": 356.9,
      "balance_effect": -356.9,
      "description": "Authorization held — Ibis Birmingham Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8852946-351",
      "item_id": "RI-8852946",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-05",
      "entry_type": "posted",
      "amount": 356.9,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Birmingham Airport",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-01",
      "room_net": 214.48,
      "vat_amount": 42.89,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 257.37,
      "hotel": "Ibis Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852946",
      "checkin_time": "01:15",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-02",
      "room_net": 216.2,
      "vat_amount": 43.24,
      "city_tax": 0,
      "ancillaries": 29.22,
      "rate_paid": 259.44,
      "hotel": "Ibis Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852946",
      "checkin_time": "01:15",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8852946",
    "layover_id": "L-512947",
    "duty_id": "D-512946",
    "crew_id": "IRE-1047",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "BHX",
    "property_id": "P-114",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-07-30T01:15:00Z",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "nights": 2,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-852946",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 562
  },
  "duty": {
    "duty_id": "D-512946",
    "crew_id": "IRE-1047",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/512946",
    "duty_type": "overnight",
    "flight_no": "ABR891",
    "dep_station": "EMA",
    "arr_station": "BHX",
    "duty_start_utc": "2026-07-31T09:40:00Z",
    "duty_end_utc": "2026-08-01T00:17:00Z",
    "duty_hours": 11.21,
    "block_hours": 3.29,
    "source_system": "aims",
    "published_at": "2026-07-26T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-512947",
    "duty_in": "D-512946",
    "duty_out": "D-512946R",
    "crew_id": "IRE-1047",
    "entity_id": "ASL Airlines Ireland",
    "station": "BHX",
    "rest_starts_utc": "2026-08-01T00:17:00Z",
    "rest_ends_utc": "2026-08-03T08:45:00Z",
    "rest_hours_available": 35.26,
    "sleep_opportunity_hours": 32.85,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 23,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-12947",
    "period": "2026-08",
    "booking_id": "RS-8852946",
    "item_id": "RI-8852946",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-30T01:12:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "BHX",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 1
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8852946",
    "booking_id": "RS-8852946",
    "item_id": "RI-8852946",
    "period": "2026-08",
    "issued_at": "2026-07-30T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 587,
    "currency": "EUR",
    "valid_from": "2026-08-01",
    "valid_to": "2026-08-10",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Birmingham Airport",
    "auth_count": 2,
    "settled_amount": 546.03,
    "status": "settled",
    "closed_at": "2026-08-05T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8852946",
    "booking_id": "RS-8852946",
    "item_id": "RI-8852946",
    "property_id": "P-114",
    "period": "2026-08",
    "folio_number": "BHX260801-5509",
    "guest_name": "C. Devlin",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "issued_at": "2026-08-03T09:30:00Z",
    "received_at": "2026-08-05T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 546.03,
    "line_count": 6,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}