{
  "item": {
    "item_id": "RI-8854034",
    "period": "2026-08",
    "booking_id": "RS-8854034",
    "duty_id": "D-514034",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "T. Maes",
    "station": "DXB",
    "property_id": "P-122",
    "hotel": "Millennium Airport Hotel Dubai",
    "check_in": "2026-08-13",
    "check_out": "2026-08-15",
    "nights": 2,
    "booking_amount": 580.9,
    "card_auth": 605.9,
    "card_settled": 949.32,
    "folio_amount": 949.32,
    "variance": 310.08,
    "variance_pct": 53.38,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "charged_to_crew",
    "opened_at": "2026-08-15T02:10:00Z",
    "resolved_at": "2026-08-23T11:00:00Z",
    "final_at": "2026-09-14T00:01:00Z",
    "final_due_at": "2026-09-14",
    "age_days": 39,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4883",
      "item_id": "RI-8854034",
      "booking_id": "RS-8854034",
      "period": "2026-08",
      "vcc_ref": "VCC-8854034",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-11T09:00:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854034",
      "source_ref": "feed-2026-08-4883"
    },
    {
      "event_id": "CE-4884",
      "item_id": "RI-8854034",
      "booking_id": "RS-8854034",
      "period": "2026-08",
      "vcc_ref": "VCC-8854034",
      "event_type": "auth",
      "amount": 605.9,
      "currency": "EUR",
      "occurred_at": "2026-08-13T14:20:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854034",
      "source_ref": "feed-2026-08-4884"
    },
    {
      "event_id": "CE-4885",
      "item_id": "RI-8854034",
      "booking_id": "RS-8854034",
      "period": "2026-08",
      "vcc_ref": "VCC-8854034",
      "event_type": "capture",
      "amount": 949.32,
      "currency": "EUR",
      "occurred_at": "2026-08-15T08:05:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854034",
      "source_ref": "feed-2026-08-4885"
    },
    {
      "event_id": "CE-4886",
      "item_id": "RI-8854034",
      "booking_id": "RS-8854034",
      "period": "2026-08",
      "vcc_ref": "VCC-8854034",
      "event_type": "settle",
      "amount": 949.32,
      "currency": "EUR",
      "occurred_at": "2026-08-17T03:00:00Z",
      "valid_from": "2026-08-13",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854034",
      "source_ref": "feed-2026-08-4886"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854034-c0",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-a0",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 23.03,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-r0",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "room",
      "description": "Room charge",
      "amount": 271.86,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-v0",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.59,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-c1",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-a1",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 35.31,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-r1",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "room",
      "description": "Room charge",
      "amount": 271.86,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-v1",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.59,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    },
    {
      "line_id": "FL-RI-8854034-x",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 310.08,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854034",
      "folio_id": "folio-8854034"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854034-1",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-15T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854034-2",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-17T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854034-3",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-17T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 310.08 EUR"
    },
    {
      "event_id": "RE-RI-8854034-4",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-18T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    },
    {
      "event_id": "RE-RI-8854034-5",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-24T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: charged_to_crew"
    },
    {
      "event_id": "RE-RI-8854034-6",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-14T00: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-8854034-3238",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-13",
      "entry_type": "pending",
      "amount": 605.9,
      "balance_effect": -605.9,
      "description": "Authorization held — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854034-3239",
      "item_id": "RI-8854034",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-17",
      "entry_type": "posted",
      "amount": 949.32,
      "balance_effect": 0,
      "description": "Charge posted — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-13",
      "room_net": 271.86,
      "vat_amount": 13.59,
      "city_tax": 5,
      "ancillaries": 23.03,
      "rate_paid": 290.45,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854034",
      "checkin_time": "05:40",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-14",
      "room_net": 271.86,
      "vat_amount": 13.59,
      "city_tax": 5,
      "ancillaries": 35.31,
      "rate_paid": 290.45,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854034",
      "checkin_time": "05:40",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8854034",
    "layover_id": "L-514035",
    "duty_id": "D-514034",
    "crew_id": "BEL-1028",
    "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": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T05:40:00Z",
    "check_in": "2026-08-13",
    "check_out": "2026-08-15",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-854034",
    "cancellation_deadline": "2026-08-12T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 655.21
  },
  "duty": {
    "duty_id": "D-514034",
    "crew_id": "BEL-1028",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514034",
    "duty_type": "overnight",
    "flight_no": "TAY744",
    "dep_station": "BRU",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-12T15:30:00Z",
    "duty_end_utc": "2026-08-13T04:09:00Z",
    "duty_hours": 7.92,
    "block_hours": 5.11,
    "source_system": "aims",
    "published_at": "2026-08-06T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514035",
    "duty_in": "D-514034",
    "duty_out": "D-514034R",
    "crew_id": "BEL-1028",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-13T04:09:00Z",
    "rest_ends_utc": "2026-08-15T08:45:00Z",
    "rest_hours_available": 37.64,
    "sleep_opportunity_hours": 34.02,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 56,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14035",
    "period": "2026-08",
    "booking_id": "RS-8854034",
    "item_id": "RI-8854034",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T05:37:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854034",
    "booking_id": "RS-8854034",
    "item_id": "RI-8854034",
    "period": "2026-08",
    "issued_at": "2026-08-11T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 680.21,
    "currency": "EUR",
    "valid_from": "2026-08-13",
    "valid_to": "2026-08-22",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Millennium Airport Hotel Dubai",
    "auth_count": 2,
    "settled_amount": 639.24,
    "status": "authorised",
    "closed_at": "2026-08-17T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854034",
    "booking_id": "RS-8854034",
    "item_id": "RI-8854034",
    "property_id": "P-122",
    "period": "2026-08",
    "folio_number": "DXB260813-9334",
    "guest_name": "T. Maes",
    "check_in": "2026-08-13",
    "check_out": "2026-08-15",
    "issued_at": "2026-08-15T09:30:00Z",
    "received_at": "2026-08-21T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 949.32,
    "line_count": 9,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}