{
  "item": {
    "item_id": "RI-8855068",
    "period": "2026-08",
    "booking_id": "RS-8855068",
    "duty_id": "D-515068",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "D. Berger",
    "station": "LYS",
    "property_id": "P-130",
    "hotel": "Comfort Hotel Lyon",
    "check_in": "2026-08-25",
    "check_out": "2026-08-28",
    "nights": 3,
    "booking_amount": 826.38,
    "card_auth": 851.38,
    "card_settled": 826.38,
    "folio_amount": 826.38,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-28T02:10:00Z",
    "resolved_at": "2026-09-08T11:00:00Z",
    "final_at": "2026-09-27T00:01:00Z",
    "final_due_at": "2026-09-27",
    "age_days": 26,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-9023",
      "item_id": "RI-8855068",
      "booking_id": "RS-8855068",
      "period": "2026-08",
      "vcc_ref": "VCC-8855068",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-23T09:00:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-31",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855068",
      "source_ref": "feed-2026-08-9023"
    },
    {
      "event_id": "CE-9024",
      "item_id": "RI-8855068",
      "booking_id": "RS-8855068",
      "period": "2026-08",
      "vcc_ref": "VCC-8855068",
      "event_type": "auth",
      "amount": 851.38,
      "currency": "EUR",
      "occurred_at": "2026-08-25T14:20:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-31",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855068",
      "source_ref": "feed-2026-08-9024"
    },
    {
      "event_id": "CE-9025",
      "item_id": "RI-8855068",
      "booking_id": "RS-8855068",
      "period": "2026-08",
      "vcc_ref": "VCC-8855068",
      "event_type": "capture",
      "amount": 826.38,
      "currency": "EUR",
      "occurred_at": "2026-08-28T08:05:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-31",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855068",
      "source_ref": "feed-2026-08-9025"
    },
    {
      "event_id": "CE-9026",
      "item_id": "RI-8855068",
      "booking_id": "RS-8855068",
      "period": "2026-08",
      "vcc_ref": "VCC-8855068",
      "event_type": "settle",
      "amount": 826.38,
      "currency": "EUR",
      "occurred_at": "2026-08-30T03:00:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-31",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855068",
      "source_ref": "feed-2026-08-9026"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8855068-c0",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 3.3,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-r0",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.42,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-v0",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.74,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-c1",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 3.3,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-r1",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.42,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-v1",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.74,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-c2",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 3.3,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-r2",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "room",
      "description": "Room charge",
      "amount": 247.42,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    },
    {
      "line_id": "FL-RI-8855068-v2",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "line_date": "2026-08-27",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.74,
      "disputed": 0,
      "received_at": "2026-08-31T07:00:00Z",
      "source_ref": "folio-8855068",
      "folio_id": "folio-8855068"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8855068-1",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-28T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8855068-2",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-30T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8855068-3",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-30T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8855068-4",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-30T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8855068-5",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-27T00: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-8855068-5940",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-25",
      "entry_type": "pending",
      "amount": 851.38,
      "balance_effect": -851.38,
      "description": "Authorization held — Comfort Hotel Lyon",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8855068-5941",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-30",
      "entry_type": "posted",
      "amount": 826.38,
      "balance_effect": 0,
      "description": "Charge posted — Comfort Hotel Lyon",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8855068-5942",
      "item_id": "RI-8855068",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-30",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-25",
      "room_net": 247.42,
      "vat_amount": 24.74,
      "city_tax": 3.3,
      "ancillaries": 0,
      "rate_paid": 275.46,
      "hotel": "Comfort Hotel Lyon",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855068",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-26",
      "room_net": 247.42,
      "vat_amount": 24.74,
      "city_tax": 3.3,
      "ancillaries": 0,
      "rate_paid": 275.46,
      "hotel": "Comfort Hotel Lyon",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855068",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-27",
      "room_net": 247.42,
      "vat_amount": 24.74,
      "city_tax": 3.3,
      "ancillaries": 0,
      "rate_paid": 275.46,
      "hotel": "Comfort Hotel Lyon",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855068",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8855068",
    "layover_id": "L-515069",
    "duty_id": "D-515068",
    "crew_id": "FRA-1071",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "LYS",
    "property_id": "P-130",
    "vendor_id": null,
    "contract_id": "C-130",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-25T03:00:00Z",
    "check_in": "2026-08-25",
    "check_out": "2026-08-28",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-855068",
    "cancellation_deadline": "2026-08-24T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 842.35
  },
  "duty": {
    "duty_id": "D-515068",
    "crew_id": "FRA-1071",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/515068",
    "duty_type": "irops",
    "flight_no": "FPO848",
    "dep_station": "MRS",
    "arr_station": "LYS",
    "duty_start_utc": "2026-08-24T18:05:00Z",
    "duty_end_utc": "2026-08-25T14:15:00Z",
    "duty_hours": 12.02,
    "block_hours": 3.55,
    "source_system": "aims",
    "published_at": "2026-08-18T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-515069",
    "duty_in": "D-515068",
    "duty_out": "D-515068R",
    "crew_id": "FRA-1071",
    "entity_id": "ASL Airlines France",
    "station": "LYS",
    "rest_starts_utc": "2026-08-25T14:15:00Z",
    "rest_ends_utc": "2026-08-28T11:20:00Z",
    "rest_hours_available": 61.28,
    "sleep_opportunity_hours": 59.22,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 10,
    "nights": 3,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-15069",
    "period": "2026-08",
    "booking_id": "RS-8855068",
    "item_id": "RI-8855068",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-25T02:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "LYS",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8855068",
    "booking_id": "RS-8855068",
    "item_id": "RI-8855068",
    "period": "2026-08",
    "issued_at": "2026-08-25T03:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 867.35,
    "currency": "EUR",
    "valid_from": "2026-08-25",
    "valid_to": "2026-09-04",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Comfort Hotel Lyon",
    "auth_count": 3,
    "settled_amount": 826.38,
    "status": "settled",
    "closed_at": "2026-08-30T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8855068",
    "booking_id": "RS-8855068",
    "item_id": "RI-8855068",
    "property_id": "P-130",
    "period": "2026-08",
    "folio_number": "LYS260825-9772",
    "guest_name": "D. Berger",
    "check_in": "2026-08-25",
    "check_out": "2026-08-28",
    "issued_at": "2026-08-28T09:30:00Z",
    "received_at": "2026-08-31T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 826.38,
    "line_count": 9,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}