{
  "item": {
    "item_id": "RI-8854354",
    "period": "2026-08",
    "booking_id": "RS-8854354",
    "duty_id": "D-514354",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "O. Declerck",
    "station": "CDG",
    "property_id": "P-128",
    "hotel": "Ibis Paris CDG",
    "check_in": "2026-08-09",
    "check_out": "2026-08-11",
    "nights": 2,
    "booking_amount": 631.46,
    "card_auth": 656.46,
    "card_settled": 641.84,
    "folio_amount": 641.84,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-11T02:10:00Z",
    "resolved_at": "2026-08-13T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-10",
    "age_days": 2,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-6163",
      "item_id": "RI-8854354",
      "booking_id": "RS-8854354",
      "period": "2026-08",
      "vcc_ref": "VCC-8854354",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-07T09:00:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854354",
      "source_ref": "feed-2026-08-6163"
    },
    {
      "event_id": "CE-6164",
      "item_id": "RI-8854354",
      "booking_id": "RS-8854354",
      "period": "2026-08",
      "vcc_ref": "VCC-8854354",
      "event_type": "auth",
      "amount": 656.46,
      "currency": "EUR",
      "occurred_at": "2026-08-09T14:20:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854354",
      "source_ref": "feed-2026-08-6164"
    },
    {
      "event_id": "CE-6165",
      "item_id": "RI-8854354",
      "booking_id": "RS-8854354",
      "period": "2026-08",
      "vcc_ref": "VCC-8854354",
      "event_type": "capture",
      "amount": 641.84,
      "currency": "EUR",
      "occurred_at": "2026-08-11T08:05:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854354",
      "source_ref": "feed-2026-08-6165"
    },
    {
      "event_id": "CE-6166",
      "item_id": "RI-8854354",
      "booking_id": "RS-8854354",
      "period": "2026-08",
      "vcc_ref": "VCC-8854354",
      "event_type": "settle",
      "amount": 641.84,
      "currency": "EUR",
      "occurred_at": "2026-08-13T03:00:00Z",
      "valid_from": "2026-08-09",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854354",
      "source_ref": "feed-2026-08-6166"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854354-c0",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-09",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    },
    {
      "line_id": "FL-RI-8854354-r0",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-09",
      "line_type": "room",
      "description": "Room charge",
      "amount": 267.92,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    },
    {
      "line_id": "FL-RI-8854354-v0",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-09",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 26.79,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    },
    {
      "line_id": "FL-RI-8854354-c1",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    },
    {
      "line_id": "FL-RI-8854354-a1",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 10.38,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    },
    {
      "line_id": "FL-RI-8854354-r1",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "room",
      "description": "Room charge",
      "amount": 296.68,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    },
    {
      "line_id": "FL-RI-8854354-v1",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 29.67,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8854354",
      "folio_id": "folio-8854354"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854354-1",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-11T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8854354-2",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-13T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8854354-3",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-13T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8854354-4",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-15T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854354-4071",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-09",
      "entry_type": "pending",
      "amount": 656.46,
      "balance_effect": -656.46,
      "description": "Authorization held — Ibis Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854354-4072",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-13",
      "entry_type": "posted",
      "amount": 641.84,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854354-4073",
      "item_id": "RI-8854354",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-13",
      "entry_type": "released",
      "amount": 14.62,
      "balance_effect": 14.62,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-09",
      "room_net": 267.92,
      "vat_amount": 26.79,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 299.91,
      "hotel": "Ibis Paris CDG",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854354",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-10",
      "room_net": 296.68,
      "vat_amount": 29.67,
      "city_tax": 5.2,
      "ancillaries": 10.38,
      "rate_paid": 331.55,
      "hotel": "Ibis Paris CDG",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854354",
      "checkin_time": "05:40",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8854354",
    "layover_id": "L-514355",
    "duty_id": "D-514354",
    "crew_id": "BEL-1010",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "CDG",
    "property_id": "P-128",
    "vendor_id": "VEN-04",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-07T05:40:00Z",
    "check_in": "2026-08-09",
    "check_out": "2026-08-11",
    "nights": 2,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-854354",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 657.81
  },
  "duty": {
    "duty_id": "D-514354",
    "crew_id": "BEL-1010",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514354",
    "duty_type": "overnight",
    "flight_no": "TAY478",
    "dep_station": "LGG",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-08T12:15:00Z",
    "duty_end_utc": "2026-08-09T04:35:00Z",
    "duty_hours": 8.95,
    "block_hours": 5.24,
    "source_system": "aims",
    "published_at": "2026-07-30T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514355",
    "duty_in": "D-514354",
    "duty_out": "D-514354R",
    "crew_id": "BEL-1010",
    "entity_id": "ASL Airlines Belgium",
    "station": "CDG",
    "rest_starts_utc": "2026-08-09T04:35:00Z",
    "rest_ends_utc": "2026-08-11T08:45:00Z",
    "rest_hours_available": 39.35,
    "sleep_opportunity_hours": 37.2,
    "transfer_in_minutes": 30,
    "transfer_out_minutes": 29,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14355",
    "period": "2026-08",
    "booking_id": "RS-8854354",
    "item_id": "RI-8854354",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-07T05:37:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "CDG",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 115.83,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7468",
      "eval_id": "PE-14355",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 115.83,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8854354",
    "booking_id": "RS-8854354",
    "item_id": "RI-8854354",
    "period": "2026-08",
    "issued_at": "2026-08-07T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 682.81,
    "currency": "EUR",
    "valid_from": "2026-08-09",
    "valid_to": "2026-08-18",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Paris CDG",
    "auth_count": 2,
    "settled_amount": 641.84,
    "status": "settled",
    "closed_at": "2026-08-13T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854354",
    "booking_id": "RS-8854354",
    "item_id": "RI-8854354",
    "property_id": "P-128",
    "period": "2026-08",
    "folio_number": "CDG260809-7167",
    "guest_name": "O. Declerck",
    "check_in": "2026-08-09",
    "check_out": "2026-08-11",
    "issued_at": "2026-08-11T09:30:00Z",
    "received_at": "2026-08-13T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 641.84,
    "line_count": 7,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}