{
  "item": {
    "item_id": "RI-8853649",
    "period": "2026-08",
    "booking_id": "RS-8853649",
    "duty_id": "D-513649",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "N. Mulligan",
    "station": "DUB",
    "property_id": "P-102",
    "hotel": "Maldron Hotel Dublin Airport",
    "check_in": "2026-08-14",
    "check_out": "2026-08-15",
    "nights": 1,
    "booking_amount": 261.87,
    "card_auth": 286.87,
    "card_settled": 710.18,
    "folio_amount": 710.18,
    "variance": 413.53,
    "variance_pct": 157.91,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "charged_to_crew",
    "opened_at": "2026-08-15T02:10:00Z",
    "resolved_at": "2026-08-26T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-14",
    "age_days": 10,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-3342",
      "item_id": "RI-8853649",
      "booking_id": "RS-8853649",
      "period": "2026-08",
      "vcc_ref": "VCC-8853649",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-12T09:00:00Z",
      "valid_from": "2026-08-14",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853649",
      "source_ref": "feed-2026-08-3342"
    },
    {
      "event_id": "CE-3343",
      "item_id": "RI-8853649",
      "booking_id": "RS-8853649",
      "period": "2026-08",
      "vcc_ref": "VCC-8853649",
      "event_type": "auth",
      "amount": 286.87,
      "currency": "EUR",
      "occurred_at": "2026-08-14T14:20:00Z",
      "valid_from": "2026-08-14",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853649",
      "source_ref": "feed-2026-08-3343"
    },
    {
      "event_id": "CE-3344",
      "item_id": "RI-8853649",
      "booking_id": "RS-8853649",
      "period": "2026-08",
      "vcc_ref": "VCC-8853649",
      "event_type": "capture",
      "amount": 710.18,
      "currency": "EUR",
      "occurred_at": "2026-08-15T08:05:00Z",
      "valid_from": "2026-08-14",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853649",
      "source_ref": "feed-2026-08-3344"
    },
    {
      "event_id": "CE-3345",
      "item_id": "RI-8853649",
      "booking_id": "RS-8853649",
      "period": "2026-08",
      "vcc_ref": "VCC-8853649",
      "event_type": "settle",
      "amount": 710.18,
      "currency": "EUR",
      "occurred_at": "2026-08-17T03:00:00Z",
      "valid_from": "2026-08-14",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853649",
      "source_ref": "feed-2026-08-3345"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853649-a0",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 34.78,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8853649",
      "folio_id": "folio-8853649"
    },
    {
      "line_id": "FL-RI-8853649-r0",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "room",
      "description": "Room charge",
      "amount": 230.72,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8853649",
      "folio_id": "folio-8853649"
    },
    {
      "line_id": "FL-RI-8853649-v0",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 31.15,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8853649",
      "folio_id": "folio-8853649"
    },
    {
      "line_id": "FL-RI-8853649-x",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 413.53,
      "disputed": 0,
      "received_at": "2026-08-20T07:00:00Z",
      "source_ref": "folio-8853649",
      "folio_id": "folio-8853649"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853649-1",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-15T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853649-2",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-17T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853649-3",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-17T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 413.53 EUR"
    },
    {
      "event_id": "RE-RI-8853649-4",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-18T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    },
    {
      "event_id": "RE-RI-8853649-5",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-19T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: charged_to_crew"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853649-2213",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-14",
      "entry_type": "pending",
      "amount": 286.87,
      "balance_effect": -286.87,
      "description": "Authorization held — Maldron Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853649-2214",
      "item_id": "RI-8853649",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-17",
      "entry_type": "posted",
      "amount": 710.18,
      "balance_effect": 0,
      "description": "Charge posted — Maldron Hotel Dublin Airport",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-14",
      "room_net": 230.72,
      "vat_amount": 31.15,
      "city_tax": 0,
      "ancillaries": 34.78,
      "rate_paid": 261.87,
      "hotel": "Maldron Hotel Dublin Airport",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853649",
      "checkin_time": "16:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853649",
    "layover_id": "L-513650",
    "duty_id": "D-513649",
    "crew_id": "IRE-1031",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "DUB",
    "property_id": "P-102",
    "vendor_id": null,
    "contract_id": "C-102",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-13T16:00:00Z",
    "check_in": "2026-08-14",
    "check_out": "2026-08-15",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853649",
    "cancellation_deadline": "2026-08-13T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 312.62
  },
  "duty": {
    "duty_id": "D-513649",
    "crew_id": "IRE-1031",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513649",
    "duty_type": "positioning",
    "flight_no": "ABR467",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-13T09:40:00Z",
    "duty_end_utc": "2026-08-14T15:02:00Z",
    "duty_hours": 11.97,
    "block_hours": 4.63,
    "source_system": "aims",
    "published_at": "2026-08-02T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513650",
    "duty_in": "D-513649",
    "duty_out": "D-513649R",
    "crew_id": "IRE-1031",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-14T15:02:00Z",
    "rest_ends_utc": "2026-08-15T08:45:00Z",
    "rest_hours_available": 14.44,
    "sleep_opportunity_hours": 11.86,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 22,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13650",
    "period": "2026-08",
    "booking_id": "RS-8853649",
    "item_id": "RI-8853649",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-13T15:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "DUB",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 34.78,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7102",
      "eval_id": "PE-13650",
      "period": "2026-08",
      "rule_id": "R-ANC",
      "layer": "commercial",
      "severity": "warn",
      "observed": "34.78 EUR uncovered",
      "limit_value": "breakfast, wifi",
      "cost_impact": 34.78,
      "resolved": "auto_allowed",
      "name": "Covered ancillaries",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853649",
    "booking_id": "RS-8853649",
    "item_id": "RI-8853649",
    "period": "2026-08",
    "issued_at": "2026-08-13T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 337.62,
    "currency": "EUR",
    "valid_from": "2026-08-14",
    "valid_to": "2026-08-22",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Maldron Hotel Dublin Airport",
    "auth_count": 1,
    "settled_amount": 296.65,
    "status": "authorised",
    "closed_at": "2026-08-17T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853649",
    "booking_id": "RS-8853649",
    "item_id": "RI-8853649",
    "property_id": "P-102",
    "period": "2026-08",
    "folio_number": "DUB260814-7433",
    "guest_name": "N. Mulligan",
    "check_in": "2026-08-14",
    "check_out": "2026-08-15",
    "issued_at": "2026-08-15T09:30:00Z",
    "received_at": "2026-08-20T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 710.18,
    "line_count": 4,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}