{
  "item": {
    "item_id": "RI-8853050",
    "period": "2026-08",
    "booking_id": "RS-8853050",
    "duty_id": "D-513050",
    "entity": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "crew_name": "C. Kavanagh",
    "station": "CGN",
    "property_id": "P-107",
    "hotel": "Ibis Koln Messe",
    "check_in": "2026-08-30",
    "check_out": "2026-09-01",
    "nights": 2,
    "booking_amount": 529.02,
    "card_auth": 554.02,
    "card_settled": 675.35,
    "folio_amount": 675.35,
    "variance": 146.33,
    "variance_pct": 27.66,
    "variance_category": "tax_fees",
    "match_state": "variance",
    "exception_type": "amount_variance",
    "state": "open",
    "resolution": null,
    "opened_at": "2026-09-01T02:10:00Z",
    "resolved_at": null,
    "final_at": null,
    "final_due_at": "2026-10-01",
    "age_days": 26,
    "auto_resolved": 0
  },
  "cards": [
    {
      "event_id": "CE-941",
      "item_id": "RI-8853050",
      "booking_id": "RS-8853050",
      "period": "2026-08",
      "vcc_ref": "VCC-8853050",
      "event_type": "issue",
      "amount": null,
      "currency": "EUR",
      "occurred_at": "2026-08-28T09:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853050",
      "source_ref": "feed-2026-08-941"
    },
    {
      "event_id": "CE-942",
      "item_id": "RI-8853050",
      "booking_id": "RS-8853050",
      "period": "2026-08",
      "vcc_ref": "VCC-8853050",
      "event_type": "auth",
      "amount": 554.02,
      "currency": "EUR",
      "occurred_at": "2026-08-30T14:20:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853050",
      "source_ref": "feed-2026-08-942"
    },
    {
      "event_id": "CE-943",
      "item_id": "RI-8853050",
      "booking_id": "RS-8853050",
      "period": "2026-08",
      "vcc_ref": "VCC-8853050",
      "event_type": "capture",
      "amount": 675.35,
      "currency": "EUR",
      "occurred_at": "2026-09-01T08:05:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853050",
      "source_ref": "feed-2026-08-943"
    },
    {
      "event_id": "CE-944",
      "item_id": "RI-8853050",
      "booking_id": "RS-8853050",
      "period": "2026-08",
      "vcc_ref": "VCC-8853050",
      "event_type": "settle",
      "amount": 675.35,
      "currency": "EUR",
      "occurred_at": "2026-09-03T03:00:00Z",
      "valid_from": "2026-08-30",
      "valid_to": "2026-09-04",
      "mcc_lock": "7011 lodging",
      "decline_reason": null,
      "issuer_ref": "CNF-853050",
      "source_ref": "feed-2026-08-944"
    }
  ],
  "folio": [
    {
      "line_id": "FL-RI-8853050-c0",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    },
    {
      "line_id": "FL-RI-8853050-r0",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "room",
      "description": "Room charge",
      "amount": 228.44,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    },
    {
      "line_id": "FL-RI-8853050-v0",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-08-30",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 15.99,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    },
    {
      "line_id": "FL-RI-8853050-c1",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "fee",
      "description": "City / tourist tax",
      "amount": 5,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    },
    {
      "line_id": "FL-RI-8853050-r1",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "room",
      "description": "Room charge",
      "amount": 256.63,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    },
    {
      "line_id": "FL-RI-8853050-v1",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-08-31",
      "line_type": "tax",
      "description": "VAT 7%",
      "amount": 17.96,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    },
    {
      "line_id": "FL-RI-8853050-x",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "line_date": "2026-09-01",
      "line_type": "adjustment",
      "description": "Destination fee",
      "amount": 146.33,
      "disputed": 0,
      "received_at": "2026-09-05T07:00:00Z",
      "source_ref": "folio-8853050",
      "folio_id": "folio-8853050"
    }
  ],
  "events": [
    {
      "event_id": "RE-RI-8853050-1",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "seq": 1,
      "occurred_at": "2026-09-01T02:10:00Z",
      "event": "opened",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "Stay complete; reconciliation opened"
    },
    {
      "event_id": "RE-RI-8853050-2",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "seq": 2,
      "occurred_at": "2026-09-03T07:00:00Z",
      "event": "evidence_received",
      "actor": "folio-ingest",
      "actor_type": "rule",
      "note": "Folio received from property"
    },
    {
      "event_id": "RE-RI-8853050-3",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "seq": 3,
      "occurred_at": "2026-09-03T07:05:00Z",
      "event": "variance_detected",
      "actor": "match-engine",
      "actor_type": "rule",
      "note": "amount variance — 146.33 EUR"
    },
    {
      "event_id": "RE-RI-8853050-4",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "seq": 4,
      "occurred_at": "2026-09-04T10:20:00Z",
      "event": "category_assigned",
      "actor": "R. Menon",
      "actor_type": "human",
      "note": "Categorised as tax fees"
    }
  ],
  "ledger": [
    {
      "entry_id": "LE-RI-8853050-615",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-08-30",
      "entry_type": "pending",
      "amount": 554.02,
      "balance_effect": -554.02,
      "description": "Authorization held — Ibis Koln Messe",
      "posted_from_period": null
    },
    {
      "entry_id": "LE-RI-8853050-616",
      "item_id": "RI-8853050",
      "period": "2026-08",
      "legal_entity": "ASL Airlines (Ireland) Ltd",
      "entry_date": "2026-09-03",
      "entry_type": "posted",
      "amount": 675.35,
      "balance_effect": 0,
      "description": "Charge posted — Ibis Koln Messe",
      "posted_from_period": null
    }
  ],
  "nights": [
    {
      "night": "2026-08-30",
      "room_net": 228.44,
      "vat_amount": 15.99,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 249.43,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853050",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    },
    {
      "night": "2026-08-31",
      "room_net": 256.63,
      "vat_amount": 17.96,
      "city_tax": 5,
      "ancillaries": 0,
      "rate_paid": 279.59,
      "hotel": "Ibis Koln Messe",
      "duty_reason": "positioning",
      "night_status": "occupied",
      "vcc_ref": "VCC-8853050",
      "checkin_time": "14:00",
      "checkout_time": "11:00"
    }
  ],
  "booking": {
    "booking_id": "RS-8853050",
    "layover_id": "L-513051",
    "duty_id": "D-513050",
    "crew_id": "IRE-1087",
    "entity_id": "ASL Airlines Ireland",
    "legal_entity": "ASL Airlines (Ireland) Ltd",
    "station": "CGN",
    "property_id": "P-107",
    "vendor_id": "VEN-02",
    "contract_id": null,
    "revenue_model": "vendor_net",
    "channel": "automation",
    "requested_by": "rule:roster-watch",
    "created_at": "2026-08-27T14:00:00Z",
    "check_in": "2026-08-30",
    "check_out": "2026-09-01",
    "nights": 2,
    "room_type": "superior",
    "occupancy": 1,
    "lead_time_hours": 72,
    "confirmation_ref": "CNF-853050",
    "cancellation_deadline": null,
    "status": "completed",
    "period": "2026-08",
    "total_amount": 544.99
  },
  "duty": {
    "duty_id": "D-513050",
    "crew_id": "IRE-1087",
    "entity_id": "ASL Airlines Ireland",
    "roster_ref": "AIMS/202608/513050",
    "duty_type": "positioning",
    "flight_no": "ABR540",
    "dep_station": "EMA",
    "arr_station": "CGN",
    "duty_start_utc": "2026-08-29T12:15:00Z",
    "duty_end_utc": "2026-08-30T13:15:00Z",
    "duty_hours": 6.83,
    "block_hours": 6.55,
    "source_system": "aims",
    "published_at": "2026-08-23T06:00:00Z",
    "version": 1
  },
  "layover": {
    "layover_id": "L-513051",
    "duty_in": "D-513050",
    "duty_out": "D-513050R",
    "crew_id": "IRE-1087",
    "entity_id": "ASL Airlines Ireland",
    "station": "CGN",
    "rest_starts_utc": "2026-08-30T13:15:00Z",
    "rest_ends_utc": "2026-09-01T06:00:00Z",
    "rest_hours_available": 37.92,
    "sleep_opportunity_hours": 36.45,
    "transfer_in_minutes": 10,
    "transfer_out_minutes": 11,
    "nights": 2,
    "disrupted": 0,
    "period": "2026-08"
  },
  "evaluation": {
    "eval_id": "PE-13051",
    "period": "2026-08",
    "booking_id": "RS-8853050",
    "item_id": "RI-8853050",
    "ruleset": "2026.2",
    "evaluated_at": "2026-08-27T13:57:00Z",
    "channel": "automation",
    "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-8853050",
    "booking_id": "RS-8853050",
    "item_id": "RI-8853050",
    "period": "2026-08",
    "issued_at": "2026-08-27T14:00:00Z",
    "issuer": "Routespring card program",
    "limit_amount": 569.99,
    "currency": "EUR",
    "valid_from": "2026-08-30",
    "valid_to": "2026-09-08",
    "grace_days": 7,
    "mcc_lock": "7011 lodging",
    "merchant_lock": "Ibis Koln Messe",
    "auth_count": 2,
    "settled_amount": 529.02,
    "status": "settled",
    "closed_at": "2026-09-03T03:00:00Z"
  },
  "folioDoc": {
    "folio_id": "folio-8853050",
    "booking_id": "RS-8853050",
    "item_id": "RI-8853050",
    "property_id": "P-107",
    "period": "2026-08",
    "folio_number": "CGN260830-1518",
    "guest_name": "C. Kavanagh",
    "check_in": "2026-08-30",
    "check_out": "2026-09-01",
    "issued_at": "2026-09-01T09:30:00Z",
    "received_at": "2026-09-05T07:00:00Z",
    "received_via": "pms_feed",
    "currency": "EUR",
    "stated_total": 675.35,
    "line_count": 7,
    "days_to_receive": 4.29,
    "disputed": 0
  }
}