{
  "item": {
    "item_id": "RI-8854143",
    "period": "2026-08",
    "booking_id": "RS-8854143",
    "duty_id": "D-514143",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "D. Declerck",
    "station": "LGG",
    "property_id": "P-111",
    "hotel": "Ibis Liege Centre",
    "check_in": "2026-08-12",
    "check_out": "2026-08-13",
    "nights": 1,
    "booking_amount": 274.52,
    "card_auth": 299.52,
    "card_settled": 274.52,
    "folio_amount": 274.52,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-13T02:10:00Z",
    "resolved_at": "2026-08-18T11:00:00Z",
    "final_at": "2026-09-12T00:01:00Z",
    "final_due_at": "2026-09-12",
    "age_days": 4,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-5317",
      "item_id": "RI-8854143",
      "booking_id": "RS-8854143",
      "period": "2026-08",
      "vcc_ref": "VCC-8854143",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-10T09:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854143",
      "source_ref": "feed-2026-08-5317"
    },
    {
      "event_id": "CE-5318",
      "item_id": "RI-8854143",
      "booking_id": "RS-8854143",
      "period": "2026-08",
      "vcc_ref": "VCC-8854143",
      "event_type": "auth",
      "amount": 299.52,
      "currency": "EUR",
      "occurred_at": "2026-08-12T14:20:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854143",
      "source_ref": "feed-2026-08-5318"
    },
    {
      "event_id": "CE-5319",
      "item_id": "RI-8854143",
      "booking_id": "RS-8854143",
      "period": "2026-08",
      "vcc_ref": "VCC-8854143",
      "event_type": "capture",
      "amount": 274.52,
      "currency": "EUR",
      "occurred_at": "2026-08-13T08:05:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854143",
      "source_ref": "feed-2026-08-5319"
    },
    {
      "event_id": "CE-5320",
      "item_id": "RI-8854143",
      "booking_id": "RS-8854143",
      "period": "2026-08",
      "vcc_ref": "VCC-8854143",
      "event_type": "settle",
      "amount": 274.52,
      "currency": "EUR",
      "occurred_at": "2026-08-15T03:00:00Z",
      "valid_from": "2026-08-12",
      "valid_to": "2026-08-16",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854143",
      "source_ref": "feed-2026-08-5320"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854143-c0",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854143",
      "folio_id": "folio-8854143"
    },
    {
      "line_id": "FL-RI-8854143-r0",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "room",
      "description": "Room charge",
      "amount": 255.21,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854143",
      "folio_id": "folio-8854143"
    },
    {
      "line_id": "FL-RI-8854143-v0",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "line_date": "2026-08-12",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.31,
      "disputed": 0,
      "received_at": "2026-08-18T07:00:00Z",
      "source_ref": "folio-8854143",
      "folio_id": "folio-8854143"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854143-1",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-13T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854143-2",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-15T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854143-3",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-15T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854143-4",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-27T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854143-5",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-12T00: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-8854143-3523",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-12",
      "entry_type": "pending",
      "amount": 299.52,
      "balance_effect": -299.52,
      "description": "Authorization held — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854143-3524",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-15",
      "entry_type": "posted",
      "amount": 274.52,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854143-3525",
      "item_id": "RI-8854143",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-15",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-12",
      "room_net": 255.21,
      "vat_amount": 15.31,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 274.52,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854143",
      "checkin_time": "15:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854143",
    "layover_id": "L-514144",
    "duty_id": "D-514143",
    "crew_id": "BEL-1082",
    "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-07T15:00:00Z",
    "check_in": "2026-08-12",
    "check_out": "2026-08-13",
    "nights": 1,
    "room_type": "executive",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-854143",
    "cancellation_deadline": "2026-08-10T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 290.49
  },
  "duty": {
    "duty_id": "D-514143",
    "crew_id": "BEL-1082",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514143",
    "duty_type": "overnight",
    "flight_no": "TAY516",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-11T12:15:00Z",
    "duty_end_utc": "2026-08-12T14:02:00Z",
    "duty_hours": 9.54,
    "block_hours": 7.97,
    "source_system": "aims",
    "published_at": "2026-08-05T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514144",
    "duty_in": "D-514143",
    "duty_out": "D-514143R",
    "crew_id": "BEL-1082",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-12T14:02:00Z",
    "rest_ends_utc": "2026-08-13T06:00:00Z",
    "rest_hours_available": 13.16,
    "sleep_opportunity_hours": 11.22,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 23,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14144",
    "period": "2026-08",
    "booking_id": "RS-8854143",
    "item_id": "RI-8854143",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-07T14:57: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-8854143",
    "booking_id": "RS-8854143",
    "item_id": "RI-8854143",
    "period": "2026-08",
    "issued_at": "2026-08-07T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 315.49,
    "currency": "EUR",
    "valid_from": "2026-08-12",
    "valid_to": "2026-08-20",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Liege Centre",
    "auth_count": 1,
    "settled_amount": 274.52,
    "status": "authorised",
    "closed_at": "2026-08-15T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854143",
    "booking_id": "RS-8854143",
    "item_id": "RI-8854143",
    "property_id": "P-111",
    "period": "2026-08",
    "folio_number": "LGG260812-5790",
    "guest_name": "D. Declerck",
    "check_in": "2026-08-12",
    "check_out": "2026-08-13",
    "issued_at": "2026-08-13T09:30:00Z",
    "received_at": "2026-08-18T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 274.52,
    "line_count": 3,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}