{
  "item": {
    "item_id": "RI-8854731",
    "period": "2026-08",
    "booking_id": "RS-8854731",
    "duty_id": "D-514731",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "V. Roussel",
    "station": "CDG",
    "property_id": "P-127",
    "hotel": "Pullman Paris CDG",
    "check_in": "2026-08-30",
    "check_out": "2026-09-01",
    "nights": 2,
    "booking_amount": 703.24,
    "card_auth": 728.24,
    "card_settled": 712.27,
    "folio_amount": 712.27,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-09-01T02:10:00Z",
    "resolved_at": "2026-09-09T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-10-01",
    "age_days": 29,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-7668",
      "item_id": "RI-8854731",
      "booking_id": "RS-8854731",
      "period": "2026-08",
      "vcc_ref": "VCC-8854731",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-28T09:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854731",
      "source_ref": "feed-2026-08-7668"
    },
    {
      "event_id": "CE-7669",
      "item_id": "RI-8854731",
      "booking_id": "RS-8854731",
      "period": "2026-08",
      "vcc_ref": "VCC-8854731",
      "event_type": "auth",
      "amount": 728.24,
      "currency": "EUR",
      "occurred_at": "2026-08-30T14:20:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854731",
      "source_ref": "feed-2026-08-7669"
    },
    {
      "event_id": "CE-7670",
      "item_id": "RI-8854731",
      "booking_id": "RS-8854731",
      "period": "2026-08",
      "vcc_ref": "VCC-8854731",
      "event_type": "capture",
      "amount": 712.27,
      "currency": "EUR",
      "occurred_at": "2026-09-01T08:05:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854731",
      "source_ref": "feed-2026-08-7670"
    },
    {
      "event_id": "CE-7671",
      "item_id": "RI-8854731",
      "booking_id": "RS-8854731",
      "period": "2026-08",
      "vcc_ref": "VCC-8854731",
      "event_type": "settle",
      "amount": 712.27,
      "currency": "EUR",
      "occurred_at": "2026-09-03T03:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854731",
      "source_ref": "feed-2026-08-7671"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854731-c0",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    },
    {
      "line_id": "FL-RI-8854731-a0",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 9.03,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    },
    {
      "line_id": "FL-RI-8854731-r0",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "room",
      "description": "Room charge",
      "amount": 306,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    },
    {
      "line_id": "FL-RI-8854731-v0",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 30.6,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    },
    {
      "line_id": "FL-RI-8854731-c1",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    },
    {
      "line_id": "FL-RI-8854731-r1",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "room",
      "description": "Room charge",
      "amount": 323.85,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    },
    {
      "line_id": "FL-RI-8854731-v1",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 32.39,
      "disputed": 0,
      "received_at": "2026-09-04T07:00:00Z",
      "source_ref": "folio-8854731",
      "folio_id": "folio-8854731"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854731-1",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-09-01T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854731-2",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-03T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854731-3",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-03T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854731-4",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-08T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854731-5060",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-30",
      "entry_type": "pending",
      "amount": 728.24,
      "balance_effect": -728.24,
      "description": "Authorization held — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854731-5061",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-09-03",
      "entry_type": "posted",
      "amount": 712.27,
      "balance_effect": 0,
      "description": "Charge posted — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854731-5062",
      "item_id": "RI-8854731",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-09-03",
      "entry_type": "released",
      "amount": 15.97,
      "balance_effect": 15.97,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-30",
      "room_net": 306,
      "vat_amount": 30.6,
      "city_tax": 5.2,
      "ancillaries": 9.03,
      "rate_paid": 341.8,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854731",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-31",
      "room_net": 323.85,
      "vat_amount": 32.39,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 361.44,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "standby",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854731",
      "checkin_time": "16:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854731",
    "layover_id": "L-514732",
    "duty_id": "D-514731",
    "crew_id": "FRA-1006",
    "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": "travel_desk",
    "requested_by": "U-101",
    "created_at": "2026-08-21T16:00:00Z",
    "check_in": "2026-08-30",
    "check_out": "2026-09-01",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-854731",
    "cancellation_deadline": "2026-08-28T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 728.24
  },
  "duty": {
    "duty_id": "D-514731",
    "crew_id": "FRA-1006",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514731",
    "duty_type": "overnight",
    "flight_no": "FPO452",
    "dep_station": "MRS",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-29T15:30:00Z",
    "duty_end_utc": "2026-08-30T15:11:00Z",
    "duty_hours": 7.76,
    "block_hours": 4.19,
    "source_system": "aims",
    "published_at": "2026-08-25T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514732",
    "duty_in": "D-514731",
    "duty_out": "D-514731R",
    "crew_id": "FRA-1006",
    "entity_id": "ASL Airlines France",
    "station": "CDG",
    "rest_starts_utc": "2026-08-30T15:11:00Z",
    "rest_ends_utc": "2026-09-01T08:45:00Z",
    "rest_hours_available": 36.8,
    "sleep_opportunity_hours": 34.78,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 12,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14732",
    "period": "2026-08",
    "booking_id": "RS-8854731",
    "item_id": "RI-8854731",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-21T15:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "CDG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 49.33,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3050",
    "eval_id": "PE-14732",
    "period": "2026-08",
    "approver": "S. Whelan",
    "approver_role": "travel_desk",
    "reason": "Rank grade requested by fleet office",
    "approved_at": "2026-08-21T15:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7637",
      "eval_id": "PE-14732",
      "period": "2026-08",
      "rule_id": "R-CAP",
      "layer": "commercial",
      "severity": "approve",
      "observed": "341.80 EUR",
      "limit_value": "322.47 EUR",
      "cost_impact": 49.33,
      "resolved": "approved",
      "name": "Rate cap",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854731",
    "booking_id": "RS-8854731",
    "item_id": "RI-8854731",
    "period": "2026-08",
    "issued_at": "2026-08-21T16:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 753.24,
    "currency": "EUR",
    "valid_from": "2026-08-30",
    "valid_to": "2026-09-08",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Paris CDG",
    "auth_count": 2,
    "settled_amount": 712.27,
    "status": "authorised",
    "closed_at": "2026-09-03T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854731",
    "booking_id": "RS-8854731",
    "item_id": "RI-8854731",
    "property_id": "P-127",
    "period": "2026-08",
    "folio_number": "CDG260830-1931",
    "guest_name": "V. Roussel",
    "check_in": "2026-08-30",
    "check_out": "2026-09-01",
    "issued_at": "2026-09-01T09:30:00Z",
    "received_at": "2026-09-04T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 712.27,
    "line_count": 7,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}