{
  "item": {
    "item_id": "RI-8854370",
    "period": "2026-08",
    "booking_id": "RS-8854370",
    "duty_id": "D-514370",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "D. Lambert",
    "station": "LGG",
    "property_id": "P-110",
    "hotel": "Van der Valk Liege",
    "check_in": "2026-08-22",
    "check_out": "2026-08-26",
    "nights": 4,
    "booking_amount": 1080.47,
    "card_auth": 1105.47,
    "card_settled": 1080.47,
    "folio_amount": 1080.47,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-26T02:10:00Z",
    "resolved_at": "2026-09-08T11:00:00Z",
    "final_at": "2026-09-25T00:01:00Z",
    "final_due_at": "2026-09-25",
    "age_days": 19,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-6227",
      "item_id": "RI-8854370",
      "booking_id": "RS-8854370",
      "period": "2026-08",
      "vcc_ref": "VCC-8854370",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-20T09:00:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854370",
      "source_ref": "feed-2026-08-6227"
    },
    {
      "event_id": "CE-6228",
      "item_id": "RI-8854370",
      "booking_id": "RS-8854370",
      "period": "2026-08",
      "vcc_ref": "VCC-8854370",
      "event_type": "auth",
      "amount": 1105.47,
      "currency": "EUR",
      "occurred_at": "2026-08-22T14:20:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854370",
      "source_ref": "feed-2026-08-6228"
    },
    {
      "event_id": "CE-6229",
      "item_id": "RI-8854370",
      "booking_id": "RS-8854370",
      "period": "2026-08",
      "vcc_ref": "VCC-8854370",
      "event_type": "capture",
      "amount": 1080.47,
      "currency": "EUR",
      "occurred_at": "2026-08-26T08:05:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854370",
      "source_ref": "feed-2026-08-6229"
    },
    {
      "event_id": "CE-6230",
      "item_id": "RI-8854370",
      "booking_id": "RS-8854370",
      "period": "2026-08",
      "vcc_ref": "VCC-8854370",
      "event_type": "settle",
      "amount": 1080.47,
      "currency": "EUR",
      "occurred_at": "2026-08-28T03:00:00Z",
      "valid_from": "2026-08-22",
      "valid_to": "2026-08-29",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854370",
      "source_ref": "feed-2026-08-6230"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854370-c0",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-r0",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "room",
      "description": "Room charge",
      "amount": 230.22,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-v0",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-22",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 13.81,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-c1",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-r1",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 229.02,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-v1",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 13.74,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-c2",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-r2",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 262.62,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-v2",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.76,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-c3",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-r3",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 282.36,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    },
    {
      "line_id": "FL-RI-8854370-v3",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 16.94,
      "disputed": 0,
      "received_at": "2026-08-30T07:00:00Z",
      "source_ref": "folio-8854370",
      "folio_id": "folio-8854370"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854370-1",
      "item_id": "RI-8854370",
      "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-8854370-2",
      "item_id": "RI-8854370",
      "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-8854370-3",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-28T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854370-4",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-28T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854370-5",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-25T00: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-8854370-4115",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-22",
      "entry_type": "pending",
      "amount": 1105.47,
      "balance_effect": -1105.47,
      "description": "Authorization held — Van der Valk Liege",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854370-4116",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-28",
      "entry_type": "posted",
      "amount": 1080.47,
      "balance_effect": 0,
      "description": "Charge posted — Van der Valk Liege",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854370-4117",
      "item_id": "RI-8854370",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-28",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-22",
      "room_net": 230.22,
      "vat_amount": 13.81,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 248.03,
      "hotel": "Van der Valk Liege",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854370",
      "checkin_time": "22:30",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-23",
      "room_net": 229.02,
      "vat_amount": 13.74,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 246.76,
      "hotel": "Van der Valk Liege",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854370",
      "checkin_time": "22:30",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-24",
      "room_net": 262.62,
      "vat_amount": 15.76,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 282.38,
      "hotel": "Van der Valk Liege",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854370",
      "checkin_time": "22:30",
      "checkout_time": "04:30"
    },
    {
      "night": "2026-08-25",
      "room_net": 282.36,
      "vat_amount": 16.94,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 303.3,
      "hotel": "Van der Valk Liege",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854370",
      "checkin_time": "22:30",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8854370",
    "layover_id": "L-514371",
    "duty_id": "D-514370",
    "crew_id": "BEL-1033",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "LGG",
    "property_id": "P-110",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "travel_desk",
    "requested_by": "U-101",
    "created_at": "2026-08-19T22:30:00Z",
    "check_in": "2026-08-22",
    "check_out": "2026-08-26",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-854370",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1096.44
  },
  "duty": {
    "duty_id": "D-514370",
    "crew_id": "BEL-1033",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514370",
    "duty_type": "overnight",
    "flight_no": "TAY172",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-21T15:30:00Z",
    "duty_end_utc": "2026-08-22T21:33:00Z",
    "duty_hours": 7.84,
    "block_hours": 6.66,
    "source_system": "aims",
    "published_at": "2026-08-15T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514371",
    "duty_in": "D-514370",
    "duty_out": "D-514370R",
    "crew_id": "BEL-1033",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-22T21:33:00Z",
    "rest_ends_utc": "2026-08-26T06:00:00Z",
    "rest_hours_available": 82.73,
    "sleep_opportunity_hours": 80.81,
    "transfer_in_minutes": 22,
    "transfer_out_minutes": 24,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14371",
    "period": "2026-08",
    "booking_id": "RS-8854370",
    "item_id": "RI-8854370",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-19T22:27:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "LGG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 112.39,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2994",
    "eval_id": "PE-14371",
    "period": "2026-08",
    "approver": "R. Menon",
    "approver_role": "travel_desk",
    "reason": "Operational necessity — disruption",
    "approved_at": "2026-08-19T22:28:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7480",
      "eval_id": "PE-14371",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 112.39,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854370",
    "booking_id": "RS-8854370",
    "item_id": "RI-8854370",
    "period": "2026-08",
    "issued_at": "2026-08-19T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1121.44,
    "currency": "EUR",
    "valid_from": "2026-08-22",
    "valid_to": "2026-09-02",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Van der Valk Liege",
    "auth_count": 4,
    "settled_amount": 1080.47,
    "status": "authorised",
    "closed_at": "2026-08-28T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854370",
    "booking_id": "RS-8854370",
    "item_id": "RI-8854370",
    "property_id": "P-110",
    "period": "2026-08",
    "folio_number": "LGG260822-4092",
    "guest_name": "D. Lambert",
    "check_in": "2026-08-22",
    "check_out": "2026-08-26",
    "issued_at": "2026-08-26T09:30:00Z",
    "received_at": "2026-08-30T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 1080.47,
    "line_count": 12,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}