{
  "item": {
    "item_id": "RI-8853089",
    "period": "2026-08",
    "booking_id": "RS-8853089",
    "duty_id": "D-513089",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "V. Devlin",
    "station": "EMA",
    "property_id": "P-104",
    "hotel": "Hilton East Midlands",
    "check_in": "2026-08-28",
    "check_out": "2026-08-30",
    "nights": 2,
    "booking_amount": 582.58,
    "card_auth": 607.58,
    "card_settled": 606.07,
    "folio_amount": 606.07,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-30T02:10:00Z",
    "resolved_at": "2026-09-10T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-29",
    "age_days": 15,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-1098",
      "item_id": "RI-8853089",
      "booking_id": "RS-8853089",
      "period": "2026-08",
      "vcc_ref": "VCC-8853089",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-26T09:00:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853089",
      "source_ref": "feed-2026-08-1098"
    },
    {
      "event_id": "CE-1099",
      "item_id": "RI-8853089",
      "booking_id": "RS-8853089",
      "period": "2026-08",
      "vcc_ref": "VCC-8853089",
      "event_type": "auth",
      "amount": 607.58,
      "currency": "EUR",
      "occurred_at": "2026-08-28T14:20:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853089",
      "source_ref": "feed-2026-08-1099"
    },
    {
      "event_id": "CE-1100",
      "item_id": "RI-8853089",
      "booking_id": "RS-8853089",
      "period": "2026-08",
      "vcc_ref": "VCC-8853089",
      "event_type": "capture",
      "amount": 606.07,
      "currency": "EUR",
      "occurred_at": "2026-08-30T08:05:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853089",
      "source_ref": "feed-2026-08-1100"
    },
    {
      "event_id": "CE-1101",
      "item_id": "RI-8853089",
      "booking_id": "RS-8853089",
      "period": "2026-08",
      "vcc_ref": "VCC-8853089",
      "event_type": "settle",
      "amount": 606.07,
      "currency": "EUR",
      "occurred_at": "2026-09-01T03:00:00Z",
      "valid_from": "2026-08-28",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853089",
      "source_ref": "feed-2026-08-1101"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853089-r0",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "line_date": "2026-08-28",
      "line_type": "room",
      "description": "Room charge",
      "amount": 255.58,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853089",
      "folio_id": "folio-8853089"
    },
    {
      "line_id": "FL-RI-8853089-v0",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "line_date": "2026-08-28",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 51.11,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853089",
      "folio_id": "folio-8853089"
    },
    {
      "line_id": "FL-RI-8853089-a1",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 23.49,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853089",
      "folio_id": "folio-8853089"
    },
    {
      "line_id": "FL-RI-8853089-r1",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "room",
      "description": "Room charge",
      "amount": 229.91,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853089",
      "folio_id": "folio-8853089"
    },
    {
      "line_id": "FL-RI-8853089-v1",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 45.98,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8853089",
      "folio_id": "folio-8853089"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853089-1",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-30T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853089-2",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-01T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853089-3",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-01T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853089-4",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-13T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853089-722",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "pending",
      "amount": 607.58,
      "balance_effect": -607.58,
      "description": "Authorization held — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853089-723",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-01",
      "entry_type": "posted",
      "amount": 606.07,
      "balance_effect": 0,
      "description": "Charge posted — Hilton East Midlands",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853089-724",
      "item_id": "RI-8853089",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-01",
      "entry_type": "released",
      "amount": 1.51,
      "balance_effect": 1.51,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-28",
      "room_net": 255.58,
      "vat_amount": 51.11,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 306.69,
      "hotel": "Hilton East Midlands",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853089",
      "checkin_time": "14:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-29",
      "room_net": 229.91,
      "vat_amount": 45.98,
      "city_tax": 0,
      "ancillaries": 23.49,
      "rate_paid": 275.89,
      "hotel": "Hilton East Midlands",
      "duty_reason": "standby",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853089",
      "checkin_time": "14:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853089",
    "layover_id": "L-513090",
    "duty_id": "D-513089",
    "crew_id": "IRE-1071",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "EMA",
    "property_id": "P-104",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-27T14:00:00Z",
    "check_in": "2026-08-28",
    "check_out": "2026-08-30",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853089",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 622.04
  },
  "duty": {
    "duty_id": "D-513089",
    "crew_id": "IRE-1071",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513089",
    "duty_type": "positioning",
    "flight_no": "ABR872",
    "dep_station": "DUB",
    "arr_station": "EMA",
    "duty_start_utc": "2026-08-27T09:40:00Z",
    "duty_end_utc": "2026-08-28T13:10:00Z",
    "duty_hours": 11.23,
    "block_hours": 8.43,
    "source_system": "aims",
    "published_at": "2026-08-18T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513090",
    "duty_in": "D-513089",
    "duty_out": "D-513089R",
    "crew_id": "IRE-1071",
    "entity_id": "ASL Airlines Ireland",
    "station": "EMA",
    "rest_starts_utc": "2026-08-28T13:10:00Z",
    "rest_ends_utc": "2026-08-30T11:20:00Z",
    "rest_hours_available": 40.06,
    "sleep_opportunity_hours": 37.86,
    "transfer_in_minutes": 15,
    "transfer_out_minutes": 14,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13090",
    "period": "2026-08",
    "booking_id": "RS-8853089",
    "item_id": "RI-8853089",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-27T13:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "EMA",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 56.43,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-6868",
      "eval_id": "PE-13090",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "1 days",
      "limit_value": "48 hours",
      "cost_impact": 56.43,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853089",
    "booking_id": "RS-8853089",
    "item_id": "RI-8853089",
    "period": "2026-08",
    "issued_at": "2026-08-27T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 647.04,
    "currency": "EUR",
    "valid_from": "2026-08-28",
    "valid_to": "2026-09-06",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hilton East Midlands",
    "auth_count": 2,
    "settled_amount": 606.07,
    "status": "settled",
    "closed_at": "2026-09-01T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853089",
    "booking_id": "RS-8853089",
    "item_id": "RI-8853089",
    "property_id": "P-104",
    "period": "2026-08",
    "folio_number": "EMA260828-5110",
    "guest_name": "V. Devlin",
    "check_in": "2026-08-28",
    "check_out": "2026-08-30",
    "issued_at": "2026-08-30T09:30:00Z",
    "received_at": "2026-09-04T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 606.07,
    "line_count": 5,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}