{
  "item": {
    "item_id": "RI-8853595",
    "period": "2026-08",
    "booking_id": "RS-8853595",
    "duty_id": "D-513595",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "Y. Doyle",
    "station": "EMA",
    "property_id": "P-105",
    "hotel": "Holiday Inn Castle Donington",
    "check_in": "2026-08-07",
    "check_out": "2026-08-09",
    "nights": 2,
    "booking_amount": 610.46,
    "card_auth": 635.46,
    "card_settled": 610.46,
    "folio_amount": 610.46,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-09T02:10:00Z",
    "resolved_at": "2026-08-11T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-08",
    "age_days": 11,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-3127",
      "item_id": "RI-8853595",
      "booking_id": "RS-8853595",
      "period": "2026-08",
      "vcc_ref": "VCC-8853595",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-05T09:00:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853595",
      "source_ref": "feed-2026-08-3127"
    },
    {
      "event_id": "CE-3128",
      "item_id": "RI-8853595",
      "booking_id": "RS-8853595",
      "period": "2026-08",
      "vcc_ref": "VCC-8853595",
      "event_type": "auth",
      "amount": 635.46,
      "currency": "EUR",
      "occurred_at": "2026-08-07T14:20:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853595",
      "source_ref": "feed-2026-08-3128"
    },
    {
      "event_id": "CE-3129",
      "item_id": "RI-8853595",
      "booking_id": "RS-8853595",
      "period": "2026-08",
      "vcc_ref": "VCC-8853595",
      "event_type": "capture",
      "amount": 610.46,
      "currency": "EUR",
      "occurred_at": "2026-08-09T08:05:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853595",
      "source_ref": "feed-2026-08-3129"
    },
    {
      "event_id": "CE-3130",
      "item_id": "RI-8853595",
      "booking_id": "RS-8853595",
      "period": "2026-08",
      "vcc_ref": "VCC-8853595",
      "event_type": "settle",
      "amount": 610.46,
      "currency": "EUR",
      "occurred_at": "2026-08-11T03:00:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853595",
      "source_ref": "feed-2026-08-3130"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853595-r0",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "room",
      "description": "Room charge",
      "amount": 269.77,
      "disputed": 0,
      "received_at": "2026-08-14T07:00:00Z",
      "source_ref": "folio-8853595",
      "folio_id": "folio-8853595"
    },
    {
      "line_id": "FL-RI-8853595-v0",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 53.95,
      "disputed": 0,
      "received_at": "2026-08-14T07:00:00Z",
      "source_ref": "folio-8853595",
      "folio_id": "folio-8853595"
    },
    {
      "line_id": "FL-RI-8853595-r1",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "room",
      "description": "Room charge",
      "amount": 238.95,
      "disputed": 0,
      "received_at": "2026-08-14T07:00:00Z",
      "source_ref": "folio-8853595",
      "folio_id": "folio-8853595"
    },
    {
      "line_id": "FL-RI-8853595-v1",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 47.79,
      "disputed": 0,
      "received_at": "2026-08-14T07:00:00Z",
      "source_ref": "folio-8853595",
      "folio_id": "folio-8853595"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853595-1",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-09T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853595-2",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-11T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853595-3",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-11T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853595-4",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-13T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853595-2070",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-07",
      "entry_type": "pending",
      "amount": 635.46,
      "balance_effect": -635.46,
      "description": "Authorization held — Holiday Inn Castle Donington",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853595-2071",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-11",
      "entry_type": "posted",
      "amount": 610.46,
      "balance_effect": 0,
      "description": "Charge posted — Holiday Inn Castle Donington",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853595-2072",
      "item_id": "RI-8853595",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-11",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-07",
      "room_net": 269.77,
      "vat_amount": 53.95,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 323.72,
      "hotel": "Holiday Inn Castle Donington",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853595",
      "checkin_time": "14:00",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-08",
      "room_net": 238.95,
      "vat_amount": 47.79,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 286.74,
      "hotel": "Holiday Inn Castle Donington",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853595",
      "checkin_time": "14:00",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853595",
    "layover_id": "L-513596",
    "duty_id": "D-513595",
    "crew_id": "IRE-1014",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "EMA",
    "property_id": "P-105",
    "vendor_id": "VEN-04",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-04T14:00:00Z",
    "check_in": "2026-08-07",
    "check_out": "2026-08-09",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853595",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 626.43
  },
  "duty": {
    "duty_id": "D-513595",
    "crew_id": "IRE-1014",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513595",
    "duty_type": "overnight",
    "flight_no": "ABR636",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-06T15:30:00Z",
    "duty_end_utc": "2026-08-07T13:14:00Z",
    "duty_hours": 8.66,
    "block_hours": 5.57,
    "source_system": "aims",
    "published_at": "2026-07-19T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513596",
    "duty_in": "D-513595",
    "duty_out": "D-513595R",
    "crew_id": "IRE-1014",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-07T13:14:00Z",
    "rest_ends_utc": "2026-08-09T11:20:00Z",
    "rest_hours_available": 39.9,
    "sleep_opportunity_hours": 38.05,
    "transfer_in_minutes": 11,
    "transfer_out_minutes": 12,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13596",
    "period": "2026-08",
    "booking_id": "RS-8853595",
    "item_id": "RI-8853595",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-04T13:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "EMA",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 117.54,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7079",
      "eval_id": "PE-13596",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 117.54,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853595",
    "booking_id": "RS-8853595",
    "item_id": "RI-8853595",
    "period": "2026-08",
    "issued_at": "2026-08-04T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 651.43,
    "currency": "EUR",
    "valid_from": "2026-08-07",
    "valid_to": "2026-08-16",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Holiday Inn Castle Donington",
    "auth_count": 2,
    "settled_amount": 610.46,
    "status": "settled",
    "closed_at": "2026-08-11T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853595",
    "booking_id": "RS-8853595",
    "item_id": "RI-8853595",
    "property_id": "P-105",
    "period": "2026-08",
    "folio_number": "EMA260807-1582",
    "guest_name": "Y. Doyle",
    "check_in": "2026-08-07",
    "check_out": "2026-08-09",
    "issued_at": "2026-08-09T09:30:00Z",
    "received_at": "2026-08-14T07:00:00Z",
    "received_via": "manual",
    "currency": "EUR",
    "stated_total": 610.46,
    "line_count": 4,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}