{
  "item": {
    "item_id": "RI-8853591",
    "period": "2026-08",
    "booking_id": "RS-8853591",
    "duty_id": "D-513591",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "E. Doyle",
    "station": "CGN",
    "property_id": "P-108",
    "hotel": "Leonardo Hotel Koln",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "nights": 2,
    "booking_amount": 541.14,
    "card_auth": 566.14,
    "card_settled": 541.14,
    "folio_amount": 541.14,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-12T02:10:00Z",
    "resolved_at": "2026-08-22T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-11",
    "age_days": 13,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-3111",
      "item_id": "RI-8853591",
      "booking_id": "RS-8853591",
      "period": "2026-08",
      "vcc_ref": "VCC-8853591",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-08T09:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853591",
      "source_ref": "feed-2026-08-3111"
    },
    {
      "event_id": "CE-3112",
      "item_id": "RI-8853591",
      "booking_id": "RS-8853591",
      "period": "2026-08",
      "vcc_ref": "VCC-8853591",
      "event_type": "auth",
      "amount": 566.14,
      "currency": "EUR",
      "occurred_at": "2026-08-10T14:20:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853591",
      "source_ref": "feed-2026-08-3112"
    },
    {
      "event_id": "CE-3113",
      "item_id": "RI-8853591",
      "booking_id": "RS-8853591",
      "period": "2026-08",
      "vcc_ref": "VCC-8853591",
      "event_type": "capture",
      "amount": 541.14,
      "currency": "EUR",
      "occurred_at": "2026-08-12T08:05:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853591",
      "source_ref": "feed-2026-08-3113"
    },
    {
      "event_id": "CE-3114",
      "item_id": "RI-8853591",
      "booking_id": "RS-8853591",
      "period": "2026-08",
      "vcc_ref": "VCC-8853591",
      "event_type": "settle",
      "amount": 541.14,
      "currency": "EUR",
      "occurred_at": "2026-08-14T03:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853591",
      "source_ref": "feed-2026-08-3114"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853591-c0",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853591",
      "folio_id": "folio-8853591"
    },
    {
      "line_id": "FL-RI-8853591-r0",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "room",
      "description": "Room charge",
      "amount": 248.2,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853591",
      "folio_id": "folio-8853591"
    },
    {
      "line_id": "FL-RI-8853591-v0",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.37,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853591",
      "folio_id": "folio-8853591"
    },
    {
      "line_id": "FL-RI-8853591-c1",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853591",
      "folio_id": "folio-8853591"
    },
    {
      "line_id": "FL-RI-8853591-r1",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "room",
      "description": "Room charge",
      "amount": 248.2,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853591",
      "folio_id": "folio-8853591"
    },
    {
      "line_id": "FL-RI-8853591-v1",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.37,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853591",
      "folio_id": "folio-8853591"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853591-1",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-12T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853591-2",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-14T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853591-3",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-14T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853591-4",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-21T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853591-2060",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-10",
      "entry_type": "pending",
      "amount": 566.14,
      "balance_effect": -566.14,
      "description": "Authorization held — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853591-2061",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-14",
      "entry_type": "posted",
      "amount": 541.14,
      "balance_effect": 0,
      "description": "Charge posted — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853591-2062",
      "item_id": "RI-8853591",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-14",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-10",
      "room_net": 248.2,
      "vat_amount": 17.37,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 270.57,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "no_show",
      "vcc_ref": "VCC-8853591",
      "checkin_time": "16:00",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-11",
      "room_net": 248.2,
      "vat_amount": 17.37,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 270.57,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853591",
      "checkin_time": "16:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853591",
    "layover_id": "L-513592",
    "duty_id": "D-513591",
    "crew_id": "IRE-1002",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-108",
    "vendor_id": null,
    "contract_id": "C-108",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-08T16:00:00Z",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "nights": 2,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-853591",
    "cancellation_deadline": "2026-08-08T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 557.11
  },
  "duty": {
    "duty_id": "D-513591",
    "crew_id": "IRE-1002",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513591",
    "duty_type": "overnight",
    "flight_no": "ABR798",
    "dep_station": "DUB",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-09T15:30:00Z",
    "duty_end_utc": "2026-08-10T15:09:00Z",
    "duty_hours": 10.71,
    "block_hours": 6.44,
    "source_system": "aims",
    "published_at": "2026-07-26T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513592",
    "duty_in": "D-513591",
    "duty_out": "D-513591R",
    "crew_id": "IRE-1002",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-10T15:09:00Z",
    "rest_ends_utc": "2026-08-12T06:00:00Z",
    "rest_hours_available": 36.34,
    "sleep_opportunity_hours": 34.69,
    "transfer_in_minutes": 16,
    "transfer_out_minutes": 16,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13592",
    "period": "2026-08",
    "booking_id": "RS-8853591",
    "item_id": "RI-8853591",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-08T15:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "CGN",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853591",
    "booking_id": "RS-8853591",
    "item_id": "RI-8853591",
    "period": "2026-08",
    "issued_at": "2026-08-08T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 582.11,
    "currency": "EUR",
    "valid_from": "2026-08-10",
    "valid_to": "2026-08-19",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Leonardo Hotel Koln",
    "auth_count": 2,
    "settled_amount": 270.57,
    "status": "authorised",
    "closed_at": "2026-08-14T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853591",
    "booking_id": "RS-8853591",
    "item_id": "RI-8853591",
    "property_id": "P-108",
    "period": "2026-08",
    "folio_number": "CGN260810-7116",
    "guest_name": "E. Doyle",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "issued_at": "2026-08-12T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 541.14,
    "line_count": 6,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}