{
  "item": {
    "item_id": "RI-8854727",
    "period": "2026-08",
    "booking_id": "RS-8854727",
    "duty_id": "D-514727",
    "entity": "ASL Airlines France",
    "legal_entity": "ASL Airlines France SA",
    "crew_name": "L. Roussel",
    "station": "CDG",
    "property_id": "P-127",
    "hotel": "Pullman Paris CDG",
    "check_in": "2026-08-05",
    "check_out": "2026-08-07",
    "nights": 2,
    "booking_amount": 591.84,
    "card_auth": 616.84,
    "card_settled": 908.19,
    "folio_amount": 908.19,
    "variance": 316.35,
    "variance_pct": 53.45,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-07T02:10:00Z",
    "resolved_at": "2026-08-18T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-06",
    "age_days": 24,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-7652",
      "item_id": "RI-8854727",
      "booking_id": "RS-8854727",
      "period": "2026-08",
      "vcc_ref": "VCC-8854727",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-03T09:00:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854727",
      "source_ref": "feed-2026-08-7652"
    },
    {
      "event_id": "CE-7653",
      "item_id": "RI-8854727",
      "booking_id": "RS-8854727",
      "period": "2026-08",
      "vcc_ref": "VCC-8854727",
      "event_type": "auth",
      "amount": 616.84,
      "currency": "EUR",
      "occurred_at": "2026-08-05T14:20:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854727",
      "source_ref": "feed-2026-08-7653"
    },
    {
      "event_id": "CE-7654",
      "item_id": "RI-8854727",
      "booking_id": "RS-8854727",
      "period": "2026-08",
      "vcc_ref": "VCC-8854727",
      "event_type": "capture",
      "amount": 908.19,
      "currency": "EUR",
      "occurred_at": "2026-08-07T08:05:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854727",
      "source_ref": "feed-2026-08-7654"
    },
    {
      "event_id": "CE-7655",
      "item_id": "RI-8854727",
      "booking_id": "RS-8854727",
      "period": "2026-08",
      "vcc_ref": "VCC-8854727",
      "event_type": "settle",
      "amount": 908.19,
      "currency": "EUR",
      "occurred_at": "2026-08-09T03:00:00Z",
      "valid_from": "2026-08-05",
      "valid_to": "2026-08-10",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854727",
      "source_ref": "feed-2026-08-7655"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854727-c0",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    },
    {
      "line_id": "FL-RI-8854727-r0",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "room",
      "description": "Room charge",
      "amount": 264.29,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    },
    {
      "line_id": "FL-RI-8854727-v0",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-05",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.43,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    },
    {
      "line_id": "FL-RI-8854727-c1",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    },
    {
      "line_id": "FL-RI-8854727-r1",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "room",
      "description": "Room charge",
      "amount": 264.29,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    },
    {
      "line_id": "FL-RI-8854727-v1",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.43,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    },
    {
      "line_id": "FL-RI-8854727-x",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 316.35,
      "disputed": 0,
      "received_at": "2026-08-09T07:00:00Z",
      "source_ref": "folio-8854727",
      "folio_id": "folio-8854727"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854727-1",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-07T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854727-2",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-09T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854727-3",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-09T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 316.35 EUR"
    },
    {
      "event_id": "RE-RI-8854727-4",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-10T10:20:00Z",
      "event": "category_assigned",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    },
    {
      "event_id": "RE-RI-8854727-5",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-10T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854727-5050",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-05",
      "entry_type": "pending",
      "amount": 616.84,
      "balance_effect": -616.84,
      "description": "Authorization held — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854727-5051",
      "item_id": "RI-8854727",
      "period": "2026-08",
      "legal_entity": "ASL Airlines France SA",
      "entry_date": "2026-08-09",
      "entry_type": "posted",
      "amount": 908.19,
      "balance_effect": 0,
      "description": "Charge posted — Pullman Paris CDG",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-05",
      "room_net": 264.29,
      "vat_amount": 26.43,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 295.92,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854727",
      "checkin_time": "01:15",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-06",
      "room_net": 264.29,
      "vat_amount": 26.43,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 295.92,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854727",
      "checkin_time": "01:15",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854727",
    "layover_id": "L-514728",
    "duty_id": "D-514727",
    "crew_id": "FRA-1030",
    "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-04T01:15:00Z",
    "check_in": "2026-08-05",
    "check_out": "2026-08-07",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-854727",
    "cancellation_deadline": "2026-08-03T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 607.81
  },
  "duty": {
    "duty_id": "D-514727",
    "crew_id": "FRA-1030",
    "entity_id": "ASL Airlines France",
    "roster_ref": "AIMS/202608/514727",
    "duty_type": "irops",
    "flight_no": "FPO723",
    "dep_station": "LYS",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-04T12:15:00Z",
    "duty_end_utc": "2026-08-05T00:26:00Z",
    "duty_hours": 6.9,
    "block_hours": 7.55,
    "source_system": "aims",
    "published_at": "2026-07-18T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514728",
    "duty_in": "D-514727",
    "duty_out": "D-514727R",
    "crew_id": "FRA-1030",
    "entity_id": "ASL Airlines France",
    "station": "CDG",
    "rest_starts_utc": "2026-08-05T00:26:00Z",
    "rest_ends_utc": "2026-08-07T08:45:00Z",
    "rest_hours_available": 11.49,
    "sleep_opportunity_hours": 9.13,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 16,
    "nights": 2,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14728",
    "period": "2026-08",
    "booking_id": "RS-8854727",
    "item_id": "RI-8854727",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-04T01:12:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines France",
    "station": "CDG",
    "outcome": "hard_refusal",
    "breach_count": 2,
    "cost_impact": 143.48,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-3048",
    "eval_id": "PE-14728",
    "period": "2026-08",
    "approver": "S. Whelan",
    "approver_role": "travel_desk",
    "reason": "Late schedule change inside window",
    "approved_at": "2026-08-04T01:13:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7633",
      "eval_id": "PE-14728",
      "period": "2026-08",
      "rule_id": "R-GRADE",
      "layer": "entitlement",
      "severity": "approve",
      "observed": "Grade above rank",
      "limit_value": "rank-based",
      "cost_impact": 143.48,
      "resolved": "approved",
      "name": "Room grade by rank",
      "authority": "ASL",
      "reference": "ASL OM-A 7.2"
    },
    {
      "breach_id": "PB-D8432",
      "eval_id": "PE-14728",
      "period": "2026-08",
      "rule_id": "R-EASA-REST",
      "layer": "regulatory",
      "severity": "block",
      "observed": "11.49h available",
      "limit_value": "12h — greater of preceding duty (9.35h) and 12h",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Minimum rest away from base",
      "authority": "EASA",
      "reference": "ORO.FTL.235(b)"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854727",
    "booking_id": "RS-8854727",
    "item_id": "RI-8854727",
    "period": "2026-08",
    "issued_at": "2026-08-04T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 632.81,
    "currency": "EUR",
    "valid_from": "2026-08-05",
    "valid_to": "2026-08-14",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Paris CDG",
    "auth_count": 2,
    "settled_amount": 591.84,
    "status": "settled",
    "closed_at": "2026-08-09T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854727",
    "booking_id": "RS-8854727",
    "item_id": "RI-8854727",
    "property_id": "P-127",
    "period": "2026-08",
    "folio_number": "CDG260805-9303",
    "guest_name": "L. Roussel",
    "check_in": "2026-08-05",
    "check_out": "2026-08-07",
    "issued_at": "2026-08-07T09:30:00Z",
    "received_at": "2026-08-09T07:00:00Z",
    "received_via": "portal",
    "currency": "EUR",
    "stated_total": 908.19,
    "line_count": 7,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}