{
 "app": "Gnexa CRM",
 "exported_at": "2026-11-19T15:55:56.687Z",
 "tables": {
  "company_settings": [
   {
    "id": true,
    "email": "accounts@gnexa.example.in",
    "gstin": "29AAGCG1234F1Z5",
    "phone": "+91 80 4000 2026",
    "theme": "violet",
    "address": "4th Floor, Prestige Tech Park\nOuter Ring Road, Bengaluru 560103\nKarnataka, India",
    "currency": "INR",
    "demo_mode": true,
    "kb_public": false,
    "updated_at": "2026-11-19T20:17:20.738119+05:30",
    "date_format": "dd MMM yyyy",
    "menu_config": {},
    "bank_details": "HDFC Bank · Koramangala branch\nA/c 50200012345678 · IFSC HDFC0001234",
    "company_name": "Gnexa Demo Co.",
    "invoice_note": "Thank you for your business.",
    "default_terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "estimate_terms": "Prices valid until the expiry date. Taxes as applicable.",
    "invoice_prefix": "INV",
    "number_padding": 5,
    "proposal_terms": null,
    "default_country": "India",
    "estimate_prefix": "EST",
    "proposal_prefix": "PRO",
    "disabled_modules": [],
    "invoice_due_days": 15,
    "quote_valid_days": 30,
    "credit_note_prefix": "CN",
    "contract_expiry_days": 7,
    "expiry_reminder_days": 3,
    "auto_expiry_reminders": true,
    "overdue_reminder_days": 7,
    "auto_overdue_reminders": true,
    "ticket_autoclose_hours": null
   }
  ],
  "roles": [
   {
    "id": 1,
    "name": "Sales Manager",
    "created_at": "2026-11-19T20:17:20.738119+05:30",
    "permissions": {
     "leads": "full",
     "sales": "full",
     "tasks": "full",
     "reports": "full",
     "support": "full",
     "expenses": "full",
     "projects": "full",
     "contracts": "full",
     "customers": "full",
     "knowledge_base": "full"
    }
   },
   {
    "id": 2,
    "name": "Sales Executive",
    "created_at": "2026-11-19T20:17:20.738119+05:30",
    "permissions": {
     "leads": "edit",
     "sales": "edit",
     "tasks": "edit",
     "reports": "view",
     "support": "edit",
     "expenses": "edit",
     "projects": "edit",
     "contracts": "edit",
     "customers": "edit",
     "knowledge_base": "view"
    }
   },
   {
    "id": 3,
    "name": "Support",
    "created_at": "2026-11-19T20:17:20.738119+05:30",
    "permissions": {
     "leads": "view",
     "sales": "view",
     "tasks": "edit",
     "reports": "view",
     "support": "full",
     "expenses": "none",
     "projects": "view",
     "contracts": "view",
     "customers": "view",
     "knowledge_base": "full"
    }
   }
  ],
  "profiles": [
   {
    "id": "a0000000-0000-4000-8000-000000000001",
    "email": "admin@demo.gnexa.app",
    "phone": null,
    "role_id": null,
    "is_admin": true,
    "full_name": "Aarav Mehta",
    "is_active": true,
    "job_title": "Administrator",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "dashboard_config": {}
   },
   {
    "id": "a0000000-0000-4000-8000-000000000002",
    "email": "manager@demo.gnexa.app",
    "phone": null,
    "role_id": 1,
    "is_admin": false,
    "full_name": "Priya Nair",
    "is_active": true,
    "job_title": "Sales Manager",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "dashboard_config": {}
   },
   {
    "id": "a0000000-0000-4000-8000-000000000003",
    "email": "executive@demo.gnexa.app",
    "phone": null,
    "role_id": 2,
    "is_admin": false,
    "full_name": "Rohan Kulkarni",
    "is_active": true,
    "job_title": "Sales Executive",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "dashboard_config": {}
   },
   {
    "id": "a0000000-0000-4000-8000-000000000004",
    "email": "support@demo.gnexa.app",
    "phone": null,
    "role_id": 3,
    "is_admin": false,
    "full_name": "Sneha Iyer",
    "is_active": true,
    "job_title": "Customer Support",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "dashboard_config": {}
   }
  ],
  "currencies": [
   {
    "id": 1,
    "code": "INR",
    "name": "Indian rupee",
    "rate": 1,
    "symbol": "₹",
    "is_base": true
   },
   {
    "id": 2,
    "code": "USD",
    "name": "US dollar",
    "rate": 83.2,
    "symbol": "$",
    "is_base": false
   },
   {
    "id": 3,
    "code": "EUR",
    "name": "Euro",
    "rate": 90.5,
    "symbol": "€",
    "is_base": false
   },
   {
    "id": 4,
    "code": "GBP",
    "name": "Pound sterling",
    "rate": 105.8,
    "symbol": "£",
    "is_base": false
   },
   {
    "id": 5,
    "code": "AED",
    "name": "UAE dirham",
    "rate": 22.65,
    "symbol": "AED",
    "is_base": false
   },
   {
    "id": 6,
    "code": "SGD",
    "name": "Singapore dollar",
    "rate": 61.9,
    "symbol": "S$",
    "is_base": false
   }
  ],
  "taxes": [
   {
    "id": 1,
    "name": "GST 5%",
    "rate": 5
   },
   {
    "id": 2,
    "name": "GST 12%",
    "rate": 12
   },
   {
    "id": 3,
    "name": "GST 18%",
    "rate": 18
   },
   {
    "id": 4,
    "name": "GST 28%",
    "rate": 28
   }
  ],
  "payment_modes": [
   {
    "id": 2,
    "name": "UPI",
    "is_active": true,
    "applies_to": "all",
    "is_default": false,
    "description": null,
    "show_on_invoice": false
   },
   {
    "id": 3,
    "name": "Cheque",
    "is_active": true,
    "applies_to": "all",
    "is_default": false,
    "description": null,
    "show_on_invoice": false
   },
   {
    "id": 4,
    "name": "Cash",
    "is_active": true,
    "applies_to": "all",
    "is_default": false,
    "description": null,
    "show_on_invoice": false
   },
   {
    "id": 5,
    "name": "Card",
    "is_active": true,
    "applies_to": "all",
    "is_default": false,
    "description": null,
    "show_on_invoice": false
   },
   {
    "id": 1,
    "name": "Bank transfer (NEFT/RTGS)",
    "is_active": true,
    "applies_to": "all",
    "is_default": true,
    "description": null,
    "show_on_invoice": false
   }
  ],
  "expense_categories": [
   {
    "id": 1,
    "name": "Travel"
   },
   {
    "id": 2,
    "name": "Office supplies"
   },
   {
    "id": 3,
    "name": "Software & subscriptions"
   },
   {
    "id": 4,
    "name": "Marketing"
   },
   {
    "id": 5,
    "name": "Meals & entertainment"
   },
   {
    "id": 6,
    "name": "Utilities"
   },
   {
    "id": 7,
    "name": "Contractors"
   }
  ],
  "customer_groups": [
   {
    "id": 1,
    "name": "VIP"
   },
   {
    "id": 2,
    "name": "Wholesale"
   },
   {
    "id": 3,
    "name": "Retail"
   }
  ],
  "lead_statuses": [
   {
    "id": 1,
    "name": "New",
    "color": "#6366f1",
    "is_won": false,
    "sort_order": 1
   },
   {
    "id": 2,
    "name": "Contacted",
    "color": "#0ea5e9",
    "is_won": false,
    "sort_order": 2
   },
   {
    "id": 3,
    "name": "Qualified",
    "color": "#14b8a6",
    "is_won": false,
    "sort_order": 3
   },
   {
    "id": 4,
    "name": "Proposal Sent",
    "color": "#f59e0b",
    "is_won": false,
    "sort_order": 4
   },
   {
    "id": 5,
    "name": "Negotiation",
    "color": "#f97316",
    "is_won": false,
    "sort_order": 5
   },
   {
    "id": 6,
    "name": "Customer",
    "color": "#22c55e",
    "is_won": true,
    "sort_order": 6
   }
  ],
  "lead_sources": [
   {
    "id": 1,
    "name": "Website"
   },
   {
    "id": 2,
    "name": "Referral"
   },
   {
    "id": 3,
    "name": "Google Ads"
   },
   {
    "id": 4,
    "name": "Facebook"
   },
   {
    "id": 5,
    "name": "LinkedIn"
   },
   {
    "id": 6,
    "name": "Cold Call"
   },
   {
    "id": 7,
    "name": "Trade Show"
   }
  ],
  "contract_types": [
   {
    "id": 1,
    "name": "Annual Maintenance (AMC)"
   },
   {
    "id": 2,
    "name": "Software Licence"
   },
   {
    "id": 3,
    "name": "Service Agreement"
   },
   {
    "id": 4,
    "name": "NDA"
   },
   {
    "id": 5,
    "name": "Statement of Work"
   }
  ],
  "ticket_departments": [
   {
    "id": 1,
    "name": "Technical support"
   },
   {
    "id": 2,
    "name": "Billing"
   },
   {
    "id": 3,
    "name": "Onboarding"
   },
   {
    "id": 4,
    "name": "Feature requests"
   }
  ],
  "kb_groups": [
   {
    "id": 1,
    "name": "Getting started",
    "color": "#0d9488",
    "position": 1,
    "is_active": true,
    "description": "First steps for new users"
   },
   {
    "id": 2,
    "name": "Billing & invoices",
    "color": "#0d9488",
    "position": 2,
    "is_active": true,
    "description": "Invoices, payments and GST"
   },
   {
    "id": 3,
    "name": "Troubleshooting",
    "color": "#0d9488",
    "position": 3,
    "is_active": true,
    "description": "Fixes for common problems"
   }
  ],
  "custom_fields": [
   {
    "id": 1,
    "type": "select",
    "label": "Industry",
    "entity": "customer",
    "options": [
     "Manufacturing",
     "Hospitality",
     "Retail",
     "Technology",
     "Healthcare",
     "Agriculture",
     "Real estate",
     "Logistics"
    ],
    "position": 1,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 2,
    "type": "select",
    "label": "Account tier",
    "entity": "customer",
    "options": [
     "Gold",
     "Silver",
     "Bronze"
    ],
    "position": 2,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 3,
    "type": "text",
    "label": "Renewal month",
    "entity": "customer",
    "options": [],
    "position": 3,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 4,
    "type": "date",
    "label": "Expected decision date",
    "entity": "lead",
    "options": [],
    "position": 1,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 5,
    "type": "number",
    "label": "Number of users",
    "entity": "lead",
    "options": [],
    "position": 2,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 6,
    "type": "text",
    "label": "Client PO number",
    "entity": "project",
    "options": [],
    "position": 1,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 7,
    "type": "select",
    "label": "Affected module",
    "entity": "ticket",
    "options": [
     "Login",
     "Invoices",
     "Reports",
     "Mobile app",
     "Integrations",
     "Other"
    ],
    "position": 1,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   },
   {
    "id": 8,
    "type": "text",
    "label": "Customer PO reference",
    "entity": "sales_doc",
    "options": [],
    "position": 1,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": true
   },
   {
    "id": 9,
    "type": "checkbox",
    "label": "Signed hard copy received",
    "entity": "contract",
    "options": [],
    "position": 1,
    "required": false,
    "is_active": true,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "show_on_pdf": false
   }
  ],
  "email_templates": [
   {
    "key": "invoice_send",
    "body": "Hi {contact_name},\n\nPlease find attached invoice {doc_number} for {total}, due {due_date}.\n\nYou can view and pay it online from your client portal.\n\nRegards,\n{company_name}",
    "name": "Invoice",
    "subject": "Invoice {doc_number} from {company_name}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Sending an invoice (also used for recurring copies)"
   },
   {
    "key": "estimate_send",
    "body": "Hi {contact_name},\n\nPlease find attached estimate {doc_number} for {total}. You can review and accept it online from your client portal.\n\nLet us know if you have any questions.\n\nRegards,\n{company_name}",
    "name": "Estimate",
    "subject": "Estimate {doc_number} from {company_name}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Sending an estimate"
   },
   {
    "key": "proposal_send",
    "body": "Hi {contact_name},\n\nThank you for your time. Please find our proposal {doc_number} attached — you can review and accept it online.\n\nRegards,\n{company_name}",
    "name": "Proposal",
    "subject": "Proposal {doc_number}: {subject}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Sending a proposal"
   },
   {
    "key": "credit_note_send",
    "body": "Hi {contact_name},\n\nPlease find attached credit note {doc_number} for {total}.\n\nRegards,\n{company_name}",
    "name": "Credit note",
    "subject": "Credit note {doc_number} from {company_name}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Sending a credit note"
   },
   {
    "key": "overdue_reminder",
    "body": "Hi {contact_name},\n\nThis is a friendly reminder that invoice {doc_number} was due on {due_date} and {balance} is still outstanding.\n\nIf you have already paid, please ignore this message.\n\nRegards,\n{company_name}",
    "name": "Overdue reminder",
    "subject": "Reminder: invoice {doc_number} is overdue",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Automatic and manual reminders for unpaid invoices"
   },
   {
    "key": "payment_receipt",
    "body": "Hi {contact_name},\n\nThank you! We received {amount} for invoice {doc_number}. Your reference is {reference}.\n\nRegards,\n{company_name}",
    "name": "Payment receipt",
    "subject": "Payment received — {doc_number}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Sent when a client pays online"
   },
   {
    "key": "subscription_invoice",
    "body": "Hi {contact_name},\n\nYour invoice {doc_number} for {plan} ({total}) is ready. You can pay it from your client portal.\n\nRegards,\n{company_name}",
    "name": "Subscription invoice",
    "subject": "Invoice {doc_number} — {plan}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Each billing period of a subscription"
   },
   {
    "key": "subscription_charged",
    "body": "Hi {contact_name},\n\nWe charged {total} to your card on file for {plan} (invoice {doc_number}). Thank you!\n\nRegards,\n{company_name}",
    "name": "Subscription charged",
    "subject": "Payment receipt — {doc_number}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Auto-charged subscription periods"
   },
   {
    "key": "statement",
    "body": "Hi {contact_name},\n\nPlease find attached your account statement for {from} to {to}. The balance due is {balance}.\n\nRegards,\n{company_name}",
    "name": "Account statement",
    "subject": "Account statement {from} – {to}",
    "updated_at": "2026-11-19T20:17:22.463241+05:30",
    "description": "Sending a customer statement"
   },
   {
    "key": "expiry_reminder",
    "body": "Hi {contact_name},\n\nJust a reminder that {doc_number} for {total} is valid until {due_date}. You can review and accept it online from your client portal.\n\nIf you have any questions, simply reply to this e-mail.\n\nRegards,\n{company_name}",
    "name": "Estimate / proposal expiry reminder",
    "subject": "Reminder: {doc_number} expires on {due_date}",
    "updated_at": "2026-11-19T20:17:23.258172+05:30",
    "description": "A few days before a sent estimate or proposal expires (automatic, or from the document)"
   },
   {
    "key": "contract_send",
    "body": "Hi {contact_name},\n\nPlease find our contract {contract_number} “{subject}” attached. You can read and sign it online from your client portal.\n\nTerm: {start_date} to {end_date}\nValue: {value}\n\nRegards,\n{company_name}",
    "name": "Contract",
    "subject": "Contract {contract_number}: {subject}",
    "updated_at": "2026-11-19T20:17:23.486608+05:30",
    "description": "Sending a contract to the customer"
   },
   {
    "key": "contract_expiry",
    "body": "Hi {contact_name},\n\nJust a reminder that contract {contract_number} “{subject}” ends on {end_date}. Reply to this e-mail if you would like to renew it.\n\nRegards,\n{company_name}",
    "name": "Contract expiry reminder",
    "subject": "Your contract {contract_number} ends on {end_date}",
    "updated_at": "2026-11-19T20:17:23.486608+05:30",
    "description": "A few days before a signed contract ends (automatic, or from the contract)"
   },
   {
    "key": "subscription_send",
    "body": "Hi {contact_name},\n\nHere are the details of your subscription with {company_name}:\n\nPlan: {plan}\nPrice: {price} every {interval}\nNext invoice: {next_billing}\n\nYou can see your subscriptions and invoices any time in your client portal.\n\nRegards,\n{company_name}",
    "name": "Subscription details",
    "subject": "Your subscription: {plan}",
    "updated_at": "2026-11-19T20:17:23.611893+05:30",
    "description": "Sending a subscription's details to the customer"
   },
   {
    "key": "payment_recorded",
    "body": "Hi {contact_name},\n\nThank you for your payment of {amount} received on {date} ({mode}{reference}) against invoice {doc_number}.\n\nBalance still due on this invoice: {balance}.\n\nYou can download the receipt and see your invoices any time in your client portal.\n\nRegards,\n{company_name}",
    "name": "Payment recorded",
    "subject": "Payment receipt — {doc_number}",
    "updated_at": "2026-11-19T20:17:23.650191+05:30",
    "description": "Receipt sent to the customer when staff record a payment"
   },
   {
    "key": "estimate_request_reply",
    "body": "Hi {name},\n\nThank you for asking {company_name} for a quote. We are looking at your request and will send you an estimate shortly.\n\nIf there is anything else we should know, just reply to this e-mail.\n\nRegards,\n{staff_name}\n{company_name}",
    "name": "Estimate request reply",
    "subject": "Re: your quote request",
    "updated_at": "2026-11-19T20:17:23.701747+05:30",
    "description": "Replying to someone who asked for a quote"
   },
   {
    "key": "estimate_request_status",
    "body": "Hi {name},\n\nAn update on the quote you requested from {company_name}: it is now “{status}”.\n\nRegards,\n{staff_name}\n{company_name}",
    "name": "Estimate request status changed",
    "subject": "Your quote request: {status}",
    "updated_at": "2026-11-19T20:17:23.701747+05:30",
    "description": "Telling the requester their request moved to a new status"
   }
  ],
  "web_forms": [
   {
    "id": 2,
    "key": "6f1d2c3b-0000-4000-8000-0000000000a2",
    "kind": "estimate_request",
    "name": "Request a quote",
    "intro": "Share what you need and we'll send a detailed estimate.",
    "fields": [
     "name",
     "email",
     "phone",
     "company",
     "budget",
     "message"
    ],
    "required": [
     "name",
     "email",
     "message"
    ],
    "is_active": true,
    "source_id": 1,
    "status_id": null,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "submissions": 3,
    "success_message": "Thank you! We'll prepare an estimate and get back to you within 2 working days."
   },
   {
    "id": 1,
    "key": "6f1d2c3b-0000-4000-8000-0000000000a1",
    "kind": "lead",
    "name": "Website contact form",
    "intro": "Tell us a little about your business and we'll call you back within one working day.",
    "fields": [
     "name",
     "email",
     "phone",
     "company",
     "message"
    ],
    "required": [
     "name",
     "email"
    ],
    "is_active": true,
    "source_id": 1,
    "status_id": 1,
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "submissions": 6,
    "success_message": "Thanks — your message is with our sales team. Expect a call within one working day."
   }
  ],
  "estimate_request_statuses": [
   {
    "key": "new",
    "name": "New",
    "color": "#0ea5e9",
    "is_open": true,
    "sort_order": 1
   },
   {
    "key": "in_review",
    "name": "In review",
    "color": "#f59e0b",
    "is_open": true,
    "sort_order": 2
   },
   {
    "key": "quoted",
    "name": "Quoted",
    "color": "#10b981",
    "is_open": false,
    "sort_order": 3
   },
   {
    "key": "declined",
    "name": "Declined",
    "color": "#64748b",
    "is_open": false,
    "sort_order": 4
   }
  ],
  "tags": [
   {
    "id": 1,
    "name": "VIP",
    "color": "#e11d48"
   },
   {
    "id": 2,
    "name": "Renewal due",
    "color": "#f59e0b"
   },
   {
    "id": 3,
    "name": "Enterprise",
    "color": "#6d55f2"
   },
   {
    "id": 4,
    "name": "SMB",
    "color": "#0d9488"
   },
   {
    "id": 5,
    "name": "Hot",
    "color": "#ea580c"
   },
   {
    "id": 6,
    "name": "Follow-up",
    "color": "#0ea5e9"
   },
   {
    "id": 7,
    "name": "Bug",
    "color": "#dc2626"
   },
   {
    "id": 8,
    "name": "Billing",
    "color": "#7c3aed"
   },
   {
    "id": 9,
    "name": "Onsite",
    "color": "#16a34a"
   }
  ],
  "customers": [
   {
    "id": 1,
    "vat": "27AAB6A00D1Z5",
    "zip": null,
    "city": "Mumbai",
    "phone": "+91 22 6665 8282",
    "state": "Maharashtra",
    "address": null,
    "company": "Tata Advanced Materials",
    "country": "India",
    "website": "tataadvanced.example.in",
    "currency": null,
    "group_id": 1,
    "is_active": true,
    "created_at": "2026-07-22T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 2,
    "vat": "27AAB573851Z5",
    "zip": null,
    "city": "Ahmedabad",
    "phone": "+91 79 4000 1122",
    "state": "Gujarat",
    "address": null,
    "company": "Zenith Pharma Pvt Ltd",
    "country": "India",
    "website": "zenithpharma.example.in",
    "currency": null,
    "group_id": 2,
    "is_active": true,
    "created_at": "2026-08-16T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 3,
    "vat": "27AAB3296A1Z5",
    "zip": null,
    "city": "Goa",
    "phone": "+91 832 245 9900",
    "state": "Goa",
    "address": null,
    "company": "Orchid Hotels & Resorts",
    "country": "India",
    "website": "orchidhotels.example.in",
    "currency": null,
    "group_id": 1,
    "is_active": true,
    "created_at": "2026-08-31T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 4,
    "vat": "27AAB6E3801Z5",
    "zip": null,
    "city": "Bengaluru",
    "phone": "+91 80 4123 7788",
    "state": "Karnataka",
    "address": null,
    "company": "Nimbus Software Labs",
    "country": "India",
    "website": "nimbuslabs.example.in",
    "currency": null,
    "group_id": 3,
    "is_active": true,
    "created_at": "2026-09-16T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 5,
    "vat": "27AABA816E1Z5",
    "zip": null,
    "city": "Kochi",
    "phone": "+91 484 239 1100",
    "state": "Kerala",
    "address": null,
    "company": "Coastal Foods Exports",
    "country": "India",
    "website": "coastalfoods.example.in",
    "currency": null,
    "group_id": 2,
    "is_active": true,
    "created_at": "2026-09-29T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 6,
    "vat": "27AABF1A781Z5",
    "zip": null,
    "city": "Pune",
    "phone": "+91 20 2567 4433",
    "state": "Maharashtra",
    "address": null,
    "company": "Everest Builders",
    "country": "India",
    "website": "everestbuild.example.in",
    "currency": null,
    "group_id": 3,
    "is_active": true,
    "created_at": "2026-10-06T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 7,
    "vat": "27AABFE79A1Z5",
    "zip": null,
    "city": "Hyderabad",
    "phone": "+91 40 6677 1200",
    "state": "Telangana",
    "address": null,
    "company": "Sunrise Diagnostics",
    "country": "India",
    "website": "sunrisediag.example.in",
    "currency": null,
    "group_id": 3,
    "is_active": true,
    "created_at": "2026-10-13T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 8,
    "vat": "27AAB80D501Z5",
    "zip": null,
    "city": "Chennai",
    "phone": "+91 44 2815 6600",
    "state": "Tamil Nadu",
    "address": null,
    "company": "Bluewave Logistics",
    "country": "India",
    "website": "bluewave.example.in",
    "currency": null,
    "group_id": 2,
    "is_active": true,
    "created_at": "2026-10-21T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 9,
    "vat": "27AAB24C8C1Z5",
    "zip": null,
    "city": "Jaipur",
    "phone": "+91 141 401 8800",
    "state": "Rajasthan",
    "address": null,
    "company": "Saffron Retail Chain",
    "country": "India",
    "website": "saffronretail.example.in",
    "currency": null,
    "group_id": 1,
    "is_active": true,
    "created_at": "2026-10-28T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 10,
    "vat": "27AAB0078B1Z5",
    "zip": null,
    "city": "Coimbatore",
    "phone": "+91 422 431 2200",
    "state": "Tamil Nadu",
    "address": null,
    "company": "Kaveri Textiles",
    "country": "India",
    "website": "kaveritex.example.in",
    "currency": null,
    "group_id": 2,
    "is_active": false,
    "created_at": "2026-11-04T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 11,
    "vat": "27AABE6D181Z5",
    "zip": null,
    "city": "Delhi",
    "phone": "+91 11 4155 9090",
    "state": "Delhi",
    "address": null,
    "company": "UrbanNest Interiors",
    "country": "India",
    "website": "urbannest.example.in",
    "currency": null,
    "group_id": 3,
    "is_active": true,
    "created_at": "2026-11-10T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   },
   {
    "id": 12,
    "vat": "27AABE8F931Z5",
    "zip": null,
    "city": "Indore",
    "phone": "+91 731 499 3300",
    "state": "Madhya Pradesh",
    "address": null,
    "company": "Greenfield Agro",
    "country": "India",
    "website": "greenfieldagro.example.in",
    "currency": null,
    "group_id": 3,
    "is_active": true,
    "created_at": "2026-11-15T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "shipping_zip": null,
    "shipping_city": null,
    "shipping_state": null,
    "shipping_address": null,
    "shipping_country": null
   }
  ],
  "customer_admins": [],
  "customer_files": [],
  "contacts": [
   {
    "id": 2,
    "email": "pooja@zenithpharma.example.in",
    "phone": "+91 9833547189",
    "title": "Purchase Manager",
    "last_name": "Shah",
    "created_at": "2026-08-16T20:17:20.97852+05:30",
    "first_name": "Pooja",
    "is_primary": true,
    "customer_id": 2,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 3,
    "email": "sunil@orchidhotels.example.in",
    "phone": "+91 9859968010",
    "title": "Operations Director",
    "last_name": "Fernandes",
    "created_at": "2026-08-31T20:17:20.97852+05:30",
    "first_name": "Sunil",
    "is_primary": true,
    "customer_id": 3,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 5,
    "email": "manoj@coastalfoods.example.in",
    "phone": "+91 9806678247",
    "title": "Managing Partner",
    "last_name": "Pillai",
    "created_at": "2026-09-29T20:17:20.97852+05:30",
    "first_name": "Manoj",
    "is_primary": true,
    "customer_id": 5,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 6,
    "email": "lata@everestbuild.example.in",
    "phone": "+91 9876042695",
    "title": "Finance Head",
    "last_name": "Deshmukh",
    "created_at": "2026-10-06T20:17:20.97852+05:30",
    "first_name": "Lata",
    "is_primary": true,
    "customer_id": 6,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 7,
    "email": "imran@sunrisediag.example.in",
    "phone": "+91 9852775081",
    "title": "Admin Manager",
    "last_name": "Qureshi",
    "created_at": "2026-10-13T20:17:20.97852+05:30",
    "first_name": "Imran",
    "is_primary": true,
    "customer_id": 7,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 8,
    "email": "deepa@bluewave.example.in",
    "phone": "+91 9861084504",
    "title": "COO",
    "last_name": "Raman",
    "created_at": "2026-10-21T20:17:20.97852+05:30",
    "first_name": "Deepa",
    "is_primary": true,
    "customer_id": 8,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 10,
    "email": "meena@kaveritex.example.in",
    "phone": "+91 9875242197",
    "title": "Owner",
    "last_name": "Sundaram",
    "created_at": "2026-11-04T20:17:20.97852+05:30",
    "first_name": "Meena",
    "is_primary": true,
    "customer_id": 10,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 11,
    "email": "arjun@urbannest.example.in",
    "phone": "+91 9871021932",
    "title": "Founder",
    "last_name": "Bhatia",
    "created_at": "2026-11-10T20:17:20.97852+05:30",
    "first_name": "Arjun",
    "is_primary": true,
    "customer_id": 11,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 12,
    "email": "neha@greenfieldagro.example.in",
    "phone": "+91 9859386541",
    "title": "Procurement Lead",
    "last_name": "Joshi",
    "created_at": "2026-11-15T20:17:20.97852+05:30",
    "first_name": "Neha",
    "is_primary": true,
    "customer_id": 12,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 13,
    "email": "ritu@tataadvanced.example.in",
    "phone": "+91 98200 44556",
    "title": "Accounts Payable",
    "last_name": "Sinha",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "first_name": "Ritu",
    "is_primary": false,
    "customer_id": 1,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 14,
    "email": "anil@tataadvanced.example.in",
    "phone": "+91 98200 11223",
    "title": "Plant Manager",
    "last_name": "Menon",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "first_name": "Anil",
    "is_primary": false,
    "customer_id": 1,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 15,
    "email": "clara@orchidhotels.example.in",
    "phone": "+91 98220 77889",
    "title": "Front Office Lead",
    "last_name": "D'Souza",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "first_name": "Clara",
    "is_primary": false,
    "customer_id": 3,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 16,
    "email": "harsh@nimbuslabs.example.in",
    "phone": "+91 99000 12121",
    "title": "Engineering Lead",
    "last_name": "Vardhan",
    "created_at": "2026-11-19T20:17:20.97852+05:30",
    "first_name": "Harsh",
    "is_primary": false,
    "customer_id": 4,
    "marketing_consent": false,
    "consent_updated_at": null
   },
   {
    "id": 1,
    "email": "rajesh@tataadvanced.example.in",
    "phone": "+91 9809437536",
    "title": "Head of Procurement",
    "last_name": "Khanna",
    "created_at": "2026-07-22T20:17:20.97852+05:30",
    "first_name": "Rajesh",
    "is_primary": true,
    "customer_id": 1,
    "marketing_consent": true,
    "consent_updated_at": "2026-10-20T20:17:22.777347+05:30"
   },
   {
    "id": 4,
    "email": "kavya@nimbuslabs.example.in",
    "phone": "+91 9833839943",
    "title": "CTO",
    "last_name": "Reddy",
    "created_at": "2026-09-16T20:17:20.97852+05:30",
    "first_name": "Kavya",
    "is_primary": true,
    "customer_id": 4,
    "marketing_consent": true,
    "consent_updated_at": "2026-10-20T20:17:22.777347+05:30"
   },
   {
    "id": 9,
    "email": "vivek@saffronretail.example.in",
    "phone": "+91 9869987967",
    "title": "Category Head",
    "last_name": "Agarwal",
    "created_at": "2026-10-28T20:17:20.97852+05:30",
    "first_name": "Vivek",
    "is_primary": true,
    "customer_id": 9,
    "marketing_consent": true,
    "consent_updated_at": "2026-10-20T20:17:22.777347+05:30"
   }
  ],
  "leads": [
   {
    "id": 1,
    "zip": null,
    "city": "Pune",
    "name": "Meera Kapoor",
    "email": "meera@kapoor.example.in",
    "phone": "+91 9336369417",
    "state": null,
    "title": "Director",
    "value": 180000,
    "address": null,
    "company": "Kapoor Textiles",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 1,
    "source_id": 1,
    "status_id": 1,
    "created_at": "2026-11-18T19:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": null,
    "converted_customer_id": null
   },
   {
    "id": 2,
    "zip": null,
    "city": "Delhi",
    "name": "Karan Malhotra",
    "email": "karan@malhotra.example.in",
    "phone": "+91 9130159202",
    "state": null,
    "title": "Owner",
    "value": 95000,
    "address": null,
    "company": "Malhotra Motors",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 2,
    "source_id": 3,
    "status_id": 1,
    "created_at": "2026-11-17T18:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": null,
    "converted_customer_id": null
   },
   {
    "id": 3,
    "zip": null,
    "city": "Bengaluru",
    "name": "Ishita Jain",
    "email": "ishita@jain.example.in",
    "phone": "+91 9387254741",
    "state": null,
    "title": "Partner",
    "value": 52000,
    "address": null,
    "company": "Jain Jewellers",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 3,
    "source_id": 4,
    "status_id": 1,
    "created_at": "2026-11-19T17:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": null,
    "converted_customer_id": null
   },
   {
    "id": 4,
    "zip": null,
    "city": "Chennai",
    "name": "Siddharth Rao",
    "email": "siddharth@rao.example.in",
    "phone": "+91 9690256064",
    "state": null,
    "title": "CEO",
    "value": 320000,
    "address": null,
    "company": "Rao Agritech",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 4,
    "source_id": 5,
    "status_id": 1,
    "created_at": "2026-11-16T16:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "assigned_to": null,
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-18T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 5,
    "zip": null,
    "city": "Hyderabad",
    "name": "Arjun Rao",
    "email": "arjun@rao.example.in",
    "phone": "+91 9163662827",
    "state": null,
    "title": "GM Operations",
    "value": 450000,
    "address": null,
    "company": "Rao Logistics",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 5,
    "source_id": 2,
    "status_id": 2,
    "created_at": "2026-11-15T15:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-18T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 6,
    "zip": null,
    "city": "Kolkata",
    "name": "Divya Menon",
    "email": "divya@greenleaf.example.in",
    "phone": "+91 9292819494",
    "state": null,
    "title": "Founder",
    "value": 640000,
    "address": null,
    "company": "GreenLeaf Organics",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 6,
    "source_id": 2,
    "status_id": 2,
    "created_at": "2026-11-13T14:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-17T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 7,
    "zip": null,
    "city": "Ahmedabad",
    "name": "Tanvi Kulkarni",
    "email": "tanvi@kulkarni.example.in",
    "phone": "+91 9194996792",
    "state": null,
    "title": "Admin Head",
    "value": 140000,
    "address": null,
    "company": "Kulkarni Clinics",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 7,
    "source_id": 1,
    "status_id": 2,
    "created_at": "2026-11-14T13:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-18T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 8,
    "zip": null,
    "city": "Mumbai",
    "name": "Sana Sheikh",
    "email": "sana@bloom.example.in",
    "phone": "+91 9788695748",
    "state": null,
    "title": "Owner",
    "value": 80000,
    "address": null,
    "company": "Bloom Florists",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 8,
    "source_id": 3,
    "status_id": 3,
    "created_at": "2026-11-11T12:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-17T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 9,
    "zip": null,
    "city": "Pune",
    "name": "Rohit Bansal",
    "email": "rohit@bansal.example.in",
    "phone": "+91 9031500615",
    "state": null,
    "title": "VP Purchase",
    "value": 210000,
    "address": null,
    "company": "Bansal Steel",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 9,
    "source_id": 7,
    "status_id": 3,
    "created_at": "2026-11-10T11:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-16T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 10,
    "zip": null,
    "city": "Delhi",
    "name": "Aditya Verma",
    "email": "aditya@verma.example.in",
    "phone": "+91 9242039610",
    "state": null,
    "title": "Project Head",
    "value": 975000,
    "address": null,
    "company": "Verma Constructions",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 10,
    "source_id": 6,
    "status_id": 3,
    "created_at": "2026-11-08T10:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-16T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 11,
    "zip": null,
    "city": "Bengaluru",
    "name": "Vikram Iyer",
    "email": "vikram@iyer.example.in",
    "phone": "+91 9508363677",
    "state": null,
    "title": "Managing Director",
    "value": 1250000,
    "address": null,
    "company": "Iyer & Sons",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 11,
    "source_id": 5,
    "status_id": 4,
    "created_at": "2026-11-07T09:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-15T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 12,
    "zip": null,
    "city": "Chennai",
    "name": "Ananya Das",
    "email": "ananya@skyline.example.in",
    "phone": "+91 9648159444",
    "state": null,
    "title": "Marketing Head",
    "value": 875000,
    "address": null,
    "company": "Skyline Realty",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 12,
    "source_id": 5,
    "status_id": 4,
    "created_at": "2026-11-05T08:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-15T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 13,
    "zip": null,
    "city": "Hyderabad",
    "name": "Farhan Ali",
    "email": "farhan@ali.example.in",
    "phone": "+91 9563968470",
    "state": null,
    "title": "Owner",
    "value": 150000,
    "address": null,
    "company": "Ali Electronics",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 13,
    "source_id": 1,
    "status_id": 4,
    "created_at": "2026-11-06T07:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-15T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 14,
    "zip": null,
    "city": "Kolkata",
    "name": "Nikhil Chopra",
    "email": "nikhil@chopra.example.in",
    "phone": "+91 9031547128",
    "state": null,
    "title": "Director",
    "value": 1800000,
    "address": null,
    "company": "Chopra Hospitality",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 14,
    "source_id": 2,
    "status_id": 5,
    "created_at": "2026-11-01T06:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-13T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 15,
    "zip": null,
    "city": "Ahmedabad",
    "name": "Shreya Ghosh",
    "email": "shreya@ghosh.example.in",
    "phone": "+91 9780844779",
    "state": null,
    "title": "Trustee",
    "value": 560000,
    "address": null,
    "company": "Ghosh Educational Trust",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 15,
    "source_id": 7,
    "status_id": 5,
    "created_at": "2026-11-03T05:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "assigned_to": "a0000000-0000-4000-8000-000000000001",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-14T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 16,
    "zip": null,
    "city": "Mumbai",
    "name": "Rahul Saxena",
    "email": "rahul@saxena.example.in",
    "phone": "+91 9474826301",
    "state": null,
    "title": "Purchase Head",
    "value": 230000,
    "address": null,
    "company": "Saxena Auto Parts",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 16,
    "source_id": 6,
    "status_id": 2,
    "created_at": "2026-10-30T04:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-13T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 17,
    "zip": null,
    "city": "Pune",
    "name": "Pallavi Desai",
    "email": "pallavi@desai.example.in",
    "phone": "+91 9491781113",
    "state": null,
    "title": "Owner",
    "value": 110000,
    "address": null,
    "company": "Desai Dairy",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 17,
    "source_id": 4,
    "status_id": 3,
    "created_at": "2026-10-28T03:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-12T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 18,
    "zip": null,
    "city": "Delhi",
    "name": "Gaurav Arora",
    "email": "gaurav@arora.example.in",
    "phone": "+91 9037295351",
    "state": null,
    "title": "CEO",
    "value": 390000,
    "address": null,
    "company": "Arora Packaging",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 18,
    "source_id": 3,
    "status_id": 2,
    "created_at": "2026-10-25T02:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-11T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 19,
    "zip": null,
    "city": "Bengaluru",
    "name": "Lakshmi Narayan",
    "email": "lakshmi@narayan.example.in",
    "phone": "+91 9721405854",
    "state": null,
    "title": "Partner",
    "value": 75000,
    "address": null,
    "company": "Narayan Spices",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 19,
    "source_id": 7,
    "status_id": 2,
    "created_at": "2026-10-23T01:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-10T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 20,
    "zip": null,
    "city": "Chennai",
    "name": "Kunal Shah",
    "email": "kunal@shah.example.in",
    "phone": "+91 9140702859",
    "state": null,
    "title": "Founder",
    "value": 720000,
    "address": null,
    "company": "Shah Fintech",
    "country": "India",
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 20,
    "source_id": 5,
    "status_id": 5,
    "created_at": "2026-11-09T00:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": "Enquired about an annual service contract. Decision expected this quarter.",
    "converted_at": null,
    "last_contact_at": "2026-11-16T20:17:20.97852+05:30",
    "converted_customer_id": null
   },
   {
    "id": 21,
    "zip": null,
    "city": null,
    "name": "Mohit Sethi",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": 85000,
    "address": null,
    "company": "Sethi Traders",
    "country": null,
    "is_junk": false,
    "is_lost": true,
    "website": null,
    "position": 100,
    "source_id": 1,
    "status_id": 4,
    "created_at": "2026-10-10T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": null,
    "converted_at": null,
    "last_contact_at": null,
    "converted_customer_id": null
   },
   {
    "id": 22,
    "zip": null,
    "city": null,
    "name": "Rekha Pillai",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": 40000,
    "address": null,
    "company": "Pillai Boutique",
    "country": null,
    "is_junk": false,
    "is_lost": true,
    "website": null,
    "position": 101,
    "source_id": 4,
    "status_id": 2,
    "created_at": "2026-10-15T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": null,
    "converted_at": null,
    "last_contact_at": null,
    "converted_customer_id": null
   },
   {
    "id": 23,
    "zip": null,
    "city": null,
    "name": "Test Enquiry",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": null,
    "address": null,
    "company": "asdf",
    "country": null,
    "is_junk": true,
    "is_lost": false,
    "website": null,
    "position": 102,
    "source_id": 1,
    "status_id": 1,
    "created_at": "2026-11-12T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "assigned_to": null,
    "description": null,
    "converted_at": null,
    "last_contact_at": null,
    "converted_customer_id": null
   },
   {
    "id": 24,
    "zip": null,
    "city": null,
    "name": "Kavya Reddy",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": 480000,
    "address": null,
    "company": "Nimbus Software Labs",
    "country": null,
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 201,
    "source_id": 5,
    "status_id": 6,
    "created_at": "2026-09-04T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": null,
    "converted_at": "2026-09-16T20:17:20.97852+05:30",
    "last_contact_at": null,
    "converted_customer_id": 4
   },
   {
    "id": 25,
    "zip": null,
    "city": null,
    "name": "Lata Deshmukh",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": 260000,
    "address": null,
    "company": "Everest Builders",
    "country": null,
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 202,
    "source_id": 2,
    "status_id": 6,
    "created_at": "2026-09-24T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": null,
    "converted_at": "2026-10-06T20:17:20.97852+05:30",
    "last_contact_at": null,
    "converted_customer_id": 6
   },
   {
    "id": 26,
    "zip": null,
    "city": null,
    "name": "Imran Qureshi",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": 190000,
    "address": null,
    "company": "Sunrise Diagnostics",
    "country": null,
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 203,
    "source_id": 1,
    "status_id": 6,
    "created_at": "2026-10-01T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "description": null,
    "converted_at": "2026-10-13T20:17:20.97852+05:30",
    "last_contact_at": null,
    "converted_customer_id": 7
   },
   {
    "id": 27,
    "zip": null,
    "city": null,
    "name": "Neha Joshi",
    "email": null,
    "phone": null,
    "state": null,
    "title": null,
    "value": 150000,
    "address": null,
    "company": "Greenfield Agro",
    "country": null,
    "is_junk": false,
    "is_lost": false,
    "website": null,
    "position": 204,
    "source_id": 3,
    "status_id": 6,
    "created_at": "2026-11-03T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "description": null,
    "converted_at": "2026-11-15T20:17:20.97852+05:30",
    "last_contact_at": null,
    "converted_customer_id": 12
   }
  ],
  "lead_files": [],
  "notes": [
   {
    "id": 1,
    "body": "Spoke with Meera — needs pricing for 3 warehouses. Wants a call next Tuesday.",
    "rel_id": 1,
    "rel_type": "lead",
    "created_at": "2026-11-19T00:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "id": 2,
    "body": "Vikram asked for a 5% volume discount on the 3-year plan. Checking with finance.",
    "rel_id": 11,
    "rel_type": "lead",
    "created_at": "2026-11-18T14:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "id": 3,
    "body": "Finance approved up to 4%. Revised quote in progress.",
    "rel_id": 11,
    "rel_type": "lead",
    "created_at": "2026-11-19T14:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "id": 4,
    "body": "Decision maker is Nikhil; CFO joins the next meeting. Budget confirmed for Q4.",
    "rel_id": 14,
    "rel_type": "lead",
    "created_at": "2026-11-17T18:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "id": 5,
    "body": "Interested mainly in the reporting module. Book a demo with their marketing team.",
    "rel_id": 12,
    "rel_type": "lead",
    "created_at": "2026-11-16T22:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "id": 6,
    "body": "AMC renewal due next month. Legal reviewing the new indemnity clause.",
    "rel_id": 1,
    "rel_type": "customer",
    "created_at": "2026-11-18T18:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "id": 7,
    "body": "Billing query: invoice raised twice for September. Credit note to be issued.",
    "rel_id": 3,
    "rel_type": "customer",
    "created_at": "2026-11-19T16:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "id": 8,
    "body": "Kick-off went well. They want SSO in phase two.",
    "rel_id": 4,
    "rel_type": "customer",
    "created_at": "2026-11-16T02:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "id": 9,
    "body": "Customer reports intermittent login failures on mobile. Reproduced on Android 14.",
    "rel_id": 8,
    "rel_type": "customer",
    "created_at": "2026-11-19T10:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004"
   }
  ],
  "taggables": [
   {
    "rel_id": 3,
    "tag_id": 1,
    "rel_type": "customer"
   },
   {
    "rel_id": 1,
    "tag_id": 1,
    "rel_type": "customer"
   },
   {
    "rel_id": 5,
    "tag_id": 2,
    "rel_type": "customer"
   },
   {
    "rel_id": 1,
    "tag_id": 3,
    "rel_type": "project"
   },
   {
    "rel_id": 20,
    "tag_id": 3,
    "rel_type": "lead"
   },
   {
    "rel_id": 4,
    "tag_id": 3,
    "rel_type": "customer"
   },
   {
    "rel_id": 1,
    "tag_id": 3,
    "rel_type": "customer"
   },
   {
    "rel_id": 12,
    "tag_id": 4,
    "rel_type": "customer"
   },
   {
    "rel_id": 6,
    "tag_id": 5,
    "rel_type": "task"
   },
   {
    "rel_id": 12,
    "tag_id": 5,
    "rel_type": "lead"
   },
   {
    "rel_id": 14,
    "tag_id": 5,
    "rel_type": "lead"
   },
   {
    "rel_id": 3,
    "tag_id": 6,
    "rel_type": "task"
   },
   {
    "rel_id": 9,
    "tag_id": 6,
    "rel_type": "lead"
   },
   {
    "rel_id": 4,
    "tag_id": 7,
    "rel_type": "ticket"
   },
   {
    "rel_id": 6,
    "tag_id": 7,
    "rel_type": "ticket"
   },
   {
    "rel_id": 13,
    "tag_id": 7,
    "rel_type": "task"
   },
   {
    "rel_id": 2,
    "tag_id": 8,
    "rel_type": "ticket"
   },
   {
    "rel_id": 3,
    "tag_id": 8,
    "rel_type": "ticket"
   },
   {
    "rel_id": 2,
    "tag_id": 8,
    "rel_type": "project"
   },
   {
    "rel_id": 1,
    "tag_id": 9,
    "rel_type": "project"
   },
   {
    "rel_id": 23,
    "tag_id": 9,
    "rel_type": "task"
   }
  ],
  "custom_field_values": [
   {
    "value": "Manufacturing",
    "rel_id": 1,
    "field_id": 1
   },
   {
    "value": "Healthcare",
    "rel_id": 2,
    "field_id": 1
   },
   {
    "value": "Hospitality",
    "rel_id": 3,
    "field_id": 1
   },
   {
    "value": "Technology",
    "rel_id": 4,
    "field_id": 1
   },
   {
    "value": "Manufacturing",
    "rel_id": 5,
    "field_id": 1
   },
   {
    "value": "Logistics",
    "rel_id": 8,
    "field_id": 1
   },
   {
    "value": "Retail",
    "rel_id": 9,
    "field_id": 1
   },
   {
    "value": "Real estate",
    "rel_id": 11,
    "field_id": 1
   },
   {
    "value": "Agriculture",
    "rel_id": 12,
    "field_id": 1
   },
   {
    "value": "Gold",
    "rel_id": 1,
    "field_id": 2
   },
   {
    "value": "Gold",
    "rel_id": 3,
    "field_id": 2
   },
   {
    "value": "Silver",
    "rel_id": 4,
    "field_id": 2
   },
   {
    "value": "Silver",
    "rel_id": 9,
    "field_id": 2
   },
   {
    "value": "Bronze",
    "rel_id": 12,
    "field_id": 2
   },
   {
    "value": "March",
    "rel_id": 1,
    "field_id": 3
   },
   {
    "value": "March",
    "rel_id": 5,
    "field_id": 3
   },
   {
    "value": "PO/TAM/2026/0001",
    "rel_id": 1,
    "field_id": 8
   },
   {
    "value": "PO/TAM/2026/0017",
    "rel_id": 28,
    "field_id": 8
   },
   {
    "value": "PO/TAM/2026/0018",
    "rel_id": 29,
    "field_id": 8
   },
   {
    "value": "PO/TAM/2026/0019",
    "rel_id": 30,
    "field_id": 8
   },
   {
    "value": "TAM-PO-88231",
    "rel_id": 1,
    "field_id": 6
   },
   {
    "value": "Invoices",
    "rel_id": 3,
    "field_id": 7
   },
   {
    "value": "Integrations",
    "rel_id": 4,
    "field_id": 7
   },
   {
    "value": "Mobile app",
    "rel_id": 6,
    "field_id": 7
   },
   {
    "value": "25",
    "rel_id": 12,
    "field_id": 5
   },
   {
    "value": "60",
    "rel_id": 14,
    "field_id": 5
   },
   {
    "value": "140",
    "rel_id": 20,
    "field_id": 5
   }
  ],
  "items": [
   {
    "id": 1,
    "name": "CRM Implementation",
    "rate": 150000,
    "unit": "project",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Setup, configuration and go-live support",
    "currency_rates": {}
   },
   {
    "id": 2,
    "name": "Annual Maintenance Contract",
    "rate": 85000,
    "unit": "year",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Updates, bug fixes and business-hours support",
    "currency_rates": {}
   },
   {
    "id": 3,
    "name": "User licence — Professional",
    "rate": 1200,
    "unit": "user/month",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Per user, per month",
    "currency_rates": {}
   },
   {
    "id": 4,
    "name": "Onsite Training",
    "rate": 25000,
    "unit": "day",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Full-day hands-on training at your office",
    "currency_rates": {}
   },
   {
    "id": 5,
    "name": "Custom Integration",
    "rate": 60000,
    "unit": "project",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Connector to ERP / accounting / e-commerce",
    "currency_rates": {}
   },
   {
    "id": 6,
    "name": "Data Migration",
    "rate": 40000,
    "unit": "project",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Import from spreadsheets or legacy CRM",
    "currency_rates": {}
   },
   {
    "id": 7,
    "name": "Priority Support Add-on",
    "rate": 15000,
    "unit": "year",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "4-hour response, dedicated account manager",
    "currency_rates": {}
   },
   {
    "id": 8,
    "name": "Barcode Scanner",
    "rate": 8500,
    "unit": "nos",
    "tax_id": 3,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Wireless 2D scanner with stand",
    "currency_rates": {}
   },
   {
    "id": 9,
    "name": "Printed User Manual",
    "rate": 450,
    "unit": "nos",
    "tax_id": 2,
    "hsn_sac": null,
    "group_id": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "description": "Spiral-bound quick reference guide",
    "currency_rates": {}
   }
  ],
  "sales_docs": [
   {
    "id": 15,
    "date": "2026-11-09",
    "kind": "estimate",
    "notes": null,
    "terms": "Prices valid until the expiry date. Taxes as applicable.",
    "total": 118000,
    "number": 1,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-09T15:30:00+05:30",
    "subject": "AMC renewal + priority support",
    "currency": "INR",
    "due_date": "2026-12-09",
    "subtotal": 100000,
    "source_id": null,
    "tax_total": 18000,
    "adjustment": 0,
    "created_at": "2026-11-09T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 1,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 1,
    "date": "2026-10-10",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 236000,
    "number": 1,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-10T15:30:00+05:30",
    "subject": "CRM rollout — phase 1",
    "currency": "INR",
    "due_date": "2026-10-25",
    "subtotal": 200000,
    "source_id": null,
    "tax_total": 36000,
    "adjustment": 0,
    "created_at": "2026-10-10T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 1,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 14,
    "date": "2026-11-14",
    "kind": "credit_note",
    "notes": null,
    "terms": null,
    "total": 11800,
    "number": 2,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-14T15:30:00+05:30",
    "subject": "Service downtime credit",
    "currency": "INR",
    "due_date": null,
    "subtotal": 10000,
    "source_id": null,
    "tax_total": 1800,
    "adjustment": 0,
    "created_at": "2026-11-14T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 2,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 2,
    "date": "2026-10-25",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 100300,
    "number": 2,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-25T15:30:00+05:30",
    "subject": "AMC FY 2026-27",
    "currency": "INR",
    "due_date": "2026-11-09",
    "subtotal": 85000,
    "source_id": null,
    "tax_total": 15300,
    "adjustment": 0,
    "created_at": "2026-10-25T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 2,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 13,
    "date": "2026-11-09",
    "kind": "credit_note",
    "notes": null,
    "terms": null,
    "total": 23600,
    "number": 1,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-09T15:30:00+05:30",
    "subject": "Duplicate September billing",
    "currency": "INR",
    "due_date": null,
    "subtotal": 20000,
    "source_id": null,
    "tax_total": 3600,
    "adjustment": 0,
    "created_at": "2026-11-09T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 3,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 5,
    "date": "2026-09-20",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 118000,
    "number": 5,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-09-20T15:30:00+05:30",
    "subject": "Support renewal",
    "currency": "INR",
    "due_date": "2026-10-05",
    "subtotal": 100000,
    "source_id": null,
    "tax_total": 18000,
    "adjustment": 0,
    "created_at": "2026-09-20T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 5,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 6,
    "date": "2026-10-15",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 88500,
    "number": 6,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-15T15:30:00+05:30",
    "subject": "Site-team training",
    "currency": "INR",
    "due_date": "2026-10-30",
    "subtotal": 75000,
    "source_id": null,
    "tax_total": 13500,
    "adjustment": 0,
    "created_at": "2026-10-15T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 6,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 7,
    "date": "2026-11-14",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 169920,
    "number": 7,
    "status": "draft",
    "content": null,
    "lead_id": null,
    "sent_at": null,
    "subject": "Licences — 10 users",
    "currency": "INR",
    "due_date": "2026-11-29",
    "subtotal": 144000,
    "source_id": null,
    "tax_total": 25920,
    "adjustment": 0,
    "created_at": "2026-11-14T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 7,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 8,
    "date": "2026-09-30",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 159300,
    "number": 8,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-09-30T15:30:00+05:30",
    "subject": "CRM implementation",
    "currency": "INR",
    "due_date": "2026-10-15",
    "subtotal": 150000,
    "source_id": null,
    "tax_total": 24300,
    "adjustment": 0,
    "created_at": "2026-09-30T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 8,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 15000,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 10,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 9,
    "date": "2026-11-11",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 212400,
    "number": 9,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-11T15:30:00+05:30",
    "subject": "Seasonal licences — 50 users",
    "currency": "INR",
    "due_date": "2026-11-26",
    "subtotal": 180000,
    "source_id": null,
    "tax_total": 32400,
    "adjustment": 0,
    "created_at": "2026-11-11T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 9,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 11,
    "date": "2026-08-21",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 47200,
    "number": 11,
    "status": "cancelled",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-08-21T15:30:00+05:30",
    "subject": "Pilot (cancelled)",
    "currency": "INR",
    "due_date": "2026-09-05",
    "subtotal": 40000,
    "source_id": null,
    "tax_total": 7200,
    "adjustment": 0,
    "created_at": "2026-08-21T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 10,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 12,
    "date": "2026-11-04",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 29500,
    "number": 12,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-04T15:30:00+05:30",
    "subject": "Training day",
    "currency": "INR",
    "due_date": "2026-11-11",
    "subtotal": 25000,
    "source_id": null,
    "tax_total": 4500,
    "adjustment": 0,
    "created_at": "2026-11-04T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 11,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 20,
    "date": "2026-11-07",
    "kind": "proposal",
    "notes": null,
    "terms": null,
    "total": 907372.8,
    "number": 1,
    "status": "sent",
    "content": "Iyer & Sons runs sales across four branches on spreadsheets. We propose a single CRM with a shared pipeline, automatic follow-up tasks and invoice tracking.\n\nTimeline: 6 weeks from kick-off — setup (2 weeks), data migration (1 week), training and go-live (3 weeks).",
    "lead_id": 11,
    "sent_at": "2026-11-07T15:30:00+05:30",
    "subject": "Sales automation for Iyer & Sons",
    "currency": "INR",
    "due_date": "2026-11-28",
    "subtotal": 801000,
    "source_id": null,
    "tax_total": 138412.8,
    "adjustment": 0,
    "created_at": "2026-11-07T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": null,
    "supply_type": "intra",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 32040,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": null,
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 4,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 21,
    "date": "2026-11-05",
    "kind": "proposal",
    "notes": null,
    "terms": null,
    "total": 247800,
    "number": 2,
    "status": "sent",
    "content": "Capture every portal enquiry automatically and give the marketing team live conversion reports by project and channel.",
    "lead_id": 12,
    "sent_at": "2026-11-05T15:30:00+05:30",
    "subject": "Reporting & lead tracking",
    "currency": "INR",
    "due_date": "2026-11-26",
    "subtotal": 210000,
    "source_id": null,
    "tax_total": 37800,
    "adjustment": 0,
    "created_at": "2026-11-05T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": null,
    "supply_type": "intra",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": null,
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 22,
    "date": "2026-11-17",
    "kind": "proposal",
    "notes": null,
    "terms": null,
    "total": 1100798.4,
    "number": 3,
    "status": "draft",
    "content": "Draft for CFO review.",
    "lead_id": 14,
    "sent_at": null,
    "subject": "Guest-relations CRM for 6 properties",
    "currency": "INR",
    "due_date": "2026-12-17",
    "subtotal": 1014000,
    "source_id": null,
    "tax_total": 167918.4,
    "adjustment": 0,
    "created_at": "2026-11-17T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": null,
    "supply_type": "intra",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 81120,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": null,
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 8,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 30,
    "date": "2026-10-30",
    "kind": "invoice",
    "notes": "Subscription: Gnexa Professional — 40 users",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 56640,
    "number": 19,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Gnexa Professional — 40 users — Oct 2026",
    "currency": "INR",
    "due_date": "2026-11-06",
    "subtotal": 48000,
    "source_id": null,
    "tax_total": 8640,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 1,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": 1,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 29,
    "date": "2026-09-30",
    "kind": "invoice",
    "notes": "Subscription: Gnexa Professional — 40 users",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 56640,
    "number": 18,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Gnexa Professional — 40 users — Sep 2026",
    "currency": "INR",
    "due_date": "2026-10-07",
    "subtotal": 48000,
    "source_id": null,
    "tax_total": 8640,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 1,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": 1,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 28,
    "date": "2026-08-31",
    "kind": "invoice",
    "notes": "Subscription: Gnexa Professional — 40 users",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 56640,
    "number": 17,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Gnexa Professional — 40 users — Aug 2026",
    "currency": "INR",
    "due_date": "2026-09-07",
    "subtotal": 48000,
    "source_id": null,
    "tax_total": 8640,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 1,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": 1,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 3,
    "date": "2026-10-30",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 424800,
    "number": 3,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-30T15:30:00+05:30",
    "subject": "Annual licences — 25 users",
    "currency": "INR",
    "due_date": "2026-11-29",
    "subtotal": 360000,
    "source_id": 16,
    "tax_total": 64800,
    "adjustment": 0,
    "created_at": "2026-10-30T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 3,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 16,
    "date": "2026-10-20",
    "kind": "estimate",
    "notes": null,
    "terms": "Prices valid until the expiry date. Taxes as applicable.",
    "total": 199420,
    "number": 2,
    "status": "accepted",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-20T15:30:00+05:30",
    "subject": "Front-office expansion",
    "currency": "INR",
    "due_date": "2026-11-19",
    "subtotal": 169000,
    "source_id": null,
    "tax_total": 30420,
    "adjustment": 0,
    "created_at": "2026-10-20T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 3,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 27,
    "date": "2026-11-16",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 29500,
    "number": 16,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Monthly support retainer",
    "currency": "INR",
    "due_date": "2026-12-01",
    "subtotal": 25000,
    "source_id": null,
    "tax_total": 4500,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": 24,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 4,
    "date": "2026-11-07",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 118000,
    "number": 4,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-07T15:30:00+05:30",
    "subject": "ERP connector & data import",
    "currency": "INR",
    "due_date": "2026-11-22",
    "subtotal": 100000,
    "source_id": 23,
    "tax_total": 18000,
    "adjustment": 0,
    "created_at": "2026-11-07T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 23,
    "date": "2026-09-10",
    "kind": "proposal",
    "notes": null,
    "terms": null,
    "total": 224200,
    "number": 4,
    "status": "accepted",
    "content": "Accepted — kicked off in August.",
    "lead_id": null,
    "sent_at": "2026-09-10T15:30:00+05:30",
    "subject": "CRM for Nimbus Software Labs",
    "currency": "INR",
    "due_date": "2026-10-01",
    "subtotal": 190000,
    "source_id": null,
    "tax_total": 34200,
    "adjustment": 0,
    "created_at": "2026-09-10T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 19,
    "date": "2026-10-05",
    "kind": "estimate",
    "notes": null,
    "terms": "Prices valid until the expiry date. Taxes as applicable.",
    "total": 70800,
    "number": 5,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-05T15:30:00+05:30",
    "subject": "Export docs integration",
    "currency": "INR",
    "due_date": "2026-11-04",
    "subtotal": 60000,
    "source_id": null,
    "tax_total": 10800,
    "adjustment": 0,
    "created_at": "2026-10-05T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 5,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 18,
    "date": "2026-11-17",
    "kind": "estimate",
    "notes": null,
    "terms": "Prices valid until the expiry date. Taxes as applicable.",
    "total": 493240,
    "number": 4,
    "status": "draft",
    "content": null,
    "lead_id": null,
    "sent_at": null,
    "subject": "Store-level rollout — 40 stores",
    "currency": "INR",
    "due_date": "2026-12-17",
    "subtotal": 440000,
    "source_id": null,
    "tax_total": 75240,
    "adjustment": 0,
    "created_at": "2026-11-17T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 9,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 22000,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 5,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 17,
    "date": "2026-10-28",
    "kind": "estimate",
    "notes": null,
    "terms": "Prices valid until the expiry date. Taxes as applicable.",
    "total": 224200,
    "number": 3,
    "status": "declined",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-10-28T15:30:00+05:30",
    "subject": "Full CRM rollout",
    "currency": "INR",
    "due_date": "2026-11-27",
    "subtotal": 190000,
    "source_id": null,
    "tax_total": 34200,
    "adjustment": 0,
    "created_at": "2026-10-28T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 11,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 32,
    "date": "2026-10-30",
    "kind": "invoice",
    "notes": "Subscription: Priority support plan",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 17700,
    "number": 21,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Priority support plan — Oct 2026",
    "currency": "INR",
    "due_date": "2026-11-06",
    "subtotal": 15000,
    "source_id": null,
    "tax_total": 2700,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 3,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": 2,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 31,
    "date": "2026-09-30",
    "kind": "invoice",
    "notes": "Subscription: Priority support plan",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 17700,
    "number": 20,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Priority support plan — Sep 2026",
    "currency": "INR",
    "due_date": "2026-10-07",
    "subtotal": 15000,
    "source_id": null,
    "tax_total": 2700,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 3,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": 2,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 24,
    "date": "2026-08-16",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 29500,
    "number": 13,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-08-16T15:30:00+05:30",
    "subject": "Monthly support retainer",
    "currency": "INR",
    "due_date": "2026-08-31",
    "subtotal": 25000,
    "source_id": null,
    "tax_total": 4500,
    "adjustment": 0,
    "created_at": "2026-08-16T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 3,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": 1,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": 12,
    "next_recurring_date": "2026-12-16"
   },
   {
    "id": 33,
    "date": "2026-10-10",
    "kind": "invoice",
    "notes": "Subscription: Managed hosting (annual)",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 70800,
    "number": 22,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Managed hosting (annual) — Oct 2026",
    "currency": "INR",
    "due_date": "2026-10-17",
    "subtotal": 60000,
    "source_id": null,
    "tax_total": 10800,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": 3,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 26,
    "date": "2026-10-16",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 29500,
    "number": 15,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Monthly support retainer",
    "currency": "INR",
    "due_date": "2026-10-31",
    "subtotal": 25000,
    "source_id": null,
    "tax_total": 4500,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": 24,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 25,
    "date": "2026-09-16",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 29500,
    "number": 14,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-19T20:17:22.38723+05:30",
    "subject": "Monthly support retainer",
    "currency": "INR",
    "due_date": "2026-10-01",
    "subtotal": 25000,
    "source_id": null,
    "tax_total": 4500,
    "adjustment": 0,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 4,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": 24,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": "2026-11-19T20:17:22.38723+05:30",
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 10,
    "date": "2026-11-16",
    "kind": "invoice",
    "notes": "Thank you for your business.",
    "terms": "Payment due within 15 days of invoice date.\nPlease quote the invoice number with your payment.",
    "total": 50200,
    "number": 10,
    "status": "sent",
    "content": null,
    "lead_id": null,
    "sent_at": "2026-11-16T15:30:00+05:30",
    "subject": "Warehouse kit",
    "currency": "INR",
    "due_date": "2026-12-01",
    "subtotal": 43000,
    "source_id": null,
    "tax_total": 7200,
    "adjustment": 0,
    "created_at": "2026-11-16T14:30:00+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "sale_agent": null,
    "customer_id": 12,
    "supply_type": "inter",
    "public_token": null,
    "responded_at": null,
    "responded_by": null,
    "exchange_rate": 1,
    "allow_comments": true,
    "discount_total": 0,
    "last_viewed_at": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "first_viewed_at": null,
    "place_of_supply": "27",
    "recurring_every": null,
    "subscription_id": null,
    "discount_percent": 0,
    "last_reminder_at": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   }
  ],
  "sales_doc_items": [
   {
    "id": 1,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 1,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 2,
    "qty": 2,
    "rate": 25000,
    "unit": "day",
    "doc_id": 1,
    "hsn_sac": null,
    "item_id": 4,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Onsite Training",
    "long_description": null
   },
   {
    "id": 3,
    "qty": 1,
    "rate": 85000,
    "unit": "year",
    "doc_id": 2,
    "hsn_sac": null,
    "item_id": 2,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Annual Maintenance Contract",
    "long_description": null
   },
   {
    "id": 4,
    "qty": 300,
    "rate": 1200,
    "unit": "user/month",
    "doc_id": 3,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "User licence — Professional",
    "long_description": "25 users × 12 months"
   },
   {
    "id": 5,
    "qty": 1,
    "rate": 60000,
    "unit": "project",
    "doc_id": 4,
    "hsn_sac": null,
    "item_id": 5,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Custom Integration",
    "long_description": null
   },
   {
    "id": 6,
    "qty": 1,
    "rate": 40000,
    "unit": "project",
    "doc_id": 4,
    "hsn_sac": null,
    "item_id": 6,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Data Migration",
    "long_description": null
   },
   {
    "id": 7,
    "qty": 1,
    "rate": 85000,
    "unit": "year",
    "doc_id": 5,
    "hsn_sac": null,
    "item_id": 2,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Annual Maintenance Contract",
    "long_description": null
   },
   {
    "id": 8,
    "qty": 1,
    "rate": 15000,
    "unit": "year",
    "doc_id": 5,
    "hsn_sac": null,
    "item_id": 7,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Priority Support Add-on",
    "long_description": null
   },
   {
    "id": 9,
    "qty": 3,
    "rate": 25000,
    "unit": "day",
    "doc_id": 6,
    "hsn_sac": null,
    "item_id": 4,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Onsite Training",
    "long_description": null
   },
   {
    "id": 10,
    "qty": 120,
    "rate": 1200,
    "unit": "user/month",
    "doc_id": 7,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "User licence — Professional",
    "long_description": "10 users × 12 months"
   },
   {
    "id": 11,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 8,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 12,
    "qty": 150,
    "rate": 1200,
    "unit": "user/month",
    "doc_id": 9,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "User licence — Professional",
    "long_description": "50 users × 3 months"
   },
   {
    "id": 13,
    "qty": 4,
    "rate": 8500,
    "unit": "nos",
    "doc_id": 10,
    "hsn_sac": null,
    "item_id": 8,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Barcode Scanner",
    "long_description": null
   },
   {
    "id": 14,
    "qty": 20,
    "rate": 450,
    "unit": "nos",
    "doc_id": 10,
    "hsn_sac": null,
    "item_id": 9,
    "position": 1,
    "tax_rate": 12,
    "expense_id": null,
    "description": "Printed User Manual",
    "long_description": null
   },
   {
    "id": 15,
    "qty": 1,
    "rate": 40000,
    "unit": "project",
    "doc_id": 11,
    "hsn_sac": null,
    "item_id": 6,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Data Migration",
    "long_description": null
   },
   {
    "id": 16,
    "qty": 1,
    "rate": 25000,
    "unit": "day",
    "doc_id": 12,
    "hsn_sac": null,
    "item_id": 4,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Onsite Training",
    "long_description": null
   },
   {
    "id": 17,
    "qty": 1,
    "rate": 20000,
    "unit": "",
    "doc_id": 13,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Credit — duplicate licence charge",
    "long_description": "September licences were billed twice"
   },
   {
    "id": 18,
    "qty": 1,
    "rate": 10000,
    "unit": "",
    "doc_id": 14,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Service credit — 2 days downtime",
    "long_description": null
   },
   {
    "id": 19,
    "qty": 1,
    "rate": 85000,
    "unit": "year",
    "doc_id": 15,
    "hsn_sac": null,
    "item_id": 2,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Annual Maintenance Contract",
    "long_description": null
   },
   {
    "id": 20,
    "qty": 1,
    "rate": 15000,
    "unit": "year",
    "doc_id": 15,
    "hsn_sac": null,
    "item_id": 7,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Priority Support Add-on",
    "long_description": null
   },
   {
    "id": 21,
    "qty": 120,
    "rate": 1200,
    "unit": "user/month",
    "doc_id": 16,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "User licence — Professional",
    "long_description": null
   },
   {
    "id": 22,
    "qty": 1,
    "rate": 25000,
    "unit": "day",
    "doc_id": 16,
    "hsn_sac": null,
    "item_id": 4,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Onsite Training",
    "long_description": null
   },
   {
    "id": 23,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 17,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 24,
    "qty": 1,
    "rate": 40000,
    "unit": "project",
    "doc_id": 17,
    "hsn_sac": null,
    "item_id": 6,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Data Migration",
    "long_description": null
   },
   {
    "id": 25,
    "qty": 40,
    "rate": 8500,
    "unit": "nos",
    "doc_id": 18,
    "hsn_sac": null,
    "item_id": 8,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Barcode Scanner",
    "long_description": null
   },
   {
    "id": 26,
    "qty": 4,
    "rate": 25000,
    "unit": "day",
    "doc_id": 18,
    "hsn_sac": null,
    "item_id": 4,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Onsite Training",
    "long_description": null
   },
   {
    "id": 27,
    "qty": 1,
    "rate": 60000,
    "unit": "project",
    "doc_id": 19,
    "hsn_sac": null,
    "item_id": 5,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Custom Integration",
    "long_description": null
   },
   {
    "id": 28,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 20,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 29,
    "qty": 480,
    "rate": 1200,
    "unit": "user/month",
    "doc_id": 20,
    "hsn_sac": null,
    "item_id": 3,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "User licence — Professional",
    "long_description": "40 users × 12 months"
   },
   {
    "id": 30,
    "qty": 3,
    "rate": 25000,
    "unit": "day",
    "doc_id": 20,
    "hsn_sac": null,
    "item_id": 4,
    "position": 2,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Onsite Training",
    "long_description": null
   },
   {
    "id": 31,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 21,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 32,
    "qty": 1,
    "rate": 60000,
    "unit": "project",
    "doc_id": 21,
    "hsn_sac": null,
    "item_id": 5,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Custom Integration",
    "long_description": "Property portal lead capture"
   },
   {
    "id": 33,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 22,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 34,
    "qty": 720,
    "rate": 1200,
    "unit": "user/month",
    "doc_id": 22,
    "hsn_sac": null,
    "item_id": 3,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "User licence — Professional",
    "long_description": null
   },
   {
    "id": 35,
    "qty": 1,
    "rate": 150000,
    "unit": "project",
    "doc_id": 23,
    "hsn_sac": null,
    "item_id": 1,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "CRM Implementation",
    "long_description": null
   },
   {
    "id": 36,
    "qty": 1,
    "rate": 40000,
    "unit": "project",
    "doc_id": 23,
    "hsn_sac": null,
    "item_id": 6,
    "position": 1,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Data Migration",
    "long_description": null
   },
   {
    "id": 37,
    "qty": 1,
    "rate": 25000,
    "unit": "month",
    "doc_id": 24,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Support retainer",
    "long_description": "Up to 12 hours of priority support per month"
   },
   {
    "id": 38,
    "qty": 1,
    "rate": 25000,
    "unit": "month",
    "doc_id": 25,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Support retainer",
    "long_description": "Up to 12 hours of priority support per month"
   },
   {
    "id": 39,
    "qty": 1,
    "rate": 25000,
    "unit": "month",
    "doc_id": 26,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Support retainer",
    "long_description": "Up to 12 hours of priority support per month"
   },
   {
    "id": 40,
    "qty": 1,
    "rate": 25000,
    "unit": "month",
    "doc_id": 27,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Support retainer",
    "long_description": "Up to 12 hours of priority support per month"
   },
   {
    "id": 41,
    "qty": 40,
    "rate": 1200,
    "unit": "month",
    "doc_id": 28,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Gnexa Professional — 40 users",
    "long_description": "Billing period from 31 Aug 2026 to 29 Sep 2026"
   },
   {
    "id": 42,
    "qty": 40,
    "rate": 1200,
    "unit": "month",
    "doc_id": 29,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Gnexa Professional — 40 users",
    "long_description": "Billing period from 30 Sep 2026 to 29 Oct 2026"
   },
   {
    "id": 43,
    "qty": 40,
    "rate": 1200,
    "unit": "month",
    "doc_id": 30,
    "hsn_sac": null,
    "item_id": 3,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Gnexa Professional — 40 users",
    "long_description": "Billing period from 30 Oct 2026 to 29 Nov 2026"
   },
   {
    "id": 44,
    "qty": 1,
    "rate": 15000,
    "unit": "month",
    "doc_id": 31,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Priority support plan",
    "long_description": "Billing period from 30 Sep 2026 to 29 Oct 2026"
   },
   {
    "id": 45,
    "qty": 1,
    "rate": 15000,
    "unit": "month",
    "doc_id": 32,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Priority support plan",
    "long_description": "Billing period from 30 Oct 2026 to 29 Nov 2026"
   },
   {
    "id": 46,
    "qty": 1,
    "rate": 60000,
    "unit": "year",
    "doc_id": 33,
    "hsn_sac": null,
    "item_id": null,
    "position": 0,
    "tax_rate": 18,
    "expense_id": null,
    "description": "Managed hosting (annual)",
    "long_description": "Billing period from 10 Oct 2026 to 09 Oct 2027"
   }
  ],
  "sales_doc_notes": [],
  "sales_doc_files": [],
  "sales_doc_comments": [],
  "proposal_templates": [
   {
    "id": 1,
    "name": "Website project",
    "content": "## About {customer_name}\n\nThank you for the opportunity to work with **{customer_name}**. This proposal sets out how we will deliver your new website.\n\n## What we will do\n\n- Discovery workshop and sitemap\n- Design of the home page and key templates\n- Build, content entry and testing\n- Launch and two weeks of support\n\n## Timeline\n\n1. Week 1 — discovery\n2. Weeks 2–3 — design\n3. Weeks 4–6 — build and launch\n\nThis proposal is valid until {open_till}.",
    "created_at": "2026-11-19T20:17:23.273802+05:30"
   },
   {
    "id": 2,
    "name": "Annual maintenance (AMC)",
    "content": "## Annual maintenance for {customer_name}\n\nOur annual maintenance contract keeps your systems healthy all year.\n\n- Quarterly preventive visits\n- Priority support within 4 business hours\n- Spare parts at 10% off list price\n\nTotal for the year: **{total}**. Valid until {open_till}.",
    "created_at": "2026-11-19T20:17:23.273802+05:30"
   }
  ],
  "payments": [
   {
    "id": 1,
    "date": "2026-10-20",
    "note": null,
    "amount": 236000,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 1,
    "transaction_id": "UTR HDFC260915001"
   },
   {
    "id": 2,
    "date": "2026-10-09",
    "note": null,
    "amount": 159300,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": 8,
    "transaction_id": "UTR ICIC260904117"
   },
   {
    "id": 3,
    "date": "2026-09-28",
    "note": null,
    "amount": 60000,
    "mode_id": 3,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": 5,
    "transaction_id": "CHQ 004512"
   },
   {
    "id": 4,
    "date": "2026-10-06",
    "note": null,
    "amount": 58000,
    "mode_id": 2,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": 5,
    "transaction_id": "UPI 6612093381"
   },
   {
    "id": 5,
    "date": "2026-11-07",
    "note": null,
    "amount": 200000,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 3,
    "transaction_id": "UTR SBIN261003221"
   },
   {
    "id": 6,
    "date": "2026-11-04",
    "note": null,
    "amount": 40000,
    "mode_id": 2,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": 6,
    "transaction_id": "UPI 7720018843"
   },
   {
    "id": 7,
    "date": "2026-08-31",
    "note": "Charged automatically to the card on file (demo — no money moved)",
    "amount": 56640,
    "mode_id": 5,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": null,
    "invoice_id": 28,
    "transaction_id": "ch_demo_4214367f94bb"
   },
   {
    "id": 8,
    "date": "2026-09-30",
    "note": "Charged automatically to the card on file (demo — no money moved)",
    "amount": 56640,
    "mode_id": 5,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": null,
    "invoice_id": 29,
    "transaction_id": "ch_demo_e68e3cbc553f"
   },
   {
    "id": 9,
    "date": "2026-10-30",
    "note": "Charged automatically to the card on file (demo — no money moved)",
    "amount": 56640,
    "mode_id": 5,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": null,
    "invoice_id": 30,
    "transaction_id": "ch_demo_cff7066ccede"
   },
   {
    "id": 10,
    "date": "2026-09-26",
    "note": null,
    "amount": 29500,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 25,
    "transaction_id": "UTR197975"
   },
   {
    "id": 11,
    "date": "2026-10-26",
    "note": null,
    "amount": 29500,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 26,
    "transaction_id": "UTR205894"
   },
   {
    "id": 12,
    "date": "2026-08-26",
    "note": null,
    "amount": 29500,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 24,
    "transaction_id": "UTR190056"
   },
   {
    "id": 13,
    "date": "2026-10-03",
    "note": null,
    "amount": 17700,
    "mode_id": 2,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 31,
    "transaction_id": "UPI03246599"
   },
   {
    "id": 14,
    "date": "2026-10-15",
    "note": null,
    "amount": 70800,
    "mode_id": 1,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 33,
    "transaction_id": "UTR261327"
   }
  ],
  "credit_applications": [
   {
    "id": 1,
    "date": "2026-11-10",
    "amount": 23600,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": 3,
    "credit_note_id": 13
   }
  ],
  "subscriptions": [
   {
    "id": 4,
    "name": "SMS pack — 10,000 credits",
    "status": "paused",
    "item_id": null,
    "currency": "INR",
    "quantity": 1,
    "tax_rate": 18,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "start_date": "2026-09-20",
    "unit_price": 2500,
    "auto_charge": false,
    "customer_id": 12,
    "description": "Paused by customer for the off-season",
    "cancelled_at": null,
    "last_sent_at": null,
    "cycles_billed": 0,
    "interval_unit": "month",
    "interval_count": 1,
    "ends_after_cycles": null,
    "next_billing_date": "2026-12-01",
    "cancel_at_period_end": false,
    "ends_after_before_cancel": null
   },
   {
    "id": 5,
    "name": "WhatsApp notifications add-on",
    "status": "cancelled",
    "item_id": null,
    "currency": "INR",
    "quantity": 1,
    "tax_rate": 18,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "start_date": "2026-07-22",
    "unit_price": 3000,
    "auto_charge": false,
    "customer_id": 5,
    "description": null,
    "cancelled_at": "2026-10-20T20:17:22.38723+05:30",
    "last_sent_at": null,
    "cycles_billed": 0,
    "interval_unit": "month",
    "interval_count": 1,
    "ends_after_cycles": null,
    "next_billing_date": null,
    "cancel_at_period_end": false,
    "ends_after_before_cancel": null
   },
   {
    "id": 1,
    "name": "Gnexa Professional — 40 users",
    "status": "active",
    "item_id": 3,
    "currency": "INR",
    "quantity": 40,
    "tax_rate": 18,
    "created_at": "2026-08-31T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2026-08-31",
    "unit_price": 1200,
    "auto_charge": true,
    "customer_id": 1,
    "description": "Monthly licences for the sales and service teams",
    "cancelled_at": null,
    "last_sent_at": null,
    "cycles_billed": 3,
    "interval_unit": "month",
    "interval_count": 1,
    "ends_after_cycles": null,
    "next_billing_date": "2026-11-30",
    "cancel_at_period_end": false,
    "ends_after_before_cancel": null
   },
   {
    "id": 2,
    "name": "Priority support plan",
    "status": "active",
    "item_id": null,
    "currency": "INR",
    "quantity": 1,
    "tax_rate": 18,
    "created_at": "2026-09-30T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2026-09-30",
    "unit_price": 15000,
    "auto_charge": false,
    "customer_id": 3,
    "description": "4-hour response, named account manager",
    "cancelled_at": null,
    "last_sent_at": null,
    "cycles_billed": 2,
    "interval_unit": "month",
    "interval_count": 1,
    "ends_after_cycles": null,
    "next_billing_date": "2026-11-30",
    "cancel_at_period_end": false,
    "ends_after_before_cancel": null
   },
   {
    "id": 3,
    "name": "Managed hosting (annual)",
    "status": "active",
    "item_id": null,
    "currency": "INR",
    "quantity": 1,
    "tax_rate": 18,
    "created_at": "2026-10-10T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2026-10-10",
    "unit_price": 60000,
    "auto_charge": false,
    "customer_id": 4,
    "description": "Dedicated instance, daily backups, 99.9% SLA",
    "cancelled_at": null,
    "last_sent_at": null,
    "cycles_billed": 1,
    "interval_unit": "year",
    "interval_count": 1,
    "ends_after_cycles": null,
    "next_billing_date": "2027-10-10",
    "cancel_at_period_end": false,
    "ends_after_before_cancel": null
   }
  ],
  "expenses": [
   {
    "id": 1,
    "date": "2026-10-12",
    "name": "Flight BLR–BOM for Tata go-live",
    "note": null,
    "amount": 9800,
    "tax_rate": 5,
    "reference": "PNR K7QX2M",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 1,
    "customer_id": 1,
    "is_billable": true,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 2,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 2,
    "date": "2026-10-13",
    "name": "Hotel — Mumbai, 2 nights",
    "note": null,
    "amount": 8400,
    "tax_rate": 12,
    "reference": "INV H-55821",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 1,
    "customer_id": 1,
    "is_billable": true,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 2,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 3,
    "date": "2026-11-13",
    "name": "Cab to Pune site",
    "note": null,
    "amount": 2650,
    "tax_rate": 5,
    "reference": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": null,
    "project_id": null,
    "category_id": 1,
    "customer_id": 6,
    "is_billable": true,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 2,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 4,
    "date": "2026-11-05",
    "name": "Google Workspace — October",
    "note": null,
    "amount": 4200,
    "tax_rate": 18,
    "reference": "GW-OCT-26",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 3,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 5,
    "date": "2026-10-04",
    "name": "Zoom Pro annual",
    "note": null,
    "amount": 13200,
    "tax_rate": 18,
    "reference": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 3,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 6,
    "date": "2026-10-30",
    "name": "LinkedIn sponsored posts",
    "note": null,
    "amount": 25000,
    "tax_rate": 18,
    "reference": "LI-CMP-0910",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 4,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 7,
    "date": "2026-10-17",
    "name": "Trade show booth — Bengaluru",
    "note": null,
    "amount": 60000,
    "tax_rate": 18,
    "reference": "BTS-2026-118",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 4,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 3,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 8,
    "date": "2026-11-10",
    "name": "Office stationery",
    "note": null,
    "amount": 3150,
    "tax_rate": 12,
    "reference": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": null,
    "project_id": null,
    "category_id": 2,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 2,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 9,
    "date": "2026-11-01",
    "name": "Client lunch — Orchid team",
    "note": null,
    "amount": 4600,
    "tax_rate": 5,
    "reference": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": null,
    "project_id": null,
    "category_id": 5,
    "customer_id": 3,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 2,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 10,
    "date": "2026-11-15",
    "name": "Internet — October",
    "note": null,
    "amount": 2999,
    "tax_rate": 18,
    "reference": "ACT-OCT",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 6,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 11,
    "date": "2026-11-08",
    "name": "Freelance designer — proposal deck",
    "note": null,
    "amount": 18000,
    "tax_rate": 0,
    "reference": null,
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 7,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 12,
    "date": "2026-11-17",
    "name": "Barcode scanner samples",
    "note": null,
    "amount": 17000,
    "tax_rate": 18,
    "reference": "PO-2219",
    "created_at": "2026-11-19T20:17:21.285344+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "invoice_id": null,
    "project_id": null,
    "category_id": 2,
    "customer_id": 12,
    "is_billable": true,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 15,
    "date": "2026-09-11",
    "name": "Office rent — Pune",
    "note": "Monthly lease, Baner office",
    "amount": 45000,
    "tax_rate": 0,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 6,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": 13,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 16,
    "date": "2026-10-11",
    "name": "Office rent — Pune",
    "note": "Monthly lease, Baner office",
    "amount": 45000,
    "tax_rate": 0,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 6,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": 13,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 17,
    "date": "2026-11-11",
    "name": "Office rent — Pune",
    "note": "Monthly lease, Baner office",
    "amount": 45000,
    "tax_rate": 0,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 6,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": 13,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 13,
    "date": "2026-08-11",
    "name": "Office rent — Pune",
    "note": "Monthly lease, Baner office",
    "amount": 45000,
    "tax_rate": 0,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 6,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 3,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": 1,
    "recurring_cycles": null,
    "next_recurring_date": "2026-12-11"
   },
   {
    "id": 18,
    "date": "2026-10-10",
    "name": "AWS hosting",
    "note": "Production + staging",
    "amount": 18000,
    "tax_rate": 18,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 3,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": 14,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 19,
    "date": "2026-11-10",
    "name": "AWS hosting",
    "note": "Production + staging",
    "amount": 18000,
    "tax_rate": 18,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 3,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 0,
    "recurring_from": 14,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": null,
    "recurring_cycles": null,
    "next_recurring_date": null
   },
   {
    "id": 14,
    "date": "2026-09-10",
    "name": "AWS hosting",
    "note": "Production + staging",
    "amount": 18000,
    "tax_rate": 18,
    "reference": null,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "invoice_id": null,
    "project_id": null,
    "category_id": 3,
    "customer_id": null,
    "is_billable": false,
    "receipt_name": null,
    "receipt_path": null,
    "recurring_done": 2,
    "recurring_from": null,
    "recurring_unit": "month",
    "payment_mode_id": 1,
    "recurring_every": 1,
    "recurring_cycles": null,
    "next_recurring_date": "2026-12-10"
   }
  ],
  "projects": [
   {
    "id": 1,
    "name": "Tata CRM rollout",
    "status": "in_progress",
    "deadline": "2026-12-09",
    "created_at": "2026-10-05T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-10-05",
    "customer_id": 1,
    "description": "Company-wide CRM rollout across 3 plants: setup, migration, training and go-live.",
    "fixed_price": 200000,
    "hourly_rate": null,
    "billing_type": "fixed",
    "portal_visible": true,
    "estimated_hours": null,
    "progress_manual": null,
    "portal_show_tasks": true,
    "portal_show_timesheets": false
   },
   {
    "id": 2,
    "name": "Nimbus ERP connector",
    "status": "in_progress",
    "deadline": "2026-12-03",
    "created_at": "2026-10-20T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-10-20",
    "customer_id": 4,
    "description": "Two-way sync between Gnexa and the Nimbus ERP: customers, invoices and payments.",
    "fixed_price": null,
    "hourly_rate": 2500,
    "billing_type": "hourly",
    "portal_visible": true,
    "estimated_hours": null,
    "progress_manual": null,
    "portal_show_tasks": true,
    "portal_show_timesheets": false
   },
   {
    "id": 3,
    "name": "Orchid front-office training",
    "status": "finished",
    "deadline": "2026-10-30",
    "created_at": "2026-09-20T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-09-20",
    "customer_id": 3,
    "description": "Hands-on training for front-office and sales teams at 4 properties.",
    "fixed_price": null,
    "hourly_rate": 2000,
    "billing_type": "hourly",
    "portal_visible": true,
    "estimated_hours": null,
    "progress_manual": null,
    "portal_show_tasks": true,
    "portal_show_timesheets": false
   },
   {
    "id": 4,
    "name": "Saffron store rollout",
    "status": "not_started",
    "deadline": "2027-01-18",
    "created_at": "2026-11-16T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-26",
    "customer_id": 9,
    "description": "Rollout to 40 stores with barcode scanners and store-level dashboards.",
    "fixed_price": 450000,
    "hourly_rate": null,
    "billing_type": "fixed",
    "portal_visible": true,
    "estimated_hours": null,
    "progress_manual": null,
    "portal_show_tasks": true,
    "portal_show_timesheets": false
   },
   {
    "id": 5,
    "name": "Everest site app",
    "status": "on_hold",
    "deadline": "2026-12-19",
    "created_at": "2026-10-25T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-10-25",
    "customer_id": 6,
    "description": "Mobile checklist for site supervisors. On hold pending customer sign-off on scope.",
    "fixed_price": 120000,
    "hourly_rate": null,
    "billing_type": "fixed",
    "portal_visible": true,
    "estimated_hours": null,
    "progress_manual": null,
    "portal_show_tasks": true,
    "portal_show_timesheets": false
   }
  ],
  "project_members": [
   {
    "staff_id": "a0000000-0000-4000-8000-000000000002",
    "project_id": 1
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "project_id": 1
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000004",
    "project_id": 1
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000002",
    "project_id": 2
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "project_id": 2
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "project_id": 3
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000004",
    "project_id": 3
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000002",
    "project_id": 4
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "project_id": 4
   },
   {
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "project_id": 5
   }
  ],
  "milestones": [
   {
    "id": 1,
    "name": "Setup & configuration",
    "due_date": "2026-10-25",
    "position": 1,
    "project_id": 1,
    "description": null,
    "is_complete": true
   },
   {
    "id": 2,
    "name": "Data migration",
    "due_date": "2026-11-14",
    "position": 2,
    "project_id": 1,
    "description": null,
    "is_complete": true
   },
   {
    "id": 3,
    "name": "Training & go-live",
    "due_date": "2026-12-09",
    "position": 3,
    "project_id": 1,
    "description": null,
    "is_complete": false
   },
   {
    "id": 4,
    "name": "API mapping",
    "due_date": "2026-11-04",
    "position": 1,
    "project_id": 2,
    "description": null,
    "is_complete": true
   },
   {
    "id": 5,
    "name": "Build & test sync",
    "due_date": "2026-12-03",
    "position": 2,
    "project_id": 2,
    "description": null,
    "is_complete": false
   }
  ],
  "timesheets": [
   {
    "id": 1,
    "date": "2026-10-22",
    "note": "Field mapping workshop",
    "hours": 6,
    "task_id": 25,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 2,
    "date": "2026-10-24",
    "note": "Review with Nimbus IT",
    "hours": 2.5,
    "task_id": 25,
    "staff_id": "a0000000-0000-4000-8000-000000000002",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 3,
    "date": "2026-11-05",
    "note": "Sync job + retries",
    "hours": 7.5,
    "task_id": 26,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 4,
    "date": "2026-11-07",
    "note": "Conflict handling",
    "hours": 6,
    "task_id": 26,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 5,
    "date": "2026-11-10",
    "note": "Test fixtures",
    "hours": 4,
    "task_id": 26,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 6,
    "date": "2026-11-13",
    "note": "Invoice push",
    "hours": 8,
    "task_id": 27,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 7,
    "date": "2026-11-16",
    "note": "Payment webhooks",
    "hours": 5.5,
    "task_id": 27,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 8,
    "date": "2026-11-18",
    "note": "UAT session 1",
    "hours": 2,
    "task_id": 28,
    "staff_id": "a0000000-0000-4000-8000-000000000002",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 2,
    "is_billable": true
   },
   {
    "id": 9,
    "date": "2026-10-30",
    "note": "Cleanup + import",
    "hours": 7,
    "task_id": 21,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 1,
    "is_billable": false
   },
   {
    "id": 10,
    "date": "2026-11-17",
    "note": "Day 1 — Jamshedpur plant",
    "hours": 8,
    "task_id": 23,
    "staff_id": "a0000000-0000-4000-8000-000000000004",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 1,
    "is_billable": false
   },
   {
    "id": 11,
    "date": "2026-09-30",
    "note": "Training — Goa",
    "hours": 8,
    "task_id": null,
    "staff_id": "a0000000-0000-4000-8000-000000000003",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 3,
    "is_billable": true
   },
   {
    "id": 12,
    "date": "2026-10-15",
    "note": "Training — Udaipur",
    "hours": 8,
    "task_id": null,
    "staff_id": "a0000000-0000-4000-8000-000000000004",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "invoice_id": null,
    "project_id": 3,
    "is_billable": true
   }
  ],
  "tasks": [
   {
    "id": 1,
    "name": "Send revised quotation to Vikram",
    "rel_id": 11,
    "status": "in_progress",
    "due_date": "2026-11-18",
    "priority": "high",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 2,
    "name": "Follow-up call with Meera",
    "rel_id": 1,
    "status": "not_started",
    "due_date": "2026-11-19",
    "priority": "medium",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 3,
    "name": "Prepare onboarding deck for Nimbus",
    "rel_id": 4,
    "status": "awaiting_feedback",
    "due_date": "2026-11-20",
    "priority": "urgent",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 4,
    "name": "Review AMC contract draft",
    "rel_id": 1,
    "status": "testing",
    "due_date": "2026-11-21",
    "priority": "high",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 5,
    "name": "Collect KYC documents",
    "rel_id": 2,
    "status": "complete",
    "due_date": "2026-11-16",
    "priority": "medium",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": "2026-11-19T20:17:20.97852+05:30",
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 7,
    "name": "Update pricing sheet for Q4",
    "rel_id": null,
    "status": "in_progress",
    "due_date": "2026-11-24",
    "priority": "low",
    "rel_type": null,
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 8,
    "name": "Resolve billing query",
    "rel_id": 3,
    "status": "in_progress",
    "due_date": "2026-11-19",
    "priority": "urgent",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 9,
    "name": "Site visit — Chopra Hospitality",
    "rel_id": 14,
    "status": "not_started",
    "due_date": "2026-11-23",
    "priority": "high",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 10,
    "name": "Negotiate payment terms",
    "rel_id": 20,
    "status": "awaiting_feedback",
    "due_date": "2026-11-21",
    "priority": "medium",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 11,
    "name": "Share case studies with Divya",
    "rel_id": 6,
    "status": "complete",
    "due_date": "2026-11-17",
    "priority": "low",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": "2026-11-19T20:17:20.97852+05:30",
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 12,
    "name": "Quarterly business review",
    "rel_id": 9,
    "status": "not_started",
    "due_date": "2026-11-28",
    "priority": "medium",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 13,
    "name": "Fix login issue on customer portal",
    "rel_id": 8,
    "status": "testing",
    "due_date": "2026-11-20",
    "priority": "high",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 14,
    "name": "Call back Rohit about steel grades",
    "rel_id": 9,
    "status": "not_started",
    "due_date": "2026-11-17",
    "priority": "medium",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 15,
    "name": "Renewal reminder — Coastal Foods",
    "rel_id": 5,
    "status": "not_started",
    "due_date": "2026-12-01",
    "priority": "low",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 16,
    "name": "Train new support hire on CRM",
    "rel_id": null,
    "status": "in_progress",
    "due_date": "2026-11-25",
    "priority": "medium",
    "rel_type": null,
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 17,
    "name": "Send welcome kit to Greenfield",
    "rel_id": 12,
    "status": "complete",
    "due_date": "2026-11-18",
    "priority": "low",
    "rel_type": "customer",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": "2026-11-19T20:17:20.97852+05:30",
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 18,
    "name": "Clean up junk leads",
    "rel_id": null,
    "status": "not_started",
    "due_date": "2026-11-26",
    "priority": "low",
    "rel_type": null,
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 19,
    "name": "Configure pipeline stages & roles",
    "rel_id": 1,
    "status": "complete",
    "due_date": "2026-10-15",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-10-06",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": 1,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 20,
    "name": "Set up GST & invoice templates",
    "rel_id": 1,
    "status": "complete",
    "due_date": "2026-10-22",
    "priority": "medium",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-10-10",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": 1,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 21,
    "name": "Import 4,200 customer records",
    "rel_id": 1,
    "status": "complete",
    "due_date": "2026-11-07",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-10-26",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": 2,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 22,
    "name": "Reconcile opening balances",
    "rel_id": 1,
    "status": "complete",
    "due_date": "2026-11-13",
    "priority": "medium",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-04",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": 2,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 23,
    "name": "Train plant sales teams (3 days)",
    "rel_id": 1,
    "status": "in_progress",
    "due_date": "2026-11-25",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "start_date": "2026-11-16",
    "description": null,
    "completed_at": null,
    "milestone_id": 3,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 24,
    "name": "Go-live checklist & hypercare",
    "rel_id": 1,
    "status": "not_started",
    "due_date": "2026-12-09",
    "priority": "urgent",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-26",
    "description": null,
    "completed_at": null,
    "milestone_id": 3,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 25,
    "name": "Map customer & invoice fields",
    "rel_id": 2,
    "status": "complete",
    "due_date": "2026-11-01",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-10-20",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": 4,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 26,
    "name": "Build customer sync job",
    "rel_id": 2,
    "status": "testing",
    "due_date": "2026-11-21",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-03",
    "description": null,
    "completed_at": null,
    "milestone_id": 5,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 27,
    "name": "Build invoice & payment sync",
    "rel_id": 2,
    "status": "in_progress",
    "due_date": "2026-11-28",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-11",
    "description": null,
    "completed_at": null,
    "milestone_id": 5,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 28,
    "name": "UAT with Nimbus finance team",
    "rel_id": 2,
    "status": "awaiting_feedback",
    "due_date": "2026-12-01",
    "priority": "medium",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-17",
    "description": null,
    "completed_at": null,
    "milestone_id": 5,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 29,
    "name": "Front-office training — Goa",
    "rel_id": 3,
    "status": "complete",
    "due_date": "2026-10-05",
    "priority": "medium",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-09-30",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 30,
    "name": "Sales team training — Udaipur",
    "rel_id": 3,
    "status": "complete",
    "due_date": "2026-10-20",
    "priority": "medium",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-10-15",
    "description": null,
    "completed_at": "2026-11-19T20:17:21.678915+05:30",
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 31,
    "name": "Kick-off meeting with Saffron",
    "rel_id": 4,
    "status": "not_started",
    "due_date": "2026-11-27",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "start_date": "2026-11-26",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 32,
    "name": "Ship scanners to pilot stores",
    "rel_id": 4,
    "status": "not_started",
    "due_date": "2026-12-07",
    "priority": "medium",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-29",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 33,
    "name": "Scope sign-off from Everest",
    "rel_id": 5,
    "status": "awaiting_feedback",
    "due_date": "2026-11-18",
    "priority": "high",
    "rel_type": "project",
    "created_at": "2026-11-19T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-09",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   },
   {
    "id": 6,
    "name": "Product demo for Skyline Realty",
    "rel_id": 12,
    "status": "in_progress",
    "due_date": "2026-11-22",
    "priority": "high",
    "rel_type": "lead",
    "created_at": "2026-11-14T20:17:20.97852+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "start_date": "2026-11-14",
    "description": null,
    "completed_at": null,
    "milestone_id": null,
    "recurring_from": null,
    "recurring_unit": "week",
    "recurring_every": null,
    "recurring_until": null,
    "visible_to_client": true,
    "next_recurring_date": null
   }
  ],
  "task_assignees": [
   {
    "task_id": 1,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 2,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 3,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 3,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 4,
    "staff_id": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "task_id": 4,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 5,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 6,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 7,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 8,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 9,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 9,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 10,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 11,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 12,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 12,
    "staff_id": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "task_id": 13,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 14,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 15,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 16,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 16,
    "staff_id": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "task_id": 17,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 18,
    "staff_id": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "task_id": 19,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 20,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 21,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 22,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 23,
    "staff_id": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "task_id": 24,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 25,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 26,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 27,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 28,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 29,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 30,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 31,
    "staff_id": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "task_id": 32,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "task_id": 33,
    "staff_id": "a0000000-0000-4000-8000-000000000003"
   }
  ],
  "task_checklist_items": [
   {
    "id": 1,
    "done_at": "2026-11-18T20:17:22.208797+05:30",
    "done_by": "a0000000-0000-4000-8000-000000000004",
    "is_done": true,
    "task_id": 23,
    "position": 1,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "Book training room at plant 1"
   },
   {
    "id": 2,
    "done_at": "2026-11-17T20:17:22.208797+05:30",
    "done_by": "a0000000-0000-4000-8000-000000000004",
    "is_done": true,
    "task_id": 23,
    "position": 2,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "Plant 1 — sales team (day 1)"
   },
   {
    "id": 3,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 23,
    "position": 3,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "Plant 2 — sales team (day 2)"
   },
   {
    "id": 4,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 23,
    "position": 4,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "Plant 3 — sales team (day 3)"
   },
   {
    "id": 5,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 23,
    "position": 5,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "Share recordings & quick-start PDF"
   },
   {
    "id": 6,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 24,
    "position": 1,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "description": "Freeze old system for new entries"
   },
   {
    "id": 7,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 24,
    "position": 2,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "description": "Final data delta import"
   },
   {
    "id": 8,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 24,
    "position": 3,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "description": "Switch DNS for portal"
   },
   {
    "id": 9,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 24,
    "position": 4,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "description": "Hypercare roster for week 1"
   },
   {
    "id": 10,
    "done_at": "2026-11-18T20:17:22.208797+05:30",
    "done_by": "a0000000-0000-4000-8000-000000000003",
    "is_done": true,
    "task_id": 27,
    "position": 1,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Map invoice line items"
   },
   {
    "id": 11,
    "done_at": "2026-11-17T20:17:22.208797+05:30",
    "done_by": "a0000000-0000-4000-8000-000000000003",
    "is_done": true,
    "task_id": 27,
    "position": 2,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Handle partial payments"
   },
   {
    "id": 12,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 27,
    "position": 3,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Credit notes sync"
   },
   {
    "id": 13,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 27,
    "position": 4,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Retry queue for failed syncs"
   },
   {
    "id": 14,
    "done_at": "2026-11-18T20:17:22.208797+05:30",
    "done_by": "a0000000-0000-4000-8000-000000000003",
    "is_done": true,
    "task_id": 6,
    "position": 1,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Load sample property listings"
   },
   {
    "id": 15,
    "done_at": null,
    "done_by": null,
    "is_done": false,
    "task_id": 6,
    "position": 2,
    "created_at": "2026-11-19T20:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Prepare pricing for 25 users"
   }
  ],
  "task_comments": [
   {
    "id": 1,
    "body": "Plant 1 went well — 22 people attended. Plant 2 has asked to move to Thursday.",
    "task_id": 23,
    "created_at": "2026-11-18T14:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "id": 2,
    "body": "Thursday is fine. Please share attendance sheet after each session.",
    "task_id": 23,
    "created_at": "2026-11-18T18:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "id": 3,
    "body": "Partial payments are syncing now. Credit notes need a new endpoint on their side.",
    "task_id": 27,
    "created_at": "2026-11-19T00:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "id": 4,
    "body": "I'll raise it with their CTO on tomorrow's call.",
    "task_id": 27,
    "created_at": "2026-11-19T02:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "id": 5,
    "body": "Root cause is clock skew on older Android devices. Fix is in testing.",
    "task_id": 13,
    "created_at": "2026-11-19T14:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "id": 6,
    "body": "Their CFO will join — keep the finance part tight.",
    "task_id": 6,
    "created_at": "2026-11-19T10:17:22.208797+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   }
  ],
  "contracts": [
   {
    "id": 1,
    "value": 85000,
    "status": "signed",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "AMC — FY 2026-27",
    "type_id": 1,
    "end_date": "2027-05-03",
    "signed_at": "2026-05-01T20:17:21.678915+05:30",
    "signed_by": "Rajesh Khanna",
    "created_at": "2026-04-28T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2026-05-03",
    "customer_id": 1,
    "visible_to_client": true,
    "expiry_reminded_at": null
   },
   {
    "id": 2,
    "value": 85000,
    "status": "signed",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "AMC — FY 2026-27",
    "type_id": 1,
    "end_date": "2026-12-09",
    "signed_at": "2025-12-12T20:17:21.678915+05:30",
    "signed_by": "Pooja Shah",
    "created_at": "2025-12-09T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2025-12-14",
    "customer_id": 2,
    "visible_to_client": true,
    "expiry_reminded_at": null
   },
   {
    "id": 3,
    "value": 360000,
    "status": "signed",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "Licence agreement — 25 users",
    "type_id": 2,
    "end_date": "2027-10-30",
    "signed_at": "2026-10-28T20:17:21.678915+05:30",
    "signed_by": "Sunil Fernandes",
    "created_at": "2026-10-25T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "start_date": "2026-10-30",
    "customer_id": 3,
    "visible_to_client": true,
    "expiry_reminded_at": null
   },
   {
    "id": 4,
    "value": 150000,
    "status": "signed",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "SOW — ERP connector",
    "type_id": 5,
    "end_date": "2027-01-03",
    "signed_at": "2026-10-18T20:17:21.678915+05:30",
    "signed_by": "Kavya Reddy",
    "created_at": "2026-10-15T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2026-10-20",
    "customer_id": 4,
    "visible_to_client": true,
    "expiry_reminded_at": null
   },
   {
    "id": 5,
    "value": 60000,
    "status": "signed",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "Support agreement 2025-26",
    "type_id": 3,
    "end_date": "2026-10-15",
    "signed_at": "2025-10-13T20:17:21.678915+05:30",
    "signed_by": "Manoj Pillai",
    "created_at": "2025-10-10T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "start_date": "2025-10-15",
    "customer_id": 5,
    "visible_to_client": true,
    "expiry_reminded_at": null
   },
   {
    "id": 6,
    "value": 450000,
    "status": "sent",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "SOW — store rollout (40 stores)",
    "type_id": 5,
    "end_date": "2027-03-19",
    "signed_at": null,
    "signed_by": null,
    "created_at": "2026-11-21T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "project_id": null,
    "start_date": "2026-11-26",
    "customer_id": 9,
    "visible_to_client": true,
    "expiry_reminded_at": null
   },
   {
    "id": 7,
    "value": null,
    "status": "draft",
    "content": "1. Scope\nThe provider will deliver the services described in the attached schedule.\n\n2. Term\nThis agreement runs from the start date to the end date unless renewed in writing.\n\n3. Fees\nFees are payable within 15 days of invoice. GST is charged as applicable.\n\n4. Confidentiality\nEach party keeps the other's confidential information private.\n\n5. Termination\nEither party may terminate with 30 days' written notice.",
    "subject": "Mutual NDA",
    "type_id": 4,
    "end_date": "2027-11-19",
    "signed_at": null,
    "signed_by": null,
    "created_at": "2026-11-14T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "project_id": null,
    "start_date": "2026-11-19",
    "customer_id": 11,
    "visible_to_client": true,
    "expiry_reminded_at": null
   }
  ],
  "tickets": [
   {
    "id": 1,
    "status": "open",
    "subject": "Training slides for plant 3",
    "priority": "medium",
    "closed_at": null,
    "contact_id": 1,
    "created_at": "2026-11-19T10:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": 1,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000004",
    "customer_id": 1,
    "merged_into": null,
    "department_id": 3,
    "last_reply_at": "2026-11-19T10:17:21.678915+05:30"
   },
   {
    "id": 2,
    "status": "open",
    "subject": "Payment not reflecting on invoice",
    "priority": "high",
    "closed_at": null,
    "contact_id": 2,
    "created_at": "2026-11-19T19:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": null,
    "service_id": null,
    "assigned_to": null,
    "customer_id": 2,
    "merged_into": null,
    "department_id": 2,
    "last_reply_at": "2026-11-19T19:17:21.678915+05:30"
   },
   {
    "id": 3,
    "status": "closed",
    "subject": "Invoice raised twice for September",
    "priority": "medium",
    "closed_at": "2026-11-11T12:17:21.678915+05:30",
    "contact_id": 3,
    "created_at": "2026-11-09T00:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": null,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000004",
    "customer_id": 3,
    "merged_into": null,
    "department_id": 2,
    "last_reply_at": "2026-11-11T12:17:21.678915+05:30"
   },
   {
    "id": 4,
    "status": "in_progress",
    "subject": "Customer sync skipping records with emojis",
    "priority": "urgent",
    "closed_at": null,
    "contact_id": 4,
    "created_at": "2026-11-18T14:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": 2,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "customer_id": 4,
    "merged_into": null,
    "department_id": 1,
    "last_reply_at": "2026-11-19T14:17:21.678915+05:30"
   },
   {
    "id": 5,
    "status": "closed",
    "subject": "Export customers to Excel",
    "priority": "low",
    "closed_at": "2026-11-07T08:17:21.678915+05:30",
    "contact_id": 7,
    "created_at": "2026-11-06T02:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": null,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000004",
    "customer_id": 7,
    "merged_into": null,
    "department_id": 1,
    "last_reply_at": "2026-11-07T08:17:21.678915+05:30"
   },
   {
    "id": 6,
    "status": "open",
    "subject": "Login fails on Android app",
    "priority": "high",
    "closed_at": null,
    "contact_id": 8,
    "created_at": "2026-11-19T15:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": null,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000004",
    "customer_id": 8,
    "merged_into": null,
    "department_id": 1,
    "last_reply_at": "2026-11-19T17:17:21.678915+05:30"
   },
   {
    "id": 7,
    "status": "on_hold",
    "subject": "Request: WhatsApp notifications",
    "priority": "low",
    "closed_at": null,
    "contact_id": 9,
    "created_at": "2026-11-13T14:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": null,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "customer_id": 9,
    "merged_into": null,
    "department_id": 4,
    "last_reply_at": "2026-11-15T20:17:21.678915+05:30"
   },
   {
    "id": 8,
    "status": "answered",
    "subject": "How do I add a new GST rate?",
    "priority": "low",
    "closed_at": null,
    "contact_id": 12,
    "created_at": "2026-11-18T16:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "project_id": null,
    "service_id": null,
    "assigned_to": "a0000000-0000-4000-8000-000000000004",
    "customer_id": 12,
    "merged_into": null,
    "department_id": 2,
    "last_reply_at": "2026-11-19T00:17:21.678915+05:30"
   }
  ],
  "ticket_replies": [
   {
    "id": 1,
    "body": "Can you share the slides used in the plant 1 & 2 sessions?",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 1,
    "created_at": "2026-11-19T10:17:21.678915+05:30",
    "author_name": "Anil Menon",
    "is_internal": false
   },
   {
    "id": 2,
    "body": "We paid INV-00002 by NEFT yesterday (UTR HDFC26101400). It still shows overdue.",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 2,
    "created_at": "2026-11-19T19:17:21.678915+05:30",
    "author_name": "Pooja Shah",
    "is_internal": false
   },
   {
    "id": 3,
    "body": "Sorry about that, Sunil. We've issued credit note CN-00001 for ₹23,600 and applied it to INV-00003.",
    "author_id": "a0000000-0000-4000-8000-000000000004",
    "edited_at": null,
    "ticket_id": 3,
    "created_at": "2026-11-11T12:17:21.678915+05:30",
    "author_name": null,
    "is_internal": false
   },
   {
    "id": 4,
    "body": "We were billed twice for September licences. Please check.",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 3,
    "created_at": "2026-11-09T00:17:21.678915+05:30",
    "author_name": "Sunil Fernandes",
    "is_internal": false
   },
   {
    "id": 5,
    "body": "Fix deployed to staging — could your team re-run the sync and confirm?",
    "author_id": "a0000000-0000-4000-8000-000000000003",
    "edited_at": null,
    "ticket_id": 4,
    "created_at": "2026-11-19T14:17:21.678915+05:30",
    "author_name": null,
    "is_internal": false
   },
   {
    "id": 6,
    "body": "ERP API rejects 4-byte UTF-8. Plan: transliterate on our side before push.",
    "author_id": "a0000000-0000-4000-8000-000000000003",
    "edited_at": null,
    "ticket_id": 4,
    "created_at": "2026-11-19T00:17:21.678915+05:30",
    "author_name": null,
    "is_internal": true
   },
   {
    "id": 7,
    "body": "Around 40 customers with emojis in their names are not syncing to ERP.",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 4,
    "created_at": "2026-11-18T14:17:21.678915+05:30",
    "author_name": "Kavya Reddy",
    "is_internal": false
   },
   {
    "id": 8,
    "body": "Not yet in the app — we sent you a CSV export by email. Excel export is coming with reports.",
    "author_id": "a0000000-0000-4000-8000-000000000004",
    "edited_at": null,
    "ticket_id": 5,
    "created_at": "2026-11-07T08:17:21.678915+05:30",
    "author_name": null,
    "is_internal": false
   },
   {
    "id": 9,
    "body": "Is there a way to export our customer list?",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 5,
    "created_at": "2026-11-06T02:17:21.678915+05:30",
    "author_name": "Imran Qureshi",
    "is_internal": false
   },
   {
    "id": 10,
    "body": "Thanks Deepa — we can reproduce it and a fix is in progress. As a workaround, please ask drivers to enable automatic date & time.",
    "author_id": "a0000000-0000-4000-8000-000000000004",
    "edited_at": null,
    "ticket_id": 6,
    "created_at": "2026-11-19T17:17:21.678915+05:30",
    "author_name": null,
    "is_internal": false
   },
   {
    "id": 11,
    "body": "Reproduced on Android 14 with the latest app build. Looks like a clock-skew issue on token refresh.",
    "author_id": "a0000000-0000-4000-8000-000000000004",
    "edited_at": null,
    "ticket_id": 6,
    "created_at": "2026-11-19T16:17:21.678915+05:30",
    "author_name": null,
    "is_internal": true
   },
   {
    "id": 12,
    "body": "Since this morning our drivers can't log in on Android. iOS works fine. Error says \"session expired\".",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 6,
    "created_at": "2026-11-19T15:17:21.678915+05:30",
    "author_name": "Deepa Raman",
    "is_internal": false
   },
   {
    "id": 13,
    "body": "Logged as a feature request — on the roadmap for Phase 4. Putting this on hold until then.",
    "author_id": "a0000000-0000-4000-8000-000000000002",
    "edited_at": null,
    "ticket_id": 7,
    "created_at": "2026-11-15T20:17:21.678915+05:30",
    "author_name": null,
    "is_internal": false
   },
   {
    "id": 14,
    "body": "Would love invoice reminders over WhatsApp.",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 7,
    "created_at": "2026-11-13T14:17:21.678915+05:30",
    "author_name": "Vivek Agarwal",
    "is_internal": false
   },
   {
    "id": 15,
    "body": "Go to Setup → Finance → Tax rates and add it there. Here's a guide: \"Adding GST rates\" in our knowledge base.",
    "author_id": "a0000000-0000-4000-8000-000000000004",
    "edited_at": null,
    "ticket_id": 8,
    "created_at": "2026-11-19T00:17:21.678915+05:30",
    "author_name": null,
    "is_internal": false
   },
   {
    "id": 16,
    "body": "We need to bill 5% GST for some items. How do we add that?",
    "author_id": null,
    "edited_at": null,
    "ticket_id": 8,
    "created_at": "2026-11-18T16:17:21.678915+05:30",
    "author_name": "Neha Joshi",
    "is_internal": false
   }
  ],
  "kb_articles": [
   {
    "id": 1,
    "body": "Welcome! Here's the fastest way to get value from Gnexa:\n\n1. Add your company details under Setup → General. They appear on every invoice.\n2. Import or add your customers.\n3. Create leads for open opportunities and drag them across the board as they progress.\n4. Turn won leads into customers with one click.\n5. Create your first invoice from Sales → Invoices.",
    "slug": "first-10-minutes",
    "title": "Your first 10 minutes in Gnexa",
    "views": 412,
    "helpful": 38,
    "group_id": 1,
    "position": 0,
    "created_at": "2026-10-10T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-10-30T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 2,
    "is_published": true
   },
   {
    "id": 2,
    "body": "Every team member has a role. Roles decide what they can view, create, edit or delete in each module.\n\n• Administrator — everything, including Setup.\n• Sales Manager — full access to sales, projects and support.\n• Sales Executive — create and edit, but no deletes.\n• Support — tickets and knowledge base; read-only elsewhere.\n\nOpen My profile to see exactly what your role allows.",
    "slug": "roles-and-permissions",
    "title": "Understanding roles and permissions",
    "views": 188,
    "helpful": 21,
    "group_id": 1,
    "position": 0,
    "created_at": "2026-10-15T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-02T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 1,
    "is_published": true
   },
   {
    "id": 3,
    "body": "Open the lead and click \"Convert to customer\". Gnexa will:\n\n• create the customer with the lead's company details,\n• add the lead as the primary contact,\n• move all notes and tasks across, and\n• mark the lead as won.",
    "slug": "convert-lead",
    "title": "Converting a lead into a customer",
    "views": 260,
    "helpful": 30,
    "group_id": 1,
    "position": 0,
    "created_at": "2026-10-17T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-03T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 0,
    "is_published": true
   },
   {
    "id": 4,
    "body": "Go to Setup → Finance → Tax rates. Enter a name (for example \"GST 5%\") and the rate, then click Add.\n\nThe new rate is immediately available on line items and expenses. Invoices show GST split into CGST and SGST.",
    "slug": "adding-gst-rates",
    "title": "Adding GST rates",
    "views": 145,
    "helpful": 17,
    "group_id": 2,
    "position": 0,
    "created_at": "2026-10-22T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-05T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 1,
    "is_published": true
   },
   {
    "id": 5,
    "body": "Open the invoice and click \"Record payment\". Enter the amount received, the payment mode and the UTR or cheque number.\n\nThe invoice switches to \"Partially paid\" and the balance due updates everywhere — including the PDF.",
    "slug": "part-payments",
    "title": "Recording a part payment",
    "views": 201,
    "helpful": 24,
    "group_id": 2,
    "position": 0,
    "created_at": "2026-10-25T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-07T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 3,
    "is_published": true
   },
   {
    "id": 6,
    "body": "Create a credit note for the customer and mark it as sent. Then, on the credit note, choose one of the customer's open invoices and the amount to apply.\n\nThe invoice balance drops by that amount and the credit note closes once fully used.",
    "slug": "credit-notes",
    "title": "Applying a credit note",
    "views": 97,
    "helpful": 11,
    "group_id": 2,
    "position": 0,
    "created_at": "2026-10-30T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-09T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 0,
    "is_published": true
   },
   {
    "id": 7,
    "body": "This happens when the phone's clock is out of sync.\n\nFix: Settings → System → Date & time → turn on \"Set time automatically\", then sign in again.",
    "slug": "android-session-expired",
    "title": "Android app says \"session expired\"",
    "views": 64,
    "helpful": 9,
    "group_id": 3,
    "position": 0,
    "created_at": "2026-11-15T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-17T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 2,
    "is_published": true
   },
   {
    "id": 8,
    "body": "Customers with emojis or unusual symbols in their name can be rejected by some ERPs.\n\nGnexa now replaces these characters before syncing. Re-run the sync from Setup → Integrations once the fix is live.",
    "slug": "erp-sync-skips",
    "title": "Some customers don't sync to ERP",
    "views": 22,
    "helpful": 3,
    "group_id": 3,
    "position": 0,
    "created_at": "2026-11-17T20:17:21.678915+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "updated_at": "2026-11-18T20:17:21.678915+05:30",
    "is_internal": false,
    "not_helpful": 0,
    "is_published": true
   }
  ],
  "estimate_requests": [
   {
    "id": 1,
    "name": "Anil Menon",
    "email": "anil@menonlogistics.example.in",
    "phone": "+91 98450 22113",
    "budget": "₹3–5 lakh",
    "status": "new",
    "company": "Menon Logistics",
    "form_id": 2,
    "lead_id": null,
    "message": "We run 3 warehouses and need a CRM for our B2B sales team (12 people) with GST invoicing. Please quote for implementation + annual licences.",
    "created_at": "2026-11-19T15:17:22.777347+05:30",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "customer_id": null,
    "estimate_id": null
   },
   {
    "id": 2,
    "name": "Farah Siddiqui",
    "email": "farah@brightsmiles.example.in",
    "phone": "+91 99020 77810",
    "budget": "₹1–2 lakh",
    "status": "in_review",
    "company": "BrightSmiles Dental",
    "form_id": 2,
    "lead_id": null,
    "message": "Clinic chain with 8 branches. Looking for appointment follow-ups and patient invoicing.",
    "created_at": "2026-11-17T20:17:22.777347+05:30",
    "assigned_to": "a0000000-0000-4000-8000-000000000003",
    "customer_id": null,
    "estimate_id": null
   },
   {
    "id": 3,
    "name": "Karan Malhotra",
    "email": "karan@fitzone.example.in",
    "phone": null,
    "budget": null,
    "status": "quoted",
    "company": "FitZone Gyms",
    "form_id": 2,
    "lead_id": null,
    "message": "Membership renewals and corporate tie-ups. 20 users.",
    "created_at": "2026-11-10T20:17:22.777347+05:30",
    "assigned_to": "a0000000-0000-4000-8000-000000000002",
    "customer_id": null,
    "estimate_id": null
   }
  ],
  "goals": [
   {
    "id": 1,
    "title": "Invoice ₹25 lakh this quarter",
    "metric": "invoiced",
    "target": 2500000,
    "end_date": "2026-12-31",
    "staff_id": null,
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-10-01"
   },
   {
    "id": 2,
    "title": "Collect ₹10 lakh this month",
    "metric": "collected",
    "target": 1000000,
    "end_date": "2026-11-30",
    "staff_id": null,
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-11-01"
   },
   {
    "id": 3,
    "title": "Convert 4 leads this quarter",
    "metric": "leads_converted",
    "target": 4,
    "end_date": "2026-12-31",
    "staff_id": "a0000000-0000-4000-8000-000000000002",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-10-01"
   },
   {
    "id": 4,
    "title": "Close 10 tickets this month",
    "metric": "tickets_closed",
    "target": 10,
    "end_date": "2026-11-30",
    "staff_id": "a0000000-0000-4000-8000-000000000004",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-11-01"
   },
   {
    "id": 5,
    "title": "Win 3 new customers",
    "metric": "new_customers",
    "target": 3,
    "end_date": "2026-11-30",
    "staff_id": null,
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "start_date": "2026-09-02"
   }
  ],
  "calendar_events": [
   {
    "id": 1,
    "color": "#6d55f2",
    "title": "Weekly sales review",
    "all_day": false,
    "ends_at": "2026-11-19T16:30:00+05:30",
    "starts_at": "2026-11-19T15:30:00+05:30",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "description": "Pipeline walk-through with the sales team"
   },
   {
    "id": 2,
    "color": "#0d9488",
    "title": "Demo — Chopra Hospitality",
    "all_day": false,
    "ends_at": "2026-11-21T21:30:00+05:30",
    "starts_at": "2026-11-21T20:30:00+05:30",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002",
    "description": "Guest-relations CRM demo for Nikhil and CFO"
   },
   {
    "id": 3,
    "color": "#f59e0b",
    "title": "Tata plant 3 training",
    "all_day": false,
    "ends_at": "2026-11-24T23:00:00+05:30",
    "starts_at": "2026-11-24T15:00:00+05:30",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "On-site, Jamshedpur"
   },
   {
    "id": 4,
    "color": "#e11d48",
    "title": "Quarter-end close",
    "all_day": true,
    "ends_at": null,
    "starts_at": "2026-11-30T05:30:00+05:30",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "description": "Finance close for Q3"
   },
   {
    "id": 5,
    "color": "#0ea5e9",
    "title": "Team offsite — Coorg",
    "all_day": false,
    "ends_at": "2026-12-02T23:30:00+05:30",
    "starts_at": "2026-12-01T14:30:00+05:30",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "description": null
   },
   {
    "id": 6,
    "color": "#6d55f2",
    "title": "Call: Saffron store rollout",
    "all_day": false,
    "ends_at": "2026-11-17T18:00:00+05:30",
    "starts_at": "2026-11-17T17:30:00+05:30",
    "created_at": "2026-11-19T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003",
    "description": "Kick-off logistics with Vivek"
   }
  ],
  "announcements": [
   {
    "id": 1,
    "body": "We have moved our customer work into Gnexa. Leads, invoices, projects and support now live in one place.\n\nQuestions? Ask in #gnexa-help.",
    "title": "Welcome to Gnexa 🎉",
    "created_at": "2026-10-30T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "show_to_staff": true,
    "show_to_clients": false
   },
   {
    "id": 2,
    "body": "Customers can now see invoices, sign contracts and raise tickets themselves. Use \"View as client\" on a customer to see what they see.",
    "title": "New: client portal",
    "created_at": "2026-11-17T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "show_to_staff": true,
    "show_to_clients": false
   },
   {
    "id": 3,
    "body": "Our office is closed on the Diwali holidays. Urgent tickets are still monitored — please mark them Urgent and we will respond within 4 hours.",
    "title": "Diwali holiday support hours",
    "created_at": "2026-11-18T20:17:21.827301+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001",
    "show_to_staff": true,
    "show_to_clients": true
   }
  ],
  "posts": [
   {
    "id": 1,
    "body": "🎉 Tata plant 1 training went live today — 22 people trained, great feedback. Thanks Sneha & Priya!",
    "pinned": true,
    "created_at": "2026-11-18T20:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000001"
   },
   {
    "id": 2,
    "body": "Reminder: please log your time against tasks by Friday 5 pm — invoices for Nimbus go out on Monday.",
    "pinned": false,
    "created_at": "2026-11-19T17:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   },
   {
    "id": 3,
    "body": "Closed Saffron Retail for the 40-store rollout 🚀 Kick-off is next week.",
    "pinned": false,
    "created_at": "2026-11-16T20:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "id": 4,
    "body": "New KB article: \"Fixing Android login after a phone clock change\". Please share it with customers who hit the session-expired error.",
    "pinned": false,
    "created_at": "2026-11-19T14:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004"
   }
  ],
  "post_comments": [
   {
    "id": 1,
    "body": "Plant 2 moves to Thursday — will share photos after.",
    "post_id": 1,
    "created_at": "2026-11-19T00:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004"
   },
   {
    "id": 2,
    "body": "Brilliant work team 👏",
    "post_id": 1,
    "created_at": "2026-11-19T02:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000003"
   },
   {
    "id": 3,
    "body": "Huge — well done Rohan!",
    "post_id": 3,
    "created_at": "2026-11-16T21:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000002"
   }
  ],
  "surveys": [
   {
    "id": 1,
    "key": "6f1d2c3b-0000-4000-8000-0000000000b1",
    "title": "Customer satisfaction — Q3",
    "is_active": true,
    "thank_you": "Thank you for your feedback — it goes straight to our leadership team.",
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "Two minutes of your time helps us serve you better."
   },
   {
    "id": 2,
    "key": "6f1d2c3b-0000-4000-8000-0000000000b2",
    "title": "Onsite training feedback",
    "is_active": true,
    "thank_you": "Thanks for your feedback!",
    "created_at": "2026-11-19T20:17:22.777347+05:30",
    "created_by": "a0000000-0000-4000-8000-000000000004",
    "description": "For attendees of our onsite training sessions."
   }
  ],
  "survey_questions": [
   {
    "id": 1,
    "type": "rating",
    "label": "How satisfied are you with Gnexa overall?",
    "options": [],
    "position": 1,
    "required": true,
    "survey_id": 1
   },
   {
    "id": 2,
    "type": "single",
    "label": "How likely are you to recommend us to a colleague?",
    "options": [
     "Very likely",
     "Likely",
     "Not sure",
     "Unlikely"
    ],
    "position": 2,
    "required": true,
    "survey_id": 1
   },
   {
    "id": 3,
    "type": "multiple",
    "label": "Which modules does your team use most?",
    "options": [
     "Leads",
     "Invoices",
     "Projects",
     "Support",
     "Reports"
    ],
    "position": 3,
    "required": false,
    "survey_id": 1
   },
   {
    "id": 4,
    "type": "rating",
    "label": "How quickly does our support team resolve your issues?",
    "options": [],
    "position": 4,
    "required": false,
    "survey_id": 1
   },
   {
    "id": 5,
    "type": "long",
    "label": "Anything we could do better?",
    "options": [],
    "position": 5,
    "required": false,
    "survey_id": 1
   },
   {
    "id": 6,
    "type": "short",
    "label": "Your plant / location",
    "options": [],
    "position": 1,
    "required": false,
    "survey_id": 2
   },
   {
    "id": 7,
    "type": "rating",
    "label": "How useful was the session?",
    "options": [],
    "position": 2,
    "required": true,
    "survey_id": 2
   },
   {
    "id": 8,
    "type": "single",
    "label": "Was the pace right?",
    "options": [
     "Too slow",
     "Just right",
     "Too fast"
    ],
    "position": 3,
    "required": true,
    "survey_id": 2
   }
  ],
  "survey_responses": [
   {
    "id": 1,
    "name": "Rajesh Khanna",
    "email": "rajesh.khanna@example.in",
    "survey_id": 1,
    "created_at": "2026-11-17T20:17:22.777347+05:30"
   },
   {
    "id": 2,
    "name": "Sunil Fernandes",
    "email": "sunil.fernandes@example.in",
    "survey_id": 1,
    "created_at": "2026-11-15T20:17:22.777347+05:30"
   },
   {
    "id": 3,
    "name": "Kavya Reddy",
    "email": "kavya.reddy@example.in",
    "survey_id": 1,
    "created_at": "2026-11-13T20:17:22.777347+05:30"
   },
   {
    "id": 4,
    "name": "Deepa Raman",
    "email": "deepa.raman@example.in",
    "survey_id": 1,
    "created_at": "2026-11-11T20:17:22.777347+05:30"
   },
   {
    "id": 5,
    "name": "Arjun Bhatia",
    "email": "arjun.bhatia@example.in",
    "survey_id": 1,
    "created_at": "2026-11-09T20:17:22.777347+05:30"
   },
   {
    "id": 6,
    "name": "Meera Kapoor",
    "email": "meera.kapoor@example.in",
    "survey_id": 1,
    "created_at": "2026-11-07T20:17:22.777347+05:30"
   },
   {
    "id": 7,
    "name": "Vivek Agarwal",
    "email": "vivek.agarwal@example.in",
    "survey_id": 1,
    "created_at": "2026-11-05T20:17:22.777347+05:30"
   },
   {
    "id": 8,
    "name": "Neha Joshi",
    "email": "neha.joshi@example.in",
    "survey_id": 1,
    "created_at": "2026-11-03T20:17:22.777347+05:30"
   },
   {
    "id": 9,
    "name": "Imran Qureshi",
    "email": "imran.qureshi@example.in",
    "survey_id": 1,
    "created_at": "2026-11-01T20:17:22.777347+05:30"
   },
   {
    "id": 10,
    "name": "Lata Deshmukh",
    "email": "lata.deshmukh@example.in",
    "survey_id": 1,
    "created_at": "2026-10-30T20:17:22.777347+05:30"
   }
  ],
  "survey_answers": [
   {
    "value": "5",
    "question_id": 1,
    "response_id": 1
   },
   {
    "value": "Very likely",
    "question_id": 2,
    "response_id": 1
   },
   {
    "value": "4",
    "question_id": 4,
    "response_id": 1
   },
   {
    "value": "Faster mobile app please",
    "question_id": 5,
    "response_id": 1
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 1
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 1
   },
   {
    "value": "Reports",
    "question_id": 3,
    "response_id": 1
   },
   {
    "value": "4",
    "question_id": 1,
    "response_id": 2
   },
   {
    "value": "Likely",
    "question_id": 2,
    "response_id": 2
   },
   {
    "value": "4",
    "question_id": 4,
    "response_id": 2
   },
   {
    "value": "Projects",
    "question_id": 3,
    "response_id": 2
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 2
   },
   {
    "value": "5",
    "question_id": 1,
    "response_id": 3
   },
   {
    "value": "Very likely",
    "question_id": 2,
    "response_id": 3
   },
   {
    "value": "5",
    "question_id": 4,
    "response_id": 3
   },
   {
    "value": "Love the client portal",
    "question_id": 5,
    "response_id": 3
   },
   {
    "value": "Leads",
    "question_id": 3,
    "response_id": 3
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 3
   },
   {
    "value": "3",
    "question_id": 1,
    "response_id": 4
   },
   {
    "value": "Not sure",
    "question_id": 2,
    "response_id": 4
   },
   {
    "value": "3",
    "question_id": 4,
    "response_id": 4
   },
   {
    "value": "Reports could export to Excel",
    "question_id": 5,
    "response_id": 4
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 4
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 4
   },
   {
    "value": "Reports",
    "question_id": 3,
    "response_id": 4
   },
   {
    "value": "4",
    "question_id": 1,
    "response_id": 5
   },
   {
    "value": "Likely",
    "question_id": 2,
    "response_id": 5
   },
   {
    "value": "4",
    "question_id": 4,
    "response_id": 5
   },
   {
    "value": "Projects",
    "question_id": 3,
    "response_id": 5
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 5
   },
   {
    "value": "5",
    "question_id": 1,
    "response_id": 6
   },
   {
    "value": "Very likely",
    "question_id": 2,
    "response_id": 6
   },
   {
    "value": "5",
    "question_id": 4,
    "response_id": 6
   },
   {
    "value": "Leads",
    "question_id": 3,
    "response_id": 6
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 6
   },
   {
    "value": "4",
    "question_id": 1,
    "response_id": 7
   },
   {
    "value": "Likely",
    "question_id": 2,
    "response_id": 7
   },
   {
    "value": "3",
    "question_id": 4,
    "response_id": 7
   },
   {
    "value": "WhatsApp reminders would help",
    "question_id": 5,
    "response_id": 7
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 7
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 7
   },
   {
    "value": "Reports",
    "question_id": 3,
    "response_id": 7
   },
   {
    "value": "2",
    "question_id": 1,
    "response_id": 8
   },
   {
    "value": "Unlikely",
    "question_id": 2,
    "response_id": 8
   },
   {
    "value": "2",
    "question_id": 4,
    "response_id": 8
   },
   {
    "value": "Onboarding took longer than planned",
    "question_id": 5,
    "response_id": 8
   },
   {
    "value": "Projects",
    "question_id": 3,
    "response_id": 8
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 8
   },
   {
    "value": "5",
    "question_id": 1,
    "response_id": 9
   },
   {
    "value": "Very likely",
    "question_id": 2,
    "response_id": 9
   },
   {
    "value": "5",
    "question_id": 4,
    "response_id": 9
   },
   {
    "value": "Leads",
    "question_id": 3,
    "response_id": 9
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 9
   },
   {
    "value": "4",
    "question_id": 1,
    "response_id": 10
   },
   {
    "value": "Likely",
    "question_id": 2,
    "response_id": 10
   },
   {
    "value": "4",
    "question_id": 4,
    "response_id": 10
   },
   {
    "value": "Invoices",
    "question_id": 3,
    "response_id": 10
   },
   {
    "value": "Support",
    "question_id": 3,
    "response_id": 10
   },
   {
    "value": "Reports",
    "question_id": 3,
    "response_id": 10
   }
  ],
  "gdpr_requests": [
   {
    "id": 1,
    "kind": "erasure",
    "note": "I have left the company — please remove my personal details.",
    "status": "open",
    "contact_id": 2,
    "created_at": "2026-11-17T20:17:22.777347+05:30",
    "customer_id": 2,
    "resolved_at": null,
    "resolved_by": null
   }
  ],
  "email_log": [
   {
    "id": 1,
    "body": "Please find attached invoice INV-00014 for ₹29,500, due on 01 Oct 2026.\n\nYou can view and pay it from your client portal.",
    "kind": "document",
    "rel_id": 25,
    "sent_by": null,
    "subject": "Invoice INV-00014 from Gnexa Demo Co.",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 2,
    "body": "Please find attached invoice INV-00015 for ₹29,500, due on 31 Oct 2026.\n\nYou can view and pay it from your client portal.",
    "kind": "document",
    "rel_id": 26,
    "sent_by": null,
    "subject": "Invoice INV-00015 from Gnexa Demo Co.",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 3,
    "body": "Please find attached invoice INV-00016 for ₹29,500, due on 01 Dec 2026.\n\nYou can view and pay it from your client portal.",
    "kind": "document",
    "rel_id": 27,
    "sent_by": null,
    "subject": "Invoice INV-00016 from Gnexa Demo Co.",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 4,
    "body": "We charged ₹56,640 to your card on file for Gnexa Professional — 40 users. Thank you!",
    "kind": "receipt",
    "rel_id": 28,
    "sent_by": null,
    "subject": "Payment receipt for INV-00017",
    "to_name": "Rajesh Khanna",
    "rel_type": "sales_doc",
    "to_email": "rajesh@tataadvanced.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 1
   },
   {
    "id": 5,
    "body": "We charged ₹56,640 to your card on file for Gnexa Professional — 40 users. Thank you!",
    "kind": "receipt",
    "rel_id": 29,
    "sent_by": null,
    "subject": "Payment receipt for INV-00018",
    "to_name": "Rajesh Khanna",
    "rel_type": "sales_doc",
    "to_email": "rajesh@tataadvanced.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 1
   },
   {
    "id": 6,
    "body": "We charged ₹56,640 to your card on file for Gnexa Professional — 40 users. Thank you!",
    "kind": "receipt",
    "rel_id": 30,
    "sent_by": null,
    "subject": "Payment receipt for INV-00019",
    "to_name": "Rajesh Khanna",
    "rel_type": "sales_doc",
    "to_email": "rajesh@tataadvanced.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 1
   },
   {
    "id": 7,
    "body": "Your subscription invoice for ₹17,700 is ready. You can pay it from your client portal.",
    "kind": "subscription",
    "rel_id": 31,
    "sent_by": null,
    "subject": "Invoice INV-00020 — Priority support plan",
    "to_name": "Sunil Fernandes",
    "rel_type": "sales_doc",
    "to_email": "sunil@orchidhotels.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 3
   },
   {
    "id": 8,
    "body": "Your subscription invoice for ₹17,700 is ready. You can pay it from your client portal.",
    "kind": "subscription",
    "rel_id": 32,
    "sent_by": null,
    "subject": "Invoice INV-00021 — Priority support plan",
    "to_name": "Sunil Fernandes",
    "rel_type": "sales_doc",
    "to_email": "sunil@orchidhotels.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 3
   },
   {
    "id": 9,
    "body": "Your subscription invoice for ₹70,800 is ready. You can pay it from your client portal.",
    "kind": "subscription",
    "rel_id": 33,
    "sent_by": null,
    "subject": "Invoice INV-00022 — Managed hosting (annual)",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 10,
    "body": "This is a friendly reminder that invoice INV-00014 was due on 01 Oct 2026 and has an outstanding balance of ₹29,500.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 25,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00014 is overdue",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 11,
    "body": "This is a friendly reminder that invoice INV-00015 was due on 31 Oct 2026 and has an outstanding balance of ₹29,500.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 26,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00015 is overdue",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 12,
    "body": "This is a friendly reminder that invoice INV-00022 was due on 17 Oct 2026 and has an outstanding balance of ₹70,800.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 33,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00022 is overdue",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 13,
    "body": "This is a friendly reminder that invoice INV-00020 was due on 07 Oct 2026 and has an outstanding balance of ₹17,700.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 31,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00020 is overdue",
    "to_name": "Sunil Fernandes",
    "rel_type": "sales_doc",
    "to_email": "sunil@orchidhotels.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 3
   },
   {
    "id": 14,
    "body": "This is a friendly reminder that invoice INV-00012 was due on 11 Nov 2026 and has an outstanding balance of ₹29,500.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 12,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00012 is overdue",
    "to_name": "Arjun Bhatia",
    "rel_type": "sales_doc",
    "to_email": "arjun@urbannest.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 11
   },
   {
    "id": 15,
    "body": "This is a friendly reminder that invoice INV-00002 was due on 09 Nov 2026 and has an outstanding balance of ₹1,00,300.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 2,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00002 is overdue",
    "to_name": "Pooja Shah",
    "rel_type": "sales_doc",
    "to_email": "pooja@zenithpharma.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 2
   },
   {
    "id": 16,
    "body": "This is a friendly reminder that invoice INV-00021 was due on 06 Nov 2026 and has an outstanding balance of ₹17,700.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 32,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00021 is overdue",
    "to_name": "Sunil Fernandes",
    "rel_type": "sales_doc",
    "to_email": "sunil@orchidhotels.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 3
   },
   {
    "id": 17,
    "body": "This is a friendly reminder that invoice INV-00013 was due on 31 Aug 2026 and has an outstanding balance of ₹29,500.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 24,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00013 is overdue",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 4
   },
   {
    "id": 18,
    "body": "This is a friendly reminder that invoice INV-00006 was due on 30 Oct 2026 and has an outstanding balance of ₹48,500.\n\nIf you have already paid, please ignore this message.",
    "kind": "overdue_reminder",
    "rel_id": 6,
    "sent_by": null,
    "subject": "Reminder: invoice INV-00006 is overdue",
    "to_name": "Lata Deshmukh",
    "rel_type": "sales_doc",
    "to_email": "lata@everestbuild.example.in",
    "automatic": true,
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "customer_id": 6
   },
   {
    "id": 19,
    "body": "Hi Neha,\n\nPlease find the document attached. Let me know if you have any questions.\n\nRegards,\nPriya Nair",
    "kind": "document",
    "rel_id": 10,
    "sent_by": "a0000000-0000-4000-8000-000000000002",
    "subject": "Invoice INV-00010",
    "to_name": "Neha Joshi",
    "rel_type": "sales_doc",
    "to_email": "neha@greenfieldagro.example.in",
    "automatic": false,
    "created_at": "2026-11-16T15:30:00+05:30",
    "customer_id": 12
   },
   {
    "id": 20,
    "body": "Hi Vivek,\n\nPlease find the document attached. Let me know if you have any questions.\n\nRegards,\nPriya Nair",
    "kind": "document",
    "rel_id": 9,
    "sent_by": "a0000000-0000-4000-8000-000000000002",
    "subject": "Invoice INV-00009",
    "to_name": "Vivek Agarwal",
    "rel_type": "sales_doc",
    "to_email": "vivek@saffronretail.example.in",
    "automatic": false,
    "created_at": "2026-11-11T15:30:00+05:30",
    "customer_id": 9
   },
   {
    "id": 21,
    "body": "Hi Rajesh,\n\nPlease find the document attached. Let me know if you have any questions.\n\nRegards,\nPriya Nair",
    "kind": "document",
    "rel_id": 15,
    "sent_by": "a0000000-0000-4000-8000-000000000002",
    "subject": "Estimate EST-00001",
    "to_name": "Rajesh Khanna",
    "rel_type": "sales_doc",
    "to_email": "rajesh@tataadvanced.example.in",
    "automatic": false,
    "created_at": "2026-11-09T15:30:00+05:30",
    "customer_id": 1
   },
   {
    "id": 22,
    "body": "Hi Kavya,\n\nPlease find the document attached. Let me know if you have any questions.\n\nRegards,\nPriya Nair",
    "kind": "document",
    "rel_id": 4,
    "sent_by": "a0000000-0000-4000-8000-000000000002",
    "subject": "Invoice INV-00004",
    "to_name": "Kavya Reddy",
    "rel_type": "sales_doc",
    "to_email": "kavya@nimbuslabs.example.in",
    "automatic": false,
    "created_at": "2026-11-07T15:30:00+05:30",
    "customer_id": 4
   },
   {
    "id": 23,
    "body": "Hi Arjun,\n\nPlease find the document attached. Let me know if you have any questions.\n\nRegards,\nPriya Nair",
    "kind": "document",
    "rel_id": 12,
    "sent_by": "a0000000-0000-4000-8000-000000000002",
    "subject": "Invoice INV-00012",
    "to_name": "Arjun Bhatia",
    "rel_type": "sales_doc",
    "to_email": "arjun@urbannest.example.in",
    "automatic": false,
    "created_at": "2026-11-04T15:30:00+05:30",
    "customer_id": 11
   },
   {
    "id": 24,
    "body": "Hi Sunil,\n\nPlease find the document attached. Let me know if you have any questions.\n\nRegards,\nPriya Nair",
    "kind": "document",
    "rel_id": 3,
    "sent_by": "a0000000-0000-4000-8000-000000000002",
    "subject": "Invoice INV-00003",
    "to_name": "Sunil Fernandes",
    "rel_type": "sales_doc",
    "to_email": "sunil@orchidhotels.example.in",
    "automatic": false,
    "created_at": "2026-10-30T15:30:00+05:30",
    "customer_id": 3
   }
  ],
  "activity_log": [
   {
    "id": 1,
    "rel_id": 1,
    "actor_id": "a0000000-0000-4000-8000-000000000001",
    "rel_type": "customer",
    "created_at": "2026-07-22T20:17:20.97852+05:30",
    "description": "created customer \"Tata Advanced Materials\""
   },
   {
    "id": 2,
    "rel_id": 2,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "customer",
    "created_at": "2026-08-16T20:17:20.97852+05:30",
    "description": "created customer \"Zenith Pharma Pvt Ltd\""
   },
   {
    "id": 3,
    "rel_id": 3,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "customer",
    "created_at": "2026-08-31T20:17:20.97852+05:30",
    "description": "created customer \"Orchid Hotels & Resorts\""
   },
   {
    "id": 4,
    "rel_id": 4,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "customer",
    "created_at": "2026-09-16T20:17:20.97852+05:30",
    "description": "created customer \"Nimbus Software Labs\""
   },
   {
    "id": 5,
    "rel_id": 5,
    "actor_id": "a0000000-0000-4000-8000-000000000001",
    "rel_type": "customer",
    "created_at": "2026-09-29T20:17:20.97852+05:30",
    "description": "created customer \"Coastal Foods Exports\""
   },
   {
    "id": 6,
    "rel_id": 6,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "customer",
    "created_at": "2026-10-06T20:17:20.97852+05:30",
    "description": "created customer \"Everest Builders\""
   },
   {
    "id": 7,
    "rel_id": 7,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "customer",
    "created_at": "2026-10-13T20:17:20.97852+05:30",
    "description": "created customer \"Sunrise Diagnostics\""
   },
   {
    "id": 8,
    "rel_id": 8,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "customer",
    "created_at": "2026-10-21T20:17:20.97852+05:30",
    "description": "created customer \"Bluewave Logistics\""
   },
   {
    "id": 9,
    "rel_id": 9,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "customer",
    "created_at": "2026-10-28T20:17:20.97852+05:30",
    "description": "created customer \"Saffron Retail Chain\""
   },
   {
    "id": 10,
    "rel_id": 10,
    "actor_id": "a0000000-0000-4000-8000-000000000001",
    "rel_type": "customer",
    "created_at": "2026-11-04T20:17:20.97852+05:30",
    "description": "created customer \"Kaveri Textiles\""
   },
   {
    "id": 11,
    "rel_id": 11,
    "actor_id": "a0000000-0000-4000-8000-000000000001",
    "rel_type": "customer",
    "created_at": "2026-11-10T20:17:20.97852+05:30",
    "description": "created customer \"UrbanNest Interiors\""
   },
   {
    "id": 12,
    "rel_id": 12,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "customer",
    "created_at": "2026-11-15T20:17:20.97852+05:30",
    "description": "created customer \"Greenfield Agro\""
   },
   {
    "id": 13,
    "rel_id": 1,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-18T19:17:20.97852+05:30",
    "description": "created lead \"Meera Kapoor\""
   },
   {
    "id": 14,
    "rel_id": 2,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-17T18:17:20.97852+05:30",
    "description": "created lead \"Karan Malhotra\""
   },
   {
    "id": 15,
    "rel_id": 3,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-19T17:17:20.97852+05:30",
    "description": "created lead \"Ishita Jain\""
   },
   {
    "id": 16,
    "rel_id": 4,
    "actor_id": "a0000000-0000-4000-8000-000000000001",
    "rel_type": "lead",
    "created_at": "2026-11-16T16:17:20.97852+05:30",
    "description": "created lead \"Siddharth Rao\""
   },
   {
    "id": 17,
    "rel_id": 5,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-15T15:17:20.97852+05:30",
    "description": "created lead \"Arjun Rao\""
   },
   {
    "id": 18,
    "rel_id": 6,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-13T14:17:20.97852+05:30",
    "description": "created lead \"Divya Menon\""
   },
   {
    "id": 19,
    "rel_id": 7,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-14T13:17:20.97852+05:30",
    "description": "created lead \"Tanvi Kulkarni\""
   },
   {
    "id": 20,
    "rel_id": 8,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-11T12:17:20.97852+05:30",
    "description": "created lead \"Sana Sheikh\""
   },
   {
    "id": 21,
    "rel_id": 9,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-10T11:17:20.97852+05:30",
    "description": "created lead \"Rohit Bansal\""
   },
   {
    "id": 22,
    "rel_id": 10,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-08T10:17:20.97852+05:30",
    "description": "created lead \"Aditya Verma\""
   },
   {
    "id": 23,
    "rel_id": 11,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-07T09:17:20.97852+05:30",
    "description": "created lead \"Vikram Iyer\""
   },
   {
    "id": 24,
    "rel_id": 12,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-05T08:17:20.97852+05:30",
    "description": "created lead \"Ananya Das\""
   },
   {
    "id": 25,
    "rel_id": 13,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-06T07:17:20.97852+05:30",
    "description": "created lead \"Farhan Ali\""
   },
   {
    "id": 26,
    "rel_id": 14,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-01T06:17:20.97852+05:30",
    "description": "created lead \"Nikhil Chopra\""
   },
   {
    "id": 27,
    "rel_id": 15,
    "actor_id": "a0000000-0000-4000-8000-000000000001",
    "rel_type": "lead",
    "created_at": "2026-11-03T05:17:20.97852+05:30",
    "description": "created lead \"Shreya Ghosh\""
   },
   {
    "id": 28,
    "rel_id": 16,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-10-30T04:17:20.97852+05:30",
    "description": "created lead \"Rahul Saxena\""
   },
   {
    "id": 29,
    "rel_id": 17,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-10-28T03:17:20.97852+05:30",
    "description": "created lead \"Pallavi Desai\""
   },
   {
    "id": 30,
    "rel_id": 18,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-10-25T02:17:20.97852+05:30",
    "description": "created lead \"Gaurav Arora\""
   },
   {
    "id": 31,
    "rel_id": 19,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-10-23T01:17:20.97852+05:30",
    "description": "created lead \"Lakshmi Narayan\""
   },
   {
    "id": 32,
    "rel_id": 20,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-09T00:17:20.97852+05:30",
    "description": "created lead \"Kunal Shah\""
   },
   {
    "id": 33,
    "rel_id": 6,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-18T11:17:20.97852+05:30",
    "description": "completed task \"Share case studies with Divya\""
   },
   {
    "id": 34,
    "rel_id": 9,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-18T16:17:20.97852+05:30",
    "description": "moved lead \"Rohit Bansal\" to Qualified"
   },
   {
    "id": 35,
    "rel_id": 11,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-19T15:17:20.97852+05:30",
    "description": "moved lead \"Vikram Iyer\" to Proposal Sent"
   },
   {
    "id": 36,
    "rel_id": 12,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "lead",
    "created_at": "2026-11-19T06:17:20.97852+05:30",
    "description": "moved lead \"Ananya Das\" to Proposal Sent"
   },
   {
    "id": 37,
    "rel_id": 14,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "lead",
    "created_at": "2026-11-19T11:17:20.97852+05:30",
    "description": "moved lead \"Nikhil Chopra\" to Negotiation"
   },
   {
    "id": 38,
    "rel_id": 3,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "customer",
    "created_at": "2026-11-19T13:17:21.285344+05:30",
    "description": "recorded a payment of ₹2,00,000 on an invoice"
   },
   {
    "id": 39,
    "rel_id": 12,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "customer",
    "created_at": "2026-11-19T17:17:21.285344+05:30",
    "description": "created an invoice for the warehouse kit"
   },
   {
    "id": 40,
    "rel_id": 2,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "customer",
    "created_at": "2026-11-19T08:17:21.285344+05:30",
    "description": "issued a service-downtime credit note"
   },
   {
    "id": 41,
    "rel_id": 1,
    "actor_id": "a0000000-0000-4000-8000-000000000002",
    "rel_type": "project",
    "created_at": "2026-11-15T20:17:21.678915+05:30",
    "description": "completed milestone \"Data migration\" on Tata CRM rollout"
   },
   {
    "id": 42,
    "rel_id": 2,
    "actor_id": "a0000000-0000-4000-8000-000000000003",
    "rel_type": "project",
    "created_at": "2026-11-16T20:17:21.678915+05:30",
    "description": "logged 5.5 h on Nimbus ERP connector"
   },
   {
    "id": 43,
    "rel_id": null,
    "actor_id": "a0000000-0000-4000-8000-000000000004",
    "rel_type": null,
    "created_at": "2026-11-19T17:17:21.678915+05:30",
    "description": "replied to ticket \"Login fails on Android app\""
   },
   {
    "id": 44,
    "rel_id": 4,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "recurring invoice INV-00014 created from INV-00013"
   },
   {
    "id": 45,
    "rel_id": 4,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "recurring invoice INV-00015 created from INV-00013"
   },
   {
    "id": 46,
    "rel_id": 4,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "recurring invoice INV-00016 created from INV-00013"
   },
   {
    "id": 47,
    "rel_id": 1,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "subscription “Gnexa Professional — 40 users” billed on INV-00017"
   },
   {
    "id": 48,
    "rel_id": 1,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "subscription “Gnexa Professional — 40 users” billed on INV-00018"
   },
   {
    "id": 49,
    "rel_id": 1,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "subscription “Gnexa Professional — 40 users” billed on INV-00019"
   },
   {
    "id": 50,
    "rel_id": 3,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "subscription “Priority support plan” billed on INV-00020"
   },
   {
    "id": 51,
    "rel_id": 3,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "subscription “Priority support plan” billed on INV-00021"
   },
   {
    "id": 52,
    "rel_id": 4,
    "actor_id": null,
    "rel_type": "customer",
    "created_at": "2026-11-19T20:17:22.38723+05:30",
    "description": "subscription “Managed hosting (annual)” billed on INV-00022"
   }
  ]
 }
}