{
  "item": {
    "item_id": "RI-8853929",
    "period": "2026-08",
    "booking_id": "RS-8853929",
    "duty_id": "D-513929",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "H. De Smet",
    "station": "DXB",
    "property_id": "P-122",
    "hotel": "Millennium Airport Hotel Dubai",
    "check_in": "2026-08-20",
    "check_out": "2026-08-21",
    "nights": 1,
    "booking_amount": 289.11,
    "card_auth": 314.11,
    "card_settled": 289.11,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "folio_not_received",
    "state": "investigating",
    "resolution": null,
    "opened_at": "2026-08-21T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-20",
    "age_days": 21,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4464",
      "item_id": "RI-8853929",
      "booking_id": "RS-8853929",
      "period": "2026-08",
      "vcc_ref": "VCC-8853929",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-18T09:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853929",
      "source_ref": "feed-2026-08-4464"
    },
    {
      "event_id": "CE-4465",
      "item_id": "RI-8853929",
      "booking_id": "RS-8853929",
      "period": "2026-08",
      "vcc_ref": "VCC-8853929",
      "event_type": "auth",
      "amount": 314.11,
      "currency": "EUR",
      "occurred_at": "2026-08-20T14:20:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853929",
      "source_ref": "feed-2026-08-4465"
    },
    {
      "event_id": "CE-4466",
      "item_id": "RI-8853929",
      "booking_id": "RS-8853929",
      "period": "2026-08",
      "vcc_ref": "VCC-8853929",
      "event_type": "capture",
      "amount": 289.11,
      "currency": "EUR",
      "occurred_at": "2026-08-21T08:05:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853929",
      "source_ref": "feed-2026-08-4466"
    },
    {
      "event_id": "CE-4467",
      "item_id": "RI-8853929",
      "booking_id": "RS-8853929",
      "period": "2026-08",
      "vcc_ref": "VCC-8853929",
      "event_type": "settle",
      "amount": 289.11,
      "currency": "EUR",
      "occurred_at": "2026-08-23T03:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853929",
      "source_ref": "feed-2026-08-4467"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8853929-1",
      "item_id": "RI-8853929",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-21T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853929-2",
      "item_id": "RI-8853929",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-23T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "folio not received"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853929-2958",
      "item_id": "RI-8853929",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-20",
      "entry_type": "pending",
      "amount": 314.11,
      "balance_effect": -314.11,
      "description": "Authorization held — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853929-2959",
      "item_id": "RI-8853929",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-23",
      "entry_type": "posted",
      "amount": 289.11,
      "balance_effect": 0,
      "description": "Charge posted — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853929-2960",
      "item_id": "RI-8853929",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-23",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-20",
      "room_net": 270.58,
      "vat_amount": 13.53,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 289.11,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853929",
      "checkin_time": "15:00",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853929",
    "layover_id": "L-513930",
    "duty_id": "D-513929",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-122",
    "vendor_id": null,
    "contract_id": "C-122",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-17T15:00:00Z",
    "check_in": "2026-08-20",
    "check_out": "2026-08-21",
    "nights": 1,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853929",
    "cancellation_deadline": "2026-08-19T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 305.08
  },
  "duty": {
    "duty_id": "D-513929",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513929",
    "duty_type": "overnight",
    "flight_no": "TAY283",
    "dep_station": "LGG",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-19T15:30:00Z",
    "duty_end_utc": "2026-08-20T13:29:00Z",
    "duty_hours": 12.38,
    "block_hours": 7.72,
    "source_system": "aims",
    "published_at": "2026-08-08T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513930",
    "duty_in": "D-513929",
    "duty_out": "D-513929R",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-20T13:29:00Z",
    "rest_ends_utc": "2026-08-21T08:45:00Z",
    "rest_hours_available": 16.33,
    "sleep_opportunity_hours": 13.35,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 58,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13930",
    "period": "2026-08",
    "booking_id": "RS-8853929",
    "item_id": "RI-8853929",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-17T14:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853929",
    "booking_id": "RS-8853929",
    "item_id": "RI-8853929",
    "period": "2026-08",
    "issued_at": "2026-08-17T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 330.08,
    "currency": "EUR",
    "valid_from": "2026-08-20",
    "valid_to": "2026-08-28",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Millennium Airport Hotel Dubai",
    "auth_count": 1,
    "settled_amount": 289.11,
    "status": "authorised",
    "closed_at": "2026-08-23T03:00:00Z"
  },
  "folioDoc": null
}