{
  "item": {
    "item_id": "RI-8853860",
    "period": "2026-08",
    "booking_id": "RS-8853860",
    "duty_id": "D-513860",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "L. Claes",
    "station": "JNB",
    "property_id": "P-124",
    "hotel": "Protea OR Tambo",
    "check_in": "2026-08-10",
    "check_out": "2026-08-14",
    "nights": 4,
    "booking_amount": 1199.36,
    "card_auth": 1224.36,
    "card_settled": 1231.21,
    "folio_amount": 1231.21,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-14T02:10:00Z",
    "resolved_at": "2026-08-18T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-13",
    "age_days": 23,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-4185",
      "item_id": "RI-8853860",
      "booking_id": "RS-8853860",
      "period": "2026-08",
      "vcc_ref": "VCC-8853860",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-08T09:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853860",
      "source_ref": "feed-2026-08-4185"
    },
    {
      "event_id": "CE-4186",
      "item_id": "RI-8853860",
      "booking_id": "RS-8853860",
      "period": "2026-08",
      "vcc_ref": "VCC-8853860",
      "event_type": "auth",
      "amount": 1224.36,
      "currency": "EUR",
      "occurred_at": "2026-08-10T14:20:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853860",
      "source_ref": "feed-2026-08-4186"
    },
    {
      "event_id": "CE-4187",
      "item_id": "RI-8853860",
      "booking_id": "RS-8853860",
      "period": "2026-08",
      "vcc_ref": "VCC-8853860",
      "event_type": "capture",
      "amount": 1231.21,
      "currency": "EUR",
      "occurred_at": "2026-08-14T08:05:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853860",
      "source_ref": "feed-2026-08-4187"
    },
    {
      "event_id": "CE-4188",
      "item_id": "RI-8853860",
      "booking_id": "RS-8853860",
      "period": "2026-08",
      "vcc_ref": "VCC-8853860",
      "event_type": "settle",
      "amount": 1231.21,
      "currency": "EUR",
      "occurred_at": "2026-08-16T03:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853860",
      "source_ref": "feed-2026-08-4188"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853860-r0",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.36,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-v0",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 37.1,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-r1",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "room",
      "description": "Room charge",
      "amount": 259.16,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-v1",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 38.87,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-r2",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 273.17,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-v2",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 40.97,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-a3",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 31.85,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-r3",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "room",
      "description": "Room charge",
      "amount": 263.24,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    },
    {
      "line_id": "FL-RI-8853860-v3",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "tax",
      "description": "VAT 15%",
      "amount": 39.49,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8853860",
      "folio_id": "folio-8853860"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853860-1",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-14T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853860-2",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-16T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853860-3",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-16T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853860-4",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-23T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853860-2775",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-10",
      "entry_type": "pending",
      "amount": 1224.36,
      "balance_effect": -1224.36,
      "description": "Authorization held — Protea OR Tambo",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853860-2776",
      "item_id": "RI-8853860",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-16",
      "entry_type": "posted",
      "amount": 1231.21,
      "balance_effect": 0,
      "description": "Charge posted — Protea OR Tambo",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-10",
      "room_net": 247.36,
      "vat_amount": 37.1,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 284.46,
      "hotel": "Protea OR Tambo",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853860",
      "checkin_time": "01:15",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-11",
      "room_net": 259.16,
      "vat_amount": 38.87,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 298.03,
      "hotel": "Protea OR Tambo",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853860",
      "checkin_time": "01:15",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-12",
      "room_net": 273.17,
      "vat_amount": 40.97,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 314.14,
      "hotel": "Protea OR Tambo",
      "duty_reason": "held",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853860",
      "checkin_time": null,
      "checkout_time": null
    },
    {
      "night": "2026-08-13",
      "room_net": 263.24,
      "vat_amount": 39.49,
      "city_tax": 0,
      "ancillaries": 31.85,
      "rate_paid": 302.73,
      "hotel": "Protea OR Tambo",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853860",
      "checkin_time": "01:15",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853860",
    "layover_id": "L-513861",
    "duty_id": "D-513860",
    "crew_id": "BEL-1042",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "JNB",
    "property_id": "P-124",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-09T13:15:00Z",
    "check_in": "2026-08-10",
    "check_out": "2026-08-14",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-853860",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1247.18
  },
  "duty": {
    "duty_id": "D-513860",
    "crew_id": "BEL-1042",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513860",
    "duty_type": "overnight",
    "flight_no": "TAY618",
    "dep_station": "LGG",
    "arr_station": "JNB",
    "duty_start_utc": "2026-08-09T15:30:00Z",
    "duty_end_utc": "2026-08-10T00:00:00Z",
    "duty_hours": 11.7,
    "block_hours": 5.02,
    "source_system": "aims",
    "published_at": "2026-08-02T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513861",
    "duty_in": "D-513860",
    "duty_out": "D-513860R",
    "crew_id": "BEL-1042",
    "entity_id": "ASL Airlines Belgium",
    "station": "JNB",
    "rest_starts_utc": "2026-08-10T00:00:00Z",
    "rest_ends_utc": "2026-08-14T08:45:00Z",
    "rest_hours_available": 83.8,
    "sleep_opportunity_hours": 80.37,
    "transfer_in_minutes": 46,
    "transfer_out_minutes": 53,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13861",
    "period": "2026-08",
    "booking_id": "RS-8853860",
    "item_id": "RI-8853860",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-09T13:12:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "JNB",
    "outcome": "soft_breach",
    "breach_count": 2,
    "cost_impact": 155.37,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2903",
    "eval_id": "PE-13861",
    "period": "2026-08",
    "approver": "R. Menon",
    "approver_role": "travel_desk",
    "reason": "Rank grade requested by fleet office",
    "approved_at": "2026-08-09T13:13:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7205",
      "eval_id": "PE-13861",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 127.91,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-7206",
      "eval_id": "PE-13861",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "0.5 days",
      "limit_value": "48 hours",
      "cost_impact": 27.46,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [
    {
      "change_id": "BC-1653",
      "booking_id": "RS-8853860",
      "period": "2026-08",
      "occurred_at": "2026-08-10T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "aims",
      "trigger": "tech_delay",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 28.51,
      "cutoff_hours": 24,
      "cost": 14.81,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8853860",
    "booking_id": "RS-8853860",
    "item_id": "RI-8853860",
    "period": "2026-08",
    "issued_at": "2026-08-09T13:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1272.18,
    "currency": "EUR",
    "valid_from": "2026-08-10",
    "valid_to": "2026-08-21",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Protea OR Tambo",
    "auth_count": 4,
    "settled_amount": 1231.21,
    "status": "settled",
    "closed_at": "2026-08-16T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853860",
    "booking_id": "RS-8853860",
    "item_id": "RI-8853860",
    "property_id": "P-124",
    "period": "2026-08",
    "folio_number": "JNB260810-1228",
    "guest_name": "L. Claes",
    "check_in": "2026-08-10",
    "check_out": "2026-08-14",
    "issued_at": "2026-08-14T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "manual",
    "currency": "EUR",
    "stated_total": 1231.21,
    "line_count": 9,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}