{
  "item": {
    "item_id": "RI-8853878",
    "period": "2026-08",
    "booking_id": "RS-8853878",
    "duty_id": "D-513878",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "M. Willems",
    "station": "LGG",
    "property_id": "P-110",
    "hotel": "Van der Valk Liege",
    "check_in": "2026-08-01",
    "check_out": "2026-08-02",
    "nights": 1,
    "booking_amount": 247.12,
    "card_auth": 272.12,
    "card_settled": 279.79,
    "folio_amount": 279.79,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-02T02:10:00Z",
    "resolved_at": "2026-08-10T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-01",
    "age_days": 7,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-4258",
      "item_id": "RI-8853878",
      "booking_id": "RS-8853878",
      "period": "2026-08",
      "vcc_ref": "VCC-8853878",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-07-30T09:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853878",
      "source_ref": "feed-2026-08-4258"
    },
    {
      "event_id": "CE-4259",
      "item_id": "RI-8853878",
      "booking_id": "RS-8853878",
      "period": "2026-08",
      "vcc_ref": "VCC-8853878",
      "event_type": "auth",
      "amount": 272.12,
      "currency": "EUR",
      "occurred_at": "2026-08-01T14:20:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853878",
      "source_ref": "feed-2026-08-4259"
    },
    {
      "event_id": "CE-4260",
      "item_id": "RI-8853878",
      "booking_id": "RS-8853878",
      "period": "2026-08",
      "vcc_ref": "VCC-8853878",
      "event_type": "capture",
      "amount": 279.79,
      "currency": "EUR",
      "occurred_at": "2026-08-02T08:05:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853878",
      "source_ref": "feed-2026-08-4260"
    },
    {
      "event_id": "CE-4261",
      "item_id": "RI-8853878",
      "booking_id": "RS-8853878",
      "period": "2026-08",
      "vcc_ref": "VCC-8853878",
      "event_type": "settle",
      "amount": 279.79,
      "currency": "EUR",
      "occurred_at": "2026-08-04T03:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-05",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853878",
      "source_ref": "feed-2026-08-4261"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853878-c0",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-07T07:00:00Z",
      "source_ref": "folio-8853878",
      "folio_id": "folio-8853878"
    },
    {
      "line_id": "FL-RI-8853878-a0",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 32.67,
      "disputed": 0,
      "received_at": "2026-08-07T07:00:00Z",
      "source_ref": "folio-8853878",
      "folio_id": "folio-8853878"
    },
    {
      "line_id": "FL-RI-8853878-r0",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "room",
      "description": "Room charge",
      "amount": 229.36,
      "disputed": 0,
      "received_at": "2026-08-07T07:00:00Z",
      "source_ref": "folio-8853878",
      "folio_id": "folio-8853878"
    },
    {
      "line_id": "FL-RI-8853878-v0",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 13.76,
      "disputed": 0,
      "received_at": "2026-08-07T07:00:00Z",
      "source_ref": "folio-8853878",
      "folio_id": "folio-8853878"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853878-1",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-02T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853878-2",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-04T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853878-3",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-04T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853878-4",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-09T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853878-2821",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-01",
      "entry_type": "pending",
      "amount": 272.12,
      "balance_effect": -272.12,
      "description": "Authorization held — Van der Valk Liege",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853878-2822",
      "item_id": "RI-8853878",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-04",
      "entry_type": "posted",
      "amount": 279.79,
      "balance_effect": 0,
      "description": "Charge posted — Van der Valk Liege",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-01",
      "room_net": 229.36,
      "vat_amount": 13.76,
      "city_tax": 4,
      "ancillaries": 32.67,
      "rate_paid": 247.12,
      "hotel": "Van der Valk Liege",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853878",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853878",
    "layover_id": "L-513879",
    "duty_id": "D-513878",
    "crew_id": "BEL-1017",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "LGG",
    "property_id": "P-110",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-07-31T22:30:00Z",
    "check_in": "2026-08-01",
    "check_out": "2026-08-02",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853878",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 295.76
  },
  "duty": {
    "duty_id": "D-513878",
    "crew_id": "BEL-1017",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513878",
    "duty_type": "irops",
    "flight_no": "TAY372",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-07-31T09:40:00Z",
    "duty_end_utc": "2026-08-01T21:33:00Z",
    "duty_hours": 11.43,
    "block_hours": 5.12,
    "source_system": "aims",
    "published_at": "2026-07-13T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513879",
    "duty_in": "D-513878",
    "duty_out": "D-513878R",
    "crew_id": "BEL-1017",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-01T21:33:00Z",
    "rest_ends_utc": "2026-08-02T11:20:00Z",
    "rest_hours_available": 14.5,
    "sleep_opportunity_hours": 12,
    "transfer_in_minutes": 22,
    "transfer_out_minutes": 26,
    "nights": 1,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13879",
    "period": "2026-08",
    "booking_id": "RS-8853878",
    "item_id": "RI-8853878",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-31T22:27:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "LGG",
    "outcome": "soft_breach",
    "breach_count": 3,
    "cost_impact": 130.41,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2911",
    "eval_id": "PE-13879",
    "period": "2026-08",
    "approver": "R. Menon",
    "approver_role": "travel_desk",
    "reason": "Operational necessity — disruption",
    "approved_at": "2026-07-31T22:28:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7220",
      "eval_id": "PE-13879",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 23.78,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-7221",
      "eval_id": "PE-13879",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "1 days",
      "limit_value": "48 hours",
      "cost_impact": 106.63,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-D8315",
      "eval_id": "PE-13879",
      "period": "2026-08",
      "rule_id": "R-RECEPTION",
      "layer": "regulatory",
      "severity": "approve",
      "observed": "Arrival 22:30, reception unstaffed",
      "limit_value": "staffed 24h",
      "cost_impact": 0,
      "resolved": "approved",
      "name": "24-hour reception",
      "authority": "ASL",
      "reference": "ASL OM-A 7.5"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853878",
    "booking_id": "RS-8853878",
    "item_id": "RI-8853878",
    "period": "2026-08",
    "issued_at": "2026-07-31T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 320.76,
    "currency": "EUR",
    "valid_from": "2026-08-01",
    "valid_to": "2026-08-09",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Van der Valk Liege",
    "auth_count": 1,
    "settled_amount": 279.79,
    "status": "authorised",
    "closed_at": "2026-08-04T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853878",
    "booking_id": "RS-8853878",
    "item_id": "RI-8853878",
    "property_id": "P-110",
    "period": "2026-08",
    "folio_number": "LGG260801-3196",
    "guest_name": "M. Willems",
    "check_in": "2026-08-01",
    "check_out": "2026-08-02",
    "issued_at": "2026-08-02T09:30:00Z",
    "received_at": "2026-08-07T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 279.79,
    "line_count": 4,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}