{
  "item": {
    "item_id": "RI-8854380",
    "period": "2026-08",
    "booking_id": "RS-8854380",
    "duty_id": "D-514380",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "D. Lambert",
    "station": "HKG",
    "property_id": "P-120",
    "hotel": "Regal Airport Hotel",
    "check_in": "2026-08-15",
    "check_out": "2026-08-17",
    "nights": 2,
    "booking_amount": 590.14,
    "card_auth": 615.14,
    "card_settled": 616.73,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "folio_not_received",
    "state": "resolved",
    "resolution": "written_off",
    "opened_at": "2026-08-17T02:10:00Z",
    "resolved_at": "2026-08-26T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-16",
    "age_days": 30,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-6268",
      "item_id": "RI-8854380",
      "booking_id": "RS-8854380",
      "period": "2026-08",
      "vcc_ref": "VCC-8854380",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-13T09:00:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854380",
      "source_ref": "feed-2026-08-6268"
    },
    {
      "event_id": "CE-6269",
      "item_id": "RI-8854380",
      "booking_id": "RS-8854380",
      "period": "2026-08",
      "vcc_ref": "VCC-8854380",
      "event_type": "auth",
      "amount": 615.14,
      "currency": "EUR",
      "occurred_at": "2026-08-15T14:20:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854380",
      "source_ref": "feed-2026-08-6269"
    },
    {
      "event_id": "CE-6270",
      "item_id": "RI-8854380",
      "booking_id": "RS-8854380",
      "period": "2026-08",
      "vcc_ref": "VCC-8854380",
      "event_type": "capture",
      "amount": 616.73,
      "currency": "EUR",
      "occurred_at": "2026-08-17T08:05:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854380",
      "source_ref": "feed-2026-08-6270"
    },
    {
      "event_id": "CE-6271",
      "item_id": "RI-8854380",
      "booking_id": "RS-8854380",
      "period": "2026-08",
      "vcc_ref": "VCC-8854380",
      "event_type": "settle",
      "amount": 616.73,
      "currency": "EUR",
      "occurred_at": "2026-08-19T03:00:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-20",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854380",
      "source_ref": "feed-2026-08-6271"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8854380-1",
      "item_id": "RI-8854380",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-17T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854380-2",
      "item_id": "RI-8854380",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-19T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "folio not received"
    },
    {
      "event_id": "RE-RI-8854380-3",
      "item_id": "RI-8854380",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-24T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: written_off"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854380-4143",
      "item_id": "RI-8854380",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-15",
      "entry_type": "pending",
      "amount": 615.14,
      "balance_effect": -615.14,
      "description": "Authorization held — Regal Airport Hotel",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854380-4144",
      "item_id": "RI-8854380",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-19",
      "entry_type": "posted",
      "amount": 616.73,
      "balance_effect": 0,
      "description": "Charge posted — Regal Airport Hotel",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-15",
      "room_net": 290.94,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 12.77,
      "rate_paid": 290.94,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854380",
      "checkin_time": "15:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-16",
      "room_net": 299.2,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 13.82,
      "rate_paid": 299.2,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854380",
      "checkin_time": "15:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854380",
    "layover_id": "L-514381",
    "duty_id": "D-514380",
    "crew_id": "BEL-1021",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "HKG",
    "property_id": "P-120",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-12T15:00:00Z",
    "check_in": "2026-08-15",
    "check_out": "2026-08-17",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-854380",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 632.7
  },
  "duty": {
    "duty_id": "D-514380",
    "crew_id": "BEL-1021",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514380",
    "duty_type": "overnight",
    "flight_no": "TAY893",
    "dep_station": "BRU",
    "arr_station": "HKG",
    "duty_start_utc": "2026-08-14T09:40:00Z",
    "duty_end_utc": "2026-08-15T13:29:00Z",
    "duty_hours": 10.76,
    "block_hours": 6.48,
    "source_system": "aims",
    "published_at": "2026-07-28T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514381",
    "duty_in": "D-514380",
    "duty_out": "D-514380R",
    "crew_id": "BEL-1021",
    "entity_id": "ASL Airlines Belgium",
    "station": "HKG",
    "rest_starts_utc": "2026-08-15T13:29:00Z",
    "rest_ends_utc": "2026-08-17T08:45:00Z",
    "rest_hours_available": 37.82,
    "sleep_opportunity_hours": 34.36,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 57,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14381",
    "period": "2026-08",
    "booking_id": "RS-8854380",
    "item_id": "RI-8854380",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-12T14:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "HKG",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854380",
    "booking_id": "RS-8854380",
    "item_id": "RI-8854380",
    "period": "2026-08",
    "issued_at": "2026-08-12T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 657.7,
    "currency": "EUR",
    "valid_from": "2026-08-15",
    "valid_to": "2026-08-24",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Regal Airport Hotel",
    "auth_count": 2,
    "settled_amount": 616.73,
    "status": "settled",
    "closed_at": "2026-08-19T03:00:00Z"
  },
  "folioDoc": null
}