{
  "item": {
    "item_id": "RI-8854040",
    "period": "2026-08",
    "booking_id": "RS-8854040",
    "duty_id": "D-514040",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "M. De Smet",
    "station": "DXB",
    "property_id": "P-122",
    "hotel": "Millennium Airport Hotel Dubai",
    "check_in": "2026-08-31",
    "check_out": "2026-09-01",
    "nights": 1,
    "booking_amount": 339.55,
    "card_auth": 364.55,
    "card_settled": 568.25,
    "folio_amount": 568.25,
    "variance": 217.48,
    "variance_pct": 64.05,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "resolved",
    "resolution": "disputed_recovered",
    "opened_at": "2026-09-01T02:10:00Z",
    "resolved_at": "2026-09-13T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-10-01",
    "age_days": 32,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4907",
      "item_id": "RI-8854040",
      "booking_id": "RS-8854040",
      "period": "2026-08",
      "vcc_ref": "VCC-8854040",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-29T09:00:00Z",
      "valid_from": "2026-08-31",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854040",
      "source_ref": "feed-2026-08-4907"
    },
    {
      "event_id": "CE-4908",
      "item_id": "RI-8854040",
      "booking_id": "RS-8854040",
      "period": "2026-08",
      "vcc_ref": "VCC-8854040",
      "event_type": "auth",
      "amount": 364.55,
      "currency": "EUR",
      "occurred_at": "2026-08-31T14:20:00Z",
      "valid_from": "2026-08-31",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854040",
      "source_ref": "feed-2026-08-4908"
    },
    {
      "event_id": "CE-4909",
      "item_id": "RI-8854040",
      "booking_id": "RS-8854040",
      "period": "2026-08",
      "vcc_ref": "VCC-8854040",
      "event_type": "capture",
      "amount": 568.25,
      "currency": "EUR",
      "occurred_at": "2026-09-01T08:05:00Z",
      "valid_from": "2026-08-31",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854040",
      "source_ref": "feed-2026-08-4909"
    },
    {
      "event_id": "CE-4910",
      "item_id": "RI-8854040",
      "booking_id": "RS-8854040",
      "period": "2026-08",
      "vcc_ref": "VCC-8854040",
      "event_type": "settle",
      "amount": 568.25,
      "currency": "EUR",
      "occurred_at": "2026-09-03T03:00:00Z",
      "valid_from": "2026-08-31",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854040",
      "source_ref": "feed-2026-08-4910"
    },
    {
      "event_id": "CE-4911",
      "item_id": "RI-8854040",
      "booking_id": "RS-8854040",
      "period": "2026-08",
      "vcc_ref": "VCC-8854040",
      "event_type": "refund",
      "amount": -217.48,
      "currency": "EUR",
      "occurred_at": "2026-09-13T16:30:00Z",
      "valid_from": "2026-08-31",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854040",
      "source_ref": "feed-2026-08-4911"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854040-c0",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854040",
      "folio_id": "folio-8854040"
    },
    {
      "line_id": "FL-RI-8854040-a0",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 11.22,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854040",
      "folio_id": "folio-8854040"
    },
    {
      "line_id": "FL-RI-8854040-r0",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "room",
      "description": "Room charge",
      "amount": 318.62,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854040",
      "folio_id": "folio-8854040"
    },
    {
      "line_id": "FL-RI-8854040-v0",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 15.93,
      "disputed": 0,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854040",
      "folio_id": "folio-8854040"
    },
    {
      "line_id": "FL-RI-8854040-x",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "line_date": "2026-09-01",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 217.48,
      "disputed": 1,
      "received_at": "2026-09-02T07:00:00Z",
      "source_ref": "folio-8854040",
      "folio_id": "folio-8854040"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854040-1",
      "item_id": "RI-8854040",
      "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-8854040-2",
      "item_id": "RI-8854040",
      "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-8854040-3",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-03T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 217.48 EUR"
    },
    {
      "event_id": "RE-RI-8854040-4",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-04T10:20:00Z",
      "event": "category_assigned",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    },
    {
      "event_id": "RE-RI-8854040-5",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-05T14:00:00Z",
      "event": "disputed",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8854040-6",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-13T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8854040-7",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-09-02T11:00:00Z",
      "event": "resolved",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854040-3254",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-31",
      "entry_type": "pending",
      "amount": 364.55,
      "balance_effect": -364.55,
      "description": "Authorization held — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854040-3255",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-03",
      "entry_type": "posted",
      "amount": 568.25,
      "balance_effect": 0,
      "description": "Charge posted — Millennium Airport Hotel Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854040-3256",
      "item_id": "RI-8854040",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-09-13",
      "entry_type": "refund",
      "amount": -217.48,
      "balance_effect": 217.48,
      "description": "Credit received after dispute",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-31",
      "room_net": 318.62,
      "vat_amount": 15.93,
      "city_tax": 5,
      "ancillaries": 11.22,
      "rate_paid": 339.55,
      "hotel": "Millennium Airport Hotel Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854040",
      "checkin_time": "01:15",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854040",
    "layover_id": "L-514041",
    "duty_id": "D-514040",
    "crew_id": "BEL-1074",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-122",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "travel_desk",
    "requested_by": "U-101",
    "created_at": "2026-08-30T13:15:00Z",
    "check_in": "2026-08-31",
    "check_out": "2026-09-01",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-854040",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 366.74
  },
  "duty": {
    "duty_id": "D-514040",
    "crew_id": "BEL-1074",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514040",
    "duty_type": "overnight",
    "flight_no": "TAY777",
    "dep_station": "BRU",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-30T09:40:00Z",
    "duty_end_utc": "2026-08-31T00:00:00Z",
    "duty_hours": 9.58,
    "block_hours": 3.59,
    "source_system": "aims",
    "published_at": "2026-08-14T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514041",
    "duty_in": "D-514040",
    "duty_out": "D-514040R",
    "crew_id": "BEL-1074",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-31T00:00:00Z",
    "rest_ends_utc": "2026-09-01T11:20:00Z",
    "rest_hours_available": 14.28,
    "sleep_opportunity_hours": 10.58,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 63,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14041",
    "period": "2026-08",
    "booking_id": "RS-8854040",
    "item_id": "RI-8854040",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-30T13:12: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": [
    {
      "change_id": "BC-1676",
      "booking_id": "RS-8854040",
      "period": "2026-08",
      "occurred_at": "2026-08-31T06:12:00Z",
      "change_type": "modify_in_place",
      "source": "aims",
      "trigger": "roster_change",
      "modify_attempted": 1,
      "failed_reason": null,
      "hours_before_checkin": 39.95,
      "cutoff_hours": 24,
      "cost": 14.72,
      "room_lost": 0,
      "resolved_by": "automation",
      "resolved_at": null,
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8854040",
    "booking_id": "RS-8854040",
    "item_id": "RI-8854040",
    "period": "2026-08",
    "issued_at": "2026-08-30T13:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 391.74,
    "currency": "EUR",
    "valid_from": "2026-08-31",
    "valid_to": "2026-09-08",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Millennium Airport Hotel Dubai",
    "auth_count": 1,
    "settled_amount": 350.77,
    "status": "authorised",
    "closed_at": "2026-09-03T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854040",
    "booking_id": "RS-8854040",
    "item_id": "RI-8854040",
    "property_id": "P-122",
    "period": "2026-08",
    "folio_number": "DXB260831-5222",
    "guest_name": "M. De Smet",
    "check_in": "2026-08-31",
    "check_out": "2026-09-01",
    "issued_at": "2026-09-01T09:30:00Z",
    "received_at": "2026-09-02T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 568.25,
    "line_count": 5,
    "days_to_receive": 1.29,
    "disputed": 1
  }
}