{
  "exported_at": "2026-11-19T15:59:48.352Z",
  "customer": {
    "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
  },
  "contacts": [
    {
      "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": 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
    }
  ],
  "documents": [
    {
      "id": 13,
      "date": "2026-11-09",
      "kind": "credit_note",
      "total": 23600,
      "number": 1,
      "status": "sent",
      "subject": "Duplicate September billing",
      "currency": "INR",
      "due_date": null,
      "sales_doc_items": [
        {
          "qty": 1,
          "rate": 20000,
          "tax_rate": 18,
          "description": "Credit — duplicate licence charge"
        }
      ]
    },
    {
      "id": 3,
      "date": "2026-10-30",
      "kind": "invoice",
      "total": 424800,
      "number": 3,
      "status": "sent",
      "subject": "Annual licences — 25 users",
      "currency": "INR",
      "due_date": "2026-11-29",
      "sales_doc_items": [
        {
          "qty": 300,
          "rate": 1200,
          "tax_rate": 18,
          "description": "User licence — Professional"
        }
      ]
    },
    {
      "id": 16,
      "date": "2026-10-20",
      "kind": "estimate",
      "total": 199420,
      "number": 2,
      "status": "accepted",
      "subject": "Front-office expansion",
      "currency": "INR",
      "due_date": "2026-11-19",
      "sales_doc_items": [
        {
          "qty": 120,
          "rate": 1200,
          "tax_rate": 18,
          "description": "User licence — Professional"
        },
        {
          "qty": 1,
          "rate": 25000,
          "tax_rate": 18,
          "description": "Onsite Training"
        }
      ]
    },
    {
      "id": 32,
      "date": "2026-10-30",
      "kind": "invoice",
      "total": 17700,
      "number": 21,
      "status": "sent",
      "subject": "Priority support plan — Oct 2026",
      "currency": "INR",
      "due_date": "2026-11-06",
      "sales_doc_items": [
        {
          "qty": 1,
          "rate": 15000,
          "tax_rate": 18,
          "description": "Priority support plan"
        }
      ]
    },
    {
      "id": 31,
      "date": "2026-09-30",
      "kind": "invoice",
      "total": 17700,
      "number": 20,
      "status": "sent",
      "subject": "Priority support plan — Sep 2026",
      "currency": "INR",
      "due_date": "2026-10-07",
      "sales_doc_items": [
        {
          "qty": 1,
          "rate": 15000,
          "tax_rate": 18,
          "description": "Priority support plan"
        }
      ]
    }
  ],
  "payments": [
    {
      "invoice_id": 3,
      "amount": 200000,
      "date": "2026-11-07",
      "transaction_id": "UTR SBIN261003221"
    },
    {
      "invoice_id": 31,
      "amount": 17700,
      "date": "2026-10-03",
      "transaction_id": "UPI03246599"
    }
  ],
  "tickets": [
    {
      "id": 3,
      "status": "closed",
      "subject": "Invoice raised twice for September",
      "created_at": "2026-11-09T00:17:21.678915+05:30",
      "ticket_replies": [
        {
          "body": "Sorry about that, Sunil. We've issued credit note CN-00001 for ₹23,600 and applied it to INV-00003.",
          "created_at": "2026-11-11T12:17:21.678915+05:30",
          "author_name": null,
          "is_internal": false
        },
        {
          "body": "We were billed twice for September licences. Please check.",
          "created_at": "2026-11-09T00:17:21.678915+05:30",
          "author_name": "Sunil Fernandes",
          "is_internal": false
        }
      ]
    }
  ],
  "contracts": [
    {
      "id": 3,
      "value": 360000,
      "status": "signed",
      "subject": "Licence agreement — 25 users",
      "end_date": "2027-10-30",
      "signed_at": "2026-10-28T20:17:21.678915+05:30",
      "signed_by": "Sunil Fernandes",
      "start_date": "2026-10-30"
    }
  ],
  "projects": [
    {
      "id": 3,
      "name": "Orchid front-office training",
      "status": "finished",
      "deadline": "2026-10-30",
      "start_date": "2026-09-20"
    }
  ],
  "subscriptions": [
    {
      "name": "Priority support plan",
      "status": "active",
      "quantity": 1,
      "start_date": "2026-09-30",
      "unit_price": 15000,
      "interval_unit": "month",
      "interval_count": 1
    }
  ]
}