{
  "item": {
    "item_id": "RI-8854535",
    "period": "2026-08",
    "booking_id": "RS-8854535",
    "duty_id": "D-514535",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "H. Claes",
    "station": "DXB",
    "property_id": "P-123",
    "hotel": "Le Meridien Dubai",
    "check_in": "2026-08-24",
    "check_out": "2026-08-25",
    "nights": 1,
    "booking_amount": 381.04,
    "card_auth": 406.04,
    "card_settled": 540.93,
    "folio_amount": 540.93,
    "variance": 159.89,
    "variance_pct": 41.96,
    "variance_category": "extra_night",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-25T02:10:00Z",
    "resolved_at": "2026-09-05T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-24",
    "age_days": 15,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-6882",
      "item_id": "RI-8854535",
      "booking_id": "RS-8854535",
      "period": "2026-08",
      "vcc_ref": "VCC-8854535",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-22T09:00:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854535",
      "source_ref": "feed-2026-08-6882"
    },
    {
      "event_id": "CE-6883",
      "item_id": "RI-8854535",
      "booking_id": "RS-8854535",
      "period": "2026-08",
      "vcc_ref": "VCC-8854535",
      "event_type": "auth",
      "amount": 406.04,
      "currency": "EUR",
      "occurred_at": "2026-08-24T14:20:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854535",
      "source_ref": "feed-2026-08-6883"
    },
    {
      "event_id": "CE-6884",
      "item_id": "RI-8854535",
      "booking_id": "RS-8854535",
      "period": "2026-08",
      "vcc_ref": "VCC-8854535",
      "event_type": "capture",
      "amount": 540.93,
      "currency": "EUR",
      "occurred_at": "2026-08-25T08:05:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854535",
      "source_ref": "feed-2026-08-6884"
    },
    {
      "event_id": "CE-6885",
      "item_id": "RI-8854535",
      "booking_id": "RS-8854535",
      "period": "2026-08",
      "vcc_ref": "VCC-8854535",
      "event_type": "settle",
      "amount": 540.93,
      "currency": "EUR",
      "occurred_at": "2026-08-27T03:00:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854535",
      "source_ref": "feed-2026-08-6885"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854535-c0",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854535",
      "folio_id": "folio-8854535"
    },
    {
      "line_id": "FL-RI-8854535-r0",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 358.13,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854535",
      "folio_id": "folio-8854535"
    },
    {
      "line_id": "FL-RI-8854535-v0",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 17.91,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854535",
      "folio_id": "folio-8854535"
    },
    {
      "line_id": "FL-RI-8854535-x",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Additional night",
      "amount": 159.89,
      "disputed": 0,
      "received_at": "2026-08-29T07:00:00Z",
      "source_ref": "folio-8854535",
      "folio_id": "folio-8854535"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854535-1",
      "item_id": "RI-8854535",
      "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-8854535-2",
      "item_id": "RI-8854535",
      "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-8854535-3",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-27T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 159.89 EUR"
    },
    {
      "event_id": "RE-RI-8854535-4",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-28T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as extra night"
    },
    {
      "event_id": "RE-RI-8854535-5",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-30T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854535-4551",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-24",
      "entry_type": "pending",
      "amount": 406.04,
      "balance_effect": -406.04,
      "description": "Authorization held — Le Meridien Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854535-4552",
      "item_id": "RI-8854535",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-27",
      "entry_type": "posted",
      "amount": 540.93,
      "balance_effect": 0,
      "description": "Charge posted — Le Meridien Dubai",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-24",
      "room_net": 358.13,
      "vat_amount": 17.91,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 381.04,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "irops",
      "night_status": "released",
      "vcc_ref": "VCC-8854535",
      "checkin_time": "22:30",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8854535",
    "layover_id": "L-514536",
    "duty_id": "D-514535",
    "crew_id": "BEL-1078",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-123",
    "vendor_id": null,
    "contract_id": "C-123",
    "revenue_model": "airline_contract",
    "channel": "crew_app",
    "requested_by": "BEL-1078",
    "created_at": "2026-08-24T21:00:00Z",
    "check_in": "2026-08-24",
    "check_out": "2026-08-25",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 0,
    "confirmation_ref": "CNF-854535",
    "cancellation_deadline": "2026-08-23T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 397.01
  },
  "duty": {
    "duty_id": "D-514535",
    "crew_id": "BEL-1078",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514535",
    "duty_type": "irops",
    "flight_no": "TAY607",
    "dep_station": "BRU",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-23T09:40:00Z",
    "duty_end_utc": "2026-08-24T21:07:00Z",
    "duty_hours": 8.69,
    "block_hours": 3.41,
    "source_system": "crew_app",
    "published_at": "2026-08-05T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514536",
    "duty_in": "D-514535",
    "duty_out": "D-514535R",
    "crew_id": "BEL-1078",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-24T21:07:00Z",
    "rest_ends_utc": "2026-08-25T08:45:00Z",
    "rest_hours_available": 13.76,
    "sleep_opportunity_hours": 10.93,
    "transfer_in_minutes": 48,
    "transfer_out_minutes": 49,
    "nights": 1,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14536",
    "period": "2026-08",
    "booking_id": "RS-8854535",
    "item_id": "RI-8854535",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-24T20:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "hard_refusal",
    "breach_count": 3,
    "cost_impact": 170.16,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3019",
    "eval_id": "PE-14536",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Late schedule change inside window",
    "approved_at": "2026-08-24T20:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7544",
      "eval_id": "PE-14536",
      "period": "2026-08",
      "rule_id": "R-CAP",
      "layer": "commercial",
      "severity": "approve",
      "observed": "381.04 EUR",
      "limit_value": "326.08 EUR",
      "cost_impact": 84.96,
      "resolved": "approved",
      "name": "Rate cap",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-7545",
      "eval_id": "PE-14536",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "0 days",
      "limit_value": "48 hours",
      "cost_impact": 85.2,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-D8408",
      "eval_id": "PE-14536",
      "period": "2026-08",
      "rule_id": "R-EASA-ACC",
      "layer": "regulatory",
      "severity": "block",
      "observed": "Audit AUD-40 (2026-08-14): 48.98 dB measured at night",
      "limit_value": "35 dB — quiet, dark, temperature-controlled",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Accommodation standard",
      "authority": "EASA",
      "reference": "CS FTL.1.235"
    }
  ],
  "changes": [
    {
      "change_id": "BC-1763",
      "booking_id": "RS-8854535",
      "period": "2026-08",
      "occurred_at": "2026-08-24T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "crew_app",
      "trigger": "irops",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 86.37,
      "cutoff_hours": 18,
      "cost": 17.32,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8854535",
    "booking_id": "RS-8854535",
    "item_id": "RI-8854535",
    "period": "2026-08",
    "issued_at": "2026-08-24T21:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 422.01,
    "currency": "EUR",
    "valid_from": "2026-08-24",
    "valid_to": "2026-09-01",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Le Meridien Dubai",
    "auth_count": 1,
    "settled_amount": 381.04,
    "status": "settled",
    "closed_at": "2026-08-27T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854535",
    "booking_id": "RS-8854535",
    "item_id": "RI-8854535",
    "property_id": "P-123",
    "period": "2026-08",
    "folio_number": "DXB260824-5976",
    "guest_name": "H. Claes",
    "check_in": "2026-08-24",
    "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": 540.93,
    "line_count": 4,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}