{
  "item": {
    "item_id": "RI-8854294",
    "period": "2026-08",
    "booking_id": "RS-8854294",
    "duty_id": "D-514294",
    "entity": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "crew_name": "O. Wouters",
    "station": "CDG",
    "property_id": "P-127",
    "hotel": "Pullman Paris CDG",
    "check_in": "2026-08-06",
    "check_out": "2026-08-09",
    "nights": 3,
    "booking_amount": 1006.52,
    "card_auth": 1031.52,
    "card_settled": 1023.59,
    "folio_amount": 1023.59,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "resolved",
    "resolution": "legitimate",
    "opened_at": "2026-08-09T02:10:00Z",
    "resolved_at": "2026-08-10T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-08",
    "age_days": 14,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-5923",
      "item_id": "RI-8854294",
      "booking_id": "RS-8854294",
      "period": "2026-08",
      "vcc_ref": "VCC-8854294",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-04T09:00:00Z",
      "valid_from": "2026-08-06",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854294",
      "source_ref": "feed-2026-08-5923"
    },
    {
      "event_id": "CE-5924",
      "item_id": "RI-8854294",
      "booking_id": "RS-8854294",
      "period": "2026-08",
      "vcc_ref": "VCC-8854294",
      "event_type": "auth",
      "amount": 1031.52,
      "currency": "EUR",
      "occurred_at": "2026-08-06T14:20:00Z",
      "valid_from": "2026-08-06",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854294",
      "source_ref": "feed-2026-08-5924"
    },
    {
      "event_id": "CE-5925",
      "item_id": "RI-8854294",
      "booking_id": "RS-8854294",
      "period": "2026-08",
      "vcc_ref": "VCC-8854294",
      "event_type": "capture",
      "amount": 1023.59,
      "currency": "EUR",
      "occurred_at": "2026-08-09T08:05:00Z",
      "valid_from": "2026-08-06",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854294",
      "source_ref": "feed-2026-08-5925"
    },
    {
      "event_id": "CE-5926",
      "item_id": "RI-8854294",
      "booking_id": "RS-8854294",
      "period": "2026-08",
      "vcc_ref": "VCC-8854294",
      "event_type": "settle",
      "amount": 1023.59,
      "currency": "EUR",
      "occurred_at": "2026-08-11T03:00:00Z",
      "valid_from": "2026-08-06",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-854294",
      "source_ref": "feed-2026-08-5926"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8854294-c0",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-r0",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "room",
      "description": "Room charge",
      "amount": 317.45,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-v0",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 31.75,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-c1",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5.2,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-a1",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 17.07,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-r1",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "room",
      "description": "Room charge",
      "amount": 305.9,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-v1",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 30.59,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-c2",
      "item_id": "RI-8854294",
      "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-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-r2",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "room",
      "description": "Room charge",
      "amount": 277.48,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    },
    {
      "line_id": "FL-RI-8854294-v2",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "tax",
      "description": "VAT 10%",
      "amount": 27.75,
      "disputed": 0,
      "received_at": "2026-08-12T07:00:00Z",
      "source_ref": "folio-8854294",
      "folio_id": "folio-8854294"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8854294-1",
      "item_id": "RI-8854294",
      "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-8854294-2",
      "item_id": "RI-8854294",
      "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-8854294-3",
      "item_id": "RI-8854294",
      "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-8854294-4",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-11T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8854294-3917",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-06",
      "entry_type": "pending",
      "amount": 1031.52,
      "balance_effect": -1031.52,
      "description": "Authorization held — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854294-3918",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-11",
      "entry_type": "posted",
      "amount": 1023.59,
      "balance_effect": 0,
      "description": "Charge posted — Pullman Paris CDG",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8854294-3919",
      "item_id": "RI-8854294",
      "period": "2026-08",
      "legal_entity": "ASL Airlines Belgium NV",
      "entry_date": "2026-08-11",
      "entry_type": "released",
      "amount": 7.93,
      "balance_effect": 7.93,
      "description": "Unused authorization released",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-06",
      "room_net": 317.45,
      "vat_amount": 31.75,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 354.4,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854294",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-07",
      "room_net": 305.9,
      "vat_amount": 30.59,
      "city_tax": 5.2,
      "ancillaries": 17.07,
      "rate_paid": 341.69,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854294",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-08",
      "room_net": 277.48,
      "vat_amount": 27.75,
      "city_tax": 5.2,
      "ancillaries": 0,
      "rate_paid": 310.43,
      "hotel": "Pullman Paris CDG",
      "duty_reason": "irops",
      "night_status": "occupied",
      "vcc_ref": "VCC-8854294",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8854294",
    "layover_id": "L-514295",
    "duty_id": "D-514294",
    "crew_id": "BEL-1043",
    "entity_id": "ASL Airlines Belgium",
    "legal_entity": "ASL Airlines Belgium NV",
    "station": "CDG",
    "property_id": "P-127",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-06T10:30:00Z",
    "check_in": "2026-08-06",
    "check_out": "2026-08-09",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 12,
    "confirmation_ref": "CNF-854294",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1039.56
  },
  "duty": {
    "duty_id": "D-514294",
    "crew_id": "BEL-1043",
    "entity_id": "ASL Airlines Belgium",
    "roster_ref": "AIMS/202608/514294",
    "duty_type": "irops",
    "flight_no": "TAY766",
    "dep_station": "LGG",
    "arr_station": "CDG",
    "duty_start_utc": "2026-08-05T12:15:00Z",
    "duty_end_utc": "2026-08-06T21:41:00Z",
    "duty_hours": 10.23,
    "block_hours": 3.84,
    "source_system": "aims",
    "published_at": "2026-07-31T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-514295",
    "duty_in": "D-514294",
    "duty_out": "D-514294R",
    "crew_id": "BEL-1043",
    "entity_id": "ASL Airlines Belgium",
    "station": "CDG",
    "rest_starts_utc": "2026-08-06T21:41:00Z",
    "rest_ends_utc": "2026-08-09T11:20:00Z",
    "rest_hours_available": 11.22,
    "sleep_opportunity_hours": 9.28,
    "transfer_in_minutes": 14,
    "transfer_out_minutes": 15,
    "nights": 3,
    "disrupted": 1,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-14295",
    "period": "2026-08",
    "booking_id": "RS-8854294",
    "item_id": "RI-8854294",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-06T10:27:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Belgium",
    "station": "CDG",
    "outcome": "hard_refusal",
    "breach_count": 2,
    "cost_impact": 157.24,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-7436",
      "eval_id": "PE-14295",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 157.24,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-D8380",
      "eval_id": "PE-14295",
      "period": "2026-08",
      "rule_id": "R-EASA-REST",
      "layer": "regulatory",
      "severity": "block",
      "observed": "11.22h available",
      "limit_value": "12h — greater of preceding duty (8.43h) and 12h",
      "cost_impact": 0,
      "resolved": "refused",
      "name": "Minimum rest away from base",
      "authority": "EASA",
      "reference": "ORO.FTL.235(b)"
    }
  ],
  "changes": [
    {
      "change_id": "BC-1723",
      "booking_id": "RS-8854294",
      "period": "2026-08",
      "occurred_at": "2026-08-06T21:05:00Z",
      "change_type": "cancel_rebook",
      "source": "aims",
      "trigger": "irops",
      "modify_attempted": 1,
      "failed_reason": "hotel_cutoff",
      "hours_before_checkin": 2.47,
      "cutoff_hours": 24,
      "cost": 224.54,
      "room_lost": 0,
      "resolved_by": "human",
      "resolved_at": "2026-08-06T22:30:00Z",
      "sla_breached": 0
    }
  ],
  "card": {
    "vcc_ref": "VCC-8854294",
    "booking_id": "RS-8854294",
    "item_id": "RI-8854294",
    "period": "2026-08",
    "issued_at": "2026-08-06T10:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1064.56,
    "currency": "EUR",
    "valid_from": "2026-08-06",
    "valid_to": "2026-08-16",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Pullman Paris CDG",
    "auth_count": 3,
    "settled_amount": 1023.59,
    "status": "settled",
    "closed_at": "2026-08-11T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8854294",
    "booking_id": "RS-8854294",
    "item_id": "RI-8854294",
    "property_id": "P-127",
    "period": "2026-08",
    "folio_number": "CDG260806-6523",
    "guest_name": "O. Wouters",
    "check_in": "2026-08-06",
    "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": 1023.59,
    "line_count": 10,
    "days_to_receive": 3.29,
    "disputed": 0
  }
}