{
  "item": {
    "item_id": "RI-8854250",
    "period": "2026-08",
    "booking_id": "RS-8854250",
    "duty_id": "D-514250",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "H. De Smet",
    "station": "LGG",
    "property_id": "P-111",
    "hotel": "Ibis Liege Centre",
    "check_in": "2026-08-19",
    "check_out": "2026-08-21",
    "nights": 2,
    "booking_amount": 552.98,
    "card_auth": 577.98,
    "card_settled": 871.54,
    "folio_amount": 871.54,
    "variance": 318.56,
    "variance_pct": 57.61,
    "variance_category": "currency",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "final",
    "resolution": "absorbed",
    "opened_at": "2026-08-21T02:10:00Z",
    "resolved_at": "2026-08-30T11:00:00Z",
    "final_at": "2026-09-20T00:01:00Z",
    "final_due_at": "2026-09-20",
    "age_days": 40,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-5746",
      "item_id": "RI-8854250",
      "booking_id": "RS-8854250",
      "period": "2026-08",
      "vcc_ref": "VCC-8854250",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-17T09:00:00Z",
      "valid_from": "2026-08-19",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854250",
      "source_ref": "feed-2026-08-5746"
    },
    {
      "event_id": "CE-5747",
      "item_id": "RI-8854250",
      "booking_id": "RS-8854250",
      "period": "2026-08",
      "vcc_ref": "VCC-8854250",
      "event_type": "auth",
      "amount": 577.98,
      "currency": "EUR",
      "occurred_at": "2026-08-19T14:20:00Z",
      "valid_from": "2026-08-19",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854250",
      "source_ref": "feed-2026-08-5747"
    },
    {
      "event_id": "CE-5748",
      "item_id": "RI-8854250",
      "booking_id": "RS-8854250",
      "period": "2026-08",
      "vcc_ref": "VCC-8854250",
      "event_type": "capture",
      "amount": 871.54,
      "currency": "EUR",
      "occurred_at": "2026-08-21T08:05:00Z",
      "valid_from": "2026-08-19",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854250",
      "source_ref": "feed-2026-08-5748"
    },
    {
      "event_id": "CE-5749",
      "item_id": "RI-8854250",
      "booking_id": "RS-8854250",
      "period": "2026-08",
      "vcc_ref": "VCC-8854250",
      "event_type": "settle",
      "amount": 871.54,
      "currency": "EUR",
      "occurred_at": "2026-08-23T03:00:00Z",
      "valid_from": "2026-08-19",
      "valid_to": "2026-08-24",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854250",
      "source_ref": "feed-2026-08-5749"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854250-c0",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    },
    {
      "line_id": "FL-RI-8854250-r0",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "room",
      "description": "Room charge",
      "amount": 257.07,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    },
    {
      "line_id": "FL-RI-8854250-v0",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-19",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.42,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    },
    {
      "line_id": "FL-RI-8854250-c1",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    },
    {
      "line_id": "FL-RI-8854250-r1",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "room",
      "description": "Room charge",
      "amount": 257.07,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    },
    {
      "line_id": "FL-RI-8854250-v1",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-20",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 15.42,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    },
    {
      "line_id": "FL-RI-8854250-x",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "line_date": "2026-08-21",
      "line_type": "adjustment",
      "description": "FX adjustment",
      "amount": 318.56,
      "disputed": 0,
      "received_at": "2026-08-27T07:00:00Z",
      "source_ref": "folio-8854250",
      "folio_id": "folio-8854250"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854250-1",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-21T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854250-2",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-23T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854250-3",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-23T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 318.56 EUR"
    },
    {
      "event_id": "RE-RI-8854250-4",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-24T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as currency"
    },
    {
      "event_id": "RE-RI-8854250-5",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-26T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    },
    {
      "event_id": "RE-RI-8854250-6",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-09-20T00: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-8854250-3800",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-19",
      "entry_type": "pending",
      "amount": 577.98,
      "balance_effect": -577.98,
      "description": "Authorization held — Ibis Liege Centre",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854250-3801",
      "item_id": "RI-8854250",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-23",
      "entry_type": "posted",
      "amount": 871.54,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Liege Centre",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-19",
      "room_net": 257.07,
      "vat_amount": 15.42,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 276.49,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854250",
      "checkin_time": "15:00",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-20",
      "room_net": 257.07,
      "vat_amount": 15.42,
      "city_tax": 4,
      "ancillaries": 0,
      "rate_paid": 276.49,
      "hotel": "Ibis Liege Centre",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854250",
      "checkin_time": "15:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854250",
    "layover_id": "L-514251",
    "duty_id": "D-514250",
    "crew_id": "BEL-1050",
    "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": "airline_contract",
    "channel": "travel_desk",
    "requested_by": "U-103",
    "created_at": "2026-08-14T15:00:00Z",
    "check_in": "2026-08-19",
    "check_out": "2026-08-21",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-854250",
    "cancellation_deadline": "2026-08-17T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 568.95
  },
  "duty": {
    "duty_id": "D-514250",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514250",
    "duty_type": "overnight",
    "flight_no": "TAY557",
    "dep_station": "BRU",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-18T12:15:00Z",
    "duty_end_utc": "2026-08-19T14:02:00Z",
    "duty_hours": 11.78,
    "block_hours": 5.52,
    "source_system": "aims",
    "published_at": "2026-08-07T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514251",
    "duty_in": "D-514250",
    "duty_out": "D-514250R",
    "crew_id": "BEL-1050",
    "entity_id": "ASL Airlines Belgium",
    "station": "LGG",
    "rest_starts_utc": "2026-08-19T14:02:00Z",
    "rest_ends_utc": "2026-08-21T06:00:00Z",
    "rest_hours_available": 37.21,
    "sleep_opportunity_hours": 34.85,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 24,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14251",
    "period": "2026-08",
    "booking_id": "RS-8854250",
    "item_id": "RI-8854250",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-14T14:57:00Z",
    "channel": "travel_desk",
    "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-8854250",
    "booking_id": "RS-8854250",
    "item_id": "RI-8854250",
    "period": "2026-08",
    "issued_at": "2026-08-14T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 593.95,
    "currency": "EUR",
    "valid_from": "2026-08-19",
    "valid_to": "2026-08-28",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Liege Centre",
    "auth_count": 2,
    "settled_amount": 552.98,
    "status": "authorised",
    "closed_at": "2026-08-23T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854250",
    "booking_id": "RS-8854250",
    "item_id": "RI-8854250",
    "property_id": "P-111",
    "period": "2026-08",
    "folio_number": "LGG260819-7409",
    "guest_name": "H. De Smet",
    "check_in": "2026-08-19",
    "check_out": "2026-08-21",
    "issued_at": "2026-08-21T09:30:00Z",
    "received_at": "2026-08-27T07:00:00Z",
    "received_via": "portal",
    "currency": "EUR",
    "stated_total": 871.54,
    "line_count": 7,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}