{
  "item": {
    "item_id": "RI-8854236",
    "period": "2026-08",
    "booking_id": "RS-8854236",
    "duty_id": "D-514236",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "R. Maes",
    "station": "LGG",
    "property_id": "P-110",
    "hotel": "Van der Valk Liege",
    "check_in": "2026-08-16",
    "check_out": "2026-08-20",
    "nights": 4,
    "booking_amount": 1198.05,
    "card_auth": 1223.05,
    "card_settled": 2507.86,
    "folio_amount": 1253.93,
    "variance": 1253.93,
    "variance_pct": 104.66,
    "variance_category": "unexplained",
    "match_state": "duplicate",
    "exception_type": "duplicate_charge",
    "state": "open",
    "resolution": null,
    "opened_at": "2026-08-20T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-19",
    "age_days": 24,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-5687",
      "item_id": "RI-8854236",
      "booking_id": "RS-8854236",
      "period": "2026-08",
      "vcc_ref": "VCC-8854236",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-14T09:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854236",
      "source_ref": "feed-2026-08-5687"
    },
    {
      "event_id": "CE-5688",
      "item_id": "RI-8854236",
      "booking_id": "RS-8854236",
      "period": "2026-08",
      "vcc_ref": "VCC-8854236",
      "event_type": "auth",
      "amount": 1223.05,
      "currency": "EUR",
      "occurred_at": "2026-08-16T14:20:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854236",
      "source_ref": "feed-2026-08-5688"
    },
    {
      "event_id": "CE-5689",
      "item_id": "RI-8854236",
      "booking_id": "RS-8854236",
      "period": "2026-08",
      "vcc_ref": "VCC-8854236",
      "event_type": "capture",
      "amount": 2507.86,
      "currency": "EUR",
      "occurred_at": "2026-08-20T08:05:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854236",
      "source_ref": "feed-2026-08-5689"
    },
    {
      "event_id": "CE-5691",
      "item_id": "RI-8854236",
      "booking_id": "RS-8854236",
      "period": "2026-08",
      "vcc_ref": "VCC-8854236",
      "event_type": "capture",
      "amount": 1253.93,
      "currency": "EUR",
      "occurred_at": "2026-08-20T08:11:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854236",
      "source_ref": "feed-2026-08-5691"
    },
    {
      "event_id": "CE-5690",
      "item_id": "RI-8854236",
      "booking_id": "RS-8854236",
      "period": "2026-08",
      "vcc_ref": "VCC-8854236",
      "event_type": "settle",
      "amount": 2507.86,
      "currency": "EUR",
      "occurred_at": "2026-08-22T03:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-23",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854236",
      "source_ref": "feed-2026-08-5690"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854236-c0",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-a0",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 19.44,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-r0",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "room",
      "description": "Room charge",
      "amount": 252.02,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-v0",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.12,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-c1",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-r1",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 274.02,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-v1",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 16.44,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-c2",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-a2",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 27.83,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-r2",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "room",
      "description": "Room charge",
      "amount": 286.89,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-v2",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 17.21,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-c3",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-a3",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 8.61,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-r3",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "room",
      "description": "Room charge",
      "amount": 302.22,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-v3",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 18.13,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    },
    {
      "line_id": "FL-RI-8854236-x",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "adjustment",
      "description": "Unexplained charge",
      "amount": 1253.93,
      "disputed": 0,
      "received_at": "2026-08-25T07:00:00Z",
      "source_ref": "folio-8854236",
      "folio_id": "folio-8854236"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854236-1",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-20T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854236-2",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-22T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854236-3",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-22T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "duplicate charge — 1253.93 EUR"
    },
    {
      "event_id": "RE-RI-8854236-4",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-23T10:20:00Z",
      "event": "category_assigned",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Categorised as unexplained"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854236-3763",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-16",
      "entry_type": "pending",
      "amount": 1223.05,
      "balance_effect": -1223.05,
      "description": "Authorization held — Van der Valk Liege",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854236-3764",
      "item_id": "RI-8854236",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-22",
      "entry_type": "posted",
      "amount": 2507.86,
      "balance_effect": 0,
      "description": "Charge posted — Van der Valk Liege",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-16",
      "room_net": 252.02,
      "vat_amount": 15.12,
      "city_tax": 4,
      "ancillaries": 19.44,
      "rate_paid": 271.14,
      "hotel": "Van der Valk Liege",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854236",
      "checkin_time": "22:30",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-17",
      "room_net": 274.02,
      "vat_amount": 16.44,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 294.46,
      "hotel": "Van der Valk Liege",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854236",
      "checkin_time": "22:30",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-18",
      "room_net": 286.89,
      "vat_amount": 17.21,
      "city_tax": 4,
      "ancillaries": 27.83,
      "rate_paid": 308.1,
      "hotel": "Van der Valk Liege",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854236",
      "checkin_time": "22:30",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-19",
      "room_net": 302.22,
      "vat_amount": 18.13,
      "city_tax": 4,
      "ancillaries": 8.61,
      "rate_paid": 324.35,
      "hotel": "Van der Valk Liege",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854236",
      "checkin_time": "22:30",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854236",
    "layover_id": "L-514237",
    "duty_id": "D-514236",
    "crew_id": "BEL-1076",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "LGG",
    "property_id": "P-110",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-14T22:30:00Z",
    "check_in": "2026-08-16",
    "check_out": "2026-08-20",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-854236",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1269.9
  },
  "duty": {
    "duty_id": "D-514236",
    "crew_id": "BEL-1076",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514236",
    "duty_type": "overnight",
    "flight_no": "TAY641",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-15T15:30:00Z",
    "duty_end_utc": "2026-08-16T21:33:00Z",
    "duty_hours": 8.63,
    "block_hours": 7.89,
    "source_system": "aims",
    "published_at": "2026-08-02T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514237",
    "duty_in": "D-514236",
    "duty_out": "D-514236R",
    "crew_id": "BEL-1076",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-16T21:33:00Z",
    "rest_ends_utc": "2026-08-20T06:00:00Z",
    "rest_hours_available": 83.44,
    "sleep_opportunity_hours": 81.55,
    "transfer_in_minutes": 22,
    "transfer_out_minutes": 26,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14237",
    "period": "2026-08",
    "booking_id": "RS-8854236",
    "item_id": "RI-8854236",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-14T22:27:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "LGG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 139.22,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7409",
      "eval_id": "PE-14237",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 139.22,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854236",
    "booking_id": "RS-8854236",
    "item_id": "RI-8854236",
    "period": "2026-08",
    "issued_at": "2026-08-14T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1294.9,
    "currency": "EUR",
    "valid_from": "2026-08-16",
    "valid_to": "2026-08-27",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Van der Valk Liege",
    "auth_count": 4,
    "settled_amount": 1253.93,
    "status": "settled",
    "closed_at": "2026-08-22T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854236",
    "booking_id": "RS-8854236",
    "item_id": "RI-8854236",
    "property_id": "P-110",
    "period": "2026-08",
    "folio_number": "LGG260816-8574",
    "guest_name": "R. Maes",
    "check_in": "2026-08-16",
    "check_out": "2026-08-20",
    "issued_at": "2026-08-20T09:30:00Z",
    "received_at": "2026-08-25T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 1253.93,
    "line_count": 16,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}