{
  "item": {
    "item_id": "RI-8854668",
    "period": "2026-08",
    "booking_id": "RS-8854668",
    "duty_id": "D-514668",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "V. Roussel",
    "station": "TLS",
    "property_id": "P-134",
    "hotel": "Ibis Toulouse Blagnac",
    "check_in": "2026-08-11",
    "check_out": "2026-08-14",
    "nights": 3,
    "booking_amount": 803.1,
    "card_auth": 828.1,
    "card_settled": 832.57,
    "folio_amount": 832.57,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-14T02:10:00Z",
    "resolved_at": "2026-08-26T11:00:00Z",
    "final_at": "2026-09-13T00:01:00Z",
    "final_due_at": "2026-09-13",
    "age_days": 28,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-7413",
      "item_id": "RI-8854668",
      "booking_id": "RS-8854668",
      "period": "2026-08",
      "vcc_ref": "VCC-8854668",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-09T09:00:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854668",
      "source_ref": "feed-2026-08-7413"
    },
    {
      "event_id": "CE-7414",
      "item_id": "RI-8854668",
      "booking_id": "RS-8854668",
      "period": "2026-08",
      "vcc_ref": "VCC-8854668",
      "event_type": "auth",
      "amount": 828.1,
      "currency": "EUR",
      "occurred_at": "2026-08-11T14:20:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854668",
      "source_ref": "feed-2026-08-7414"
    },
    {
      "event_id": "CE-7415",
      "item_id": "RI-8854668",
      "booking_id": "RS-8854668",
      "period": "2026-08",
      "vcc_ref": "VCC-8854668",
      "event_type": "capture",
      "amount": 832.57,
      "currency": "EUR",
      "occurred_at": "2026-08-14T08:05:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854668",
      "source_ref": "feed-2026-08-7415"
    },
    {
      "event_id": "CE-7416",
      "item_id": "RI-8854668",
      "booking_id": "RS-8854668",
      "period": "2026-08",
      "vcc_ref": "VCC-8854668",
      "event_type": "settle",
      "amount": 832.57,
      "currency": "EUR",
      "occurred_at": "2026-08-16T03:00:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854668",
      "source_ref": "feed-2026-08-7416"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854668-c0",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-a0",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 29.47,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-r0",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "room",
      "description": "Room charge",
      "amount": 240.75,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-v0",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.07,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-c1",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-r1",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 240.75,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-v1",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.07,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-c2",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-r2",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "room",
      "description": "Room charge",
      "amount": 240.75,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    },
    {
      "line_id": "FL-RI-8854668-v2",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.07,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854668",
      "folio_id": "folio-8854668"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854668-1",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-14T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854668-2",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-16T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854668-3",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-16T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854668-4",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-25T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854668-5",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-13T00: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-8854668-4899",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-11",
      "entry_type": "pending",
      "amount": 828.1,
      "balance_effect": -828.1,
      "description": "Authorization held — Ibis Toulouse Blagnac",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854668-4900",
      "item_id": "RI-8854668",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-16",
      "entry_type": "posted",
      "amount": 832.57,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Toulouse Blagnac",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-11",
      "room_net": 240.75,
      "vat_amount": 24.07,
      "city_tax": 2.88,
      "ancillaries": 29.47,
      "rate_paid": 267.7,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854668",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-12",
      "room_net": 240.75,
      "vat_amount": 24.07,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 267.7,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854668",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-13",
      "room_net": 240.75,
      "vat_amount": 24.07,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 267.7,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854668",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854668",
    "layover_id": "L-514669",
    "duty_id": "D-514668",
    "crew_id": "FRA-1066",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "TLS",
    "property_id": "P-134",
    "vendor_id": null,
    "contract_id": "C-134",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T04:00:00Z",
    "check_in": "2026-08-11",
    "check_out": "2026-08-14",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-854668",
    "cancellation_deadline": "2026-08-10T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 848.54
  },
  "duty": {
    "duty_id": "D-514668",
    "crew_id": "FRA-1066",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514668",
    "duty_type": "overnight",
    "flight_no": "FPO655",
    "dep_station": "MRS",
    "arr_station": "TLS",
    "duty_start_utc": "2026-08-10T12:15:00Z",
    "duty_end_utc": "2026-08-11T15:15:00Z",
    "duty_hours": 12.38,
    "block_hours": 6.05,
    "source_system": "aims",
    "published_at": "2026-07-31T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514669",
    "duty_in": "D-514668",
    "duty_out": "D-514668R",
    "crew_id": "FRA-1066",
    "entity_id": "ASL Airlines France",
    "station": "TLS",
    "rest_starts_utc": "2026-08-11T15:15:00Z",
    "rest_ends_utc": "2026-08-14T11:20:00Z",
    "rest_hours_available": 57.81,
    "sleep_opportunity_hours": 55.8,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 10,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14669",
    "period": "2026-08",
    "booking_id": "RS-8854668",
    "item_id": "RI-8854668",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T03:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "TLS",
    "outcome": "soft_breach",
    "breach_count": 2,
    "cost_impact": 121.83,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7608",
      "eval_id": "PE-14669",
      "period": "2026-08",
      "rule_id": "R-WINDOW",
      "layer": "commercial",
      "severity": "warn",
      "observed": "0.5 days",
      "limit_value": "48 hours",
      "cost_impact": 92.36,
      "resolved": "auto_allowed",
      "name": "Advance booking window",
      "authority": "ASL",
      "reference": null
    },
    {
      "breach_id": "PB-7609",
      "eval_id": "PE-14669",
      "period": "2026-08",
      "rule_id": "R-ANC",
      "layer": "commercial",
      "severity": "warn",
      "observed": "29.47 EUR uncovered",
      "limit_value": "breakfast, wifi",
      "cost_impact": 29.47,
      "resolved": "auto_allowed",
      "name": "Covered ancillaries",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [
    {
      "change_id": "BC-1787",
      "booking_id": "RS-8854668",
      "period": "2026-08",
      "occurred_at": "2026-08-11T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "aims",
      "trigger": "roster_change",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 49.26,
      "cutoff_hours": 24,
      "cost": 16.28,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8854668",
    "booking_id": "RS-8854668",
    "item_id": "RI-8854668",
    "period": "2026-08",
    "issued_at": "2026-08-11T04:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 873.54,
    "currency": "EUR",
    "valid_from": "2026-08-11",
    "valid_to": "2026-08-21",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Toulouse Blagnac",
    "auth_count": 3,
    "settled_amount": 832.57,
    "status": "authorised",
    "closed_at": "2026-08-16T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854668",
    "booking_id": "RS-8854668",
    "item_id": "RI-8854668",
    "property_id": "P-134",
    "period": "2026-08",
    "folio_number": "TLS260811-6767",
    "guest_name": "V. Roussel",
    "check_in": "2026-08-11",
    "check_out": "2026-08-14",
    "issued_at": "2026-08-14T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "portal",
    "currency": "EUR",
    "stated_total": 832.57,
    "line_count": 10,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}