{
  "item": {
    "item_id": "RI-8853030",
    "period": "2026-08",
    "booking_id": "RS-8853030",
    "duty_id": "D-513030",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "G. Byrne",
    "station": "LGG",
    "property_id": "P-112",
    "hotel": "Husa de la Couronne",
    "check_in": "2026-08-10",
    "check_out": "2026-08-11",
    "nights": 1,
    "booking_amount": 286.64,
    "card_auth": 311.64,
    "card_settled": 315.49,
    "folio_amount": 315.49,
    "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-14T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-10",
    "age_days": 39,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-862",
      "item_id": "RI-8853030",
      "booking_id": "RS-8853030",
      "period": "2026-08",
      "vcc_ref": "VCC-8853030",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-08T09:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853030",
      "source_ref": "feed-2026-08-862"
    },
    {
      "event_id": "CE-863",
      "item_id": "RI-8853030",
      "booking_id": "RS-8853030",
      "period": "2026-08",
      "vcc_ref": "VCC-8853030",
      "event_type": "auth",
      "amount": 311.64,
      "currency": "EUR",
      "occurred_at": "2026-08-10T14:20:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853030",
      "source_ref": "feed-2026-08-863"
    },
    {
      "event_id": "CE-864",
      "item_id": "RI-8853030",
      "booking_id": "RS-8853030",
      "period": "2026-08",
      "vcc_ref": "VCC-8853030",
      "event_type": "capture",
      "amount": 315.49,
      "currency": "EUR",
      "occurred_at": "2026-08-11T08:05:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853030",
      "source_ref": "feed-2026-08-864"
    },
    {
      "event_id": "CE-865",
      "item_id": "RI-8853030",
      "booking_id": "RS-8853030",
      "period": "2026-08",
      "vcc_ref": "VCC-8853030",
      "event_type": "settle",
      "amount": 315.49,
      "currency": "EUR",
      "occurred_at": "2026-08-13T03:00:00Z",
      "valid_from": "2026-08-10",
      "valid_to": "2026-08-14",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853030",
      "source_ref": "feed-2026-08-865"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853030-c0",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 4,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853030",
      "folio_id": "folio-8853030"
    },
    {
      "line_id": "FL-RI-8853030-a0",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 28.85,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853030",
      "folio_id": "folio-8853030"
    },
    {
      "line_id": "FL-RI-8853030-r0",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "room",
      "description": "Room charge",
      "amount": 266.64,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853030",
      "folio_id": "folio-8853030"
    },
    {
      "line_id": "FL-RI-8853030-v0",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "line_date": "2026-08-10",
      "line_type": "tax",
      "description": "VAT 6%",
      "amount": 16,
      "disputed": 0,
      "received_at": "2026-08-13T07:00:00Z",
      "source_ref": "folio-8853030",
      "folio_id": "folio-8853030"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853030-1",
      "item_id": "RI-8853030",
      "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-8853030-2",
      "item_id": "RI-8853030",
      "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-8853030-3",
      "item_id": "RI-8853030",
      "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-8853030-4",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-21T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853030-562",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-10",
      "entry_type": "pending",
      "amount": 311.64,
      "balance_effect": -311.64,
      "description": "Authorization held — Husa de la Couronne",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853030-563",
      "item_id": "RI-8853030",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-13",
      "entry_type": "posted",
      "amount": 315.49,
      "balance_effect": 0,
      "description": "Charge posted — Husa de la Couronne",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-10",
      "room_net": 266.64,
      "vat_amount": 16,
      "city_tax": 4,
      "ancillaries": 28.85,
      "rate_paid": 286.64,
      "hotel": "Husa de la Couronne",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853030",
      "checkin_time": "15:00",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8853030",
    "layover_id": "L-513031",
    "duty_id": "D-513030",
    "crew_id": "IRE-1012",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "LGG",
    "property_id": "P-112",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-01T15:00:00Z",
    "check_in": "2026-08-10",
    "check_out": "2026-08-11",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-853030",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 331.46
  },
  "duty": {
    "duty_id": "D-513030",
    "crew_id": "IRE-1012",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513030",
    "duty_type": "overnight",
    "flight_no": "ABR208",
    "dep_station": "DUB",
    "arr_station": "LGG",
    "duty_start_utc": "2026-08-09T18:05:00Z",
    "duty_end_utc": "2026-08-10T13:49:00Z",
    "duty_hours": 10.96,
    "block_hours": 8.44,
    "source_system": "aims",
    "published_at": "2026-07-23T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513031",
    "duty_in": "D-513030",
    "duty_out": "D-513030R",
    "crew_id": "IRE-1012",
    "entity_id": "ASL Airlines Ireland",
    "station": "LGG",
    "rest_starts_utc": "2026-08-10T13:49:00Z",
    "rest_ends_utc": "2026-08-11T08:45:00Z",
    "rest_hours_available": 15.97,
    "sleep_opportunity_hours": 12.87,
    "transfer_in_minutes": 36,
    "transfer_out_minutes": 34,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13031",
    "period": "2026-08",
    "booking_id": "RS-8853030",
    "item_id": "RI-8853030",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-01T14:57:00Z",
    "channel": "automation",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "LGG",
    "outcome": "soft_breach",
    "breach_count": 2,
    "cost_impact": 165.57,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2771",
    "eval_id": "PE-13031",
    "period": "2026-08",
    "approver": "P. Costa",
    "approver_role": "travel_desk",
    "reason": "Single-night stay, sourcing not economic",
    "approved_at": "2026-08-01T14:58:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-6843",
      "eval_id": "PE-13031",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 136.72,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    },
    {
      "breach_id": "PB-6844",
      "eval_id": "PE-13031",
      "period": "2026-08",
      "rule_id": "R-ANC",
      "layer": "commercial",
      "severity": "warn",
      "observed": "28.85 EUR uncovered",
      "limit_value": "breakfast, wifi",
      "cost_impact": 28.85,
      "resolved": "auto_allowed",
      "name": "Covered ancillaries",
      "authority": "ASL",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853030",
    "booking_id": "RS-8853030",
    "item_id": "RI-8853030",
    "period": "2026-08",
    "issued_at": "2026-08-01T15:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 356.46,
    "currency": "EUR",
    "valid_from": "2026-08-10",
    "valid_to": "2026-08-18",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Husa de la Couronne",
    "auth_count": 1,
    "settled_amount": 315.49,
    "status": "authorised",
    "closed_at": "2026-08-13T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853030",
    "booking_id": "RS-8853030",
    "item_id": "RI-8853030",
    "property_id": "P-112",
    "period": "2026-08",
    "folio_number": "LGG260810-8358",
    "guest_name": "G. Byrne",
    "check_in": "2026-08-10",
    "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": 315.49,
    "line_count": 4,
    "days_to_receive": 2.29,
    "disputed": 0
  }
}