{
  "item": {
    "item_id": "RI-8853970",
    "period": "2026-08",
    "booking_id": "RS-8853970",
    "duty_id": "D-513970",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "Y. Lambert",
    "station": "DXB",
    "property_id": "P-123",
    "hotel": "Le Meridien Dubai",
    "check_in": "2026-08-16",
    "check_out": "2026-08-18",
    "nights": 2,
    "booking_amount": 585.32,
    "card_auth": 610.32,
    "card_settled": null,
    "folio_amount": 613,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "charge_after_expiry",
    "state": "open",
    "resolution": null,
    "opened_at": "2026-08-18T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-09-17",
    "age_days": 35,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-4626",
      "item_id": "RI-8853970",
      "booking_id": "RS-8853970",
      "period": "2026-08",
      "vcc_ref": "VCC-8853970",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-14T09:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853970",
      "source_ref": "feed-2026-08-4626"
    },
    {
      "event_id": "CE-4627",
      "item_id": "RI-8853970",
      "booking_id": "RS-8853970",
      "period": "2026-08",
      "vcc_ref": "VCC-8853970",
      "event_type": "auth",
      "amount": 610.32,
      "currency": "EUR",
      "occurred_at": "2026-08-16T14:20:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853970",
      "source_ref": "feed-2026-08-4627"
    },
    {
      "event_id": "CE-4628",
      "item_id": "RI-8853970",
      "booking_id": "RS-8853970",
      "period": "2026-08",
      "vcc_ref": "VCC-8853970",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-21T00:00:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853970",
      "source_ref": "feed-2026-08-4628"
    },
    {
      "event_id": "CE-4629",
      "item_id": "RI-8853970",
      "booking_id": "RS-8853970",
      "period": "2026-08",
      "vcc_ref": "VCC-8853970",
      "event_type": "decline",
      "amount": 613,
      "currency": "EUR",
      "occurred_at": "2026-08-23T10:15:00Z",
      "valid_from": "2026-08-16",
      "valid_to": "2026-08-21",
      "mcc_lock": "7011 lodging",
      "decline_reason": "outside_window",
      "issuer_ref": "CNF-853970",
      "source_ref": "feed-2026-08-4629"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853970-c0",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    },
    {
      "line_id": "FL-RI-8853970-r0",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "room",
      "description": "Room charge",
      "amount": 259.03,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    },
    {
      "line_id": "FL-RI-8853970-v0",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-16",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 12.95,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    },
    {
      "line_id": "FL-RI-8853970-c1",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    },
    {
      "line_id": "FL-RI-8853970-a1",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 27.68,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    },
    {
      "line_id": "FL-RI-8853970-r1",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "room",
      "description": "Room charge",
      "amount": 288.9,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    },
    {
      "line_id": "FL-RI-8853970-v1",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "line_date": "2026-08-17",
      "line_type": "tax",
      "description": "VAT 5%",
      "amount": 14.44,
      "disputed": 0,
      "received_at": "2026-08-19T07:00:00Z",
      "source_ref": "folio-8853970",
      "folio_id": "folio-8853970"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853970-1",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-18T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853970-2",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-20T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853970-3",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-20T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "charge after expiry"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853970-3070",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-16",
      "entry_type": "pending",
      "amount": 610.32,
      "balance_effect": -610.32,
      "description": "Authorization held — Le Meridien Dubai",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853970-3071",
      "item_id": "RI-8853970",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-21",
      "entry_type": "voided",
      "amount": 610.32,
      "balance_effect": 610.32,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-16",
      "room_net": 259.03,
      "vat_amount": 12.95,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 276.98,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853970",
      "checkin_time": "15:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-17",
      "room_net": 288.9,
      "vat_amount": 14.44,
      "city_tax": 5,
      "ancillaries": 27.68,
      "rate_paid": 308.34,
      "hotel": "Le Meridien Dubai",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853970",
      "checkin_time": "15:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853970",
    "layover_id": "L-513971",
    "duty_id": "D-513970",
    "crew_id": "BEL-1009",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "DXB",
    "property_id": "P-123",
    "vendor_id": "VEN-01",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "crew_app",
    "requested_by": "BEL-1009",
    "created_at": "2026-08-15T15:00:00Z",
    "check_in": "2026-08-16",
    "check_out": "2026-08-18",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 24,
    "confirmation_ref": "CNF-853970",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 628.97
  },
  "duty": {
    "duty_id": "D-513970",
    "crew_id": "BEL-1009",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/513970",
    "duty_type": "overnight",
    "flight_no": "TAY801",
    "dep_station": "BRU",
    "arr_station": "DXB",
    "duty_start_utc": "2026-08-15T15:30:00Z",
    "duty_end_utc": "2026-08-16T13:37:00Z",
    "duty_hours": 10.04,
    "block_hours": 3.43,
    "source_system": "aims",
    "published_at": "2026-08-02T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513971",
    "duty_in": "D-513970",
    "duty_out": "D-513970R",
    "crew_id": "BEL-1009",
    "entity_id": "ASL Airlines Belgium",
    "station": "DXB",
    "rest_starts_utc": "2026-08-16T13:37:00Z",
    "rest_ends_utc": "2026-08-18T11:20:00Z",
    "rest_hours_available": 36.02,
    "sleep_opportunity_hours": 33.19,
    "transfer_in_minutes": 48,
    "transfer_out_minutes": 47,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13971",
    "period": "2026-08",
    "booking_id": "RS-8853970",
    "item_id": "RI-8853970",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-15T14:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "DXB",
    "outcome": "hard_refusal",
    "breach_count": 1,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-D8330",
      "eval_id": "PE-13971",
      "period": "2026-08",
      "rule_id": "R-EASA-ACC",
      "layer": "regulatory",
      "severity": "block",
      "observed": "Audit AUD-40 (2026-08-14): 48.98 dB measured at night",
      "limit_value": "35 dB — quiet, dark, temperature-controlled",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Accommodation standard",
      "authority": "EASA",
      "reference": "CS FTL.1.235"
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853970",
    "booking_id": "RS-8853970",
    "item_id": "RI-8853970",
    "period": "2026-08",
    "issued_at": "2026-08-15T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 653.97,
    "currency": "EUR",
    "valid_from": "2026-08-16",
    "valid_to": "2026-08-25",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Le Meridien Dubai",
    "auth_count": 2,
    "settled_amount": 613,
    "status": "authorised",
    "closed_at": "2026-08-20T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853970",
    "booking_id": "RS-8853970",
    "item_id": "RI-8853970",
    "property_id": "P-123",
    "period": "2026-08",
    "folio_number": "DXB260816-7675",
    "guest_name": "Y. Lambert",
    "check_in": "2026-08-16",
    "check_out": "2026-08-18",
    "issued_at": "2026-08-18T09:30:00Z",
    "received_at": "2026-08-19T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 613,
    "line_count": 7,
    "days_to_receive": 1.29,
    "disputed": 0
  }
}