{
  "item": {
    "item_id": "RI-8853886",
    "period": "2026-08",
    "booking_id": "RS-8853886",
    "duty_id": "D-513886",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "H. De Smet",
    "station": "LGG",
    "property_id": "P-111",
    "hotel": "Ibis Liege Centre",
    "check_in": "2026-08-30",
    "check_out": "2026-08-31",
    "nights": 1,
    "booking_amount": 277.03,
    "card_auth": 302.03,
    "card_settled": 310.15,
    "folio_amount": 310.15,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-31T02:10:00Z",
    "resolved_at": "2026-09-09T11:00:00Z",
    "final_at": "2026-09-30T00:01:00Z",
    "final_due_at": "2026-09-30",
    "age_days": 28,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-4290",
      "item_id": "RI-8853886",
      "booking_id": "RS-8853886",
      "period": "2026-08",
      "vcc_ref": "VCC-8853886",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-28T09:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853886",
      "source_ref": "feed-2026-08-4290"
    },
    {
      "event_id": "CE-4291",
      "item_id": "RI-8853886",
      "booking_id": "RS-8853886",
      "period": "2026-08",
      "vcc_ref": "VCC-8853886",
      "event_type": "auth",
      "amount": 302.03,
      "currency": "EUR",
      "occurred_at": "2026-08-30T14:20:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853886",
      "source_ref": "feed-2026-08-4291"
    },
    {
      "event_id": "CE-4292",
      "item_id": "RI-8853886",
      "booking_id": "RS-8853886",
      "period": "2026-08",
      "vcc_ref": "VCC-8853886",
      "event_type": "capture",
      "amount": 310.15,
      "currency": "EUR",
      "occurred_at": "2026-08-31T08:05:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853886",
      "source_ref": "feed-2026-08-4292"
    },
    {
      "event_id": "CE-4293",
      "item_id": "RI-8853886",
      "booking_id": "RS-8853886",
      "period": "2026-08",
      "vcc_ref": "VCC-8853886",
      "event_type": "settle",
      "amount": 310.15,
      "currency": "EUR",
      "occurred_at": "2026-09-02T03:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-03",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853886",
      "source_ref": "feed-2026-08-4293"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853886-c0",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853886",
      "folio_id": "folio-8853886"
    },
    {
      "line_id": "FL-RI-8853886-a0",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 33.12,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853886",
      "folio_id": "folio-8853886"
    },
    {
      "line_id": "FL-RI-8853886-r0",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "room",
      "description": "Room charge",
      "amount": 257.58,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853886",
      "folio_id": "folio-8853886"
    },
    {
      "line_id": "FL-RI-8853886-v0",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.45,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853886",
      "folio_id": "folio-8853886"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853886-1",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-31T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853886-2",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-02T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853886-3",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-02T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853886-4",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-01T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8853886-5",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-30T00: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-8853886-2843",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-30",
      "entry_type": "pending",
      "amount": 302.03,
      "balance_effect": -302.03,
      "description": "Authorization held — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853886-2844",
      "item_id": "RI-8853886",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-02",
      "entry_type": "posted",
      "amount": 310.15,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Liege Centre",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-30",
      "room_net": 257.58,
      "vat_amount": 15.45,
      "city_tax": 4,
      "ancillaries": 33.12,
      "rate_paid": 277.03,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853886",
      "checkin_time": "05:40",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853886",
    "layover_id": "L-513887",
    "duty_id": "D-513886",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "LGG",
    "property_id": "P-111",
    "vendor_id": null,
    "contract_id": "C-111",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-29T17:40:00Z",
    "check_in": "2026-08-30",
    "check_out": "2026-08-31",
    "nights": 1,
    "room_type": "executive",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-853886",
    "cancellation_deadline": "2026-08-28T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 326.12
  },
  "duty": {
    "duty_id": "D-513886",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513886",
    "duty_type": "irops",
    "flight_no": "TAY566",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-29T15:30:00Z",
    "duty_end_utc": "2026-08-30T04:42:00Z",
    "duty_hours": 6.59,
    "block_hours": 4.83,
    "source_system": "aims",
    "published_at": "2026-08-11T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513887",
    "duty_in": "D-513886",
    "duty_out": "D-513886R",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-30T04:42:00Z",
    "rest_ends_utc": "2026-08-31T11:20:00Z",
    "rest_hours_available": 15.57,
    "sleep_opportunity_hours": 13.02,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 23,
    "nights": 1,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13887",
    "period": "2026-08",
    "booking_id": "RS-8853886",
    "item_id": "RI-8853886",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-29T17:37:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "LGG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 33.12,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7226",
      "eval_id": "PE-13887",
      "period": "2026-08",
      "rule_id": "R-ANC",
      "layer": "commercial",
      "severity": "warn",
      "observed": "33.12 EUR uncovered",
      "limit_value": "breakfast, wifi",
      "cost_impact": 33.12,
      "resolved": "auto_allowed",
      "name": "Covered ancillaries",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [
    {
      "change_id": "BC-1658",
      "booking_id": "RS-8853886",
      "period": "2026-08",
      "occurred_at": "2026-08-30T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "travel_desk",
      "trigger": "irops",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 117.85,
      "cutoff_hours": 48,
      "cost": 11.82,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8853886",
    "booking_id": "RS-8853886",
    "item_id": "RI-8853886",
    "period": "2026-08",
    "issued_at": "2026-08-29T17:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 351.12,
    "currency": "EUR",
    "valid_from": "2026-08-30",
    "valid_to": "2026-09-07",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Liege Centre",
    "auth_count": 1,
    "settled_amount": 310.15,
    "status": "settled",
    "closed_at": "2026-09-02T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853886",
    "booking_id": "RS-8853886",
    "item_id": "RI-8853886",
    "property_id": "P-111",
    "period": "2026-08",
    "folio_number": "LGG260830-4494",
    "guest_name": "H. De Smet",
    "check_in": "2026-08-30",
    "check_out": "2026-08-31",
    "issued_at": "2026-08-31T09:30:00Z",
    "received_at": "2026-09-05T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 310.15,
    "line_count": 4,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}