{
  "item": {
    "item_id": "RI-8852842",
    "period": "2026-08",
    "booking_id": "RS-8852842",
    "duty_id": "D-512842",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "E. Kavanagh",
    "station": "CGN",
    "property_id": "P-108",
    "hotel": "Leonardo Hotel Koln",
    "check_in": "2026-08-18",
    "check_out": "2026-08-19",
    "nights": 1,
    "booking_amount": 312.6,
    "card_auth": 337.6,
    "card_settled": 625.2,
    "folio_amount": 312.6,
    "variance": 312.6,
    "variance_pct": 100,
    "variance_category": "unexplained",
    "match_state": "duplicate",
    "exception_type": "duplicate_charge",
    "state": "final",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-19T02:10:00Z",
    "resolved_at": "2026-08-20T11:00:00Z",
    "final_at": "2026-09-18T00:01:00Z",
    "final_due_at": "2026-09-18",
    "age_days": 17,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-114",
      "item_id": "RI-8852842",
      "booking_id": "RS-8852842",
      "period": "2026-08",
      "vcc_ref": "VCC-8852842",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-16T09:00:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852842",
      "source_ref": "feed-2026-08-114"
    },
    {
      "event_id": "CE-115",
      "item_id": "RI-8852842",
      "booking_id": "RS-8852842",
      "period": "2026-08",
      "vcc_ref": "VCC-8852842",
      "event_type": "auth",
      "amount": 337.6,
      "currency": "EUR",
      "occurred_at": "2026-08-18T14:20:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852842",
      "source_ref": "feed-2026-08-115"
    },
    {
      "event_id": "CE-116",
      "item_id": "RI-8852842",
      "booking_id": "RS-8852842",
      "period": "2026-08",
      "vcc_ref": "VCC-8852842",
      "event_type": "capture",
      "amount": 625.2,
      "currency": "EUR",
      "occurred_at": "2026-08-19T08:05:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852842",
      "source_ref": "feed-2026-08-116"
    },
    {
      "event_id": "CE-118",
      "item_id": "RI-8852842",
      "booking_id": "RS-8852842",
      "period": "2026-08",
      "vcc_ref": "VCC-8852842",
      "event_type": "capture",
      "amount": 312.6,
      "currency": "EUR",
      "occurred_at": "2026-08-19T08:11:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852842",
      "source_ref": "feed-2026-08-118"
    },
    {
      "event_id": "CE-117",
      "item_id": "RI-8852842",
      "booking_id": "RS-8852842",
      "period": "2026-08",
      "vcc_ref": "VCC-8852842",
      "event_type": "settle",
      "amount": 625.2,
      "currency": "EUR",
      "occurred_at": "2026-08-21T03:00:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852842",
      "source_ref": "feed-2026-08-117"
    },
    {
      "event_id": "CE-119",
      "item_id": "RI-8852842",
      "booking_id": "RS-8852842",
      "period": "2026-08",
      "vcc_ref": "VCC-8852842",
      "event_type": "refund",
      "amount": -312.6,
      "currency": "EUR",
      "occurred_at": "2026-08-31T16:30:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852842",
      "source_ref": "feed-2026-08-119"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8852842-c0",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8852842",
      "folio_id": "folio-8852842"
    },
    {
      "line_id": "FL-RI-8852842-r0",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "room",
      "description": "Room charge",
      "amount": 287.48,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8852842",
      "folio_id": "folio-8852842"
    },
    {
      "line_id": "FL-RI-8852842-v0",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 20.12,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8852842",
      "folio_id": "folio-8852842"
    },
    {
      "line_id": "FL-RI-8852842-x",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "adjustment",
      "description": "Unexplained charge",
      "amount": 312.6,
      "disputed": 1,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8852842",
      "folio_id": "folio-8852842"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8852842-1",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-19T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8852842-2",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-21T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8852842-3",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-21T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "duplicate charge — 312.60 EUR"
    },
    {
      "event_id": "RE-RI-8852842-4",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-22T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as unexplained"
    },
    {
      "event_id": "RE-RI-8852842-5",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-23T14:00:00Z",
      "event": "disputed",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8852842-6",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-08-31T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8852842-7",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-09-01T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    },
    {
      "event_id": "RE-RI-8852842-8",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "seq": 8,
      "occurred_at": "2026-09-18T00: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-8852842-75",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-18",
      "entry_type": "pending",
      "amount": 337.6,
      "balance_effect": -337.6,
      "description": "Authorization held — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8852842-76",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-21",
      "entry_type": "posted",
      "amount": 625.2,
      "balance_effect": 0,
      "description": "Charge posted — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8852842-77",
      "item_id": "RI-8852842",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-31",
      "entry_type": "refund",
      "amount": -312.6,
      "balance_effect": 312.6,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-18",
      "room_net": 287.48,
      "vat_amount": 20.12,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 312.6,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852842",
      "checkin_time": "22:30",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8852842",
    "layover_id": "L-512843",
    "duty_id": "D-512842",
    "crew_id": "IRE-1015",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-108",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-09T22:30:00Z",
    "check_in": "2026-08-18",
    "check_out": "2026-08-19",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-852842",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 328.57
  },
  "duty": {
    "duty_id": "D-512842",
    "crew_id": "IRE-1015",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/512842",
    "duty_type": "positioning",
    "flight_no": "ABR374",
    "dep_station": "DUB",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-17T18:05:00Z",
    "duty_end_utc": "2026-08-18T21:39:00Z",
    "duty_hours": 9.97,
    "block_hours": 4.22,
    "source_system": "aims",
    "published_at": "2026-08-10T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-512843",
    "duty_in": "D-512842",
    "duty_out": "D-512842R",
    "crew_id": "IRE-1015",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-18T21:39:00Z",
    "rest_ends_utc": "2026-08-19T06:00:00Z",
    "rest_hours_available": 15.31,
    "sleep_opportunity_hours": 13.59,
    "transfer_in_minutes": 16,
    "transfer_out_minutes": 19,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-12843",
    "period": "2026-08",
    "booking_id": "RS-8852842",
    "item_id": "RI-8852842",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-09T22:27: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-8852842",
    "booking_id": "RS-8852842",
    "item_id": "RI-8852842",
    "period": "2026-08",
    "issued_at": "2026-08-09T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 353.57,
    "currency": "EUR",
    "valid_from": "2026-08-18",
    "valid_to": "2026-08-26",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Leonardo Hotel Koln",
    "auth_count": 1,
    "settled_amount": 312.6,
    "status": "settled",
    "closed_at": "2026-08-21T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8852842",
    "booking_id": "RS-8852842",
    "item_id": "RI-8852842",
    "property_id": "P-108",
    "period": "2026-08",
    "folio_number": "CGN260818-2524",
    "guest_name": "E. Kavanagh",
    "check_in": "2026-08-18",
    "check_out": "2026-08-19",
    "issued_at": "2026-08-19T09:30:00Z",
    "received_at": "2026-08-25T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 312.6,
    "line_count": 4,
    "days_to_receive": 6.29,
    "disputed": 1
  }
}