{
  "item": {
    "item_id": "RI-8853675",
    "period": "2026-08",
    "booking_id": "RS-8853675",
    "duty_id": "D-513675",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "Y. Nolan",
    "station": "CGN",
    "property_id": "P-108",
    "hotel": "Leonardo Hotel Koln",
    "check_in": "2026-08-22",
    "check_out": "2026-08-26",
    "nights": 4,
    "booking_amount": 1185.1,
    "card_auth": 1210.1,
    "card_settled": 1202.79,
    "folio_amount": 1202.79,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-26T02:10:00Z",
    "resolved_at": "2026-08-30T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-25",
    "age_days": 39,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-3447",
      "item_id": "RI-8853675",
      "booking_id": "RS-8853675",
      "period": "2026-08",
      "vcc_ref": "VCC-8853675",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-20T09:00:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853675",
      "source_ref": "feed-2026-08-3447"
    },
    {
      "event_id": "CE-3448",
      "item_id": "RI-8853675",
      "booking_id": "RS-8853675",
      "period": "2026-08",
      "vcc_ref": "VCC-8853675",
      "event_type": "auth",
      "amount": 1210.1,
      "currency": "EUR",
      "occurred_at": "2026-08-22T14:20:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853675",
      "source_ref": "feed-2026-08-3448"
    },
    {
      "event_id": "CE-3449",
      "item_id": "RI-8853675",
      "booking_id": "RS-8853675",
      "period": "2026-08",
      "vcc_ref": "VCC-8853675",
      "event_type": "capture",
      "amount": 1202.79,
      "currency": "EUR",
      "occurred_at": "2026-08-26T08:05:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853675",
      "source_ref": "feed-2026-08-3449"
    },
    {
      "event_id": "CE-3450",
      "item_id": "RI-8853675",
      "booking_id": "RS-8853675",
      "period": "2026-08",
      "vcc_ref": "VCC-8853675",
      "event_type": "settle",
      "amount": 1202.79,
      "currency": "EUR",
      "occurred_at": "2026-08-28T03:00:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853675",
      "source_ref": "feed-2026-08-3450"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853675-c0",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-r0",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "room",
      "description": "Room charge",
      "amount": 243.07,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-v0",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.01,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-c1",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-a1",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 17.69,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-r1",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 255.36,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-v1",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.87,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-c2",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-r2",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 282.54,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-v2",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 19.78,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-c3",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-r3",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 307.92,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    },
    {
      "line_id": "FL-RI-8853675-v3",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 21.55,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8853675",
      "folio_id": "folio-8853675"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853675-1",
      "item_id": "RI-8853675",
      "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-8853675-2",
      "item_id": "RI-8853675",
      "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-8853675-3",
      "item_id": "RI-8853675",
      "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-8853675-4",
      "item_id": "RI-8853675",
      "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-8853675-2282",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-22",
      "entry_type": "pending",
      "amount": 1210.1,
      "balance_effect": -1210.1,
      "description": "Authorization held — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853675-2283",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "posted",
      "amount": 1202.79,
      "balance_effect": 0,
      "description": "Charge posted — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853675-2284",
      "item_id": "RI-8853675",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-28",
      "entry_type": "released",
      "amount": 7.31,
      "balance_effect": 7.31,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-22",
      "room_net": 243.07,
      "vat_amount": 17.01,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 265.08,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853675",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-23",
      "room_net": 255.36,
      "vat_amount": 17.87,
      "city_tax": 5,
      "ancillaries": 17.69,
      "rate_paid": 278.23,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853675",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-24",
      "room_net": 282.54,
      "vat_amount": 19.78,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 307.32,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853675",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-25",
      "room_net": 307.92,
      "vat_amount": 21.55,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 334.47,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853675",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853675",
    "layover_id": "L-513676",
    "duty_id": "D-513675",
    "crew_id": "IRE-1052",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-108",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-17T05:40:00Z",
    "check_in": "2026-08-22",
    "check_out": "2026-08-26",
    "nights": 4,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-853675",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1218.76
  },
  "duty": {
    "duty_id": "D-513675",
    "crew_id": "IRE-1052",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513675",
    "duty_type": "overnight",
    "flight_no": "ABR134",
    "dep_station": "DUB",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-21T09:40:00Z",
    "duty_end_utc": "2026-08-22T04:49:00Z",
    "duty_hours": 8.12,
    "block_hours": 4.79,
    "source_system": "aims",
    "published_at": "2026-08-09T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513676",
    "duty_in": "D-513675",
    "duty_out": "D-513675R",
    "crew_id": "IRE-1052",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-22T04:49:00Z",
    "rest_ends_utc": "2026-08-26T08:45:00Z",
    "rest_hours_available": 81.73,
    "sleep_opportunity_hours": 79.55,
    "transfer_in_minutes": 16,
    "transfer_out_minutes": 16,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13676",
    "period": "2026-08",
    "booking_id": "RS-8853675",
    "item_id": "RI-8853675",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-17T05:37: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-8853675",
    "booking_id": "RS-8853675",
    "item_id": "RI-8853675",
    "period": "2026-08",
    "issued_at": "2026-08-17T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1243.76,
    "currency": "EUR",
    "valid_from": "2026-08-22",
    "valid_to": "2026-09-02",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Leonardo Hotel Koln",
    "auth_count": 4,
    "settled_amount": 1202.79,
    "status": "authorised",
    "closed_at": "2026-08-28T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853675",
    "booking_id": "RS-8853675",
    "item_id": "RI-8853675",
    "property_id": "P-108",
    "period": "2026-08",
    "folio_number": "CGN260822-3428",
    "guest_name": "Y. Nolan",
    "check_in": "2026-08-22",
    "check_out": "2026-08-26",
    "issued_at": "2026-08-26T09:30:00Z",
    "received_at": "2026-08-31T07:00:00Z",
    "received_via": "portal",
    "currency": "EUR",
    "stated_total": 1202.79,
    "line_count": 13,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}