{
  "item": {
    "item_id": "RI-8854691",
    "period": "2026-08",
    "booking_id": "RS-8854691",
    "duty_id": "D-514691",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "H. Chevalier",
    "station": "TLS",
    "property_id": "P-134",
    "hotel": "Ibis Toulouse Blagnac",
    "check_in": "2026-08-01",
    "check_out": "2026-08-04",
    "nights": 3,
    "booking_amount": 809.58,
    "card_auth": 834.58,
    "card_settled": 851.1,
    "folio_amount": 851.1,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-04T02:10:00Z",
    "resolved_at": "2026-08-06T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-03",
    "age_days": 29,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-7507",
      "item_id": "RI-8854691",
      "booking_id": "RS-8854691",
      "period": "2026-08",
      "vcc_ref": "VCC-8854691",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-07-30T09:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-07",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854691",
      "source_ref": "feed-2026-08-7507"
    },
    {
      "event_id": "CE-7508",
      "item_id": "RI-8854691",
      "booking_id": "RS-8854691",
      "period": "2026-08",
      "vcc_ref": "VCC-8854691",
      "event_type": "auth",
      "amount": 834.58,
      "currency": "EUR",
      "occurred_at": "2026-08-01T14:20:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-07",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854691",
      "source_ref": "feed-2026-08-7508"
    },
    {
      "event_id": "CE-7509",
      "item_id": "RI-8854691",
      "booking_id": "RS-8854691",
      "period": "2026-08",
      "vcc_ref": "VCC-8854691",
      "event_type": "capture",
      "amount": 851.1,
      "currency": "EUR",
      "occurred_at": "2026-08-04T08:05:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-07",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854691",
      "source_ref": "feed-2026-08-7509"
    },
    {
      "event_id": "CE-7510",
      "item_id": "RI-8854691",
      "booking_id": "RS-8854691",
      "period": "2026-08",
      "vcc_ref": "VCC-8854691",
      "event_type": "settle",
      "amount": 851.1,
      "currency": "EUR",
      "occurred_at": "2026-08-06T03:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-07",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854691",
      "source_ref": "feed-2026-08-7510"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854691-c0",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-a0",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 12.06,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-r0",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "room",
      "description": "Room charge",
      "amount": 229.26,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-v0",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 22.93,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-c1",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-r1",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "room",
      "description": "Room charge",
      "amount": 235.32,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-v1",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 23.53,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-c2",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-a2",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 29.46,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-r2",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "room",
      "description": "Room charge",
      "amount": 263.55,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    },
    {
      "line_id": "FL-RI-8854691-v2",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "line_date": "2026-08-03",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.35,
      "disputed": 0,
      "received_at": "2026-08-10T07:00:00Z",
      "source_ref": "folio-8854691",
      "folio_id": "folio-8854691"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854691-1",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-04T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854691-2",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-06T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854691-3",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-06T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854691-4",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-16T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854691-4958",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-01",
      "entry_type": "pending",
      "amount": 834.58,
      "balance_effect": -834.58,
      "description": "Authorization held — Ibis Toulouse Blagnac",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854691-4959",
      "item_id": "RI-8854691",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-06",
      "entry_type": "posted",
      "amount": 851.1,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Toulouse Blagnac",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-01",
      "room_net": 229.26,
      "vat_amount": 22.93,
      "city_tax": 2.88,
      "ancillaries": 12.06,
      "rate_paid": 255.07,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "training",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854691",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-02",
      "room_net": 235.32,
      "vat_amount": 23.53,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 261.73,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854691",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-03",
      "room_net": 263.55,
      "vat_amount": 26.35,
      "city_tax": 2.88,
      "ancillaries": 29.46,
      "rate_paid": 292.78,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854691",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854691",
    "layover_id": "L-514692",
    "duty_id": "D-514691",
    "crew_id": "FRA-1044",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "TLS",
    "property_id": "P-134",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-07-27T14:00:00Z",
    "check_in": "2026-08-01",
    "check_out": "2026-08-04",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-854691",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 867.07
  },
  "duty": {
    "duty_id": "D-514691",
    "crew_id": "FRA-1044",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514691",
    "duty_type": "training",
    "flight_no": "FPO347",
    "dep_station": "LYS",
    "arr_station": "TLS",
    "duty_start_utc": "2026-07-31T15:30:00Z",
    "duty_end_utc": "2026-08-01T13:15:00Z",
    "duty_hours": 7.13,
    "block_hours": 4.36,
    "source_system": "aims",
    "published_at": "2026-07-23T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514692",
    "duty_in": "D-514691",
    "duty_out": "D-514691R",
    "crew_id": "FRA-1044",
    "entity_id": "ASL Airlines France",
    "station": "TLS",
    "rest_starts_utc": "2026-08-01T13:15:00Z",
    "rest_ends_utc": "2026-08-04T06:00:00Z",
    "rest_hours_available": 58.89,
    "sleep_opportunity_hours": 56.76,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 10,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14692",
    "period": "2026-08",
    "booking_id": "RS-8854691",
    "item_id": "RI-8854691",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-27T13:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "TLS",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 137.72,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3041",
    "eval_id": "PE-14692",
    "period": "2026-08",
    "approver": "R. Menon",
    "approver_role": "travel_desk",
    "reason": "Operational necessity — disruption",
    "approved_at": "2026-07-27T13:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7615",
      "eval_id": "PE-14692",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 137.72,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854691",
    "booking_id": "RS-8854691",
    "item_id": "RI-8854691",
    "period": "2026-08",
    "issued_at": "2026-07-27T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 892.07,
    "currency": "EUR",
    "valid_from": "2026-08-01",
    "valid_to": "2026-08-11",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Toulouse Blagnac",
    "auth_count": 3,
    "settled_amount": 851.1,
    "status": "settled",
    "closed_at": "2026-08-06T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854691",
    "booking_id": "RS-8854691",
    "item_id": "RI-8854691",
    "property_id": "P-134",
    "period": "2026-08",
    "folio_number": "TLS260801-6600",
    "guest_name": "H. Chevalier",
    "check_in": "2026-08-01",
    "check_out": "2026-08-04",
    "issued_at": "2026-08-04T09:30:00Z",
    "received_at": "2026-08-10T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 851.1,
    "line_count": 11,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}