{
  "item": {
    "item_id": "RI-8854486",
    "period": "2026-08",
    "booking_id": "RS-8854486",
    "duty_id": "D-514486",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "H. Willems",
    "station": "CDG",
    "property_id": "P-127",
    "hotel": "Pullman Paris CDG",
    "check_in": "2026-08-08",
    "check_out": "2026-08-09",
    "nights": 1,
    "booking_amount": 295.52,
    "card_auth": 320.52,
    "card_settled": 295.52,
    "folio_amount": 295.52,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-09T02:10:00Z",
    "resolved_at": "2026-08-19T11:00:00Z",
    "final_at": "2026-09-08T00:01:00Z",
    "final_due_at": "2026-09-08",
    "age_days": 27,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-6688",
      "item_id": "RI-8854486",
      "booking_id": "RS-8854486",
      "period": "2026-08",
      "vcc_ref": "VCC-8854486",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-06T09:00:00Z",
      "valid_from": "2026-08-08",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854486",
      "source_ref": "feed-2026-08-6688"
    },
    {
      "event_id": "CE-6689",
      "item_id": "RI-8854486",
      "booking_id": "RS-8854486",
      "period": "2026-08",
      "vcc_ref": "VCC-8854486",
      "event_type": "auth",
      "amount": 320.52,
      "currency": "EUR",
      "occurred_at": "2026-08-08T14:20:00Z",
      "valid_from": "2026-08-08",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854486",
      "source_ref": "feed-2026-08-6689"
    },
    {
      "event_id": "CE-6690",
      "item_id": "RI-8854486",
      "booking_id": "RS-8854486",
      "period": "2026-08",
      "vcc_ref": "VCC-8854486",
      "event_type": "capture",
      "amount": 295.52,
      "currency": "EUR",
      "occurred_at": "2026-08-09T08:05:00Z",
      "valid_from": "2026-08-08",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854486",
      "source_ref": "feed-2026-08-6690"
    },
    {
      "event_id": "CE-6691",
      "item_id": "RI-8854486",
      "booking_id": "RS-8854486",
      "period": "2026-08",
      "vcc_ref": "VCC-8854486",
      "event_type": "settle",
      "amount": 295.52,
      "currency": "EUR",
      "occurred_at": "2026-08-11T03:00:00Z",
      "valid_from": "2026-08-08",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854486",
      "source_ref": "feed-2026-08-6691"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854486-c0",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854486",
      "folio_id": "folio-8854486"
    },
    {
      "line_id": "FL-RI-8854486-r0",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "room",
      "description": "Room charge",
      "amount": 263.93,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854486",
      "folio_id": "folio-8854486"
    },
    {
      "line_id": "FL-RI-8854486-v0",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.39,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854486",
      "folio_id": "folio-8854486"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854486-1",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-09T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854486-2",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-11T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854486-3",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-11T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854486-4",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-17T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8854486-5",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-08T00: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-8854486-4419",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-08",
      "entry_type": "pending",
      "amount": 320.52,
      "balance_effect": -320.52,
      "description": "Authorization held — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854486-4420",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-11",
      "entry_type": "posted",
      "amount": 295.52,
      "balance_effect": 0,
      "description": "Charge posted — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854486-4421",
      "item_id": "RI-8854486",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-11",
      "entry_type": "released",
      "amount": 25,
      "balance_effect": 25,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-08",
      "room_net": 263.93,
      "vat_amount": 26.39,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 295.52,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854486",
      "checkin_time": "22:30",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8854486",
    "layover_id": "L-514487",
    "duty_id": "D-514486",
    "crew_id": "BEL-1029",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "CDG",
    "property_id": "P-127",
    "vendor_id": null,
    "contract_id": "C-127",
    "revenue_model": "airline_contract",
    "channel": "travel_desk",
    "requested_by": "U-102",
    "created_at": "2026-07-30T22:30:00Z",
    "check_in": "2026-08-08",
    "check_out": "2026-08-09",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-854486",
    "cancellation_deadline": "2026-08-06T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 311.49
  },
  "duty": {
    "duty_id": "D-514486",
    "crew_id": "BEL-1029",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514486",
    "duty_type": "positioning",
    "flight_no": "TAY448",
    "dep_station": "LGG",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-07T09:40:00Z",
    "duty_end_utc": "2026-08-08T21:41:00Z",
    "duty_hours": 10.4,
    "block_hours": 4.21,
    "source_system": "aims",
    "published_at": "2026-07-24T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514487",
    "duty_in": "D-514486",
    "duty_out": "D-514486R",
    "crew_id": "BEL-1029",
    "entity_id": "ASL Airlines Belgium",
    "station": "CDG",
    "rest_starts_utc": "2026-08-08T21:41:00Z",
    "rest_ends_utc": "2026-08-09T06:00:00Z",
    "rest_hours_available": 16.15,
    "sleep_opportunity_hours": 13.94,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 13,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14487",
    "period": "2026-08",
    "booking_id": "RS-8854486",
    "item_id": "RI-8854486",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-30T22:27:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "CDG",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854486",
    "booking_id": "RS-8854486",
    "item_id": "RI-8854486",
    "period": "2026-08",
    "issued_at": "2026-07-30T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 336.49,
    "currency": "EUR",
    "valid_from": "2026-08-08",
    "valid_to": "2026-08-16",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Paris CDG",
    "auth_count": 1,
    "settled_amount": 295.52,
    "status": "authorised",
    "closed_at": "2026-08-11T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854486",
    "booking_id": "RS-8854486",
    "item_id": "RI-8854486",
    "property_id": "P-127",
    "period": "2026-08",
    "folio_number": "CDG260808-9013",
    "guest_name": "H. Willems",
    "check_in": "2026-08-08",
    "check_out": "2026-08-09",
    "issued_at": "2026-08-09T09:30:00Z",
    "received_at": "2026-08-12T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 295.52,
    "line_count": 3,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}