{
  "item": {
    "item_id": "RI-8853434",
    "period": "2026-08",
    "booking_id": "RS-8853434",
    "duty_id": "D-513434",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "N. Nolan",
    "station": "CGN",
    "property_id": "P-107",
    "hotel": "Ibis Koln Messe",
    "check_in": "2026-08-12",
    "check_out": "2026-08-14",
    "nights": 2,
    "booking_amount": 507.54,
    "card_auth": 532.54,
    "card_settled": 524.81,
    "folio_amount": 524.81,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-14T02:10:00Z",
    "resolved_at": "2026-08-16T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-13",
    "age_days": 4,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-2481",
      "item_id": "RI-8853434",
      "booking_id": "RS-8853434",
      "period": "2026-08",
      "vcc_ref": "VCC-8853434",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-10T09:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853434",
      "source_ref": "feed-2026-08-2481"
    },
    {
      "event_id": "CE-2482",
      "item_id": "RI-8853434",
      "booking_id": "RS-8853434",
      "period": "2026-08",
      "vcc_ref": "VCC-8853434",
      "event_type": "auth",
      "amount": 532.54,
      "currency": "EUR",
      "occurred_at": "2026-08-12T14:20:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853434",
      "source_ref": "feed-2026-08-2482"
    },
    {
      "event_id": "CE-2483",
      "item_id": "RI-8853434",
      "booking_id": "RS-8853434",
      "period": "2026-08",
      "vcc_ref": "VCC-8853434",
      "event_type": "capture",
      "amount": 524.81,
      "currency": "EUR",
      "occurred_at": "2026-08-14T08:05:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853434",
      "source_ref": "feed-2026-08-2483"
    },
    {
      "event_id": "CE-2484",
      "item_id": "RI-8853434",
      "booking_id": "RS-8853434",
      "period": "2026-08",
      "vcc_ref": "VCC-8853434",
      "event_type": "settle",
      "amount": 524.81,
      "currency": "EUR",
      "occurred_at": "2026-08-16T03:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853434",
      "source_ref": "feed-2026-08-2484"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853434-c0",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    },
    {
      "line_id": "FL-RI-8853434-a0",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 17.27,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    },
    {
      "line_id": "FL-RI-8853434-r0",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 232.5,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    },
    {
      "line_id": "FL-RI-8853434-v0",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.27,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    },
    {
      "line_id": "FL-RI-8853434-c1",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    },
    {
      "line_id": "FL-RI-8853434-r1",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "room",
      "description": "Room charge",
      "amount": 232.5,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    },
    {
      "line_id": "FL-RI-8853434-v1",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.27,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853434",
      "folio_id": "folio-8853434"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853434-1",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-14T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853434-2",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-16T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853434-3",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-16T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853434-4",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-28T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853434-1644",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-12",
      "entry_type": "pending",
      "amount": 532.54,
      "balance_effect": -532.54,
      "description": "Authorization held — Ibis Koln Messe",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853434-1645",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-16",
      "entry_type": "posted",
      "amount": 524.81,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Koln Messe",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853434-1646",
      "item_id": "RI-8853434",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-16",
      "entry_type": "released",
      "amount": 7.73,
      "balance_effect": 7.73,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-12",
      "room_net": 232.5,
      "vat_amount": 16.27,
      "city_tax": 5,
      "ancillaries": 17.27,
      "rate_paid": 253.77,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853434",
      "checkin_time": "16:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-13",
      "room_net": 232.5,
      "vat_amount": 16.27,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 253.77,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "no_show",
      "vcc_ref": "VCC-8853434",
      "checkin_time": "16:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853434",
    "layover_id": "L-513435",
    "duty_id": "D-513434",
    "crew_id": "IRE-1004",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-107",
    "vendor_id": null,
    "contract_id": "C-107",
    "revenue_model": "airline_contract",
    "channel": "travel_desk",
    "requested_by": "U-101",
    "created_at": "2026-08-07T16:00:00Z",
    "check_in": "2026-08-12",
    "check_out": "2026-08-14",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-853434",
    "cancellation_deadline": "2026-08-11T18:00:00Z",
    "status": "no_show",
    "period": "2026-08",
    "total_amount": 540.78
  },
  "duty": {
    "duty_id": "D-513434",
    "crew_id": "IRE-1004",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513434",
    "duty_type": "overnight",
    "flight_no": "ABR261",
    "dep_station": "DUB",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-11T12:15:00Z",
    "duty_end_utc": "2026-08-12T15:15:00Z",
    "duty_hours": 7.76,
    "block_hours": 3.97,
    "source_system": "aims",
    "published_at": "2026-07-23T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513435",
    "duty_in": "D-513434",
    "duty_out": "D-513434R",
    "crew_id": "IRE-1004",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-12T15:15:00Z",
    "rest_ends_utc": "2026-08-14T08:45:00Z",
    "rest_hours_available": 35.21,
    "sleep_opportunity_hours": 33.46,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 9,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13435",
    "period": "2026-08",
    "booking_id": "RS-8853434",
    "item_id": "RI-8853434",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-07T15:57:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "CGN",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 1
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853434",
    "booking_id": "RS-8853434",
    "item_id": "RI-8853434",
    "period": "2026-08",
    "issued_at": "2026-08-07T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 565.78,
    "currency": "EUR",
    "valid_from": "2026-08-12",
    "valid_to": "2026-08-21",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Koln Messe",
    "auth_count": 2,
    "settled_amount": 524.81,
    "status": "authorised",
    "closed_at": "2026-08-16T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853434",
    "booking_id": "RS-8853434",
    "item_id": "RI-8853434",
    "property_id": "P-107",
    "period": "2026-08",
    "folio_number": "CGN260812-7783",
    "guest_name": "N. Nolan",
    "check_in": "2026-08-12",
    "check_out": "2026-08-14",
    "issued_at": "2026-08-14T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 524.81,
    "line_count": 7,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}