{
  "item": {
    "item_id": "RI-8853908",
    "period": "2026-08",
    "booking_id": "RS-8853908",
    "duty_id": "D-513908",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "C. Vermeulen",
    "station": "JNB",
    "property_id": "P-125",
    "hotel": "InterContinental OR Tambo",
    "check_in": "2026-08-18",
    "check_out": "2026-08-20",
    "nights": 2,
    "booking_amount": 633.32,
    "card_auth": 470.3,
    "card_settled": 470.3,
    "folio_amount": 633.32,
    "variance": 163.02,
    "variance_pct": 25.74,
    "variance_category": "unexplained",
    "match_state": "unmatched",
    "exception_type": "partial_authorization",
    "state": "final",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-20T02:10:00Z",
    "resolved_at": "2026-08-28T11:00:00Z",
    "final_at": "2026-09-19T00:01:00Z",
    "final_due_at": "2026-09-19",
    "age_days": 21,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4379",
      "item_id": "RI-8853908",
      "booking_id": "RS-8853908",
      "period": "2026-08",
      "vcc_ref": "VCC-8853908",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-16T09:00:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853908",
      "source_ref": "feed-2026-08-4379"
    },
    {
      "event_id": "CE-4380",
      "item_id": "RI-8853908",
      "booking_id": "RS-8853908",
      "period": "2026-08",
      "vcc_ref": "VCC-8853908",
      "event_type": "partial_auth",
      "amount": 470.3,
      "currency": "EUR",
      "occurred_at": "2026-08-18T14:20:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853908",
      "source_ref": "feed-2026-08-4380"
    },
    {
      "event_id": "CE-4381",
      "item_id": "RI-8853908",
      "booking_id": "RS-8853908",
      "period": "2026-08",
      "vcc_ref": "VCC-8853908",
      "event_type": "capture",
      "amount": 470.3,
      "currency": "EUR",
      "occurred_at": "2026-08-20T08:05:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853908",
      "source_ref": "feed-2026-08-4381"
    },
    {
      "event_id": "CE-4382",
      "item_id": "RI-8853908",
      "booking_id": "RS-8853908",
      "period": "2026-08",
      "vcc_ref": "VCC-8853908",
      "event_type": "settle",
      "amount": 470.3,
      "currency": "EUR",
      "occurred_at": "2026-08-22T03:00:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853908",
      "source_ref": "feed-2026-08-4382"
    },
    {
      "event_id": "CE-4383",
      "item_id": "RI-8853908",
      "booking_id": "RS-8853908",
      "period": "2026-08",
      "vcc_ref": "VCC-8853908",
      "event_type": "refund",
      "amount": -163.02,
      "currency": "EUR",
      "occurred_at": "2026-09-01T16:30:00Z",
      "valid_from": "2026-08-18",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853908",
      "source_ref": "feed-2026-08-4383"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853908-r0",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "room",
      "description": "Room charge",
      "amount": 275.86,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853908",
      "folio_id": "folio-8853908"
    },
    {
      "line_id": "FL-RI-8853908-v0",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 41.38,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853908",
      "folio_id": "folio-8853908"
    },
    {
      "line_id": "FL-RI-8853908-r1",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "room",
      "description": "Room charge",
      "amount": 274.85,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853908",
      "folio_id": "folio-8853908"
    },
    {
      "line_id": "FL-RI-8853908-v1",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 41.23,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853908",
      "folio_id": "folio-8853908"
    },
    {
      "line_id": "FL-RI-8853908-x",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "adjustment",
      "description": "Unexplained charge",
      "amount": 163.02,
      "disputed": 1,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8853908",
      "folio_id": "folio-8853908"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853908-1",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-20T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853908-2",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-22T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853908-3",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-22T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "partial authorization — 163.02 EUR"
    },
    {
      "event_id": "RE-RI-8853908-4",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-23T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as unexplained"
    },
    {
      "event_id": "RE-RI-8853908-5",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-24T14:00:00Z",
      "event": "disputed",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8853908-6",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-01T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8853908-7",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-08-23T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    },
    {
      "event_id": "RE-RI-8853908-8",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "seq": 8,
      "occurred_at": "2026-09-19T00: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-8853908-2900",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-18",
      "entry_type": "pending",
      "amount": 470.3,
      "balance_effect": -470.3,
      "description": "Authorization held — InterContinental OR Tambo",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853908-2901",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-22",
      "entry_type": "posted",
      "amount": 470.3,
      "balance_effect": 0,
      "description": "Charge posted — InterContinental OR Tambo",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853908-2902",
      "item_id": "RI-8853908",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-01",
      "entry_type": "refund",
      "amount": -163.02,
      "balance_effect": 163.02,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-18",
      "room_net": 275.86,
      "vat_amount": 41.38,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 317.24,
      "hotel": "InterContinental OR Tambo",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853908",
      "checkin_time": "15:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-19",
      "room_net": 274.85,
      "vat_amount": 41.23,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 316.08,
      "hotel": "InterContinental OR Tambo",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853908",
      "checkin_time": "15:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853908",
    "layover_id": "L-513909",
    "duty_id": "D-513908",
    "crew_id": "BEL-1060",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "JNB",
    "property_id": "P-125",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-18T03:00:00Z",
    "check_in": "2026-08-18",
    "check_out": "2026-08-20",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-853908",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 649.29
  },
  "duty": {
    "duty_id": "D-513908",
    "crew_id": "BEL-1060",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513908",
    "duty_type": "irops",
    "flight_no": "TAY723",
    "dep_station": "BRU",
    "arr_station": "JNB",
    "duty_start_utc": "2026-08-17T09:40:00Z",
    "duty_end_utc": "2026-08-18T13:41:00Z",
    "duty_hours": 9.1,
    "block_hours": 4.41,
    "source_system": "aims",
    "published_at": "2026-07-29T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513909",
    "duty_in": "D-513908",
    "duty_out": "D-513908R",
    "crew_id": "BEL-1060",
    "entity_id": "ASL Airlines Belgium",
    "station": "JNB",
    "rest_starts_utc": "2026-08-18T13:41:00Z",
    "rest_ends_utc": "2026-08-20T08:45:00Z",
    "rest_hours_available": 37.16,
    "sleep_opportunity_hours": 34.07,
    "transfer_in_minutes": 44,
    "transfer_out_minutes": 44,
    "nights": 2,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13909",
    "period": "2026-08",
    "booking_id": "RS-8853908",
    "item_id": "RI-8853908",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-18T02:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "JNB",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853908",
    "booking_id": "RS-8853908",
    "item_id": "RI-8853908",
    "period": "2026-08",
    "issued_at": "2026-08-18T03:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 674.29,
    "currency": "EUR",
    "valid_from": "2026-08-18",
    "valid_to": "2026-08-27",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "InterContinental OR Tambo",
    "auth_count": 2,
    "settled_amount": 633.32,
    "status": "settled",
    "closed_at": "2026-08-22T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853908",
    "booking_id": "RS-8853908",
    "item_id": "RI-8853908",
    "property_id": "P-125",
    "period": "2026-08",
    "folio_number": "JNB260818-7383",
    "guest_name": "C. Vermeulen",
    "check_in": "2026-08-18",
    "check_out": "2026-08-20",
    "issued_at": "2026-08-20T09:30:00Z",
    "received_at": "2026-08-22T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 633.32,
    "line_count": 5,
    "days_to_receive": 2.29,
    "disputed": 1
  }
}