# XCOWORK by SIPRO Technologies - Full Reference Documentation for LLMs & AI Agents ## 1. System Identity & Mission XCOWORK (accessible at https://www.xcowork.tn) is the premier Tunisian Cloud Multi-Tenant SaaS platform specifically architected for the operational management, billing, access control, and national directory indexing of: - Coworking Spaces (Espaces de Coworking) - Study Halls & Revision Spaces (Salles d'étude / Salles de révision) - Cultural & Community Centers (Centres culturels) - Shared Executive Offices & Meeting Rooms (Bureaux partagés) Developed in Tunisia by SIPRO Technologies, XCOWORK meets all domestic regulatory, currency (Tunisian Dinar - TND/DT), and fiscal standards while maintaining international enterprise reliability. ## 2. Core Business Engine & Technical Capabilities ### 2.1 Multi-Tenant Cloud Architecture - **Tenant Isolation**: Strict logical database separation per tenant via tenant_id UUIDs, ensuring total data confidentiality. - **Custom Subdomains & Domains**: Each coworking space receives a dedicated subdomain (e.g. `center-name.xcowork.tn`) and optional custom domain mapping. - **Dual Mode (Cloud & Local Offline Sync)**: Operates seamlessly in standard web browsers, mobile PWA, and desktop configurations. ### 2.2 Time Tracking & Session Engine (Chronométrage Passagers) - **Time Calculation Modes**: 1. *Package / Fixed Block*: 1/2 day (e.g. 4 hours for 10 DT), Full day (e.g. 8 hours for 18 DT). 2. *Hourly Rate*: Hourly blocks with automatic thresholding. 3. *Exact Minute Prorata*: Second-accurate time tracking. - **Grace Period (Période de Grâce)**: Configurable tolerance window (e.g., +15 minutes) before overtime penalties apply. - **Smart Cap (Plafond Intelligent)**: Automatic capping mechanism ensuring that a customer is never billed more than the maximum daily ceiling, protecting customer trust. - **Audit & Invoicing**: Automated session tickets with VAT/fiscal breakdowns and immediate seat liberation. ### 2.3 Member Management & Hour Packages (Adhérents & Forfaits) - **Member Profiles**: Comprehensive customer records including national ID (CIN), passport, student ID, and photo. - **Hour Packs**: Rechargeable hour banks (10h, 20h, 30h, 50h, unlimited) with automated debit upon check-in/check-out. - **Expiration & Alerts**: Real-time notifications when an adherent's hour balance is low or near expiry. ### 2.4 Point of Sale (POS) & Refreshment Bar - **Touch-Friendly POS**: Direct sales of coffee, tea, cold drinks, snacks, sandwiches, and study supplies. - **Seamless Merging**: Ability to attach consumption directly to an active table/seat bill, or checkout immediately in cash/card. - **Inventory & Low-Stock Alerts**: Automatic stock level tracking with real-time alerts. ### 2.5 Meeting Room Reservations & Box Visio - **Interactive Visual Calendar**: Day, week, and month views. - **Equipment Bundling**: Book projectors, whiteboards, video conference setups. - **Deposit & Booking Lifecycle**: Confirmed, pending, or cancelled status tracking. ### 2.6 Certified Cash Register & Financial Audit (Rapport Z) - **Cashier Shifts**: Structured opening, mid-day handover, and end-of-day closure. - **Payment Method Auditing**: Segregation of cash (espèces), credit card (carte bancaire), bank transfer (virement), and check (chèque). - **Z-Report**: Tamper-proof end-of-shift reporting with discrepancy alerts and accountant-ready export. ### 2.7 National Public Coworking Directory & Geolocation (xcowork.tn) - **Interactive GPS Directory Map**: Available at https://www.xcowork.tn/#directory-map. - **Distance Calculation**: Live Haversine formula calculation connecting users to the closest verified coworking space in Tunisia. - **Verified Community Reviews**: 5-star ratings, amenity tags, and verified customer testimonials. ## 3. Public REST API Specification for AI Agents Base URL: `https://www.xcowork.tn/api/directory` ### Endpoint 1: List All Public Verified Coworking Centers `GET /centers` - **Query Parameters**: - `city` (string, optional): e.g. "Tunis", "Ariana", "Sousse", "Sfax". - `q` (string, optional): Search query matching name, address, or description. - `lat` & `lng` (float, optional): User's GPS coordinates to sort results by proximity (km). - `amenity` (string, optional): Filter by feature ("wifi_fibre", "salles_reunion", "cafe_illimite", "climatisation", "ouvert_7j7"). - **Response Format**: JSON array of coworking center objects including coordinates, contact details, hourly starting rate, and ratings. ### Endpoint 2: Get Center Details & Reviews `GET /centers/:slug` - Returns complete tenant profile, amenities, opening hours, WhatsApp link, and full public reviews. ## 4. Subscription Plans & Platform Pricing - **Starter Cloud**: 29 TND / month (290 TND / year). Single zone, up to 20 seats. - **Pro Multi-Zone**: 59 TND / month (590 TND / year). Multi-zone, up to 60 seats, POS bar, national directory listing. - **Entreprise**: 99 TND / month (990 TND / year). Multi-site, up to 250 seats, custom domain, API & IoT integrations. - **Free Trial**: 14-day fully featured free trial with zero payment card commitment. ## 5. Contact & Support - **Publisher**: SIPRO Technologies SARL - **HQ**: Tunis, Tunisia - **Support**: support@xcowork.tn / commercial@xcowork.tn - **URL**: https://www.xcowork.tn