{
  "item": {
    "item_id": "RI-8854322",
    "period": "2026-08",
    "booking_id": "RS-8854322",
    "duty_id": "D-514322",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "Y. Verhoeven",
    "station": "HKG",
    "property_id": "P-120",
    "hotel": "Regal Airport Hotel",
    "check_in": "2026-08-11",
    "check_out": "2026-08-15",
    "nights": 4,
    "booking_amount": 1408.78,
    "card_auth": 1433.78,
    "card_settled": 1816.94,
    "folio_amount": 1816.94,
    "variance": 369.36,
    "variance_pct": 26.22,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-15T02:10:00Z",
    "resolved_at": "2026-08-28T11:00:00Z",
    "final_at": "2026-09-14T00:01:00Z",
    "final_due_at": "2026-09-14",
    "age_days": 34,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-6036",
      "item_id": "RI-8854322",
      "booking_id": "RS-8854322",
      "period": "2026-08",
      "vcc_ref": "VCC-8854322",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-09T09:00:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854322",
      "source_ref": "feed-2026-08-6036"
    },
    {
      "event_id": "CE-6037",
      "item_id": "RI-8854322",
      "booking_id": "RS-8854322",
      "period": "2026-08",
      "vcc_ref": "VCC-8854322",
      "event_type": "auth",
      "amount": 1433.78,
      "currency": "EUR",
      "occurred_at": "2026-08-11T14:20:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854322",
      "source_ref": "feed-2026-08-6037"
    },
    {
      "event_id": "CE-6038",
      "item_id": "RI-8854322",
      "booking_id": "RS-8854322",
      "period": "2026-08",
      "vcc_ref": "VCC-8854322",
      "event_type": "capture",
      "amount": 1816.94,
      "currency": "EUR",
      "occurred_at": "2026-08-15T08:05:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854322",
      "source_ref": "feed-2026-08-6038"
    },
    {
      "event_id": "CE-6039",
      "item_id": "RI-8854322",
      "booking_id": "RS-8854322",
      "period": "2026-08",
      "vcc_ref": "VCC-8854322",
      "event_type": "settle",
      "amount": 1816.94,
      "currency": "EUR",
      "occurred_at": "2026-08-17T03:00:00Z",
      "valid_from": "2026-08-11",
      "valid_to": "2026-08-18",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854322",
      "source_ref": "feed-2026-08-6039"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854322-r0",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "room",
      "description": "Room charge",
      "amount": 362.4,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    },
    {
      "line_id": "FL-RI-8854322-a1",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 28.71,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    },
    {
      "line_id": "FL-RI-8854322-r1",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 370.05,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    },
    {
      "line_id": "FL-RI-8854322-r2",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-13",
      "line_type": "room",
      "description": "Room charge",
      "amount": 348.39,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    },
    {
      "line_id": "FL-RI-8854322-a3",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 10.09,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    },
    {
      "line_id": "FL-RI-8854322-r3",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-14",
      "line_type": "room",
      "description": "Room charge",
      "amount": 327.94,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    },
    {
      "line_id": "FL-RI-8854322-x",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 369.36,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854322",
      "folio_id": "folio-8854322"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854322-1",
      "item_id": "RI-8854322",
      "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-8854322-2",
      "item_id": "RI-8854322",
      "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-8854322-3",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-17T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 369.36 EUR"
    },
    {
      "event_id": "RE-RI-8854322-4",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-18T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    },
    {
      "event_id": "RE-RI-8854322-5",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-28T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8854322-6",
      "item_id": "RI-8854322",
      "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-8854322-3991",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-11",
      "entry_type": "pending",
      "amount": 1433.78,
      "balance_effect": -1433.78,
      "description": "Authorization held — Regal Airport Hotel",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854322-3992",
      "item_id": "RI-8854322",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-17",
      "entry_type": "posted",
      "amount": 1816.94,
      "balance_effect": 0,
      "description": "Charge posted — Regal Airport Hotel",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-11",
      "room_net": 362.4,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 362.4,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "training",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854322",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-12",
      "room_net": 370.05,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 28.71,
      "rate_paid": 370.05,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854322",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-13",
      "room_net": 348.39,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 348.39,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "held",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854322",
      "checkin_time": null,
      "checkout_time": null
    },
    {
      "night": "2026-08-14",
      "room_net": 327.94,
      "vat_amount": 0,
      "city_tax": 0,
      "ancillaries": 10.09,
      "rate_paid": 327.94,
      "hotel": "Regal Airport Hotel",
      "duty_reason": "training",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854322",
      "checkin_time": "01:15",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854322",
    "layover_id": "L-514323",
    "duty_id": "D-514322",
    "crew_id": "BEL-S206",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "HKG",
    "property_id": "P-120",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "staff_portal",
    "requested_by": "U-102",
    "created_at": "2026-08-02T01:15:00Z",
    "check_in": "2026-08-11",
    "check_out": "2026-08-15",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-854322",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1463.55
  },
  "duty": {
    "duty_id": "D-514322",
    "crew_id": "BEL-S206",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514322",
    "duty_type": "training",
    "flight_no": "TAY101",
    "dep_station": "BRU",
    "arr_station": "HKG",
    "duty_start_utc": "2026-08-10T09:40:00Z",
    "duty_end_utc": "2026-08-11T00:00:00Z",
    "duty_hours": 7.8,
    "block_hours": 5.54,
    "source_system": "aims",
    "published_at": "2026-07-29T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514323",
    "duty_in": "D-514322",
    "duty_out": "D-514322R",
    "crew_id": "BEL-S206",
    "entity_id": "ASL Airlines Belgium",
    "station": "HKG",
    "rest_starts_utc": "2026-08-11T00:00:00Z",
    "rest_ends_utc": "2026-08-15T06:00:00Z",
    "rest_hours_available": 83.06,
    "sleep_opportunity_hours": 79.48,
    "transfer_in_minutes": 56,
    "transfer_out_minutes": 52,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14323",
    "period": "2026-08",
    "booking_id": "RS-8854322",
    "item_id": "RI-8854322",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-02T01:12:00Z",
    "channel": "staff_portal",
    "traveller_type": "staff",
    "entity": "ASL Airlines Belgium",
    "station": "HKG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 105.14,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7451",
      "eval_id": "PE-14323",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 105.14,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854322",
    "booking_id": "RS-8854322",
    "item_id": "RI-8854322",
    "period": "2026-08",
    "issued_at": "2026-08-02T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1488.55,
    "currency": "EUR",
    "valid_from": "2026-08-11",
    "valid_to": "2026-08-22",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Regal Airport Hotel",
    "auth_count": 4,
    "settled_amount": 1447.58,
    "status": "settled",
    "closed_at": "2026-08-17T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854322",
    "booking_id": "RS-8854322",
    "item_id": "RI-8854322",
    "property_id": "P-120",
    "period": "2026-08",
    "folio_number": "HKG260811-5400",
    "guest_name": "Y. Verhoeven",
    "check_in": "2026-08-11",
    "check_out": "2026-08-15",
    "issued_at": "2026-08-15T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 1816.94,
    "line_count": 7,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}