{
  "item": {
    "item_id": "RI-8853676",
    "period": "2026-08",
    "booking_id": "RS-8853676",
    "duty_id": "D-513676",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "N. O Conaill",
    "station": "CGN",
    "property_id": "P-107",
    "hotel": "Ibis Koln Messe",
    "check_in": "2026-08-03",
    "check_out": "2026-08-07",
    "nights": 4,
    "booking_amount": 1092.41,
    "card_auth": 1117.41,
    "card_settled": 1305.36,
    "folio_amount": 1305.36,
    "variance": 195.05,
    "variance_pct": 17.86,
    "variance_category": "currency",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-07T02:10:00Z",
    "resolved_at": "2026-08-11T11:00:00Z",
    "final_at": "2026-09-06T00:01:00Z",
    "final_due_at": "2026-09-06",
    "age_days": 20,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-3451",
      "item_id": "RI-8853676",
      "booking_id": "RS-8853676",
      "period": "2026-08",
      "vcc_ref": "VCC-8853676",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-01T09:00:00Z",
      "valid_from": "2026-08-03",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853676",
      "source_ref": "feed-2026-08-3451"
    },
    {
      "event_id": "CE-3452",
      "item_id": "RI-8853676",
      "booking_id": "RS-8853676",
      "period": "2026-08",
      "vcc_ref": "VCC-8853676",
      "event_type": "auth",
      "amount": 1117.41,
      "currency": "EUR",
      "occurred_at": "2026-08-03T14:20:00Z",
      "valid_from": "2026-08-03",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853676",
      "source_ref": "feed-2026-08-3452"
    },
    {
      "event_id": "CE-3453",
      "item_id": "RI-8853676",
      "booking_id": "RS-8853676",
      "period": "2026-08",
      "vcc_ref": "VCC-8853676",
      "event_type": "capture",
      "amount": 1305.36,
      "currency": "EUR",
      "occurred_at": "2026-08-07T08:05:00Z",
      "valid_from": "2026-08-03",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853676",
      "source_ref": "feed-2026-08-3453"
    },
    {
      "event_id": "CE-3454",
      "item_id": "RI-8853676",
      "booking_id": "RS-8853676",
      "period": "2026-08",
      "vcc_ref": "VCC-8853676",
      "event_type": "settle",
      "amount": 1305.36,
      "currency": "EUR",
      "occurred_at": "2026-08-09T03:00:00Z",
      "valid_from": "2026-08-03",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853676",
      "source_ref": "feed-2026-08-3454"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853676-c0",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-r0",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "room",
      "description": "Room charge",
      "amount": 310.4,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-v0",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 21.73,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-c1",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-04",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-r1",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-04",
      "line_type": "room",
      "description": "Room charge",
      "amount": 230.62,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-v1",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-04",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.14,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-c2",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-a2",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 17.9,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-r2",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "room",
      "description": "Room charge",
      "amount": 230.62,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-v2",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.14,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-c3",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-r3",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "room",
      "description": "Room charge",
      "amount": 230.62,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-v3",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.14,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    },
    {
      "line_id": "FL-RI-8853676-x",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "adjustment",
      "description": "FX adjustment",
      "amount": 195.05,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8853676",
      "folio_id": "folio-8853676"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853676-1",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-07T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853676-2",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-09T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853676-3",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-09T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 195.05 EUR"
    },
    {
      "event_id": "RE-RI-8853676-4",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-10T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as currency"
    },
    {
      "event_id": "RE-RI-8853676-5",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-11T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8853676-6",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-06T00: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-8853676-2285",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-03",
      "entry_type": "pending",
      "amount": 1117.41,
      "balance_effect": -1117.41,
      "description": "Authorization held — Ibis Koln Messe",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853676-2286",
      "item_id": "RI-8853676",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-09",
      "entry_type": "posted",
      "amount": 1305.36,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Koln Messe",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-03",
      "room_net": 310.4,
      "vat_amount": 21.73,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 337.13,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853676",
      "checkin_time": "16:00",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-04",
      "room_net": 230.62,
      "vat_amount": 16.14,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 251.76,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853676",
      "checkin_time": "16:00",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-05",
      "room_net": 230.62,
      "vat_amount": 16.14,
      "city_tax": 5,
      "ancillaries": 17.9,
      "rate_paid": 251.76,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853676",
      "checkin_time": "16:00",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-06",
      "room_net": 230.62,
      "vat_amount": 16.14,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 251.76,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853676",
      "checkin_time": "16:00",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853676",
    "layover_id": "L-513677",
    "duty_id": "D-513676",
    "crew_id": "IRE-1049",
    "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": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-02T16:00:00Z",
    "check_in": "2026-08-03",
    "check_out": "2026-08-07",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853676",
    "cancellation_deadline": "2026-08-02T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1126.28
  },
  "duty": {
    "duty_id": "D-513676",
    "crew_id": "IRE-1049",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513676",
    "duty_type": "overnight",
    "flight_no": "ABR872",
    "dep_station": "EMA",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-02T18:05:00Z",
    "duty_end_utc": "2026-08-03T15:15:00Z",
    "duty_hours": 10.11,
    "block_hours": 6.18,
    "source_system": "aims",
    "published_at": "2026-07-17T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513677",
    "duty_in": "D-513676",
    "duty_out": "D-513676R",
    "crew_id": "IRE-1049",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-03T15:15:00Z",
    "rest_ends_utc": "2026-08-07T06:00:00Z",
    "rest_hours_available": 84.3,
    "sleep_opportunity_hours": 82.42,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 9,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13677",
    "period": "2026-08",
    "booking_id": "RS-8853676",
    "item_id": "RI-8853676",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-02T15:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "CGN",
    "outcome": "soft_breach",
    "breach_count": 2,
    "cost_impact": 174.82,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2867",
    "eval_id": "PE-13677",
    "period": "2026-08",
    "approver": "R. Menon",
    "approver_role": "travel_desk",
    "reason": "Late schedule change inside window",
    "approved_at": "2026-08-02T15:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7115",
      "eval_id": "PE-13677",
      "period": "2026-08",
      "rule_id": "R-CAP",
      "layer": "commercial",
      "severity": "approve",
      "observed": "337.13 EUR",
      "limit_value": "281.76 EUR",
      "cost_impact": 85.37,
      "resolved": "approved",
      "name": "Rate cap",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-7116",
      "eval_id": "PE-13677",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "1 days",
      "limit_value": "48 hours",
      "cost_impact": 89.45,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853676",
    "booking_id": "RS-8853676",
    "item_id": "RI-8853676",
    "period": "2026-08",
    "issued_at": "2026-08-02T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1151.28,
    "currency": "EUR",
    "valid_from": "2026-08-03",
    "valid_to": "2026-08-14",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Koln Messe",
    "auth_count": 4,
    "settled_amount": 1110.31,
    "status": "settled",
    "closed_at": "2026-08-09T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853676",
    "booking_id": "RS-8853676",
    "item_id": "RI-8853676",
    "property_id": "P-107",
    "period": "2026-08",
    "folio_number": "CGN260803-4767",
    "guest_name": "N. O Conaill",
    "check_in": "2026-08-03",
    "check_out": "2026-08-07",
    "issued_at": "2026-08-07T09:30:00Z",
    "received_at": "2026-08-09T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 1305.36,
    "line_count": 14,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}