{
  "item": {
    "item_id": "RI-8852841",
    "period": "2026-08",
    "booking_id": "RS-8852841",
    "duty_id": "D-512841",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "R. Byrne",
    "station": "DUB",
    "property_id": "P-102",
    "hotel": "Maldron Hotel Dublin Airport",
    "check_in": "2026-08-23",
    "check_out": "2026-08-27",
    "nights": 4,
    "booking_amount": 1201.78,
    "card_auth": 1226.78,
    "card_settled": 1248.42,
    "folio_amount": 1248.42,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "matched",
    "exception_type": null,
    "state": "final",
    "resolution": "legitimate",
    "opened_at": "2026-08-27T02:10:00Z",
    "resolved_at": "2026-08-30T11:00:00Z",
    "final_at": "2026-09-26T00:01:00Z",
    "final_due_at": "2026-09-26",
    "age_days": 16,
    "auto_resolved": 1
  },
  "cards": [
    {
      "event_id": "CE-110",
      "item_id": "RI-8852841",
      "booking_id": "RS-8852841",
      "period": "2026-08",
      "vcc_ref": "VCC-8852841",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-21T09:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852841",
      "source_ref": "feed-2026-08-110"
    },
    {
      "event_id": "CE-111",
      "item_id": "RI-8852841",
      "booking_id": "RS-8852841",
      "period": "2026-08",
      "vcc_ref": "VCC-8852841",
      "event_type": "auth",
      "amount": 1226.78,
      "currency": "EUR",
      "occurred_at": "2026-08-23T14:20:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852841",
      "source_ref": "feed-2026-08-111"
    },
    {
      "event_id": "CE-112",
      "item_id": "RI-8852841",
      "booking_id": "RS-8852841",
      "period": "2026-08",
      "vcc_ref": "VCC-8852841",
      "event_type": "capture",
      "amount": 1248.42,
      "currency": "EUR",
      "occurred_at": "2026-08-27T08:05:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852841",
      "source_ref": "feed-2026-08-112"
    },
    {
      "event_id": "CE-113",
      "item_id": "RI-8852841",
      "booking_id": "RS-8852841",
      "period": "2026-08",
      "vcc_ref": "VCC-8852841",
      "event_type": "settle",
      "amount": 1248.42,
      "currency": "EUR",
      "occurred_at": "2026-08-29T03:00:00Z",
      "valid_from": "2026-08-23",
      "valid_to": "2026-08-30",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-852841",
      "source_ref": "feed-2026-08-113"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8852841-r0",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "room",
      "description": "Room charge",
      "amount": 230.52,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-v0",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-23",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 31.12,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-r1",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "room",
      "description": "Room charge",
      "amount": 266.75,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-v1",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-24",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 36.01,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-a2",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "incidental",
      "description": "Parking",
      "amount": 30.83,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-r2",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "room",
      "description": "Room charge",
      "amount": 272.7,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-v2",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-25",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 36.81,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-a3",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "incidental",
      "description": "Late checkout",
      "amount": 15.81,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-r3",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "room",
      "description": "Room charge",
      "amount": 288.87,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    },
    {
      "line_id": "FL-RI-8852841-v3",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "line_date": "2026-08-26",
      "line_type": "tax",
      "description": "VAT 13.5%",
      "amount": 39,
      "disputed": 0,
      "received_at": "2026-09-01T07:00:00Z",
      "source_ref": "folio-8852841",
      "folio_id": "folio-8852841"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8852841-1",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-27T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8852841-2",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-29T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8852841-3",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-29T07:05:00Z",
      "event": "matched",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Booking, card and folio agree within tolerance"
    },
    {
      "event_id": "RE-RI-8852841-4",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-04T11:00:00Z",
      "event": "resolved",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Resolution: legitimate"
    },
    {
      "event_id": "RE-RI-8852841-5",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-09-26T00:01:00Z",
      "event": "finalised",
      "actor": "close-engine",
      "actor_type": "rule",
      "note": "30 days from last known checkout elapsed; entry immutable"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8852841-73",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-23",
      "entry_type": "pending",
      "amount": 1226.78,
      "balance_effect": -1226.78,
      "description": "Authorization held — Maldron Hotel Dublin Airport",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8852841-74",
      "item_id": "RI-8852841",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-29",
      "entry_type": "posted",
      "amount": 1248.42,
      "balance_effect": 0,
      "description": "Charge posted — Maldron Hotel Dublin Airport",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-23",
      "room_net": 230.52,
      "vat_amount": 31.12,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 261.64,
      "hotel": "Maldron Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852841",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-24",
      "room_net": 266.75,
      "vat_amount": 36.01,
      "city_tax": 0,
      "ancillaries": 0,
      "rate_paid": 302.76,
      "hotel": "Maldron Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852841",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-25",
      "room_net": 272.7,
      "vat_amount": 36.81,
      "city_tax": 0,
      "ancillaries": 30.83,
      "rate_paid": 309.51,
      "hotel": "Maldron Hotel Dublin Airport",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852841",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    },
    {
      "night": "2026-08-26",
      "room_net": 288.87,
      "vat_amount": 39,
      "city_tax": 0,
      "ancillaries": 15.81,
      "rate_paid": 327.87,
      "hotel": "Maldron Hotel Dublin Airport",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8852841",
      "checkin_time": "22:30",
      "checkout_time": "08:15"
    }
  ],
  "booking": {
    "booking_id": "RS-8852841",
    "layover_id": "L-512842",
    "duty_id": "D-512841",
    "crew_id": "IRE-1084",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "DUB",
    "property_id": "P-102",
    "vendor_id": "VEN-03",
    "contract_id": null,
    "revenue_model": "vendor_commission",
    "channel": "travel_desk",
    "requested_by": "U-102",
    "created_at": "2026-08-18T22:30:00Z",
    "check_in": "2026-08-23",
    "check_out": "2026-08-27",
    "nights": 4,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 120,
    "confirmation_ref": "CNF-852841",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 1264.39
  },
  "duty": {
    "duty_id": "D-512841",
    "crew_id": "IRE-1084",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/512841",
    "duty_type": "overnight",
    "flight_no": "ABR867",
    "dep_station": "EMA",
    "arr_station": "DUB",
    "duty_start_utc": "2026-08-22T09:40:00Z",
    "duty_end_utc": "2026-08-23T21:32:00Z",
    "duty_hours": 9.21,
    "block_hours": 4.65,
    "source_system": "aims",
    "published_at": "2026-08-17T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-512842",
    "duty_in": "D-512841",
    "duty_out": "D-512841R",
    "crew_id": "IRE-1084",
    "entity_id": "ASL Airlines Ireland",
    "station": "DUB",
    "rest_starts_utc": "2026-08-23T21:32:00Z",
    "rest_ends_utc": "2026-08-27T11:20:00Z",
    "rest_hours_available": 80.88,
    "sleep_opportunity_hours": 78.92,
    "transfer_in_minutes": 23,
    "transfer_out_minutes": 20,
    "nights": 4,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-12842",
    "period": "2026-08",
    "booking_id": "RS-8852841",
    "item_id": "RI-8852841",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-18T22:27:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "DUB",
    "outcome": "soft_breach",
    "breach_count": 1,
    "cost_impact": 75.72,
    "self_served": 0
  },
  "approval": null,
  "breaches": [
    {
      "breach_id": "PB-6762",
      "eval_id": "PE-12842",
      "period": "2026-08",
      "rule_id": "R-SOURCE",
      "layer": "commercial",
      "severity": "warn",
      "observed": "GDS / last-room",
      "limit_value": "contract > bedbank > GDS",
      "cost_impact": 75.72,
      "resolved": "auto_allowed",
      "name": "Inventory order",
      "authority": "Routespring",
      "reference": null
    }
  ],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8852841",
    "booking_id": "RS-8852841",
    "item_id": "RI-8852841",
    "period": "2026-08",
    "issued_at": "2026-08-18T22:30:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 1289.39,
    "currency": "EUR",
    "valid_from": "2026-08-23",
    "valid_to": "2026-09-03",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Maldron Hotel Dublin Airport",
    "auth_count": 4,
    "settled_amount": 1248.42,
    "status": "settled",
    "closed_at": "2026-08-29T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8852841",
    "booking_id": "RS-8852841",
    "item_id": "RI-8852841",
    "property_id": "P-102",
    "period": "2026-08",
    "folio_number": "DUB260823-9084",
    "guest_name": "R. Byrne",
    "check_in": "2026-08-23",
    "check_out": "2026-08-27",
    "issued_at": "2026-08-27T09:30:00Z",
    "received_at": "2026-09-01T07:00:00Z",
    "received_via": "manual",
    "currency": "EUR",
    "stated_total": 1248.42,
    "line_count": 10,
    "days_to_receive": 5.29,
    "disputed": 0
  }
}