{
  "item": {
    "item_id": "RI-8853930",
    "period": "2026-08",
    "booking_id": "RS-8853930",
    "duty_id": "D-513930",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "L. De Smet",
    "station": "BRU",
    "property_id": "P-117",
    "hotel": "Thon Hotel EU",
    "check_in": "2026-08-07",
    "check_out": "2026-08-09",
    "nights": 2,
    "booking_amount": 652.68,
    "card_auth": 677.68,
    "card_settled": null,
    "folio_amount": 664.32,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "declined_not_reissued",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-09T02:10:00Z",
    "resolved_at": "2026-08-17T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-08",
    "age_days": 28,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4468",
      "item_id": "RI-8853930",
      "booking_id": "RS-8853930",
      "period": "2026-08",
      "vcc_ref": "VCC-8853930",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-05T09:00:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853930",
      "source_ref": "feed-2026-08-4468"
    },
    {
      "event_id": "CE-4469",
      "item_id": "RI-8853930",
      "booking_id": "RS-8853930",
      "period": "2026-08",
      "vcc_ref": "VCC-8853930",
      "event_type": "auth",
      "amount": 677.68,
      "currency": "EUR",
      "occurred_at": "2026-08-07T14:20:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853930",
      "source_ref": "feed-2026-08-4469"
    },
    {
      "event_id": "CE-4470",
      "item_id": "RI-8853930",
      "booking_id": "RS-8853930",
      "period": "2026-08",
      "vcc_ref": "VCC-8853930",
      "event_type": "decline",
      "amount": 664.32,
      "currency": "EUR",
      "occurred_at": "2026-08-09T09:40:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": "amount_exceeded",
      "issuer_ref": "CNF-853930",
      "source_ref": "feed-2026-08-4470"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853930-c0",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4.24,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    },
    {
      "line_id": "FL-RI-8853930-r0",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "room",
      "description": "Room charge",
      "amount": 303.87,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    },
    {
      "line_id": "FL-RI-8853930-v0",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 18.23,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    },
    {
      "line_id": "FL-RI-8853930-c1",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4.24,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    },
    {
      "line_id": "FL-RI-8853930-a1",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 11.64,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    },
    {
      "line_id": "FL-RI-8853930-r1",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "room",
      "description": "Room charge",
      "amount": 303.87,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    },
    {
      "line_id": "FL-RI-8853930-v1",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 18.23,
      "disputed": 0,
      "received_at": "2026-08-11T07:00:00Z",
      "source_ref": "folio-8853930",
      "folio_id": "folio-8853930"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853930-1",
      "item_id": "RI-8853930",
      "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-8853930-2",
      "item_id": "RI-8853930",
      "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-8853930-3",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-11T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "declined not reissued"
    },
    {
      "event_id": "RE-RI-8853930-4",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-13T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853930-2961",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-07",
      "entry_type": "pending",
      "amount": 677.68,
      "balance_effect": -677.68,
      "description": "Authorization held — Thon Hotel EU",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853930-2962",
      "item_id": "RI-8853930",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-12",
      "entry_type": "voided",
      "amount": 677.68,
      "balance_effect": 677.68,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-07",
      "room_net": 303.87,
      "vat_amount": 18.23,
      "city_tax": 4.24,
      "ancillaries": 0,
      "rate_paid": 326.34,
      "hotel": "Thon Hotel EU",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853930",
      "checkin_time": "15:00",
      "checkout_time": "10:00"
    },
    {
      "night": "2026-08-08",
      "room_net": 303.87,
      "vat_amount": 18.23,
      "city_tax": 4.24,
      "ancillaries": 11.64,
      "rate_paid": 326.34,
      "hotel": "Thon Hotel EU",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853930",
      "checkin_time": "15:00",
      "checkout_time": "10:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853930",
    "layover_id": "L-513931",
    "duty_id": "D-513930",
    "crew_id": "BEL-1026",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "BRU",
    "property_id": "P-117",
    "vendor_id": null,
    "contract_id": "C-117",
    "revenue_model": "routespring_contract",
    "channel": "crew_app",
    "requested_by": "BEL-1026",
    "created_at": "2026-07-29T15:00:00Z",
    "check_in": "2026-08-07",
    "check_out": "2026-08-09",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-853930",
    "cancellation_deadline": "2026-08-06T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 680.29
  },
  "duty": {
    "duty_id": "D-513930",
    "crew_id": "BEL-1026",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513930",
    "duty_type": "overnight",
    "flight_no": "TAY213",
    "dep_station": "LGG",
    "arr_station": "BRU",
    "duty_start_utc": "2026-08-06T18:05:00Z",
    "duty_end_utc": "2026-08-07T14:07:00Z",
    "duty_hours": 9.22,
    "block_hours": 4.14,
    "source_system": "aims",
    "published_at": "2026-07-30T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513931",
    "duty_in": "D-513930",
    "duty_out": "D-513930R",
    "crew_id": "BEL-1026",
    "entity_id": "ASL Airlines Belgium",
    "station": "BRU",
    "rest_starts_utc": "2026-08-07T14:07:00Z",
    "rest_ends_utc": "2026-08-09T11:20:00Z",
    "rest_hours_available": 37.5,
    "sleep_opportunity_hours": 35.61,
    "transfer_in_minutes": 18,
    "transfer_out_minutes": 18,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13931",
    "period": "2026-08",
    "booking_id": "RS-8853930",
    "item_id": "RI-8853930",
    "ruleset": "2026.2",
    "evaluated_at": "2026-07-29T14:57:00Z",
    "channel": "crew_app",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "BRU",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 1
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853930",
    "booking_id": "RS-8853930",
    "item_id": "RI-8853930",
    "period": "2026-08",
    "issued_at": "2026-07-29T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 705.29,
    "currency": "EUR",
    "valid_from": "2026-08-07",
    "valid_to": "2026-08-16",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Thon Hotel EU",
    "auth_count": 2,
    "settled_amount": 664.32,
    "status": "settled",
    "closed_at": "2026-08-11T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853930",
    "booking_id": "RS-8853930",
    "item_id": "RI-8853930",
    "property_id": "P-117",
    "period": "2026-08",
    "folio_number": "BRU260807-3198",
    "guest_name": "L. De Smet",
    "check_in": "2026-08-07",
    "check_out": "2026-08-09",
    "issued_at": "2026-08-09T09:30:00Z",
    "received_at": "2026-08-11T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 664.32,
    "line_count": 7,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}