{
  "item": {
    "item_id": "RI-8853685",
    "period": "2026-08",
    "booking_id": "RS-8853685",
    "duty_id": "D-513685",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "S. Devlin",
    "station": "BHX",
    "property_id": "P-114",
    "hotel": "Ibis Birmingham Airport",
    "check_in": "2026-08-29",
    "check_out": "2026-08-30",
    "nights": 1,
    "booking_amount": 282.51,
    "card_auth": 307.51,
    "card_settled": 282.51,
    "folio_amount": 282.51,
    "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": 9,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-3487",
      "item_id": "RI-8853685",
      "booking_id": "RS-8853685",
      "period": "2026-08",
      "vcc_ref": "VCC-8853685",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-27T09:00:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853685",
      "source_ref": "feed-2026-08-3487"
    },
    {
      "event_id": "CE-3488",
      "item_id": "RI-8853685",
      "booking_id": "RS-8853685",
      "period": "2026-08",
      "vcc_ref": "VCC-8853685",
      "event_type": "auth",
      "amount": 307.51,
      "currency": "EUR",
      "occurred_at": "2026-08-29T14:20:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853685",
      "source_ref": "feed-2026-08-3488"
    },
    {
      "event_id": "CE-3489",
      "item_id": "RI-8853685",
      "booking_id": "RS-8853685",
      "period": "2026-08",
      "vcc_ref": "VCC-8853685",
      "event_type": "capture",
      "amount": 282.51,
      "currency": "EUR",
      "occurred_at": "2026-08-30T08:05:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853685",
      "source_ref": "feed-2026-08-3489"
    },
    {
      "event_id": "CE-3490",
      "item_id": "RI-8853685",
      "booking_id": "RS-8853685",
      "period": "2026-08",
      "vcc_ref": "VCC-8853685",
      "event_type": "settle",
      "amount": 282.51,
      "currency": "EUR",
      "occurred_at": "2026-09-01T03:00:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-02",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853685",
      "source_ref": "feed-2026-08-3490"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853685-r0",
      "item_id": "RI-8853685",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "room",
      "description": "Room charge",
      "amount": 235.43,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8853685",
      "folio_id": "folio-8853685"
    },
    {
      "line_id": "FL-RI-8853685-v0",
      "item_id": "RI-8853685",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 47.08,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8853685",
      "folio_id": "folio-8853685"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853685-1",
      "item_id": "RI-8853685",
      "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-8853685-2",
      "item_id": "RI-8853685",
      "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-8853685-3",
      "item_id": "RI-8853685",
      "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-8853685-4",
      "item_id": "RI-8853685",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-11T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853685-2309",
      "item_id": "RI-8853685",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-29",
      "entry_type": "pending",
      "amount": 307.51,
      "balance_effect": -307.51,
      "description": "Authorization held — Ibis Birmingham Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853685-2310",
      "item_id": "RI-8853685",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-01",
      "entry_type": "posted",
      "amount": 282.51,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Birmingham Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853685-2311",
      "item_id": "RI-8853685",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-01",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-29",
      "room_net": 235.43,
      "vat_amount": 47.08,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 282.51,
      "hotel": "Ibis Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853685",
      "checkin_time": "05:40",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853685",
    "layover_id": "L-513686",
    "duty_id": "D-513685",
    "crew_id": "IRE-S206",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "BHX",
    "property_id": "P-114",
    "vendor_id": null,
    "contract_id": "C-114",
    "revenue_model": "airline_contract",
    "channel": "staff_portal",
    "requested_by": "U-103",
    "created_at": "2026-08-28T05:40:00Z",
    "check_in": "2026-08-29",
    "check_out": "2026-08-30",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853685",
    "cancellation_deadline": "2026-08-28T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 298.48
  },
  "duty": {
    "duty_id": "D-513685",
    "crew_id": "IRE-S206",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513685",
    "duty_type": "overnight",
    "flight_no": "ABR156",
    "dep_station": "EMA",
    "arr_station": "BHX",
    "duty_start_utc": "2026-08-28T09:40:00Z",
    "duty_end_utc": "2026-08-29T04:42:00Z",
    "duty_hours": 9.58,
    "block_hours": 6.72,
    "source_system": "aims",
    "published_at": "2026-08-09T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513686",
    "duty_in": "D-513685",
    "duty_out": "D-513685R",
    "crew_id": "IRE-S206",
    "entity_id": "ASL Airlines Ireland",
    "station": "BHX",
    "rest_starts_utc": "2026-08-29T04:42:00Z",
    "rest_ends_utc": "2026-08-30T08:45:00Z",
    "rest_hours_available": 15.08,
    "sleep_opportunity_hours": 13.06,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 28,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13686",
    "period": "2026-08",
    "booking_id": "RS-8853685",
    "item_id": "RI-8853685",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-28T05:37:00Z",
    "channel": "staff_portal",
    "traveller_type": "staff",
    "entity": "ASL Airlines Ireland",
    "station": "BHX",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853685",
    "booking_id": "RS-8853685",
    "item_id": "RI-8853685",
    "period": "2026-08",
    "issued_at": "2026-08-28T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 323.48,
    "currency": "EUR",
    "valid_from": "2026-08-29",
    "valid_to": "2026-09-06",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Birmingham Airport",
    "auth_count": 1,
    "settled_amount": 282.51,
    "status": "settled",
    "closed_at": "2026-09-01T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853685",
    "booking_id": "RS-8853685",
    "item_id": "RI-8853685",
    "property_id": "P-114",
    "period": "2026-08",
    "folio_number": "BHX260829-2813",
    "guest_name": "S. Devlin",
    "check_in": "2026-08-29",
    "check_out": "2026-08-30",
    "issued_at": "2026-08-30T09:30:00Z",
    "received_at": "2026-09-01T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 282.51,
    "line_count": 2,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}