{
  "item": {
    "item_id": "RI-8854158",
    "period": "2026-08",
    "booking_id": "RS-8854158",
    "duty_id": "D-514158",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "O. Wouters",
    "station": "HKG",
    "property_id": "P-121",
    "hotel": "Hong Kong SkyCity Marriott",
    "check_in": "2026-08-27",
    "check_out": "2026-08-29",
    "nights": 2,
    "booking_amount": 648.88,
    "card_auth": 673.88,
    "card_settled": 675.86,
    "folio_amount": 675.86,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-29T02:10:00Z",
    "resolved_at": "2026-09-09T11:00:00Z",
    "final_at": "2026-09-28T00:01:00Z",
    "final_due_at": "2026-09-28",
    "age_days": 40,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-5377",
      "item_id": "RI-8854158",
      "booking_id": "RS-8854158",
      "period": "2026-08",
      "vcc_ref": "VCC-8854158",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-25T09:00:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854158",
      "source_ref": "feed-2026-08-5377"
    },
    {
      "event_id": "CE-5378",
      "item_id": "RI-8854158",
      "booking_id": "RS-8854158",
      "period": "2026-08",
      "vcc_ref": "VCC-8854158",
      "event_type": "auth",
      "amount": 673.88,
      "currency": "EUR",
      "occurred_at": "2026-08-27T14:20:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854158",
      "source_ref": "feed-2026-08-5378"
    },
    {
      "event_id": "CE-5379",
      "item_id": "RI-8854158",
      "booking_id": "RS-8854158",
      "period": "2026-08",
      "vcc_ref": "VCC-8854158",
      "event_type": "capture",
      "amount": 675.86,
      "currency": "EUR",
      "occurred_at": "2026-08-29T08:05:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854158",
      "source_ref": "feed-2026-08-5379"
    },
    {
      "event_id": "CE-5380",
      "item_id": "RI-8854158",
      "booking_id": "RS-8854158",
      "period": "2026-08",
      "vcc_ref": "VCC-8854158",
      "event_type": "settle",
      "amount": 675.86,
      "currency": "EUR",
      "occurred_at": "2026-08-31T03:00:00Z",
      "valid_from": "2026-08-27",
      "valid_to": "2026-09-01",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854158",
      "source_ref": "feed-2026-08-5380"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854158-r0",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "room",
      "description": "Room charge",
      "amount": 336.87,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854158",
      "folio_id": "folio-8854158"
    },
    {
      "line_id": "FL-RI-8854158-a1",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "line_date": "2026-08-28",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 26.98,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854158",
      "folio_id": "folio-8854158"
    },
    {
      "line_id": "FL-RI-8854158-r1",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "line_date": "2026-08-28",
      "line_type": "room",
      "description": "Room charge",
      "amount": 312.01,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854158",
      "folio_id": "folio-8854158"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854158-1",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-29T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854158-2",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-31T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854158-3",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-31T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854158-4",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-09T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854158-5",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-28T00: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-8854158-3560",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-27",
      "entry_type": "pending",
      "amount": 673.88,
      "balance_effect": -673.88,
      "description": "Authorization held — Hong Kong SkyCity Marriott",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854158-3561",
      "item_id": "RI-8854158",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-31",
      "entry_type": "posted",
      "amount": 675.86,
      "balance_effect": 0,
      "description": "Charge posted — Hong Kong SkyCity Marriott",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-27",
      "room_net": 336.87,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 336.87,
      "hotel": "Hong Kong SkyCity Marriott",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854158",
      "checkin_time": "15:00",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-28",
      "room_net": 312.01,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 26.98,
      "rate_paid": 312.01,
      "hotel": "Hong Kong SkyCity Marriott",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854158",
      "checkin_time": "15:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8854158",
    "layover_id": "L-514159",
    "duty_id": "D-514158",
    "crew_id": "BEL-1043",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "HKG",
    "property_id": "P-121",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "crew_app",
    "requested_by": "BEL-1043",
    "created_at": "2026-08-25T15:00:00Z",
    "check_in": "2026-08-27",
    "check_out": "2026-08-29",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-854158",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 691.83
  },
  "duty": {
    "duty_id": "D-514158",
    "crew_id": "BEL-1043",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514158",
    "duty_type": "positioning",
    "flight_no": "TAY524",
    "dep_station": "LGG",
    "arr_station": "HKG",
    "duty_start_utc": "2026-08-26T18:05:00Z",
    "duty_end_utc": "2026-08-27T13:41:00Z",
    "duty_hours": 11.76,
    "block_hours": 8.21,
    "source_system": "aims",
    "published_at": "2026-08-19T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514159",
    "duty_in": "D-514158",
    "duty_out": "D-514158R",
    "crew_id": "BEL-1043",
    "entity_id": "ASL Airlines Belgium",
    "station": "HKG",
    "rest_starts_utc": "2026-08-27T13:41:00Z",
    "rest_ends_utc": "2026-08-29T11:20:00Z",
    "rest_hours_available": 36.84,
    "sleep_opportunity_hours": 33.49,
    "transfer_in_minutes": 44,
    "transfer_out_minutes": 50,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14159",
    "period": "2026-08",
    "booking_id": "RS-8854158",
    "item_id": "RI-8854158",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-25T14:57:00Z",
    "channel": "travel_desk",
    "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-8854158",
    "booking_id": "RS-8854158",
    "item_id": "RI-8854158",
    "period": "2026-08",
    "issued_at": "2026-08-25T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 716.83,
    "currency": "EUR",
    "valid_from": "2026-08-27",
    "valid_to": "2026-09-05",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Hong Kong SkyCity Marriott",
    "auth_count": 2,
    "settled_amount": 675.86,
    "status": "settled",
    "closed_at": "2026-08-31T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854158",
    "booking_id": "RS-8854158",
    "item_id": "RI-8854158",
    "property_id": "P-121",
    "period": "2026-08",
    "folio_number": "HKG260827-1416",
    "guest_name": "O. Wouters",
    "check_in": "2026-08-27",
    "check_out": "2026-08-29",
    "issued_at": "2026-08-29T09:30:00Z",
    "received_at": "2026-09-02T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 675.86,
    "line_count": 3,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}