{
  "item": {
    "item_id": "RI-8854949",
    "period": "2026-08",
    "booking_id": "RS-8854949",
    "duty_id": "D-514949",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "T. Lefevre",
    "station": "TLS",
    "property_id": "P-134",
    "hotel": "Ibis Toulouse Blagnac",
    "check_in": "2026-08-12",
    "check_out": "2026-08-14",
    "nights": 2,
    "booking_amount": 541.22,
    "card_auth": 566.22,
    "card_settled": 904.28,
    "folio_amount": 904.28,
    "variance": 363.06,
    "variance_pct": 67.08,
    "variance_category": "incidentals",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-14T02:10:00Z",
    "resolved_at": "2026-08-20T11:00:00Z",
    "final_at": "2026-09-13T00:01:00Z",
    "final_due_at": "2026-09-13",
    "age_days": 31,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-8542",
      "item_id": "RI-8854949",
      "booking_id": "RS-8854949",
      "period": "2026-08",
      "vcc_ref": "VCC-8854949",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-10T09:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854949",
      "source_ref": "feed-2026-08-8542"
    },
    {
      "event_id": "CE-8543",
      "item_id": "RI-8854949",
      "booking_id": "RS-8854949",
      "period": "2026-08",
      "vcc_ref": "VCC-8854949",
      "event_type": "auth",
      "amount": 566.22,
      "currency": "EUR",
      "occurred_at": "2026-08-12T14:20:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854949",
      "source_ref": "feed-2026-08-8543"
    },
    {
      "event_id": "CE-8544",
      "item_id": "RI-8854949",
      "booking_id": "RS-8854949",
      "period": "2026-08",
      "vcc_ref": "VCC-8854949",
      "event_type": "capture",
      "amount": 904.28,
      "currency": "EUR",
      "occurred_at": "2026-08-14T08:05:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854949",
      "source_ref": "feed-2026-08-8544"
    },
    {
      "event_id": "CE-8545",
      "item_id": "RI-8854949",
      "booking_id": "RS-8854949",
      "period": "2026-08",
      "vcc_ref": "VCC-8854949",
      "event_type": "settle",
      "amount": 904.28,
      "currency": "EUR",
      "occurred_at": "2026-08-16T03:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854949",
      "source_ref": "feed-2026-08-8545"
    },
    {
      "event_id": "CE-8546",
      "item_id": "RI-8854949",
      "booking_id": "RS-8854949",
      "period": "2026-08",
      "vcc_ref": "VCC-8854949",
      "event_type": "refund",
      "amount": -363.06,
      "currency": "EUR",
      "occurred_at": "2026-08-26T16:30:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-17",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854949",
      "source_ref": "feed-2026-08-8546"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854949-c0",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    },
    {
      "line_id": "FL-RI-8854949-r0",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 243.39,
      "disputed": 0,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    },
    {
      "line_id": "FL-RI-8854949-v0",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.34,
      "disputed": 0,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    },
    {
      "line_id": "FL-RI-8854949-c1",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 2.88,
      "disputed": 0,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    },
    {
      "line_id": "FL-RI-8854949-r1",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "room",
      "description": "Room charge",
      "amount": 243.39,
      "disputed": 0,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    },
    {
      "line_id": "FL-RI-8854949-v1",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 24.34,
      "disputed": 0,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    },
    {
      "line_id": "FL-RI-8854949-x",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "incidental",
      "description": "Unitemised incidentals",
      "amount": 363.06,
      "disputed": 1,
      "received_at": "2026-08-17T07:00:00Z",
      "source_ref": "folio-8854949",
      "folio_id": "folio-8854949"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854949-1",
      "item_id": "RI-8854949",
      "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-8854949-2",
      "item_id": "RI-8854949",
      "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-8854949-3",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-16T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 363.06 EUR"
    },
    {
      "event_id": "RE-RI-8854949-4",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-17T10:20:00Z",
      "event": "category_assigned",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Categorised as incidentals"
    },
    {
      "event_id": "RE-RI-8854949-5",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-18T14:00:00Z",
      "event": "disputed",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8854949-6",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-08-26T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8854949-7",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-08-24T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    },
    {
      "event_id": "RE-RI-8854949-8",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "seq": 8,
      "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-8854949-5623",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-12",
      "entry_type": "pending",
      "amount": 566.22,
      "balance_effect": -566.22,
      "description": "Authorization held — Ibis Toulouse Blagnac",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854949-5624",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-16",
      "entry_type": "posted",
      "amount": 904.28,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Toulouse Blagnac",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854949-5625",
      "item_id": "RI-8854949",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-26",
      "entry_type": "refund",
      "amount": -363.06,
      "balance_effect": 363.06,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-12",
      "room_net": 243.39,
      "vat_amount": 24.34,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 270.61,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854949",
      "checkin_time": "22:30",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-13",
      "room_net": 243.39,
      "vat_amount": 24.34,
      "city_tax": 2.88,
      "ancillaries": 0,
      "rate_paid": 270.61,
      "hotel": "Ibis Toulouse Blagnac",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854949",
      "checkin_time": "22:30",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854949",
    "layover_id": "L-514950",
    "duty_id": "D-514949",
    "crew_id": "FRA-1040",
    "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": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T22:30:00Z",
    "check_in": "2026-08-12",
    "check_out": "2026-08-14",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-854949",
    "cancellation_deadline": "2026-08-11T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 557.19
  },
  "duty": {
    "duty_id": "D-514949",
    "crew_id": "FRA-1040",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514949",
    "duty_type": "overnight",
    "flight_no": "FPO609",
    "dep_station": "MRS",
    "arr_station": "TLS",
    "duty_start_utc": "2026-08-11T18:05:00Z",
    "duty_end_utc": "2026-08-12T21:45:00Z",
    "duty_hours": 7.47,
    "block_hours": 5.11,
    "source_system": "aims",
    "published_at": "2026-07-25T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514950",
    "duty_in": "D-514949",
    "duty_out": "D-514949R",
    "crew_id": "FRA-1040",
    "entity_id": "ASL Airlines France",
    "station": "TLS",
    "rest_starts_utc": "2026-08-12T21:45:00Z",
    "rest_ends_utc": "2026-08-14T08:45:00Z",
    "rest_hours_available": 35.58,
    "sleep_opportunity_hours": 33.51,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 10,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14950",
    "period": "2026-08",
    "booking_id": "RS-8854949",
    "item_id": "RI-8854949",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T22:27:00Z",
    "channel": "automation",
    "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-8854949",
    "booking_id": "RS-8854949",
    "item_id": "RI-8854949",
    "period": "2026-08",
    "issued_at": "2026-08-11T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 582.19,
    "currency": "EUR",
    "valid_from": "2026-08-12",
    "valid_to": "2026-08-21",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Toulouse Blagnac",
    "auth_count": 2,
    "settled_amount": 541.22,
    "status": "authorised",
    "closed_at": "2026-08-16T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854949",
    "booking_id": "RS-8854949",
    "item_id": "RI-8854949",
    "property_id": "P-134",
    "period": "2026-08",
    "folio_number": "TLS260812-8770",
    "guest_name": "T. Lefevre",
    "check_in": "2026-08-12",
    "check_out": "2026-08-14",
    "issued_at": "2026-08-14T09:30:00Z",
    "received_at": "2026-08-17T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 904.28,
    "line_count": 7,
    "days_to_receive": 3.29,
    "disputed": 1
  }
}