{
  "item": {
    "item_id": "RI-8854147",
    "period": "2026-08",
    "booking_id": "RS-8854147",
    "duty_id": "D-514147",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "H. Willems",
    "station": "DXB",
    "property_id": "P-122",
    "hotel": "Millennium Airport Hotel Dubai",
    "check_in": "2026-08-29",
    "check_out": "2026-09-01",
    "nights": 3,
    "booking_amount": 862.53,
    "card_auth": 887.53,
    "card_settled": 878.81,
    "folio_amount": 878.81,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-09-01T02:10:00Z",
    "resolved_at": "2026-09-06T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-10-01",
    "age_days": 3,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-5333",
      "item_id": "RI-8854147",
      "booking_id": "RS-8854147",
      "period": "2026-08",
      "vcc_ref": "VCC-8854147",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-27T09:00:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854147",
      "source_ref": "feed-2026-08-5333"
    },
    {
      "event_id": "CE-5334",
      "item_id": "RI-8854147",
      "booking_id": "RS-8854147",
      "period": "2026-08",
      "vcc_ref": "VCC-8854147",
      "event_type": "auth",
      "amount": 887.53,
      "currency": "EUR",
      "occurred_at": "2026-08-29T14:20:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854147",
      "source_ref": "feed-2026-08-5334"
    },
    {
      "event_id": "CE-5335",
      "item_id": "RI-8854147",
      "booking_id": "RS-8854147",
      "period": "2026-08",
      "vcc_ref": "VCC-8854147",
      "event_type": "capture",
      "amount": 878.81,
      "currency": "EUR",
      "occurred_at": "2026-09-01T08:05:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854147",
      "source_ref": "feed-2026-08-5335"
    },
    {
      "event_id": "CE-5336",
      "item_id": "RI-8854147",
      "booking_id": "RS-8854147",
      "period": "2026-08",
      "vcc_ref": "VCC-8854147",
      "event_type": "settle",
      "amount": 878.81,
      "currency": "EUR",
      "occurred_at": "2026-09-03T03:00:00Z",
      "valid_from": "2026-08-29",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854147",
      "source_ref": "feed-2026-08-5336"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854147-c0",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-r0",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "room",
      "description": "Room charge",
      "amount": 269.06,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-v0",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-29",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.45,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-c1",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-r1",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "room",
      "description": "Room charge",
      "amount": 269.06,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-v1",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.45,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-c2",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-a2",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 16.28,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-r2",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "room",
      "description": "Room charge",
      "amount": 269.06,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    },
    {
      "line_id": "FL-RI-8854147-v2",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.45,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8854147",
      "folio_id": "folio-8854147"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854147-1",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-09-01T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854147-2",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-03T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854147-3",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-03T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854147-4",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-10T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854147-3533",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-29",
      "entry_type": "pending",
      "amount": 887.53,
      "balance_effect": -887.53,
      "description": "Authorization held — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854147-3534",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-03",
      "entry_type": "posted",
      "amount": 878.81,
      "balance_effect": 0,
      "description": "Charge posted — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854147-3535",
      "item_id": "RI-8854147",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-03",
      "entry_type": "released",
      "amount": 8.72,
      "balance_effect": 8.72,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-29",
      "room_net": 269.06,
      "vat_amount": 13.45,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 287.51,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854147",
      "checkin_time": "16:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-30",
      "room_net": 269.06,
      "vat_amount": 13.45,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 287.51,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854147",
      "checkin_time": "16:00",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-31",
      "room_net": 269.06,
      "vat_amount": 13.45,
      "city_tax": 5,
      "ancillaries": 16.28,
      "rate_paid": 287.51,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854147",
      "checkin_time": "16:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8854147",
    "layover_id": "L-514148",
    "duty_id": "D-514147",
    "crew_id": "BEL-1029",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-122",
    "vendor_id": null,
    "contract_id": "C-122",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-29T04:00:00Z",
    "check_in": "2026-08-29",
    "check_out": "2026-09-01",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-854147",
    "cancellation_deadline": "2026-08-28T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 894.78
  },
  "duty": {
    "duty_id": "D-514147",
    "crew_id": "BEL-1029",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514147",
    "duty_type": "irops",
    "flight_no": "TAY417",
    "dep_station": "LGG",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-28T15:30:00Z",
    "duty_end_utc": "2026-08-29T14:29:00Z",
    "duty_hours": 11.21,
    "block_hours": 8.3,
    "source_system": "aims",
    "published_at": "2026-08-12T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514148",
    "duty_in": "D-514147",
    "duty_out": "D-514147R",
    "crew_id": "BEL-1029",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-29T14:29:00Z",
    "rest_ends_utc": "2026-09-01T11:20:00Z",
    "rest_hours_available": 10.89,
    "sleep_opportunity_hours": 7.34,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 63,
    "nights": 3,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14148",
    "period": "2026-08",
    "booking_id": "RS-8854147",
    "item_id": "RI-8854147",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-29T03:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "hard_refusal",
    "breach_count": 1,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-D8360",
      "eval_id": "PE-14148",
      "period": "2026-08",
      "rule_id": "R-EASA-REST",
      "layer": "regulatory",
      "severity": "block",
      "observed": "10.89h available",
      "limit_value": "12h — greater of preceding duty (10.91h) and 12h",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Minimum rest away from base",
      "authority": "EASA",
      "reference": "ORO.FTL.235(b)"
    }
  ],
  "changes": [
    {
      "change_id": "BC-1696",
      "booking_id": "RS-8854147",
      "period": "2026-08",
      "occurred_at": "2026-08-29T21:05:00Z",
      "change_type": "cancel_rebook",
      "source": "aims",
      "trigger": "irops",
      "modify_attempted": 1,
      "failed_reason": "no_availability",
      "hours_before_checkin": 39.01,
      "cutoff_hours": 18,
      "cost": 218.26,
      "room_lost": 1,
      "resolved_by": "human",
      "resolved_at": "2026-08-29T07:05:00Z",
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8854147",
    "booking_id": "RS-8854147",
    "item_id": "RI-8854147",
    "period": "2026-08",
    "issued_at": "2026-08-29T04:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 919.78,
    "currency": "EUR",
    "valid_from": "2026-08-29",
    "valid_to": "2026-09-08",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Millennium Airport Hotel Dubai",
    "auth_count": 3,
    "settled_amount": 878.81,
    "status": "settled",
    "closed_at": "2026-09-03T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854147",
    "booking_id": "RS-8854147",
    "item_id": "RI-8854147",
    "property_id": "P-122",
    "period": "2026-08",
    "folio_number": "DXB260829-6013",
    "guest_name": "H. Willems",
    "check_in": "2026-08-29",
    "check_out": "2026-09-01",
    "issued_at": "2026-09-01T09:30:00Z",
    "received_at": "2026-09-05T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 878.81,
    "line_count": 10,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}