{
  "item": {
    "item_id": "RI-8854189",
    "period": "2026-08",
    "booking_id": "RS-8854189",
    "duty_id": "D-514189",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "D. Lambert",
    "station": "JNB",
    "property_id": "P-125",
    "hotel": "InterContinental OR Tambo",
    "check_in": "2026-08-23",
    "check_out": "2026-08-25",
    "nights": 2,
    "booking_amount": 510.64,
    "card_auth": 535.64,
    "card_settled": null,
    "folio_amount": 541.6,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "charge_after_expiry",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-25T02:10:00Z",
    "resolved_at": "2026-09-06T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-24",
    "age_days": 36,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-5501",
      "item_id": "RI-8854189",
      "booking_id": "RS-8854189",
      "period": "2026-08",
      "vcc_ref": "VCC-8854189",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-21T09:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854189",
      "source_ref": "feed-2026-08-5501"
    },
    {
      "event_id": "CE-5502",
      "item_id": "RI-8854189",
      "booking_id": "RS-8854189",
      "period": "2026-08",
      "vcc_ref": "VCC-8854189",
      "event_type": "auth",
      "amount": 535.64,
      "currency": "EUR",
      "occurred_at": "2026-08-23T14:20:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854189",
      "source_ref": "feed-2026-08-5502"
    },
    {
      "event_id": "CE-5503",
      "item_id": "RI-8854189",
      "booking_id": "RS-8854189",
      "period": "2026-08",
      "vcc_ref": "VCC-8854189",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-28T00:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854189",
      "source_ref": "feed-2026-08-5503"
    },
    {
      "event_id": "CE-5504",
      "item_id": "RI-8854189",
      "booking_id": "RS-8854189",
      "period": "2026-08",
      "vcc_ref": "VCC-8854189",
      "event_type": "decline",
      "amount": 541.6,
      "currency": "EUR",
      "occurred_at": "2026-08-30T10:15:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": "outside_window",
      "issuer_ref": "CNF-854189",
      "source_ref": "feed-2026-08-5504"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854189-r0",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 210.26,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854189",
      "folio_id": "folio-8854189"
    },
    {
      "line_id": "FL-RI-8854189-v0",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 31.54,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854189",
      "folio_id": "folio-8854189"
    },
    {
      "line_id": "FL-RI-8854189-a1",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 30.96,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854189",
      "folio_id": "folio-8854189"
    },
    {
      "line_id": "FL-RI-8854189-r1",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 233.77,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854189",
      "folio_id": "folio-8854189"
    },
    {
      "line_id": "FL-RI-8854189-v1",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 35.07,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854189",
      "folio_id": "folio-8854189"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854189-1",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-25T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854189-2",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-27T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854189-3",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-27T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "charge after expiry"
    },
    {
      "event_id": "RE-RI-8854189-4",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-07T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854189-3642",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-23",
      "entry_type": "pending",
      "amount": 535.64,
      "balance_effect": -535.64,
      "description": "Authorization held — InterContinental OR Tambo",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854189-3643",
      "item_id": "RI-8854189",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-28",
      "entry_type": "voided",
      "amount": 535.64,
      "balance_effect": 535.64,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-23",
      "room_net": 210.26,
      "vat_amount": 31.54,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 241.8,
      "hotel": "InterContinental OR Tambo",
      "duty_reason": "overnight",
      "night_status": "released",
      "vcc_ref": "VCC-8854189",
      "checkin_time": "01:15",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-24",
      "room_net": 233.77,
      "vat_amount": 35.07,
      "city_tax": 0,
      "ancillaries": 30.96,
      "rate_paid": 268.84,
      "hotel": "InterContinental OR Tambo",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854189",
      "checkin_time": "01:15",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8854189",
    "layover_id": "L-514190",
    "duty_id": "D-514189",
    "crew_id": "BEL-1033",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "JNB",
    "property_id": "P-125",
    "vendor_id": "VEN-04",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-20T01:15:00Z",
    "check_in": "2026-08-23",
    "check_out": "2026-08-25",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-854189",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 557.57
  },
  "duty": {
    "duty_id": "D-514189",
    "crew_id": "BEL-1033",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514189",
    "duty_type": "overnight",
    "flight_no": "TAY796",
    "dep_station": "BRU",
    "arr_station": "JNB",
    "duty_start_utc": "2026-08-22T18:05:00Z",
    "duty_end_utc": "2026-08-23T00:00:00Z",
    "duty_hours": 11.61,
    "block_hours": 6.47,
    "source_system": "aims",
    "published_at": "2026-08-10T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514190",
    "duty_in": "D-514189",
    "duty_out": "D-514189R",
    "crew_id": "BEL-1033",
    "entity_id": "ASL Airlines Belgium",
    "station": "JNB",
    "rest_starts_utc": "2026-08-23T00:00:00Z",
    "rest_ends_utc": "2026-08-25T06:00:00Z",
    "rest_hours_available": 37.7,
    "sleep_opportunity_hours": 34.99,
    "transfer_in_minutes": 44,
    "transfer_out_minutes": 52,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14190",
    "period": "2026-08",
    "booking_id": "RS-8854189",
    "item_id": "RI-8854189",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-20T01:12:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "JNB",
    "outcome": "soft_breach",
    "breach_count": 2,
    "cost_impact": 198.39,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2967",
    "eval_id": "PE-14190",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Rank grade requested by fleet office",
    "approved_at": "2026-08-20T01:13:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7385",
      "eval_id": "PE-14190",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 137.97,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-7386",
      "eval_id": "PE-14190",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 60.42,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854189",
    "booking_id": "RS-8854189",
    "item_id": "RI-8854189",
    "period": "2026-08",
    "issued_at": "2026-08-20T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 582.57,
    "currency": "EUR",
    "valid_from": "2026-08-23",
    "valid_to": "2026-09-01",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "InterContinental OR Tambo",
    "auth_count": 2,
    "settled_amount": 541.6,
    "status": "settled",
    "closed_at": "2026-08-27T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854189",
    "booking_id": "RS-8854189",
    "item_id": "RI-8854189",
    "property_id": "P-125",
    "period": "2026-08",
    "folio_number": "JNB260823-6021",
    "guest_name": "D. Lambert",
    "check_in": "2026-08-23",
    "check_out": "2026-08-25",
    "issued_at": "2026-08-25T09:30:00Z",
    "received_at": "2026-08-29T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 541.6,
    "line_count": 5,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}