{
  "item": {
    "item_id": "RI-8854395",
    "period": "2026-08",
    "booking_id": "RS-8854395",
    "duty_id": "D-514395",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "O. Maes",
    "station": "LGG",
    "property_id": "P-111",
    "hotel": "Ibis Liege Centre",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "nights": 2,
    "booking_amount": 546,
    "card_auth": 276.66,
    "card_settled": 276.66,
    "folio_amount": 546,
    "variance": 269.34,
    "variance_pct": 49.33,
    "variance_category": "unexplained",
    "match_state": "unmatched",
    "exception_type": "partial_authorization",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-12T02:10:00Z",
    "resolved_at": "2026-08-16T11:00:00Z",
    "final_at": "2026-09-11T00:01:00Z",
    "final_due_at": "2026-09-11",
    "age_days": 35,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-6328",
      "item_id": "RI-8854395",
      "booking_id": "RS-8854395",
      "period": "2026-08",
      "vcc_ref": "VCC-8854395",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-08T09:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854395",
      "source_ref": "feed-2026-08-6328"
    },
    {
      "event_id": "CE-6329",
      "item_id": "RI-8854395",
      "booking_id": "RS-8854395",
      "period": "2026-08",
      "vcc_ref": "VCC-8854395",
      "event_type": "partial_auth",
      "amount": 276.66,
      "currency": "EUR",
      "occurred_at": "2026-08-10T14:20:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854395",
      "source_ref": "feed-2026-08-6329"
    },
    {
      "event_id": "CE-6330",
      "item_id": "RI-8854395",
      "booking_id": "RS-8854395",
      "period": "2026-08",
      "vcc_ref": "VCC-8854395",
      "event_type": "capture",
      "amount": 276.66,
      "currency": "EUR",
      "occurred_at": "2026-08-12T08:05:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854395",
      "source_ref": "feed-2026-08-6330"
    },
    {
      "event_id": "CE-6331",
      "item_id": "RI-8854395",
      "booking_id": "RS-8854395",
      "period": "2026-08",
      "vcc_ref": "VCC-8854395",
      "event_type": "settle",
      "amount": 276.66,
      "currency": "EUR",
      "occurred_at": "2026-08-14T03:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-15",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854395",
      "source_ref": "feed-2026-08-6331"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854395-c0",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    },
    {
      "line_id": "FL-RI-8854395-r0",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "room",
      "description": "Room charge",
      "amount": 253.77,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    },
    {
      "line_id": "FL-RI-8854395-v0",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.23,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    },
    {
      "line_id": "FL-RI-8854395-c1",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    },
    {
      "line_id": "FL-RI-8854395-r1",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "room",
      "description": "Room charge",
      "amount": 253.77,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    },
    {
      "line_id": "FL-RI-8854395-v1",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-11",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.23,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    },
    {
      "line_id": "FL-RI-8854395-x",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "adjustment",
      "description": "Unexplained charge",
      "amount": 269.34,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854395",
      "folio_id": "folio-8854395"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854395-1",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-12T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854395-2",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-14T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854395-3",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-14T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "partial authorization — 269.34 EUR"
    },
    {
      "event_id": "RE-RI-8854395-4",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-15T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as unexplained"
    },
    {
      "event_id": "RE-RI-8854395-5",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-25T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8854395-6",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-11T00: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-8854395-4181",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-10",
      "entry_type": "pending",
      "amount": 276.66,
      "balance_effect": -276.66,
      "description": "Authorization held — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854395-4182",
      "item_id": "RI-8854395",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-14",
      "entry_type": "posted",
      "amount": 276.66,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Liege Centre",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-10",
      "room_net": 253.77,
      "vat_amount": 15.23,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 273,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854395",
      "checkin_time": "01:15",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-11",
      "room_net": 253.77,
      "vat_amount": 15.23,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 273,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854395",
      "checkin_time": "01:15",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8854395",
    "layover_id": "L-514396",
    "duty_id": "D-514395",
    "crew_id": "BEL-1040",
    "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": "routespring_contract",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-07T01:15:00Z",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "nights": 2,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-854395",
    "cancellation_deadline": "2026-08-08T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 561.97
  },
  "duty": {
    "duty_id": "D-514395",
    "crew_id": "BEL-1040",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514395",
    "duty_type": "overnight",
    "flight_no": "TAY559",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-09T09:40:00Z",
    "duty_end_utc": "2026-08-10T00:17:00Z",
    "duty_hours": 10.49,
    "block_hours": 6.64,
    "source_system": "aims",
    "published_at": "2026-07-21T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514396",
    "duty_in": "D-514395",
    "duty_out": "D-514395R",
    "crew_id": "BEL-1040",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-10T00:17:00Z",
    "rest_ends_utc": "2026-08-12T11:20:00Z",
    "rest_hours_available": 38.98,
    "sleep_opportunity_hours": 36.84,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 23,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14396",
    "period": "2026-08",
    "booking_id": "RS-8854395",
    "item_id": "RI-8854395",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-07T01:12:00Z",
    "channel": "automation",
    "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-8854395",
    "booking_id": "RS-8854395",
    "item_id": "RI-8854395",
    "period": "2026-08",
    "issued_at": "2026-08-07T01:15:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 586.97,
    "currency": "EUR",
    "valid_from": "2026-08-10",
    "valid_to": "2026-08-19",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Liege Centre",
    "auth_count": 2,
    "settled_amount": 546,
    "status": "authorised",
    "closed_at": "2026-08-14T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854395",
    "booking_id": "RS-8854395",
    "item_id": "RI-8854395",
    "property_id": "P-111",
    "period": "2026-08",
    "folio_number": "LGG260810-9508",
    "guest_name": "O. Maes",
    "check_in": "2026-08-10",
    "check_out": "2026-08-12",
    "issued_at": "2026-08-12T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 546,
    "line_count": 7,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}