{
  "item": {
    "item_id": "RI-8854057",
    "period": "2026-08",
    "booking_id": "RS-8854057",
    "duty_id": "D-514057",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "L. Declerck",
    "station": "DXB",
    "property_id": "P-122",
    "hotel": "Millennium Airport Hotel Dubai",
    "check_in": "2026-08-24",
    "check_out": "2026-08-26",
    "nights": 2,
    "booking_amount": 571.14,
    "card_auth": 596.14,
    "card_settled": 584.51,
    "folio_amount": 860.73,
    "variance": 276.22,
    "variance_pct": 48.36,
    "variance_category": "extra_night",
    "match_state": "unmatched",
    "exception_type": "off_platform_modification",
    "state": "resolved",
    "resolution": "charged_to_crew",
    "opened_at": "2026-08-26T02:10:00Z",
    "resolved_at": "2026-09-02T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-25",
    "age_days": 18,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4975",
      "item_id": "RI-8854057",
      "booking_id": "RS-8854057",
      "period": "2026-08",
      "vcc_ref": "VCC-8854057",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-22T09:00:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854057",
      "source_ref": "feed-2026-08-4975"
    },
    {
      "event_id": "CE-4976",
      "item_id": "RI-8854057",
      "booking_id": "RS-8854057",
      "period": "2026-08",
      "vcc_ref": "VCC-8854057",
      "event_type": "auth",
      "amount": 596.14,
      "currency": "EUR",
      "occurred_at": "2026-08-24T14:20:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854057",
      "source_ref": "feed-2026-08-4976"
    },
    {
      "event_id": "CE-4977",
      "item_id": "RI-8854057",
      "booking_id": "RS-8854057",
      "period": "2026-08",
      "vcc_ref": "VCC-8854057",
      "event_type": "capture",
      "amount": 584.51,
      "currency": "EUR",
      "occurred_at": "2026-08-26T08:05:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854057",
      "source_ref": "feed-2026-08-4977"
    },
    {
      "event_id": "CE-4978",
      "item_id": "RI-8854057",
      "booking_id": "RS-8854057",
      "period": "2026-08",
      "vcc_ref": "VCC-8854057",
      "event_type": "settle",
      "amount": 584.51,
      "currency": "EUR",
      "occurred_at": "2026-08-28T03:00:00Z",
      "valid_from": "2026-08-24",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854057",
      "source_ref": "feed-2026-08-4978"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854057-c0",
      "item_id": "RI-8854057",
      "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-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-a0",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 13.37,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-r0",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 267.21,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-v0",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.36,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-c1",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-r1",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 267.21,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-v1",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 13.36,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    },
    {
      "line_id": "FL-RI-8854057-x",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "room",
      "description": "Additional night",
      "amount": 276.22,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854057",
      "folio_id": "folio-8854057"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854057-1",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-26T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854057-2",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-28T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854057-3",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-28T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "off platform modification — 276.22 EUR"
    },
    {
      "event_id": "RE-RI-8854057-4",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-29T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as extra night"
    },
    {
      "event_id": "RE-RI-8854057-5",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-03T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: charged_to_crew"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854057-3297",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-24",
      "entry_type": "pending",
      "amount": 596.14,
      "balance_effect": -596.14,
      "description": "Authorization held — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854057-3298",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-28",
      "entry_type": "posted",
      "amount": 584.51,
      "balance_effect": 0,
      "description": "Charge posted — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854057-3299",
      "item_id": "RI-8854057",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-28",
      "entry_type": "released",
      "amount": 11.63,
      "balance_effect": 11.63,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-24",
      "room_net": 267.21,
      "vat_amount": 13.36,
      "city_tax": 5,
      "ancillaries": 13.37,
      "rate_paid": 285.57,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854057",
      "checkin_time": "15:00",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-25",
      "room_net": 267.21,
      "vat_amount": 13.36,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 285.57,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854057",
      "checkin_time": "15:00",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854057",
    "layover_id": "L-514058",
    "duty_id": "D-514057",
    "crew_id": "BEL-1058",
    "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-19T15:00:00Z",
    "check_in": "2026-08-24",
    "check_out": "2026-08-26",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-854057",
    "cancellation_deadline": "2026-08-23T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 600.48
  },
  "duty": {
    "duty_id": "D-514057",
    "crew_id": "BEL-1058",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514057",
    "duty_type": "overnight",
    "flight_no": "TAY139",
    "dep_station": "LGG",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-23T15:30:00Z",
    "duty_end_utc": "2026-08-24T13:29:00Z",
    "duty_hours": 10.99,
    "block_hours": 6.71,
    "source_system": "aims",
    "published_at": "2026-08-07T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514058",
    "duty_in": "D-514057",
    "duty_out": "D-514057R",
    "crew_id": "BEL-1058",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-24T13:29:00Z",
    "rest_ends_utc": "2026-08-26T06:00:00Z",
    "rest_hours_available": 35.96,
    "sleep_opportunity_hours": 32.97,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 62,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14058",
    "period": "2026-08",
    "booking_id": "RS-8854057",
    "item_id": "RI-8854057",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-19T14:57:00Z",
    "channel": "automation",
    "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-8854057",
    "booking_id": "RS-8854057",
    "item_id": "RI-8854057",
    "period": "2026-08",
    "issued_at": "2026-08-19T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 625.48,
    "currency": "EUR",
    "valid_from": "2026-08-24",
    "valid_to": "2026-09-02",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Millennium Airport Hotel Dubai",
    "auth_count": 2,
    "settled_amount": 584.51,
    "status": "authorised",
    "closed_at": "2026-08-28T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854057",
    "booking_id": "RS-8854057",
    "item_id": "RI-8854057",
    "property_id": "P-122",
    "period": "2026-08",
    "folio_number": "DXB260824-6096",
    "guest_name": "L. Declerck",
    "check_in": "2026-08-24",
    "check_out": "2026-08-26",
    "issued_at": "2026-08-26T09:30:00Z",
    "received_at": "2026-08-27T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 860.73,
    "line_count": 8,
    "days_to_receive": 1.29,
    "disputed": 0
  }
}