{
  "item": {
    "item_id": "RI-8854632",
    "period": "2026-08",
    "booking_id": "RS-8854632",
    "duty_id": "D-514632",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "G. Declerck",
    "station": "CDG",
    "property_id": "P-126",
    "hotel": "Novotel Paris CDG",
    "check_in": "2026-08-12",
    "check_out": "2026-08-13",
    "nights": 1,
    "booking_amount": 297.39,
    "card_auth": 322.39,
    "card_settled": 326.41,
    "folio_amount": 326.41,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-13T02:10:00Z",
    "resolved_at": "2026-08-18T11:00:00Z",
    "final_at": "2026-09-12T00:01:00Z",
    "final_due_at": "2026-09-12",
    "age_days": 12,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-7269",
      "item_id": "RI-8854632",
      "booking_id": "RS-8854632",
      "period": "2026-08",
      "vcc_ref": "VCC-8854632",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-10T09:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854632",
      "source_ref": "feed-2026-08-7269"
    },
    {
      "event_id": "CE-7270",
      "item_id": "RI-8854632",
      "booking_id": "RS-8854632",
      "period": "2026-08",
      "vcc_ref": "VCC-8854632",
      "event_type": "auth",
      "amount": 322.39,
      "currency": "EUR",
      "occurred_at": "2026-08-12T14:20:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854632",
      "source_ref": "feed-2026-08-7270"
    },
    {
      "event_id": "CE-7271",
      "item_id": "RI-8854632",
      "booking_id": "RS-8854632",
      "period": "2026-08",
      "vcc_ref": "VCC-8854632",
      "event_type": "capture",
      "amount": 326.41,
      "currency": "EUR",
      "occurred_at": "2026-08-13T08:05:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854632",
      "source_ref": "feed-2026-08-7271"
    },
    {
      "event_id": "CE-7272",
      "item_id": "RI-8854632",
      "booking_id": "RS-8854632",
      "period": "2026-08",
      "vcc_ref": "VCC-8854632",
      "event_type": "settle",
      "amount": 326.41,
      "currency": "EUR",
      "occurred_at": "2026-08-15T03:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854632",
      "source_ref": "feed-2026-08-7272"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854632-c0",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854632",
      "folio_id": "folio-8854632"
    },
    {
      "line_id": "FL-RI-8854632-a0",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 29.02,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854632",
      "folio_id": "folio-8854632"
    },
    {
      "line_id": "FL-RI-8854632-r0",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 265.63,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854632",
      "folio_id": "folio-8854632"
    },
    {
      "line_id": "FL-RI-8854632-v0",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.56,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8854632",
      "folio_id": "folio-8854632"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854632-1",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-13T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854632-2",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-15T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854632-3",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-15T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854632-4",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-26T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854632-5",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-12T00: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-8854632-4805",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-12",
      "entry_type": "pending",
      "amount": 322.39,
      "balance_effect": -322.39,
      "description": "Authorization held — Novotel Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854632-4806",
      "item_id": "RI-8854632",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-15",
      "entry_type": "posted",
      "amount": 326.41,
      "balance_effect": 0,
      "description": "Charge posted — Novotel Paris CDG",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-12",
      "room_net": 265.63,
      "vat_amount": 26.56,
      "city_tax": 5.2,
      "ancillaries": 29.02,
      "rate_paid": 297.39,
      "hotel": "Novotel Paris CDG",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854632",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854632",
    "layover_id": "L-514633",
    "duty_id": "D-514632",
    "crew_id": "BEL-1034",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "CDG",
    "property_id": "P-126",
    "vendor_id": null,
    "contract_id": "C-126",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-10T01:15:00Z",
    "check_in": "2026-08-12",
    "check_out": "2026-08-13",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-854632",
    "cancellation_deadline": "2026-08-10T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 342.38
  },
  "duty": {
    "duty_id": "D-514632",
    "crew_id": "BEL-1034",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514632",
    "duty_type": "positioning",
    "flight_no": "TAY764",
    "dep_station": "LGG",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-11T18:05:00Z",
    "duty_end_utc": "2026-08-12T00:26:00Z",
    "duty_hours": 9.91,
    "block_hours": 3.35,
    "source_system": "aims",
    "published_at": "2026-08-01T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514633",
    "duty_in": "D-514632",
    "duty_out": "D-514632R",
    "crew_id": "BEL-1034",
    "entity_id": "ASL Airlines Belgium",
    "station": "CDG",
    "rest_starts_utc": "2026-08-12T00:26:00Z",
    "rest_ends_utc": "2026-08-13T11:20:00Z",
    "rest_hours_available": 16.46,
    "sleep_opportunity_hours": 14.68,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 17,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14633",
    "period": "2026-08",
    "booking_id": "RS-8854632",
    "item_id": "RI-8854632",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-10T01:12:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "CDG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 29.02,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7591",
      "eval_id": "PE-14633",
      "period": "2026-08",
      "rule_id": "R-ANC",
      "layer": "commercial",
      "severity": "warn",
      "observed": "29.02 EUR uncovered",
      "limit_value": "breakfast, wifi",
      "cost_impact": 29.02,
      "resolved": "auto_allowed",
      "name": "Covered ancillaries",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854632",
    "booking_id": "RS-8854632",
    "item_id": "RI-8854632",
    "period": "2026-08",
    "issued_at": "2026-08-10T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 367.38,
    "currency": "EUR",
    "valid_from": "2026-08-12",
    "valid_to": "2026-08-20",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Novotel Paris CDG",
    "auth_count": 1,
    "settled_amount": 326.41,
    "status": "settled",
    "closed_at": "2026-08-15T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854632",
    "booking_id": "RS-8854632",
    "item_id": "RI-8854632",
    "property_id": "P-126",
    "period": "2026-08",
    "folio_number": "CDG260812-2378",
    "guest_name": "G. Declerck",
    "check_in": "2026-08-12",
    "check_out": "2026-08-13",
    "issued_at": "2026-08-13T09:30:00Z",
    "received_at": "2026-08-15T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 326.41,
    "line_count": 4,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}