{
  "item": {
    "item_id": "RI-8853809",
    "period": "2026-08",
    "booking_id": "RS-8853809",
    "duty_id": "D-513809",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "A. Cassidy",
    "station": "DUB",
    "property_id": "P-101",
    "hotel": "Clayton Hotel Dublin Airport",
    "check_in": "2026-08-09",
    "check_out": "2026-08-11",
    "nights": 2,
    "booking_amount": 474.56,
    "card_auth": 499.56,
    "card_settled": 692.56,
    "folio_amount": 692.56,
    "variance": 206,
    "variance_pct": 43.41,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-11T02:10:00Z",
    "resolved_at": "2026-08-13T11:00:00Z",
    "final_at": "2026-09-10T00:01:00Z",
    "final_due_at": "2026-09-10",
    "age_days": 28,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-3980",
      "item_id": "RI-8853809",
      "booking_id": "RS-8853809",
      "period": "2026-08",
      "vcc_ref": "VCC-8853809",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-07T09:00:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853809",
      "source_ref": "feed-2026-08-3980"
    },
    {
      "event_id": "CE-3981",
      "item_id": "RI-8853809",
      "booking_id": "RS-8853809",
      "period": "2026-08",
      "vcc_ref": "VCC-8853809",
      "event_type": "auth",
      "amount": 499.56,
      "currency": "EUR",
      "occurred_at": "2026-08-09T14:20:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853809",
      "source_ref": "feed-2026-08-3981"
    },
    {
      "event_id": "CE-3982",
      "item_id": "RI-8853809",
      "booking_id": "RS-8853809",
      "period": "2026-08",
      "vcc_ref": "VCC-8853809",
      "event_type": "capture",
      "amount": 692.56,
      "currency": "EUR",
      "occurred_at": "2026-08-11T08:05:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853809",
      "source_ref": "feed-2026-08-3982"
    },
    {
      "event_id": "CE-3983",
      "item_id": "RI-8853809",
      "booking_id": "RS-8853809",
      "period": "2026-08",
      "vcc_ref": "VCC-8853809",
      "event_type": "settle",
      "amount": 692.56,
      "currency": "EUR",
      "occurred_at": "2026-08-13T03:00:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853809",
      "source_ref": "feed-2026-08-3983"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853809-a0",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "line_date": "2026-08-09",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 12,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853809",
      "folio_id": "folio-8853809"
    },
    {
      "line_id": "FL-RI-8853809-r0",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "line_date": "2026-08-09",
      "line_type": "room",
      "description": "Room charge",
      "amount": 209.06,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853809",
      "folio_id": "folio-8853809"
    },
    {
      "line_id": "FL-RI-8853809-v0",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "line_date": "2026-08-09",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 28.22,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853809",
      "folio_id": "folio-8853809"
    },
    {
      "line_id": "FL-RI-8853809-r1",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "room",
      "description": "Room charge",
      "amount": 209.06,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853809",
      "folio_id": "folio-8853809"
    },
    {
      "line_id": "FL-RI-8853809-v1",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 28.22,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853809",
      "folio_id": "folio-8853809"
    },
    {
      "line_id": "FL-RI-8853809-x",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 206,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853809",
      "folio_id": "folio-8853809"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853809-1",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-11T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853809-2",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-13T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853809-3",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-13T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 206.00 EUR"
    },
    {
      "event_id": "RE-RI-8853809-4",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-14T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    },
    {
      "event_id": "RE-RI-8853809-5",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-20T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8853809-6",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-10T00: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-8853809-2644",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-09",
      "entry_type": "pending",
      "amount": 499.56,
      "balance_effect": -499.56,
      "description": "Authorization held — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853809-2645",
      "item_id": "RI-8853809",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-13",
      "entry_type": "posted",
      "amount": 692.56,
      "balance_effect": 0,
      "description": "Charge posted — Clayton Hotel Dublin Airport",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-09",
      "room_net": 209.06,
      "vat_amount": 28.22,
      "city_tax": 0,
      "ancillaries": 12,
      "rate_paid": 237.28,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853809",
      "checkin_time": "22:30",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-10",
      "room_net": 209.06,
      "vat_amount": 28.22,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 237.28,
      "hotel": "Clayton Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853809",
      "checkin_time": "22:30",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853809",
    "layover_id": "L-513810",
    "duty_id": "D-513809",
    "crew_id": "IRE-1010",
    "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": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-08T22:30:00Z",
    "check_in": "2026-08-09",
    "check_out": "2026-08-11",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853809",
    "cancellation_deadline": "2026-08-08T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 502.53
  },
  "duty": {
    "duty_id": "D-513809",
    "crew_id": "IRE-1010",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513809",
    "duty_type": "positioning",
    "flight_no": "ABR365",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-08T09:40:00Z",
    "duty_end_utc": "2026-08-09T21:40:00Z",
    "duty_hours": 9.28,
    "block_hours": 6.53,
    "source_system": "aims",
    "published_at": "2026-07-27T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513810",
    "duty_in": "D-513809",
    "duty_out": "D-513809R",
    "crew_id": "IRE-1010",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-09T21:40:00Z",
    "rest_ends_utc": "2026-08-11T08:45:00Z",
    "rest_hours_available": 36.07,
    "sleep_opportunity_hours": 33.84,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 15,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13810",
    "period": "2026-08",
    "booking_id": "RS-8853809",
    "item_id": "RI-8853809",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-08T22:27:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "DUB",
    "outcome": "hard_refusal",
    "breach_count": 2,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-D8309",
      "eval_id": "PE-13810",
      "period": "2026-08",
      "rule_id": "R-EASA-ACC",
      "layer": "regulatory",
      "severity": "block",
      "observed": "Audit AUD-1 (2026-08-06): 50.49 dB measured at night",
      "limit_value": "35 dB — quiet, dark, temperature-controlled",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Accommodation standard",
      "authority": "EASA",
      "reference": "CS FTL.1.235"
    },
    {
      "breach_id": "PB-D8310",
      "eval_id": "PE-13810",
      "period": "2026-08",
      "rule_id": "R-RECEPTION",
      "layer": "regulatory",
      "severity": "approve",
      "observed": "Arrival 22:30, reception unstaffed",
      "limit_value": "staffed 24h",
      "cost_impact": 0,
      "resolved": "approved",
      "name": "24-hour reception",
      "authority": "ASL",
      "reference": "ASL OM-A 7.5"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853809",
    "booking_id": "RS-8853809",
    "item_id": "RI-8853809",
    "period": "2026-08",
    "issued_at": "2026-08-08T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 527.53,
    "currency": "EUR",
    "valid_from": "2026-08-09",
    "valid_to": "2026-08-18",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Clayton Hotel Dublin Airport",
    "auth_count": 2,
    "settled_amount": 486.56,
    "status": "settled",
    "closed_at": "2026-08-13T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853809",
    "booking_id": "RS-8853809",
    "item_id": "RI-8853809",
    "property_id": "P-101",
    "period": "2026-08",
    "folio_number": "DUB260809-3974",
    "guest_name": "A. Cassidy",
    "check_in": "2026-08-09",
    "check_out": "2026-08-11",
    "issued_at": "2026-08-11T09:30:00Z",
    "received_at": "2026-08-13T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 692.56,
    "line_count": 6,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}