{
  "item": {
    "item_id": "RI-8854413",
    "period": "2026-08",
    "booking_id": "RS-8854413",
    "duty_id": "D-514413",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "M. Willems",
    "station": "DXB",
    "property_id": "P-123",
    "hotel": "Le Meridien Dubai",
    "check_in": "2026-08-16",
    "check_out": "2026-08-18",
    "nights": 2,
    "booking_amount": 583.5,
    "card_auth": 608.5,
    "card_settled": null,
    "folio_amount": 613.97,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "charge_after_expiry",
    "state": "investigating",
    "resolution": null,
    "opened_at": "2026-08-18T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-17",
    "age_days": 5,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-6398",
      "item_id": "RI-8854413",
      "booking_id": "RS-8854413",
      "period": "2026-08",
      "vcc_ref": "VCC-8854413",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-14T09:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854413",
      "source_ref": "feed-2026-08-6398"
    },
    {
      "event_id": "CE-6399",
      "item_id": "RI-8854413",
      "booking_id": "RS-8854413",
      "period": "2026-08",
      "vcc_ref": "VCC-8854413",
      "event_type": "auth",
      "amount": 608.5,
      "currency": "EUR",
      "occurred_at": "2026-08-16T14:20:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854413",
      "source_ref": "feed-2026-08-6399"
    },
    {
      "event_id": "CE-6400",
      "item_id": "RI-8854413",
      "booking_id": "RS-8854413",
      "period": "2026-08",
      "vcc_ref": "VCC-8854413",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-21T00:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854413",
      "source_ref": "feed-2026-08-6400"
    },
    {
      "event_id": "CE-6401",
      "item_id": "RI-8854413",
      "booking_id": "RS-8854413",
      "period": "2026-08",
      "vcc_ref": "VCC-8854413",
      "event_type": "decline",
      "amount": 613.97,
      "currency": "EUR",
      "occurred_at": "2026-08-23T10:15:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": "outside_window",
      "issuer_ref": "CNF-854413",
      "source_ref": "feed-2026-08-6401"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854413-c0",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-a0",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 16.27,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-r0",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "room",
      "description": "Room charge",
      "amount": 273.1,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-v0",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.65,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-c1",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-a1",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 14.2,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-r1",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 273.1,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    },
    {
      "line_id": "FL-RI-8854413-v1",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.65,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8854413",
      "folio_id": "folio-8854413"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854413-1",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-18T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854413-2",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-20T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854413-3",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-20T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "charge after expiry"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854413-4229",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-16",
      "entry_type": "pending",
      "amount": 608.5,
      "balance_effect": -608.5,
      "description": "Authorization held — Le Meridien Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854413-4230",
      "item_id": "RI-8854413",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-21",
      "entry_type": "voided",
      "amount": 608.5,
      "balance_effect": 608.5,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-16",
      "room_net": 273.1,
      "vat_amount": 13.65,
      "city_tax": 5,
      "ancillaries": 16.27,
      "rate_paid": 291.75,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854413",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-17",
      "room_net": 273.1,
      "vat_amount": 13.65,
      "city_tax": 5,
      "ancillaries": 14.2,
      "rate_paid": 291.75,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854413",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854413",
    "layover_id": "L-514414",
    "duty_id": "D-514413",
    "crew_id": "BEL-1017",
    "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": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-07T14:00:00Z",
    "check_in": "2026-08-16",
    "check_out": "2026-08-18",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-854413",
    "cancellation_deadline": "2026-08-15T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 629.94
  },
  "duty": {
    "duty_id": "D-514413",
    "crew_id": "BEL-1017",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514413",
    "duty_type": "overnight",
    "flight_no": "TAY224",
    "dep_station": "BRU",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-15T09:40:00Z",
    "duty_end_utc": "2026-08-16T12:37:00Z",
    "duty_hours": 12.15,
    "block_hours": 6.4,
    "source_system": "aims",
    "published_at": "2026-08-05T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514414",
    "duty_in": "D-514413",
    "duty_out": "D-514413R",
    "crew_id": "BEL-1017",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-16T12:37:00Z",
    "rest_ends_utc": "2026-08-18T06:00:00Z",
    "rest_hours_available": 38.9,
    "sleep_opportunity_hours": 35.75,
    "transfer_in_minutes": 48,
    "transfer_out_minutes": 47,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14414",
    "period": "2026-08",
    "booking_id": "RS-8854413",
    "item_id": "RI-8854413",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-07T13:57:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 1
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854413",
    "booking_id": "RS-8854413",
    "item_id": "RI-8854413",
    "period": "2026-08",
    "issued_at": "2026-08-07T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 654.94,
    "currency": "EUR",
    "valid_from": "2026-08-16",
    "valid_to": "2026-08-25",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Le Meridien Dubai",
    "auth_count": 2,
    "settled_amount": 305.95,
    "status": "authorised",
    "closed_at": "2026-08-20T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854413",
    "booking_id": "RS-8854413",
    "item_id": "RI-8854413",
    "property_id": "P-123",
    "period": "2026-08",
    "folio_number": "DXB260816-8524",
    "guest_name": "M. Willems",
    "check_in": "2026-08-16",
    "check_out": "2026-08-18",
    "issued_at": "2026-08-18T09:30:00Z",
    "received_at": "2026-08-19T07:00:00Z",
    "received_via": "portal",
    "currency": "EUR",
    "stated_total": 613.97,
    "line_count": 8,
    "days_to_receive": 1.29,
    "disputed": 0
  }
}