{
  "item": {
    "item_id": "RI-8854023",
    "period": "2026-08",
    "booking_id": "RS-8854023",
    "duty_id": "D-514023",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "T. Maes",
    "station": "CDG",
    "property_id": "P-127",
    "hotel": "Pullman Paris CDG",
    "check_in": "2026-08-11",
    "check_out": "2026-08-12",
    "nights": 1,
    "booking_amount": 389.66,
    "card_auth": 414.66,
    "card_settled": 746.46,
    "folio_amount": 746.46,
    "variance": 337.09,
    "variance_pct": 86.51,
    "variance_category": "early_departure",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "written_off",
    "opened_at": "2026-08-12T02:10:00Z",
    "resolved_at": "2026-08-14T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-11",
    "age_days": 4,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4839",
      "item_id": "RI-8854023",
      "booking_id": "RS-8854023",
      "period": "2026-08",
      "vcc_ref": "VCC-8854023",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-09T09:00:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854023",
      "source_ref": "feed-2026-08-4839"
    },
    {
      "event_id": "CE-4840",
      "item_id": "RI-8854023",
      "booking_id": "RS-8854023",
      "period": "2026-08",
      "vcc_ref": "VCC-8854023",
      "event_type": "auth",
      "amount": 414.66,
      "currency": "EUR",
      "occurred_at": "2026-08-11T14:20:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854023",
      "source_ref": "feed-2026-08-4840"
    },
    {
      "event_id": "CE-4841",
      "item_id": "RI-8854023",
      "booking_id": "RS-8854023",
      "period": "2026-08",
      "vcc_ref": "VCC-8854023",
      "event_type": "capture",
      "amount": 746.46,
      "currency": "EUR",
      "occurred_at": "2026-08-12T08:05:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854023",
      "source_ref": "feed-2026-08-4841"
    },
    {
      "event_id": "CE-4842",
      "item_id": "RI-8854023",
      "booking_id": "RS-8854023",
      "period": "2026-08",
      "vcc_ref": "VCC-8854023",
      "event_type": "settle",
      "amount": 746.46,
      "currency": "EUR",
      "occurred_at": "2026-08-14T03:00:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854023",
      "source_ref": "feed-2026-08-4842"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854023-c0",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854023",
      "folio_id": "folio-8854023"
    },
    {
      "line_id": "FL-RI-8854023-a0",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 19.71,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854023",
      "folio_id": "folio-8854023"
    },
    {
      "line_id": "FL-RI-8854023-r0",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "room",
      "description": "Room charge",
      "amount": 349.51,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854023",
      "folio_id": "folio-8854023"
    },
    {
      "line_id": "FL-RI-8854023-v0",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 34.95,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854023",
      "folio_id": "folio-8854023"
    },
    {
      "line_id": "FL-RI-8854023-x",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "adjustment",
      "description": "Early departure fee",
      "amount": 337.09,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854023",
      "folio_id": "folio-8854023"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854023-1",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-12T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854023-2",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-14T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854023-3",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-14T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 337.09 EUR"
    },
    {
      "event_id": "RE-RI-8854023-4",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-15T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as early departure"
    },
    {
      "event_id": "RE-RI-8854023-5",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-21T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: written_off"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854023-3211",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-11",
      "entry_type": "pending",
      "amount": 414.66,
      "balance_effect": -414.66,
      "description": "Authorization held — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854023-3212",
      "item_id": "RI-8854023",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-14",
      "entry_type": "posted",
      "amount": 746.46,
      "balance_effect": 0,
      "description": "Charge posted — Pullman Paris CDG",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-11",
      "room_net": 349.51,
      "vat_amount": 34.95,
      "city_tax": 5.2,
      "ancillaries": 19.71,
      "rate_paid": 389.66,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854023",
      "checkin_time": "16:00",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854023",
    "layover_id": "L-514024",
    "duty_id": "D-514023",
    "crew_id": "BEL-1004",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "CDG",
    "property_id": "P-127",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T04:00:00Z",
    "check_in": "2026-08-11",
    "check_out": "2026-08-12",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-854023",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 425.34
  },
  "duty": {
    "duty_id": "D-514023",
    "crew_id": "BEL-1004",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514023",
    "duty_type": "overnight",
    "flight_no": "TAY785",
    "dep_station": "LGG",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-10T12:15:00Z",
    "duty_end_utc": "2026-08-11T15:11:00Z",
    "duty_hours": 8,
    "block_hours": 5.16,
    "source_system": "aims",
    "published_at": "2026-07-25T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514024",
    "duty_in": "D-514023",
    "duty_out": "D-514023R",
    "crew_id": "BEL-1004",
    "entity_id": "ASL Airlines Belgium",
    "station": "CDG",
    "rest_starts_utc": "2026-08-11T15:11:00Z",
    "rest_ends_utc": "2026-08-12T11:20:00Z",
    "rest_hours_available": 17.36,
    "sleep_opportunity_hours": 15.17,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 16,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14024",
    "period": "2026-08",
    "booking_id": "RS-8854023",
    "item_id": "RI-8854023",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T03:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "CDG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 23.73,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2934",
    "eval_id": "PE-14024",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Late schedule change inside window",
    "approved_at": "2026-08-11T03:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7297",
      "eval_id": "PE-14024",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 23.73,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854023",
    "booking_id": "RS-8854023",
    "item_id": "RI-8854023",
    "period": "2026-08",
    "issued_at": "2026-08-11T04:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 450.34,
    "currency": "EUR",
    "valid_from": "2026-08-11",
    "valid_to": "2026-08-19",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Paris CDG",
    "auth_count": 1,
    "settled_amount": 409.37,
    "status": "settled",
    "closed_at": "2026-08-14T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854023",
    "booking_id": "RS-8854023",
    "item_id": "RI-8854023",
    "property_id": "P-127",
    "period": "2026-08",
    "folio_number": "CDG260811-1465",
    "guest_name": "T. Maes",
    "check_in": "2026-08-11",
    "check_out": "2026-08-12",
    "issued_at": "2026-08-12T09:30:00Z",
    "received_at": "2026-08-15T07:00:00Z",
    "received_via": "manual",
    "currency": "EUR",
    "stated_total": 746.46,
    "line_count": 5,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}