{
  "item": {
    "item_id": "RI-8855159",
    "period": "2026-08",
    "booking_id": "RS-8855159",
    "duty_id": "D-515159",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "B. Moreau",
    "station": "CDG",
    "property_id": "P-127",
    "hotel": "Pullman Paris CDG",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "nights": 2,
    "booking_amount": 626.09,
    "card_auth": 651.09,
    "card_settled": 669.92,
    "folio_amount": 669.92,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-03T02:10:00Z",
    "resolved_at": "2026-08-07T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-02",
    "age_days": 35,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-9383",
      "item_id": "RI-8855159",
      "booking_id": "RS-8855159",
      "period": "2026-08",
      "vcc_ref": "VCC-8855159",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-07-30T09:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855159",
      "source_ref": "feed-2026-08-9383"
    },
    {
      "event_id": "CE-9384",
      "item_id": "RI-8855159",
      "booking_id": "RS-8855159",
      "period": "2026-08",
      "vcc_ref": "VCC-8855159",
      "event_type": "auth",
      "amount": 651.09,
      "currency": "EUR",
      "occurred_at": "2026-08-01T14:20:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855159",
      "source_ref": "feed-2026-08-9384"
    },
    {
      "event_id": "CE-9385",
      "item_id": "RI-8855159",
      "booking_id": "RS-8855159",
      "period": "2026-08",
      "vcc_ref": "VCC-8855159",
      "event_type": "capture",
      "amount": 669.92,
      "currency": "EUR",
      "occurred_at": "2026-08-03T08:05:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855159",
      "source_ref": "feed-2026-08-9385"
    },
    {
      "event_id": "CE-9386",
      "item_id": "RI-8855159",
      "booking_id": "RS-8855159",
      "period": "2026-08",
      "vcc_ref": "VCC-8855159",
      "event_type": "settle",
      "amount": 669.92,
      "currency": "EUR",
      "occurred_at": "2026-08-05T03:00:00Z",
      "valid_from": "2026-08-01",
      "valid_to": "2026-08-06",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-855159",
      "source_ref": "feed-2026-08-9386"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8855159-c0",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-a0",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 15.21,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-r0",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "room",
      "description": "Room charge",
      "amount": 297.88,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-v0",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-01",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 29.79,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-c1",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-a1",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 28.62,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-r1",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "room",
      "description": "Room charge",
      "amount": 261.84,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    },
    {
      "line_id": "FL-RI-8855159-v1",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "line_date": "2026-08-02",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.18,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8855159",
      "folio_id": "folio-8855159"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8855159-1",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-03T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8855159-2",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-05T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8855159-3",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-05T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8855159-4",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-15T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8855159-6178",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-01",
      "entry_type": "pending",
      "amount": 651.09,
      "balance_effect": -651.09,
      "description": "Authorization held — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8855159-6179",
      "item_id": "RI-8855159",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-05",
      "entry_type": "posted",
      "amount": 669.92,
      "balance_effect": 0,
      "description": "Charge posted — Pullman Paris CDG",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-01",
      "room_net": 297.88,
      "vat_amount": 29.79,
      "city_tax": 5.2,
      "ancillaries": 15.21,
      "rate_paid": 332.87,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855159",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-02",
      "room_net": 261.84,
      "vat_amount": 26.18,
      "city_tax": 5.2,
      "ancillaries": 28.62,
      "rate_paid": 293.22,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8855159",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8855159",
    "layover_id": "L-515160",
    "duty_id": "D-515159",
    "crew_id": "FRA-1084",
    "entity_id": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "station": "CDG",
    "property_id": "P-127",
    "vendor_id": null,
    "contract_id": "C-127",
    "revenue_model": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-07-27T01:15:00Z",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "nights": 2,
    "room_type": "executive",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-855159",
    "cancellation_deadline": "2026-07-30T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 685.89
  },
  "duty": {
    "duty_id": "D-515159",
    "crew_id": "FRA-1084",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/515159",
    "duty_type": "positioning",
    "flight_no": "FPO176",
    "dep_station": "LYS",
    "arr_station": "CDG",
    "duty_start_utc": "2026-07-31T18:05:00Z",
    "duty_end_utc": "2026-08-01T00:26:00Z",
    "duty_hours": 8.81,
    "block_hours": 6.05,
    "source_system": "aims",
    "published_at": "2026-07-20T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-515160",
    "duty_in": "D-515159",
    "duty_out": "D-515159R",
    "crew_id": "FRA-1084",
    "entity_id": "ASL Airlines France",
    "station": "CDG",
    "rest_starts_utc": "2026-08-01T00:26:00Z",
    "rest_ends_utc": "2026-08-03T06:00:00Z",
    "rest_hours_available": 36.5,
    "sleep_opportunity_hours": 34.64,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 17,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-15160",
    "period": "2026-08",
    "booking_id": "RS-8855159",
    "item_id": "RI-8855159",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-27T01:12:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "CDG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 39.65,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3108",
    "eval_id": "PE-15160",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Rank grade requested by fleet office",
    "approved_at": "2026-07-27T01:13:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7814",
      "eval_id": "PE-15160",
      "period": "2026-08",
      "rule_id": "R-CAP",
      "layer": "commercial",
      "severity": "approve",
      "observed": "332.87 EUR",
      "limit_value": "323.22 EUR",
      "cost_impact": 39.65,
      "resolved": "approved",
      "name": "Rate cap",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8855159",
    "booking_id": "RS-8855159",
    "item_id": "RI-8855159",
    "period": "2026-08",
    "issued_at": "2026-07-27T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 710.89,
    "currency": "EUR",
    "valid_from": "2026-08-01",
    "valid_to": "2026-08-10",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Paris CDG",
    "auth_count": 2,
    "settled_amount": 669.92,
    "status": "settled",
    "closed_at": "2026-08-05T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8855159",
    "booking_id": "RS-8855159",
    "item_id": "RI-8855159",
    "property_id": "P-127",
    "period": "2026-08",
    "folio_number": "CDG260801-4967",
    "guest_name": "B. Moreau",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "issued_at": "2026-08-03T09:30:00Z",
    "received_at": "2026-08-09T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 669.92,
    "line_count": 8,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}