{
  "item": {
    "item_id": "RI-8854895",
    "period": "2026-08",
    "booking_id": "RS-8854895",
    "duty_id": "D-514895",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "K. Bernard",
    "station": "CDG",
    "property_id": "P-126",
    "hotel": "Novotel Paris CDG",
    "check_in": "2026-08-17",
    "check_out": "2026-08-18",
    "nights": 1,
    "booking_amount": 381.22,
    "card_auth": 406.22,
    "card_settled": 410,
    "folio_amount": 410,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "orphan",
    "exception_type": "orphan_folio",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-18T02:10:00Z",
    "resolved_at": "2026-08-28T11:00:00Z",
    "final_at": "2026-09-17T00:01:00Z",
    "final_due_at": "2026-09-17",
    "age_days": 38,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-8326",
      "item_id": "RI-8854895",
      "booking_id": "RS-8854895",
      "period": "2026-08",
      "vcc_ref": "VCC-8854895",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-15T09:00:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854895",
      "source_ref": "feed-2026-08-8326"
    },
    {
      "event_id": "CE-8327",
      "item_id": "RI-8854895",
      "booking_id": "RS-8854895",
      "period": "2026-08",
      "vcc_ref": "VCC-8854895",
      "event_type": "auth",
      "amount": 406.22,
      "currency": "EUR",
      "occurred_at": "2026-08-17T14:20:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854895",
      "source_ref": "feed-2026-08-8327"
    },
    {
      "event_id": "CE-8328",
      "item_id": "RI-8854895",
      "booking_id": "RS-8854895",
      "period": "2026-08",
      "vcc_ref": "VCC-8854895",
      "event_type": "capture",
      "amount": 410,
      "currency": "EUR",
      "occurred_at": "2026-08-18T08:05:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854895",
      "source_ref": "feed-2026-08-8328"
    },
    {
      "event_id": "CE-8329",
      "item_id": "RI-8854895",
      "booking_id": "RS-8854895",
      "period": "2026-08",
      "vcc_ref": "VCC-8854895",
      "event_type": "settle",
      "amount": 410,
      "currency": "EUR",
      "occurred_at": "2026-08-20T03:00:00Z",
      "valid_from": "2026-08-17",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854895",
      "source_ref": "feed-2026-08-8329"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854895-c0",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8854895",
      "folio_id": "folio-8854895"
    },
    {
      "line_id": "FL-RI-8854895-a0",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 28.78,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8854895",
      "folio_id": "folio-8854895"
    },
    {
      "line_id": "FL-RI-8854895-r0",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 341.84,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8854895",
      "folio_id": "folio-8854895"
    },
    {
      "line_id": "FL-RI-8854895-v0",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 34.18,
      "disputed": 0,
      "received_at": "2026-08-22T07:00:00Z",
      "source_ref": "folio-8854895",
      "folio_id": "folio-8854895"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854895-1",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-18T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854895-2",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-20T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854895-3",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-20T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "orphan folio"
    },
    {
      "event_id": "RE-RI-8854895-4",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-21T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8854895-5",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-17T00: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-8854895-5487",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-17",
      "entry_type": "pending",
      "amount": 406.22,
      "balance_effect": -406.22,
      "description": "Authorization held — Novotel Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854895-5488",
      "item_id": "RI-8854895",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-20",
      "entry_type": "posted",
      "amount": 410,
      "balance_effect": 0,
      "description": "Charge posted — Novotel Paris CDG",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-17",
      "room_net": 341.84,
      "vat_amount": 34.18,
      "city_tax": 5.2,
      "ancillaries": 28.78,
      "rate_paid": 381.22,
      "hotel": "Novotel Paris CDG",
      "duty_reason": "training",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854895",
      "checkin_time": "01:15",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8854895",
    "layover_id": "L-514896",
    "duty_id": "D-514895",
    "crew_id": "FRA-S209",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "CDG",
    "property_id": "P-126",
    "vendor_id": null,
    "contract_id": "C-126",
    "revenue_model": "routespring_contract",
    "channel": "staff_portal",
    "requested_by": "U-103",
    "created_at": "2026-08-14T01:15:00Z",
    "check_in": "2026-08-17",
    "check_out": "2026-08-18",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-854895",
    "cancellation_deadline": "2026-08-15T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 425.97
  },
  "duty": {
    "duty_id": "D-514895",
    "crew_id": "FRA-S209",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514895",
    "duty_type": "training",
    "flight_no": "FPO825",
    "dep_station": "LYS",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-16T12:15:00Z",
    "duty_end_utc": "2026-08-17T00:26:00Z",
    "duty_hours": 6.63,
    "block_hours": 4.86,
    "source_system": "aims",
    "published_at": "2026-08-04T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514896",
    "duty_in": "D-514895",
    "duty_out": "D-514895R",
    "crew_id": "FRA-S209",
    "entity_id": "ASL Airlines France",
    "station": "CDG",
    "rest_starts_utc": "2026-08-17T00:26:00Z",
    "rest_ends_utc": "2026-08-18T08:45:00Z",
    "rest_hours_available": 13.66,
    "sleep_opportunity_hours": 12,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 15,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14896",
    "period": "2026-08",
    "booking_id": "RS-8854895",
    "item_id": "RI-8854895",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-14T01:12:00Z",
    "channel": "staff_portal",
    "traveller_type": "staff",
    "entity": "ASL Airlines France",
    "station": "CDG",
    "outcome": "hard_refusal",
    "breach_count": 2,
    "cost_impact": 465.57,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3065",
    "eval_id": "PE-14896",
    "period": "2026-08",
    "approver": "M. Dupont",
    "approver_role": "line_manager",
    "reason": "Single-night stay, sourcing not economic",
    "approved_at": "2026-08-14T01:13:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7693",
      "eval_id": "PE-14896",
      "period": "2026-08",
      "rule_id": "R-CAP",
      "layer": "commercial",
      "severity": "approve",
      "observed": "381.22 EUR",
      "limit_value": "326.87 EUR",
      "cost_impact": 84.35,
      "resolved": "approved",
      "name": "Rate cap",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-D8450",
      "eval_id": "PE-14896",
      "period": "2026-08",
      "rule_id": "R-ENTITLE",
      "layer": "entitlement",
      "severity": "block",
      "observed": "Overnight at home base CDG",
      "limit_value": "rest away from base only",
      "cost_impact": 381.22,
      "resolved": "refused",
      "name": "Duty entitlement",
      "authority": "ASL",
      "reference": "ASL OM-A 7.1"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854895",
    "booking_id": "RS-8854895",
    "item_id": "RI-8854895",
    "period": "2026-08",
    "issued_at": "2026-08-14T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 450.97,
    "currency": "EUR",
    "valid_from": "2026-08-17",
    "valid_to": "2026-08-25",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Novotel Paris CDG",
    "auth_count": 1,
    "settled_amount": 410,
    "status": "settled",
    "closed_at": "2026-08-20T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854895",
    "booking_id": "RS-8854895",
    "item_id": "RI-8854895",
    "property_id": "P-126",
    "period": "2026-08",
    "folio_number": "CDG260817-3104",
    "guest_name": "K. Bernard",
    "check_in": "2026-08-17",
    "check_out": "2026-08-18",
    "issued_at": "2026-08-18T09:30:00Z",
    "received_at": "2026-08-22T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 410,
    "line_count": 4,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}