{
  "item": {
    "item_id": "RI-8853964",
    "period": "2026-08",
    "booking_id": "RS-8853964",
    "duty_id": "D-513964",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "N. Declerck",
    "station": "DXB",
    "property_id": "P-123",
    "hotel": "Le Meridien Dubai",
    "check_in": "2026-08-07",
    "check_out": "2026-08-08",
    "nights": 1,
    "booking_amount": 380.45,
    "card_auth": 405.45,
    "card_settled": 389.59,
    "folio_amount": 389.59,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-08T02:10:00Z",
    "resolved_at": "2026-08-11T11:00:00Z",
    "final_at": "2026-09-07T00:01:00Z",
    "final_due_at": "2026-09-07",
    "age_days": 20,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-4602",
      "item_id": "RI-8853964",
      "booking_id": "RS-8853964",
      "period": "2026-08",
      "vcc_ref": "VCC-8853964",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-05T09:00:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-11",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853964",
      "source_ref": "feed-2026-08-4602"
    },
    {
      "event_id": "CE-4603",
      "item_id": "RI-8853964",
      "booking_id": "RS-8853964",
      "period": "2026-08",
      "vcc_ref": "VCC-8853964",
      "event_type": "auth",
      "amount": 405.45,
      "currency": "EUR",
      "occurred_at": "2026-08-07T14:20:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-11",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853964",
      "source_ref": "feed-2026-08-4603"
    },
    {
      "event_id": "CE-4604",
      "item_id": "RI-8853964",
      "booking_id": "RS-8853964",
      "period": "2026-08",
      "vcc_ref": "VCC-8853964",
      "event_type": "capture",
      "amount": 389.59,
      "currency": "EUR",
      "occurred_at": "2026-08-08T08:05:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-11",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853964",
      "source_ref": "feed-2026-08-4604"
    },
    {
      "event_id": "CE-4605",
      "item_id": "RI-8853964",
      "booking_id": "RS-8853964",
      "period": "2026-08",
      "vcc_ref": "VCC-8853964",
      "event_type": "settle",
      "amount": 389.59,
      "currency": "EUR",
      "occurred_at": "2026-08-10T03:00:00Z",
      "valid_from": "2026-08-07",
      "valid_to": "2026-08-11",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853964",
      "source_ref": "feed-2026-08-4605"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853964-c0",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8853964",
      "folio_id": "folio-8853964"
    },
    {
      "line_id": "FL-RI-8853964-a0",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "incidental",
      "description": "Restaurant",
      "amount": 9.14,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8853964",
      "folio_id": "folio-8853964"
    },
    {
      "line_id": "FL-RI-8853964-r0",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "room",
      "description": "Room charge",
      "amount": 357.57,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8853964",
      "folio_id": "folio-8853964"
    },
    {
      "line_id": "FL-RI-8853964-v0",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 17.88,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8853964",
      "folio_id": "folio-8853964"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853964-1",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-08T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853964-2",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-10T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853964-3",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-10T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8853964-4",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-20T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8853964-5",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-07T00: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-8853964-3052",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-07",
      "entry_type": "pending",
      "amount": 405.45,
      "balance_effect": -405.45,
      "description": "Authorization held — Le Meridien Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853964-3053",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-10",
      "entry_type": "posted",
      "amount": 389.59,
      "balance_effect": 0,
      "description": "Charge posted — Le Meridien Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853964-3054",
      "item_id": "RI-8853964",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-10",
      "entry_type": "released",
      "amount": 15.86,
      "balance_effect": 15.86,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-07",
      "room_net": 357.57,
      "vat_amount": 17.88,
      "city_tax": 5,
      "ancillaries": 9.14,
      "rate_paid": 380.45,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853964",
      "checkin_time": "14:00",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853964",
    "layover_id": "L-513965",
    "duty_id": "D-513964",
    "crew_id": "BEL-1046",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-123",
    "vendor_id": null,
    "contract_id": "C-123",
    "revenue_model": "airline_contract",
    "channel": "travel_desk",
    "requested_by": "U-101",
    "created_at": "2026-08-06T14:00:00Z",
    "check_in": "2026-08-07",
    "check_out": "2026-08-08",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853964",
    "cancellation_deadline": "2026-08-06T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 405.56
  },
  "duty": {
    "duty_id": "D-513964",
    "crew_id": "BEL-1046",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513964",
    "duty_type": "positioning",
    "flight_no": "TAY252",
    "dep_station": "BRU",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-06T12:15:00Z",
    "duty_end_utc": "2026-08-07T12:37:00Z",
    "duty_hours": 7.5,
    "block_hours": 3.22,
    "source_system": "aims",
    "published_at": "2026-07-23T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513965",
    "duty_in": "D-513964",
    "duty_out": "D-513964R",
    "crew_id": "BEL-1046",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-07T12:37:00Z",
    "rest_ends_utc": "2026-08-08T08:45:00Z",
    "rest_hours_available": 14.15,
    "sleep_opportunity_hours": 11.29,
    "transfer_in_minutes": 48,
    "transfer_out_minutes": 43,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13965",
    "period": "2026-08",
    "booking_id": "RS-8853964",
    "item_id": "RI-8853964",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-06T13:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 88.4,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2924",
    "eval_id": "PE-13965",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Preferred property sold out",
    "approved_at": "2026-08-06T13:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7273",
      "eval_id": "PE-13965",
      "period": "2026-08",
      "rule_id": "R-CAP",
      "layer": "commercial",
      "severity": "approve",
      "observed": "380.45 EUR",
      "limit_value": "322.05 EUR",
      "cost_impact": 88.4,
      "resolved": "approved",
      "name": "Rate cap",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853964",
    "booking_id": "RS-8853964",
    "item_id": "RI-8853964",
    "period": "2026-08",
    "issued_at": "2026-08-06T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 430.56,
    "currency": "EUR",
    "valid_from": "2026-08-07",
    "valid_to": "2026-08-15",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Le Meridien Dubai",
    "auth_count": 1,
    "settled_amount": 389.59,
    "status": "settled",
    "closed_at": "2026-08-10T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853964",
    "booking_id": "RS-8853964",
    "item_id": "RI-8853964",
    "property_id": "P-123",
    "period": "2026-08",
    "folio_number": "DXB260807-3917",
    "guest_name": "N. Declerck",
    "check_in": "2026-08-07",
    "check_out": "2026-08-08",
    "issued_at": "2026-08-08T09:30:00Z",
    "received_at": "2026-08-12T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 389.59,
    "line_count": 4,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}