{
  "item": {
    "item_id": "RI-8855095",
    "period": "2026-08",
    "booking_id": "RS-8855095",
    "duty_id": "D-515095",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "G. Girard",
    "station": "TLS",
    "property_id": "P-133",
    "hotel": "Pullman Toulouse Airport",
    "check_in": "2026-08-25",
    "check_out": "2026-08-27",
    "nights": 2,
    "booking_amount": 501.26,
    "card_auth": 526.26,
    "card_settled": null,
    "folio_amount": null,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "card_never_charged",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-27T02:10:00Z",
    "resolved_at": "2026-09-01T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-26",
    "age_days": 10,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-9131",
      "item_id": "RI-8855095",
      "booking_id": "RS-8855095",
      "period": "2026-08",
      "vcc_ref": "VCC-8855095",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-23T09:00:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855095",
      "source_ref": "feed-2026-08-9131"
    },
    {
      "event_id": "CE-9132",
      "item_id": "RI-8855095",
      "booking_id": "RS-8855095",
      "period": "2026-08",
      "vcc_ref": "VCC-8855095",
      "event_type": "auth",
      "amount": 526.26,
      "currency": "EUR",
      "occurred_at": "2026-08-25T14:20:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855095",
      "source_ref": "feed-2026-08-9132"
    },
    {
      "event_id": "CE-9133",
      "item_id": "RI-8855095",
      "booking_id": "RS-8855095",
      "period": "2026-08",
      "vcc_ref": "VCC-8855095",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-30T00:00:00Z",
      "valid_from": "2026-08-25",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855095",
      "source_ref": "feed-2026-08-9133"
    }
  ],
  "folio": [],
  "events": [
    {
      "event_id": "RE-RI-8855095-1",
      "item_id": "RI-8855095",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-27T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8855095-2",
      "item_id": "RI-8855095",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-29T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "card never charged"
    },
    {
      "event_id": "RE-RI-8855095-3",
      "item_id": "RI-8855095",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-05T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8855095-6015",
      "item_id": "RI-8855095",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-25",
      "entry_type": "pending",
      "amount": 526.26,
      "balance_effect": -526.26,
      "description": "Authorization held — Pullman Toulouse Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8855095-6016",
      "item_id": "RI-8855095",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-30",
      "entry_type": "voided",
      "amount": 526.26,
      "balance_effect": 526.26,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-25",
      "room_net": 225.23,
      "vat_amount": 22.52,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 250.63,
      "hotel": "Pullman Toulouse Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855095",
      "checkin_time": "14:00",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-26",
      "room_net": 225.23,
      "vat_amount": 22.52,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 250.63,
      "hotel": "Pullman Toulouse Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855095",
      "checkin_time": "14:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8855095",
    "layover_id": "L-515096",
    "duty_id": "D-515095",
    "crew_id": "FRA-1075",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "TLS",
    "property_id": "P-133",
    "vendor_id": null,
    "contract_id": "C-133",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-20T14:00:00Z",
    "check_in": "2026-08-25",
    "check_out": "2026-08-27",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-855095",
    "cancellation_deadline": "2026-08-23T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 517.23
  },
  "duty": {
    "duty_id": "D-515095",
    "crew_id": "FRA-1075",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/515095",
    "duty_type": "overnight",
    "flight_no": "FPO138",
    "dep_station": "MRS",
    "arr_station": "TLS",
    "duty_start_utc": "2026-08-24T12:15:00Z",
    "duty_end_utc": "2026-08-25T13:03:00Z",
    "duty_hours": 8.61,
    "block_hours": 5.04,
    "source_system": "aims",
    "published_at": "2026-08-18T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-515096",
    "duty_in": "D-515095",
    "duty_out": "D-515095R",
    "crew_id": "FRA-1075",
    "entity_id": "ASL Airlines France",
    "station": "TLS",
    "rest_starts_utc": "2026-08-25T13:03:00Z",
    "rest_ends_utc": "2026-08-27T06:00:00Z",
    "rest_hours_available": 39.13,
    "sleep_opportunity_hours": 36.8,
    "transfer_in_minutes": 22,
    "transfer_out_minutes": 25,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-15096",
    "period": "2026-08",
    "booking_id": "RS-8855095",
    "item_id": "RI-8855095",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-20T13:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "TLS",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8855095",
    "booking_id": "RS-8855095",
    "item_id": "RI-8855095",
    "period": "2026-08",
    "issued_at": "2026-08-20T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 542.23,
    "currency": "EUR",
    "valid_from": "2026-08-25",
    "valid_to": "2026-09-03",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Toulouse Airport",
    "auth_count": 2,
    "settled_amount": 501.26,
    "status": "settled",
    "closed_at": "2026-08-29T03:00:00Z"
  },
  "folioDoc": null
}