{
  "item": {
    "item_id": "RI-8853310",
    "period": "2026-08",
    "booking_id": "RS-8853310",
    "duty_id": "D-513310",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "E. O Conaill",
    "station": "CGN",
    "property_id": "P-107",
    "hotel": "Ibis Koln Messe",
    "check_in": "2026-08-15",
    "check_out": "2026-08-16",
    "nights": 1,
    "booking_amount": 256.65,
    "card_auth": 281.65,
    "card_settled": null,
    "folio_amount": 256.65,
    "variance": 0,
    "variance_pct": 0,
    "variance_category": null,
    "match_state": "unmatched",
    "exception_type": "charge_after_expiry",
    "state": "final",
    "resolution": "disputed_recovered",
    "opened_at": "2026-08-16T02:10:00Z",
    "resolved_at": "2026-08-21T11:00:00Z",
    "final_at": "2026-09-15T00:01:00Z",
    "final_due_at": "2026-09-15",
    "age_days": 18,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-1984",
      "item_id": "RI-8853310",
      "booking_id": "RS-8853310",
      "period": "2026-08",
      "vcc_ref": "VCC-8853310",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-13T09:00:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-19",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853310",
      "source_ref": "feed-2026-08-1984"
    },
    {
      "event_id": "CE-1985",
      "item_id": "RI-8853310",
      "booking_id": "RS-8853310",
      "period": "2026-08",
      "vcc_ref": "VCC-8853310",
      "event_type": "auth",
      "amount": 281.65,
      "currency": "EUR",
      "occurred_at": "2026-08-15T14:20:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-19",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853310",
      "source_ref": "feed-2026-08-1985"
    },
    {
      "event_id": "CE-1986",
      "item_id": "RI-8853310",
      "booking_id": "RS-8853310",
      "period": "2026-08",
      "vcc_ref": "VCC-8853310",
      "event_type": "expire",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-19T00:00:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-19",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853310",
      "source_ref": "feed-2026-08-1986"
    },
    {
      "event_id": "CE-1987",
      "item_id": "RI-8853310",
      "booking_id": "RS-8853310",
      "period": "2026-08",
      "vcc_ref": "VCC-8853310",
      "event_type": "decline",
      "amount": 256.65,
      "currency": "EUR",
      "occurred_at": "2026-08-21T10:15:00Z",
      "valid_from": "2026-08-15",
      "valid_to": "2026-08-19",
      "mcc_lock": "7011 lodging",
      "decline_reason": "outside_window",
      "issuer_ref": "CNF-853310",
      "source_ref": "feed-2026-08-1987"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853310-c0",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8853310",
      "folio_id": "folio-8853310"
    },
    {
      "line_id": "FL-RI-8853310-r0",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "room",
      "description": "Room charge",
      "amount": 235.19,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8853310",
      "folio_id": "folio-8853310"
    },
    {
      "line_id": "FL-RI-8853310-v0",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "line_date": "2026-08-15",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 16.46,
      "disputed": 0,
      "received_at": "2026-08-21T07:00:00Z",
      "source_ref": "folio-8853310",
      "folio_id": "folio-8853310"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853310-1",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-08-16T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853310-2",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-08-18T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853310-3",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-08-18T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "charge after expiry"
    },
    {
      "event_id": "RE-RI-8853310-4",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-08-20T14:00:00Z",
      "event": "disputed",
      "actor": "A. Sheshadri",
      "actor_type": "human",
      "note": "Raised with the issuing bank"
    },
    {
      "event_id": "RE-RI-8853310-5",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 5,
      "occurred_at": "2026-08-28T16:30:00Z",
      "event": "credit_received",
      "actor": "issuer-feed",
      "actor_type": "rule",
      "note": "Credit received"
    },
    {
      "event_id": "RE-RI-8853310-6",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 6,
      "occurred_at": "2026-08-20T11:00:00Z",
      "event": "resolved",
      "actor": "P. Costa",
      "actor_type": "human",
      "note": "Resolution: disputed_recovered"
    },
    {
      "event_id": "RE-RI-8853310-7",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "seq": 7,
      "occurred_at": "2026-09-15T00: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-8853310-1311",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-15",
      "entry_type": "pending",
      "amount": 281.65,
      "balance_effect": -281.65,
      "description": "Authorization held — Ibis Koln Messe",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853310-1312",
      "item_id": "RI-8853310",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-19",
      "entry_type": "voided",
      "amount": 281.65,
      "balance_effect": 281.65,
      "description": "Authorization expired unused",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-15",
      "room_net": 235.19,
      "vat_amount": 16.46,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 256.65,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "overnight",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853310",
      "checkin_time": "14:00",
      "checkout_time": "04:30"
    }
  ],
  "booking": {
    "booking_id": "RS-8853310",
    "layover_id": "L-513311",
    "duty_id": "D-513310",
    "crew_id": "IRE-1073",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-107",
    "vendor_id": null,
    "contract_id": "C-107",
    "revenue_model": "routespring_contract",
    "channel": "crew_app",
    "requested_by": "IRE-1073",
    "created_at": "2026-08-06T14:00:00Z",
    "check_in": "2026-08-15",
    "check_out": "2026-08-16",
    "nights": 1,
    "room_type": "standard",
    "occupancy": 1,
    "lead_time_hours": 216,
    "confirmation_ref": "CNF-853310",
    "cancellation_deadline": "2026-08-14T18:00:00Z",
    "status": "completed",
    "period": "2026-08",
    "total_amount": 272.62
  },
  "duty": {
    "duty_id": "D-513310",
    "crew_id": "IRE-1073",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513310",
    "duty_type": "overnight",
    "flight_no": "ABR119",
    "dep_station": "EMA",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-14T09:40:00Z",
    "duty_end_utc": "2026-08-15T13:15:00Z",
    "duty_hours": 10.21,
    "block_hours": 4.13,
    "source_system": "aims",
    "published_at": "2026-08-03T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513311",
    "duty_in": "D-513310",
    "duty_out": "D-513310R",
    "crew_id": "IRE-1073",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-15T13:15:00Z",
    "rest_ends_utc": "2026-08-16T08:45:00Z",
    "rest_hours_available": 14.69,
    "sleep_opportunity_hours": 12.92,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 11,
    "nights": 1,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13311",
    "period": "2026-08",
    "booking_id": "RS-8853310",
    "item_id": "RI-8853310",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-06T13:57:00Z",
    "channel": "travel_desk",
    "traveller_type": "crew",
    "entity": "ASL Airlines Ireland",
    "station": "CGN",
    "outcome": "pass",
    "breach_count": 0,
    "cost_impact": 0,
    "self_served": 0
  },
  "approval": null,
  "breaches": [],
  "changes": [],
  "card": {
    "vcc_ref": "VCC-8853310",
    "booking_id": "RS-8853310",
    "item_id": "RI-8853310",
    "period": "2026-08",
    "issued_at": "2026-08-06T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 297.62,
    "currency": "EUR",
    "valid_from": "2026-08-15",
    "valid_to": "2026-08-23",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Koln Messe",
    "auth_count": 1,
    "settled_amount": 256.65,
    "status": "settled",
    "closed_at": "2026-08-18T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853310",
    "booking_id": "RS-8853310",
    "item_id": "RI-8853310",
    "property_id": "P-107",
    "period": "2026-08",
    "folio_number": "CGN260815-4639",
    "guest_name": "E. O Conaill",
    "check_in": "2026-08-15",
    "check_out": "2026-08-16",
    "issued_at": "2026-08-16T09:30:00Z",
    "received_at": "2026-08-21T07:00:00Z",
    "received_via": "email_pdf",
    "currency": "EUR",
    "stated_total": 256.65,
    "line_count": 3,
    "days_to_receive": 5.29,
    "disputed": 1
  }
}