{
  "item": {
    "item_id": "RI-8854081",
    "period": "2026-08",
    "booking_id": "RS-8854081",
    "duty_id": "D-514081",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "D. Peeters",
    "station": "DXB",
    "property_id": "P-123",
    "hotel": "Le Meridien Dubai",
    "check_in": "2026-08-21",
    "check_out": "2026-08-25",
    "nights": 4,
    "booking_amount": 1174.2,
    "card_auth": 1199.2,
    "card_settled": 1228.34,
    "folio_amount": 1228.34,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-25T02:10:00Z",
    "resolved_at": "2026-09-06T11:00:00Z",
    "final_at": "2026-09-24T00:01:00Z",
    "final_due_at": "2026-09-24",
    "age_days": 28,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-5072",
      "item_id": "RI-8854081",
      "booking_id": "RS-8854081",
      "period": "2026-08",
      "vcc_ref": "VCC-8854081",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-19T09:00:00Z",
      "valid_from": "2026-08-21",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854081",
      "source_ref": "feed-2026-08-5072"
    },
    {
      "event_id": "CE-5073",
      "item_id": "RI-8854081",
      "booking_id": "RS-8854081",
      "period": "2026-08",
      "vcc_ref": "VCC-8854081",
      "event_type": "auth",
      "amount": 1199.2,
      "currency": "EUR",
      "occurred_at": "2026-08-21T14:20:00Z",
      "valid_from": "2026-08-21",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854081",
      "source_ref": "feed-2026-08-5073"
    },
    {
      "event_id": "CE-5074",
      "item_id": "RI-8854081",
      "booking_id": "RS-8854081",
      "period": "2026-08",
      "vcc_ref": "VCC-8854081",
      "event_type": "capture",
      "amount": 1228.34,
      "currency": "EUR",
      "occurred_at": "2026-08-25T08:05:00Z",
      "valid_from": "2026-08-21",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854081",
      "source_ref": "feed-2026-08-5074"
    },
    {
      "event_id": "CE-5075",
      "item_id": "RI-8854081",
      "booking_id": "RS-8854081",
      "period": "2026-08",
      "vcc_ref": "VCC-8854081",
      "event_type": "settle",
      "amount": 1228.34,
      "currency": "EUR",
      "occurred_at": "2026-08-27T03:00:00Z",
      "valid_from": "2026-08-21",
      "valid_to": "2026-08-28",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854081",
      "source_ref": "feed-2026-08-5075"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854081-c0",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-a0",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 21.91,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-r0",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "room",
      "description": "Room charge",
      "amount": 274.81,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-v0",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.74,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-a1",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 32.23,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-r1",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "room",
      "description": "Room charge",
      "amount": 279.57,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-v1",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.98,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-c2",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-r2",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 274.81,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-v2",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.74,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-c3",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-r3",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 274.81,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    },
    {
      "line_id": "FL-RI-8854081-v3",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.74,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854081",
      "folio_id": "folio-8854081"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854081-1",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-25T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854081-2",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-27T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854081-3",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-27T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854081-4",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-30T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854081-5",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-24T00: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-8854081-3359",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-21",
      "entry_type": "pending",
      "amount": 1199.2,
      "balance_effect": -1199.2,
      "description": "Authorization held — Le Meridien Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854081-3360",
      "item_id": "RI-8854081",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-27",
      "entry_type": "posted",
      "amount": 1228.34,
      "balance_effect": 0,
      "description": "Charge posted — Le Meridien Dubai",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-21",
      "room_net": 274.81,
      "vat_amount": 13.74,
      "city_tax": 5,
      "ancillaries": 21.91,
      "rate_paid": 293.55,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854081",
      "checkin_time": "05:40",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-22",
      "room_net": 279.57,
      "vat_amount": 13.98,
      "city_tax": 0,
      "ancillaries": 32.23,
      "rate_paid": 293.55,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "held",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854081",
      "checkin_time": null,
      "checkout_time": null
    },
    {
      "night": "2026-08-23",
      "room_net": 274.81,
      "vat_amount": 13.74,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 293.55,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854081",
      "checkin_time": "05:40",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-24",
      "room_net": 274.81,
      "vat_amount": 13.74,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 293.55,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854081",
      "checkin_time": "05:40",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854081",
    "layover_id": "L-514082",
    "duty_id": "D-514081",
    "crew_id": "BEL-1003",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-123",
    "vendor_id": null,
    "contract_id": "C-123",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-20T17:40:00Z",
    "check_in": "2026-08-21",
    "check_out": "2026-08-25",
    "nights": 4,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-854081",
    "cancellation_deadline": "2026-08-20T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1244.31
  },
  "duty": {
    "duty_id": "D-514081",
    "crew_id": "BEL-1003",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514081",
    "duty_type": "irops",
    "flight_no": "TAY670",
    "dep_station": "LGG",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-20T18:05:00Z",
    "duty_end_utc": "2026-08-21T04:17:00Z",
    "duty_hours": 10.03,
    "block_hours": 7.39,
    "source_system": "aims",
    "published_at": "2026-08-13T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514082",
    "duty_in": "D-514081",
    "duty_out": "D-514081R",
    "crew_id": "BEL-1003",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-21T04:17:00Z",
    "rest_ends_utc": "2026-08-25T08:45:00Z",
    "rest_hours_available": 83.09,
    "sleep_opportunity_hours": 79.93,
    "transfer_in_minutes": 48,
    "transfer_out_minutes": 45,
    "nights": 4,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14082",
    "period": "2026-08",
    "booking_id": "RS-8854081",
    "item_id": "RI-8854081",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-20T17:37:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "hard_refusal",
    "breach_count": 2,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-D8347",
      "eval_id": "PE-14082",
      "period": "2026-08",
      "rule_id": "R-EASA-ACC",
      "layer": "regulatory",
      "severity": "block",
      "observed": "Audit AUD-40 (2026-08-14): 48.98 dB measured at night",
      "limit_value": "35 dB — quiet, dark, temperature-controlled",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Accommodation standard",
      "authority": "EASA",
      "reference": "CS FTL.1.235"
    },
    {
      "breach_id": "PB-D8348",
      "eval_id": "PE-14082",
      "period": "2026-08",
      "rule_id": "R-SINGLE",
      "layer": "regulatory",
      "severity": "block",
      "observed": "7 crew requested against a block of 5",
      "limit_value": "one room per crew member",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Single occupancy",
      "authority": "ASL",
      "reference": "ASL OM-A 7.4"
    }
  ],
  "changes": [
    {
      "change_id": "BC-1686",
      "booking_id": "RS-8854081",
      "period": "2026-08",
      "occurred_at": "2026-08-21T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "aims",
      "trigger": "irops",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 59.17,
      "cutoff_hours": 18,
      "cost": 15.5,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8854081",
    "booking_id": "RS-8854081",
    "item_id": "RI-8854081",
    "period": "2026-08",
    "issued_at": "2026-08-20T17:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1269.31,
    "currency": "EUR",
    "valid_from": "2026-08-21",
    "valid_to": "2026-09-01",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Le Meridien Dubai",
    "auth_count": 4,
    "settled_amount": 1228.34,
    "status": "settled",
    "closed_at": "2026-08-27T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854081",
    "booking_id": "RS-8854081",
    "item_id": "RI-8854081",
    "property_id": "P-123",
    "period": "2026-08",
    "folio_number": "DXB260821-4911",
    "guest_name": "D. Peeters",
    "check_in": "2026-08-21",
    "check_out": "2026-08-25",
    "issued_at": "2026-08-25T09:30:00Z",
    "received_at": "2026-08-27T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 1228.34,
    "line_count": 13,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}