{
  "item": {
    "item_id": "RI-8854214",
    "period": "2026-08",
    "booking_id": "RS-8854214",
    "duty_id": "D-514214",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "B. De Smet",
    "station": "LGG",
    "property_id": "P-111",
    "hotel": "Ibis Liege Centre",
    "check_in": "2026-08-16",
    "check_out": "2026-08-19",
    "nights": 3,
    "booking_amount": 902.1,
    "card_auth": 927.1,
    "card_settled": 902.1,
    "folio_amount": 902.1,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-19T02:10:00Z",
    "resolved_at": "2026-08-20T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-18",
    "age_days": 23,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-5600",
      "item_id": "RI-8854214",
      "booking_id": "RS-8854214",
      "period": "2026-08",
      "vcc_ref": "VCC-8854214",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-14T09:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854214",
      "source_ref": "feed-2026-08-5600"
    },
    {
      "event_id": "CE-5601",
      "item_id": "RI-8854214",
      "booking_id": "RS-8854214",
      "period": "2026-08",
      "vcc_ref": "VCC-8854214",
      "event_type": "auth",
      "amount": 927.1,
      "currency": "EUR",
      "occurred_at": "2026-08-16T14:20:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854214",
      "source_ref": "feed-2026-08-5601"
    },
    {
      "event_id": "CE-5602",
      "item_id": "RI-8854214",
      "booking_id": "RS-8854214",
      "period": "2026-08",
      "vcc_ref": "VCC-8854214",
      "event_type": "capture",
      "amount": 902.1,
      "currency": "EUR",
      "occurred_at": "2026-08-19T08:05:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854214",
      "source_ref": "feed-2026-08-5602"
    },
    {
      "event_id": "CE-5603",
      "item_id": "RI-8854214",
      "booking_id": "RS-8854214",
      "period": "2026-08",
      "vcc_ref": "VCC-8854214",
      "event_type": "settle",
      "amount": 902.1,
      "currency": "EUR",
      "occurred_at": "2026-08-21T03:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-22",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854214",
      "source_ref": "feed-2026-08-5603"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854214-c0",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-r0",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "room",
      "description": "Room charge",
      "amount": 253.54,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-v0",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.21,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-c1",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-r1",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 284.26,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-v1",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 17.06,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-c2",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-r2",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "room",
      "description": "Room charge",
      "amount": 301.92,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    },
    {
      "line_id": "FL-RI-8854214-v2",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "line_date": "2026-08-18",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 18.11,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8854214",
      "folio_id": "folio-8854214"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854214-1",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-19T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854214-2",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-21T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854214-3",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-21T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854214-4",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-01T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854214-3705",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-16",
      "entry_type": "pending",
      "amount": 927.1,
      "balance_effect": -927.1,
      "description": "Authorization held — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854214-3706",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-21",
      "entry_type": "posted",
      "amount": 902.1,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854214-3707",
      "item_id": "RI-8854214",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-21",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-16",
      "room_net": 253.54,
      "vat_amount": 15.21,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 272.75,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854214",
      "checkin_time": "22:30",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-17",
      "room_net": 284.26,
      "vat_amount": 17.06,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 305.32,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854214",
      "checkin_time": "22:30",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-18",
      "room_net": 301.92,
      "vat_amount": 18.11,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 324.03,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854214",
      "checkin_time": "22:30",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854214",
    "layover_id": "L-514215",
    "duty_id": "D-514214",
    "crew_id": "BEL-1014",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "LGG",
    "property_id": "P-111",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-11T22:30:00Z",
    "check_in": "2026-08-16",
    "check_out": "2026-08-19",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-854214",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 918.07
  },
  "duty": {
    "duty_id": "D-514214",
    "crew_id": "BEL-1014",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514214",
    "duty_type": "positioning",
    "flight_no": "TAY172",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-15T18:05:00Z",
    "duty_end_utc": "2026-08-16T21:32:00Z",
    "duty_hours": 6.76,
    "block_hours": 5.08,
    "source_system": "aims",
    "published_at": "2026-08-08T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514215",
    "duty_in": "D-514214",
    "duty_out": "D-514214R",
    "crew_id": "BEL-1014",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-16T21:32:00Z",
    "rest_ends_utc": "2026-08-19T11:20:00Z",
    "rest_hours_available": 59.95,
    "sleep_opportunity_hours": 57.31,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 27,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14215",
    "period": "2026-08",
    "booking_id": "RS-8854214",
    "item_id": "RI-8854214",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-11T22:27:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "LGG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 91.3,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2969",
    "eval_id": "PE-14215",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Operational necessity — disruption",
    "approved_at": "2026-08-11T22:28:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7397",
      "eval_id": "PE-14215",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 91.3,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854214",
    "booking_id": "RS-8854214",
    "item_id": "RI-8854214",
    "period": "2026-08",
    "issued_at": "2026-08-11T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 943.07,
    "currency": "EUR",
    "valid_from": "2026-08-16",
    "valid_to": "2026-08-26",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Liege Centre",
    "auth_count": 3,
    "settled_amount": 629.35,
    "status": "settled",
    "closed_at": "2026-08-21T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854214",
    "booking_id": "RS-8854214",
    "item_id": "RI-8854214",
    "property_id": "P-111",
    "period": "2026-08",
    "folio_number": "LGG260816-5618",
    "guest_name": "B. De Smet",
    "check_in": "2026-08-16",
    "check_out": "2026-08-19",
    "issued_at": "2026-08-19T09:30:00Z",
    "received_at": "2026-08-21T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 902.1,
    "line_count": 9,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}