{
  "item": {
    "item_id": "RI-8853124",
    "period": "2026-08",
    "booking_id": "RS-8853124",
    "duty_id": "D-513124",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "L. Nolan",
    "station": "BHX",
    "property_id": "P-113",
    "hotel": "Novotel Birmingham Airport",
    "check_in": "2026-08-23",
    "check_out": "2026-08-26",
    "nights": 3,
    "booking_amount": 938.88,
    "card_auth": 963.88,
    "card_settled": 961.46,
    "folio_amount": 961.46,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-26T02:10:00Z",
    "resolved_at": "2026-09-05T11:00:00Z",
    "final_at": "2026-09-25T00:01:00Z",
    "final_due_at": "2026-09-25",
    "age_days": 1,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-1238",
      "item_id": "RI-8853124",
      "booking_id": "RS-8853124",
      "period": "2026-08",
      "vcc_ref": "VCC-8853124",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-21T09:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853124",
      "source_ref": "feed-2026-08-1238"
    },
    {
      "event_id": "CE-1239",
      "item_id": "RI-8853124",
      "booking_id": "RS-8853124",
      "period": "2026-08",
      "vcc_ref": "VCC-8853124",
      "event_type": "auth",
      "amount": 963.88,
      "currency": "EUR",
      "occurred_at": "2026-08-23T14:20:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853124",
      "source_ref": "feed-2026-08-1239"
    },
    {
      "event_id": "CE-1240",
      "item_id": "RI-8853124",
      "booking_id": "RS-8853124",
      "period": "2026-08",
      "vcc_ref": "VCC-8853124",
      "event_type": "capture",
      "amount": 961.46,
      "currency": "EUR",
      "occurred_at": "2026-08-26T08:05:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853124",
      "source_ref": "feed-2026-08-1240"
    },
    {
      "event_id": "CE-1241",
      "item_id": "RI-8853124",
      "booking_id": "RS-8853124",
      "period": "2026-08",
      "vcc_ref": "VCC-8853124",
      "event_type": "settle",
      "amount": 961.46,
      "currency": "EUR",
      "occurred_at": "2026-08-28T03:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853124",
      "source_ref": "feed-2026-08-1241"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853124-r0",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 242,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    },
    {
      "line_id": "FL-RI-8853124-v0",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 48.4,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    },
    {
      "line_id": "FL-RI-8853124-a1",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 22.58,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    },
    {
      "line_id": "FL-RI-8853124-r1",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 258.7,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    },
    {
      "line_id": "FL-RI-8853124-v1",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 51.74,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    },
    {
      "line_id": "FL-RI-8853124-r2",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 281.7,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    },
    {
      "line_id": "FL-RI-8853124-v2",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 20%",
      "amount": 56.34,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8853124",
      "folio_id": "folio-8853124"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853124-1",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-26T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853124-2",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-28T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853124-3",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-28T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853124-4",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-06T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8853124-5",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-25T00: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-8853124-816",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-23",
      "entry_type": "pending",
      "amount": 963.88,
      "balance_effect": -963.88,
      "description": "Authorization held — Novotel Birmingham Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853124-817",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "posted",
      "amount": 961.46,
      "balance_effect": 0,
      "description": "Charge posted — Novotel Birmingham Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853124-818",
      "item_id": "RI-8853124",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "released",
      "amount": 2.42,
      "balance_effect": 2.42,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-23",
      "room_net": 242,
      "vat_amount": 48.4,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 290.4,
      "hotel": "Novotel Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853124",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-24",
      "room_net": 258.7,
      "vat_amount": 51.74,
      "city_tax": 0,
      "ancillaries": 22.58,
      "rate_paid": 310.44,
      "hotel": "Novotel Birmingham Airport",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853124",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-25",
      "room_net": 281.7,
      "vat_amount": 56.34,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 338.04,
      "hotel": "Novotel Birmingham Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853124",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853124",
    "layover_id": "L-513125",
    "duty_id": "D-513124",
    "crew_id": "IRE-1028",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "BHX",
    "property_id": "P-113",
    "vendor_id": "VEN-04",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-20T14:00:00Z",
    "check_in": "2026-08-23",
    "check_out": "2026-08-26",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853124",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 977.43
  },
  "duty": {
    "duty_id": "D-513124",
    "crew_id": "IRE-1028",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513124",
    "duty_type": "overnight",
    "flight_no": "ABR628",
    "dep_station": "EMA",
    "arr_station": "BHX",
    "duty_start_utc": "2026-08-22T18:05:00Z",
    "duty_end_utc": "2026-08-23T13:01:00Z",
    "duty_hours": 11.46,
    "block_hours": 3.45,
    "source_system": "aims",
    "published_at": "2026-08-12T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513125",
    "duty_in": "D-513124",
    "duty_out": "D-513124R",
    "crew_id": "IRE-1028",
    "entity_id": "ASL Airlines Ireland",
    "station": "BHX",
    "rest_starts_utc": "2026-08-23T13:01:00Z",
    "rest_ends_utc": "2026-08-26T11:20:00Z",
    "rest_hours_available": 60.72,
    "sleep_opportunity_hours": 58.78,
    "transfer_in_minutes": 24,
    "transfer_out_minutes": 25,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13125",
    "period": "2026-08",
    "booking_id": "RS-8853124",
    "item_id": "RI-8853124",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-20T13:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "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-8853124",
    "booking_id": "RS-8853124",
    "item_id": "RI-8853124",
    "period": "2026-08",
    "issued_at": "2026-08-20T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1002.43,
    "currency": "EUR",
    "valid_from": "2026-08-23",
    "valid_to": "2026-09-02",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Novotel Birmingham Airport",
    "auth_count": 3,
    "settled_amount": 961.46,
    "status": "settled",
    "closed_at": "2026-08-28T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853124",
    "booking_id": "RS-8853124",
    "item_id": "RI-8853124",
    "property_id": "P-113",
    "period": "2026-08",
    "folio_number": "BHX260823-5308",
    "guest_name": "L. Nolan",
    "check_in": "2026-08-23",
    "check_out": "2026-08-26",
    "issued_at": "2026-08-26T09:30:00Z",
    "received_at": "2026-08-29T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 961.46,
    "line_count": 7,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}