{
  "item": {
    "item_id": "RI-8854219",
    "period": "2026-08",
    "booking_id": "RS-8854219",
    "duty_id": "D-514219",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "R. Lambert",
    "station": "LGG",
    "property_id": "P-111",
    "hotel": "Ibis Liege Centre",
    "check_in": "2026-08-20",
    "check_out": "2026-08-23",
    "nights": 3,
    "booking_amount": 827.46,
    "card_auth": 852.46,
    "card_settled": 1058.13,
    "folio_amount": 1058.13,
    "variance": 181.9,
    "variance_pct": 21.98,
    "variance_category": "early_departure",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "open",
    "resolution": null,
    "opened_at": "2026-08-23T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-22",
    "age_days": 33,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-5619",
      "item_id": "RI-8854219",
      "booking_id": "RS-8854219",
      "period": "2026-08",
      "vcc_ref": "VCC-8854219",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-18T09:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854219",
      "source_ref": "feed-2026-08-5619"
    },
    {
      "event_id": "CE-5620",
      "item_id": "RI-8854219",
      "booking_id": "RS-8854219",
      "period": "2026-08",
      "vcc_ref": "VCC-8854219",
      "event_type": "auth",
      "amount": 852.46,
      "currency": "EUR",
      "occurred_at": "2026-08-20T14:20:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854219",
      "source_ref": "feed-2026-08-5620"
    },
    {
      "event_id": "CE-5621",
      "item_id": "RI-8854219",
      "booking_id": "RS-8854219",
      "period": "2026-08",
      "vcc_ref": "VCC-8854219",
      "event_type": "capture",
      "amount": 1058.13,
      "currency": "EUR",
      "occurred_at": "2026-08-23T08:05:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854219",
      "source_ref": "feed-2026-08-5621"
    },
    {
      "event_id": "CE-5622",
      "item_id": "RI-8854219",
      "booking_id": "RS-8854219",
      "period": "2026-08",
      "vcc_ref": "VCC-8854219",
      "event_type": "settle",
      "amount": 1058.13,
      "currency": "EUR",
      "occurred_at": "2026-08-25T03:00:00Z",
      "valid_from": "2026-08-20",
      "valid_to": "2026-08-26",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854219",
      "source_ref": "feed-2026-08-5622"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854219-c0",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-a0",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 33.34,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-r0",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "room",
      "description": "Room charge",
      "amount": 256.43,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-v0",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.39,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-r1",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "room",
      "description": "Room charge",
      "amount": 260.21,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-v1",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.61,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-c2",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-a2",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 15.43,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-r2",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "room",
      "description": "Room charge",
      "amount": 256.43,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-v2",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.39,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    },
    {
      "line_id": "FL-RI-8854219-x",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "adjustment",
      "description": "Early departure fee",
      "amount": 181.9,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854219",
      "folio_id": "folio-8854219"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854219-1",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-23T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854219-2",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-25T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854219-3",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-25T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 181.90 EUR"
    },
    {
      "event_id": "RE-RI-8854219-4",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-26T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as early departure"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854219-3718",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-20",
      "entry_type": "pending",
      "amount": 852.46,
      "balance_effect": -852.46,
      "description": "Authorization held — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854219-3719",
      "item_id": "RI-8854219",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-25",
      "entry_type": "posted",
      "amount": 1058.13,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Liege Centre",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-20",
      "room_net": 256.43,
      "vat_amount": 15.39,
      "city_tax": 4,
      "ancillaries": 33.34,
      "rate_paid": 275.82,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854219",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-21",
      "room_net": 260.21,
      "vat_amount": 15.61,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 275.82,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "held",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854219",
      "checkin_time": null,
      "checkout_time": null
    },
    {
      "night": "2026-08-22",
      "room_net": 256.43,
      "vat_amount": 15.39,
      "city_tax": 4,
      "ancillaries": 15.43,
      "rate_paid": 275.82,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854219",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854219",
    "layover_id": "L-514220",
    "duty_id": "D-514219",
    "crew_id": "BEL-1069",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "LGG",
    "property_id": "P-111",
    "vendor_id": null,
    "contract_id": "C-111",
    "revenue_model": "airline_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-17T14:00:00Z",
    "check_in": "2026-08-20",
    "check_out": "2026-08-23",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-854219",
    "cancellation_deadline": "2026-08-18T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 892.2
  },
  "duty": {
    "duty_id": "D-514219",
    "crew_id": "BEL-1069",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514219",
    "duty_type": "overnight",
    "flight_no": "TAY874",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-19T15:30:00Z",
    "duty_end_utc": "2026-08-20T13:02:00Z",
    "duty_hours": 8.86,
    "block_hours": 3.61,
    "source_system": "aims",
    "published_at": "2026-08-02T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514220",
    "duty_in": "D-514219",
    "duty_out": "D-514219R",
    "crew_id": "BEL-1069",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-20T13:02:00Z",
    "rest_ends_utc": "2026-08-23T08:45:00Z",
    "rest_hours_available": 59.02,
    "sleep_opportunity_hours": 56.59,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 21,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14220",
    "period": "2026-08",
    "booking_id": "RS-8854219",
    "item_id": "RI-8854219",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-17T13:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "LGG",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854219",
    "booking_id": "RS-8854219",
    "item_id": "RI-8854219",
    "period": "2026-08",
    "issued_at": "2026-08-17T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 917.2,
    "currency": "EUR",
    "valid_from": "2026-08-20",
    "valid_to": "2026-08-30",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Liege Centre",
    "auth_count": 3,
    "settled_amount": 567.07,
    "status": "settled",
    "closed_at": "2026-08-25T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854219",
    "booking_id": "RS-8854219",
    "item_id": "RI-8854219",
    "property_id": "P-111",
    "period": "2026-08",
    "folio_number": "LGG260820-8559",
    "guest_name": "R. Lambert",
    "check_in": "2026-08-20",
    "check_out": "2026-08-23",
    "issued_at": "2026-08-23T09:30:00Z",
    "received_at": "2026-08-27T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 1058.13,
    "line_count": 11,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}