{
  "item": {
    "item_id": "RI-8854139",
    "period": "2026-08",
    "booking_id": "RS-8854139",
    "duty_id": "D-514139",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "A. Peeters",
    "station": "HKG",
    "property_id": "P-120",
    "hotel": "Regal Airport Hotel",
    "check_in": "2026-08-30",
    "check_out": "2026-08-31",
    "nights": 1,
    "booking_amount": 293.41,
    "card_auth": 318.41,
    "card_settled": 652.14,
    "folio_amount": 652.14,
    "variance": 347.7,
    "variance_pct": 118.5,
    "variance_category": "rate_change",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-31T02:10:00Z",
    "resolved_at": "2026-09-12T11:00:00Z",
    "final_at": "2026-09-30T00:01:00Z",
    "final_due_at": "2026-09-30",
    "age_days": 37,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-5300",
      "item_id": "RI-8854139",
      "booking_id": "RS-8854139",
      "period": "2026-08",
      "vcc_ref": "VCC-8854139",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-28T09:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854139",
      "source_ref": "feed-2026-08-5300"
    },
    {
      "event_id": "CE-5301",
      "item_id": "RI-8854139",
      "booking_id": "RS-8854139",
      "period": "2026-08",
      "vcc_ref": "VCC-8854139",
      "event_type": "auth",
      "amount": 318.41,
      "currency": "EUR",
      "occurred_at": "2026-08-30T14:20:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854139",
      "source_ref": "feed-2026-08-5301"
    },
    {
      "event_id": "CE-5302",
      "item_id": "RI-8854139",
      "booking_id": "RS-8854139",
      "period": "2026-08",
      "vcc_ref": "VCC-8854139",
      "event_type": "capture",
      "amount": 652.14,
      "currency": "EUR",
      "occurred_at": "2026-08-31T08:05:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854139",
      "source_ref": "feed-2026-08-5302"
    },
    {
      "event_id": "CE-5303",
      "item_id": "RI-8854139",
      "booking_id": "RS-8854139",
      "period": "2026-08",
      "vcc_ref": "VCC-8854139",
      "event_type": "settle",
      "amount": 652.14,
      "currency": "EUR",
      "occurred_at": "2026-09-02T03:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854139",
      "source_ref": "feed-2026-08-5303"
    },
    {
      "event_id": "CE-5304",
      "item_id": "RI-8854139",
      "booking_id": "RS-8854139",
      "period": "2026-08",
      "vcc_ref": "VCC-8854139",
      "event_type": "refund",
      "amount": -347.7,
      "currency": "EUR",
      "occurred_at": "2026-09-12T16:30:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854139",
      "source_ref": "feed-2026-08-5304"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854139-a0",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 11.03,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854139",
      "folio_id": "folio-8854139"
    },
    {
      "line_id": "FL-RI-8854139-r0",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "room",
      "description": "Room charge",
      "amount": 293.41,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854139",
      "folio_id": "folio-8854139"
    },
    {
      "line_id": "FL-RI-8854139-x",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "adjustment",
      "description": "Rate adjustment",
      "amount": 347.7,
      "disputed": 1,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854139",
      "folio_id": "folio-8854139"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854139-1",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-31T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854139-2",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-02T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854139-3",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-02T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 347.70 EUR"
    },
    {
      "event_id": "RE-RI-8854139-4",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-03T10:20:00Z",
      "event": "category_assigned",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Categorised as rate change"
    },
    {
      "event_id": "RE-RI-8854139-5",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-04T14:00:00Z",
      "event": "disputed",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8854139-6",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-12T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8854139-7",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-09-12T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    },
    {
      "event_id": "RE-RI-8854139-8",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "seq": 8,
      "occurred_at": "2026-09-30T00: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-8854139-3511",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-30",
      "entry_type": "pending",
      "amount": 318.41,
      "balance_effect": -318.41,
      "description": "Authorization held — Regal Airport Hotel",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854139-3512",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-02",
      "entry_type": "posted",
      "amount": 652.14,
      "balance_effect": 0,
      "description": "Charge posted — Regal Airport Hotel",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854139-3513",
      "item_id": "RI-8854139",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-12",
      "entry_type": "refund",
      "amount": -347.7,
      "balance_effect": 347.7,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-30",
      "room_net": 293.41,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 11.03,
      "rate_paid": 293.41,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854139",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854139",
    "layover_id": "L-514140",
    "duty_id": "D-514139",
    "crew_id": "BEL-1075",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "HKG",
    "property_id": "P-120",
    "vendor_id": null,
    "contract_id": "C-120",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-21T14:00:00Z",
    "check_in": "2026-08-30",
    "check_out": "2026-08-31",
    "nights": 1,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-854139",
    "cancellation_deadline": "2026-08-29T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 320.41
  },
  "duty": {
    "duty_id": "D-514139",
    "crew_id": "BEL-1075",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514139",
    "duty_type": "overnight",
    "flight_no": "TAY797",
    "dep_station": "LGG",
    "arr_station": "HKG",
    "duty_start_utc": "2026-08-29T09:40:00Z",
    "duty_end_utc": "2026-08-30T12:29:00Z",
    "duty_hours": 7.5,
    "block_hours": 5.7,
    "source_system": "aims",
    "published_at": "2026-08-13T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514140",
    "duty_in": "D-514139",
    "duty_out": "D-514139R",
    "crew_id": "BEL-1075",
    "entity_id": "ASL Airlines Belgium",
    "station": "HKG",
    "rest_starts_utc": "2026-08-30T12:29:00Z",
    "rest_ends_utc": "2026-08-31T08:45:00Z",
    "rest_hours_available": 14.37,
    "sleep_opportunity_hours": 10.86,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 53,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14140",
    "period": "2026-08",
    "booking_id": "RS-8854139",
    "item_id": "RI-8854139",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-21T13: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-8854139",
    "booking_id": "RS-8854139",
    "item_id": "RI-8854139",
    "period": "2026-08",
    "issued_at": "2026-08-21T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 345.41,
    "currency": "EUR",
    "valid_from": "2026-08-30",
    "valid_to": "2026-09-07",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Regal Airport Hotel",
    "auth_count": 1,
    "settled_amount": 304.44,
    "status": "settled",
    "closed_at": "2026-09-02T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854139",
    "booking_id": "RS-8854139",
    "item_id": "RI-8854139",
    "property_id": "P-120",
    "period": "2026-08",
    "folio_number": "HKG260830-6918",
    "guest_name": "A. Peeters",
    "check_in": "2026-08-30",
    "check_out": "2026-08-31",
    "issued_at": "2026-08-31T09:30:00Z",
    "received_at": "2026-09-04T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 652.14,
    "line_count": 3,
    "days_to_receive": 4.29,
    "disputed": 1
  }
}