{
  "item": {
    "item_id": "RI-8853450",
    "period": "2026-08",
    "booking_id": "RS-8853450",
    "duty_id": "D-513450",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "O. Healy",
    "station": "CGN",
    "property_id": "P-108",
    "hotel": "Leonardo Hotel Koln",
    "check_in": "2026-08-16",
    "check_out": "2026-08-19",
    "nights": 3,
    "booking_amount": 867.81,
    "card_auth": 892.81,
    "card_settled": 944.3,
    "folio_amount": 944.3,
    "variance": 54.32,
    "variance_pct": 6.26,
    "variance_category": "rate_change",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-19T02:10:00Z",
    "resolved_at": "2026-08-20T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-18",
    "age_days": 29,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-2545",
      "item_id": "RI-8853450",
      "booking_id": "RS-8853450",
      "period": "2026-08",
      "vcc_ref": "VCC-8853450",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-14T09:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853450",
      "source_ref": "feed-2026-08-2545"
    },
    {
      "event_id": "CE-2546",
      "item_id": "RI-8853450",
      "booking_id": "RS-8853450",
      "period": "2026-08",
      "vcc_ref": "VCC-8853450",
      "event_type": "auth",
      "amount": 892.81,
      "currency": "EUR",
      "occurred_at": "2026-08-16T14:20:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853450",
      "source_ref": "feed-2026-08-2546"
    },
    {
      "event_id": "CE-2547",
      "item_id": "RI-8853450",
      "booking_id": "RS-8853450",
      "period": "2026-08",
      "vcc_ref": "VCC-8853450",
      "event_type": "capture",
      "amount": 944.3,
      "currency": "EUR",
      "occurred_at": "2026-08-19T08:05:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853450",
      "source_ref": "feed-2026-08-2547"
    },
    {
      "event_id": "CE-2548",
      "item_id": "RI-8853450",
      "booking_id": "RS-8853450",
      "period": "2026-08",
      "vcc_ref": "VCC-8853450",
      "event_type": "settle",
      "amount": 944.3,
      "currency": "EUR",
      "occurred_at": "2026-08-21T03:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853450",
      "source_ref": "feed-2026-08-2548"
    },
    {
      "event_id": "CE-2549",
      "item_id": "RI-8853450",
      "booking_id": "RS-8853450",
      "period": "2026-08",
      "vcc_ref": "VCC-8853450",
      "event_type": "refund",
      "amount": -54.32,
      "currency": "EUR",
      "occurred_at": "2026-08-31T16:30:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853450",
      "source_ref": "feed-2026-08-2549"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853450-c0",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-r0",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "room",
      "description": "Room charge",
      "amount": 236.9,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-v0",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.58,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-c1",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-r1",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 276.3,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-v1",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 19.34,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-c2",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-a2",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 22.17,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-r2",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "room",
      "description": "Room charge",
      "amount": 283.82,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-v2",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 19.87,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    },
    {
      "line_id": "FL-RI-8853450-x",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "adjustment",
      "description": "Rate adjustment",
      "amount": 54.32,
      "disputed": 1,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853450",
      "folio_id": "folio-8853450"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853450-1",
      "item_id": "RI-8853450",
      "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-8853450-2",
      "item_id": "RI-8853450",
      "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-8853450-3",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-21T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 54.32 EUR"
    },
    {
      "event_id": "RE-RI-8853450-4",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-22T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as rate change"
    },
    {
      "event_id": "RE-RI-8853450-5",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-23T14:00:00Z",
      "event": "disputed",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8853450-6",
      "item_id": "RI-8853450",
      "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-8853450-7",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-08-28T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853450-1688",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-16",
      "entry_type": "pending",
      "amount": 892.81,
      "balance_effect": -892.81,
      "description": "Authorization held — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853450-1689",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-21",
      "entry_type": "posted",
      "amount": 944.3,
      "balance_effect": 0,
      "description": "Charge posted — Leonardo Hotel Koln",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853450-1690",
      "item_id": "RI-8853450",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-31",
      "entry_type": "refund",
      "amount": -54.32,
      "balance_effect": 54.32,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-16",
      "room_net": 236.9,
      "vat_amount": 16.58,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 258.48,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853450",
      "checkin_time": "05:40",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-17",
      "room_net": 276.3,
      "vat_amount": 19.34,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 300.64,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853450",
      "checkin_time": "05:40",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-18",
      "room_net": 283.82,
      "vat_amount": 19.87,
      "city_tax": 5,
      "ancillaries": 22.17,
      "rate_paid": 308.69,
      "hotel": "Leonardo Hotel Koln",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853450",
      "checkin_time": "05:40",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853450",
    "layover_id": "L-513451",
    "duty_id": "D-513450",
    "crew_id": "IRE-1008",
    "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-13T05:40:00Z",
    "check_in": "2026-08-16",
    "check_out": "2026-08-19",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853450",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 905.95
  },
  "duty": {
    "duty_id": "D-513450",
    "crew_id": "IRE-1008",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513450",
    "duty_type": "overnight",
    "flight_no": "ABR133",
    "dep_station": "EMA",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-15T18:05:00Z",
    "duty_end_utc": "2026-08-16T04:49:00Z",
    "duty_hours": 6.92,
    "block_hours": 8.36,
    "source_system": "aims",
    "published_at": "2026-08-12T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513451",
    "duty_in": "D-513450",
    "duty_out": "D-513450R",
    "crew_id": "IRE-1008",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-16T04:49:00Z",
    "rest_ends_utc": "2026-08-19T08:45:00Z",
    "rest_hours_available": 58.02,
    "sleep_opportunity_hours": 55.97,
    "transfer_in_minutes": 16,
    "transfer_out_minutes": 15,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13451",
    "period": "2026-08",
    "booking_id": "RS-8853450",
    "item_id": "RI-8853450",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-13T05: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-8853450",
    "booking_id": "RS-8853450",
    "item_id": "RI-8853450",
    "period": "2026-08",
    "issued_at": "2026-08-13T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 930.95,
    "currency": "EUR",
    "valid_from": "2026-08-16",
    "valid_to": "2026-08-26",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Leonardo Hotel Koln",
    "auth_count": 3,
    "settled_amount": 889.98,
    "status": "settled",
    "closed_at": "2026-08-21T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853450",
    "booking_id": "RS-8853450",
    "item_id": "RI-8853450",
    "property_id": "P-108",
    "period": "2026-08",
    "folio_number": "CGN260816-8503",
    "guest_name": "O. Healy",
    "check_in": "2026-08-16",
    "check_out": "2026-08-19",
    "issued_at": "2026-08-19T09:30:00Z",
    "received_at": "2026-08-22T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 944.3,
    "line_count": 11,
    "days_to_receive": 3.29,
    "disputed": 1
  }
}