{
  "item": {
    "item_id": "RI-8853479",
    "period": "2026-08",
    "booking_id": "RS-8853479",
    "duty_id": "D-513479",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "R. Brennan",
    "station": "DUB",
    "property_id": "P-103",
    "hotel": "Radisson Blu Dublin Airport",
    "check_in": "2026-08-06",
    "check_out": "2026-08-09",
    "nights": 3,
    "booking_amount": 810.85,
    "card_auth": 835.85,
    "card_settled": null,
    "folio_amount": 889.21,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "charge_after_expiry",
    "state": "resolved",
    "resolution": "absorbed",
    "opened_at": "2026-08-09T02:10:00Z",
    "resolved_at": "2026-08-20T11:00:00Z",
    "final_at": null,
    "final_due_at": "2026-09-08",
    "age_days": 16,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-2663",
      "item_id": "RI-8853479",
      "booking_id": "RS-8853479",
      "period": "2026-08",
      "vcc_ref": "VCC-8853479",
      "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-853479",
      "source_ref": "feed-2026-08-2663"
    },
    {
      "event_id": "CE-2664",
      "item_id": "RI-8853479",
      "booking_id": "RS-8853479",
      "period": "2026-08",
      "vcc_ref": "VCC-8853479",
      "event_type": "auth",
      "amount": 835.85,
      "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-853479",
      "source_ref": "feed-2026-08-2664"
    },
    {
      "event_id": "CE-2665",
      "item_id": "RI-8853479",
      "booking_id": "RS-8853479",
      "period": "2026-08",
      "vcc_ref": "VCC-8853479",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-12T00:00:00Z",
      "valid_from": "2026-08-06",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853479",
      "source_ref": "feed-2026-08-2665"
    },
    {
      "event_id": "CE-2666",
      "item_id": "RI-8853479",
      "booking_id": "RS-8853479",
      "period": "2026-08",
      "vcc_ref": "VCC-8853479",
      "event_type": "decline",
      "amount": 889.21,
      "currency": "EUR",
      "occurred_at": "2026-08-14T10:15:00Z",
      "valid_from": "2026-08-06",
      "valid_to": "2026-08-12",
      "mcc_lock": "7011 lodging",
      "decline_reason": "outside_window",
      "issuer_ref": "CNF-853479",
      "source_ref": "feed-2026-08-2666"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853479-a0",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "incidental",
      "description": "Breakfast",
      "amount": 23.14,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-r0",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "room",
      "description": "Room charge",
      "amount": 262.25,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-v0",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-06",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 35.4,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-a1",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 26.5,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-r1",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "room",
      "description": "Room charge",
      "amount": 237.31,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-v1",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-07",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 32.04,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-a2",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "incidental",
      "description": "Minibar",
      "amount": 28.72,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-r2",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "room",
      "description": "Room charge",
      "amount": 214.85,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    },
    {
      "line_id": "FL-RI-8853479-v2",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "line_date": "2026-08-08",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 29,
      "disputed": 0,
      "received_at": "2026-08-15T07:00:00Z",
      "source_ref": "folio-8853479",
      "folio_id": "folio-8853479"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853479-1",
      "item_id": "RI-8853479",
      "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-8853479-2",
      "item_id": "RI-8853479",
      "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-8853479-3",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-11T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "charge after expiry"
    },
    {
      "event_id": "RE-RI-8853479-4",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-21T11:00:00Z",
      "event": "resolved",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Resolution: absorbed"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853479-1767",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-06",
      "entry_type": "pending",
      "amount": 835.85,
      "balance_effect": -835.85,
      "description": "Authorization held — Radisson Blu Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853479-1768",
      "item_id": "RI-8853479",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-12",
      "entry_type": "voided",
      "amount": 835.85,
      "balance_effect": 835.85,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-06",
      "room_net": 262.25,
      "vat_amount": 35.4,
      "city_tax": 0,
      "ancillaries": 23.14,
      "rate_paid": 297.65,
      "hotel": "Radisson Blu Dublin Airport",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853479",
      "checkin_time": "05:40",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-07",
      "room_net": 237.31,
      "vat_amount": 32.04,
      "city_tax": 0,
      "ancillaries": 26.5,
      "rate_paid": 269.35,
      "hotel": "Radisson Blu Dublin Airport",
      "duty_reason": "training",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853479",
      "checkin_time": "05:40",
      "checkout_time": "12:00"
    },
    {
      "night": "2026-08-08",
      "room_net": 214.85,
      "vat_amount": 29,
      "city_tax": 0,
      "ancillaries": 28.72,
      "rate_paid": 243.85,
      "hotel": "Radisson Blu Dublin Airport",
      "duty_reason": "training",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853479",
      "checkin_time": "05:40",
      "checkout_time": "12:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853479",
    "layover_id": "L-513480",
    "duty_id": "D-513479",
    "crew_id": "IRE-S213",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "DUB",
    "property_id": "P-103",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "staff_portal",
    "requested_by": "U-103",
    "created_at": "2026-08-04T05:40:00Z",
    "check_in": "2026-08-06",
    "check_out": "2026-08-09",
    "nights": 3,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 48,
    "confirmation_ref": "CNF-853479",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 905.18
  },
  "duty": {
    "duty_id": "D-513479",
    "crew_id": "IRE-S213",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513479",
    "duty_type": "positioning",
    "flight_no": "ABR809",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-05T12:15:00Z",
    "duty_end_utc": "2026-08-06T04:14:00Z",
    "duty_hours": 8.66,
    "block_hours": 6.93,
    "source_system": "aims",
    "published_at": "2026-07-18T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513480",
    "duty_in": "D-513479",
    "duty_out": "D-513479R",
    "crew_id": "IRE-S213",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-06T04:14:00Z",
    "rest_ends_utc": "2026-08-09T11:20:00Z",
    "rest_hours_available": 58.98,
    "sleep_opportunity_hours": 55.46,
    "transfer_in_minutes": 51,
    "transfer_out_minutes": 44,
    "nights": 3,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13480",
    "period": "2026-08",
    "booking_id": "RS-8853479",
    "item_id": "RI-8853479",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-04T05:37:00Z",
    "channel": "staff_portal",
    "traveller_type": "staff",
    "entity": "ASL Airlines Ireland",
    "station": "DUB",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 59.27,
    "self_served": 0
  },
  "approval": {
    "approval_id": "PA-2838",
    "eval_id": "PE-13480",
    "period": "2026-08",
    "approver": "M. Dupont",
    "approver_role": "line_manager",
    "reason": "Late schedule change inside window",
    "approved_at": "2026-08-04T05:38:48Z",
    "second_approver": null
  },
  "breaches": [
    {
      "breach_id": "PB-7031",
      "eval_id": "PE-13480",
      "period": "2026-08",
      "rule_id": "R-PREF",
      "layer": "commercial",
      "severity": "approve",
      "observed": "Booked away from preferred order",
      "limit_value": "preferred order",
      "cost_impact": 59.27,
      "resolved": "approved",
      "name": "Preferred property order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853479",
    "booking_id": "RS-8853479",
    "item_id": "RI-8853479",
    "period": "2026-08",
    "issued_at": "2026-08-04T05:40:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 930.18,
    "currency": "EUR",
    "valid_from": "2026-08-06",
    "valid_to": "2026-08-16",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Radisson Blu Dublin Airport",
    "auth_count": 3,
    "settled_amount": 889.21,
    "status": "settled",
    "closed_at": "2026-08-11T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853479",
    "booking_id": "RS-8853479",
    "item_id": "RI-8853479",
    "property_id": "P-103",
    "period": "2026-08",
    "folio_number": "DUB260806-9164",
    "guest_name": "R. Brennan",
    "check_in": "2026-08-06",
    "check_out": "2026-08-09",
    "issued_at": "2026-08-09T09:30:00Z",
    "received_at": "2026-08-15T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 889.21,
    "line_count": 9,
    "days_to_receive": 6.29,
    "disputed": 0
  }
}