The AVS Invoice API

A token-authenticated REST API spanning 27 resources and 107 endpoints across your organization's invoices, customers, inventory, and purchases.

GET/api/v1/invoices
curl "https://invoice.avscorp.in/api/v1/invoices" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "success": true,
  "data": [
    {
      "id": "clx2inv001000000000000001",
      "organizationId": "clx2org001000000000000001",
      "invoiceNumber": "INV-2026-0102",
      "customerId": "clx2cus001000000000000001",
      "salesOrderId": null,
      "salespersonId": null,
      "status": "SENT",
      "invoiceDate": "2026-09-07T00:00:00.000Z",
      "dueDate": "2026-10-07T00:00:00.000Z",
      "sellerLegalName": "AVS Textiles Pvt Ltd",
      "sellerGstin": "27AAAAA0000A1Z5",
      "sellerStateCode": "27",
      "placeOfSupplyStateCode": "27",
      "currencyCode": "INR",
      "exchangeRate": 1,
      "subTotal": 13000,
      "discountTotal": 0,
      "documentDiscount": 0,
      "documentDiscountIsPercent": false,
      "cgstTotal": 1170,
      "sgstTotal": 1170,
      "igstTotal": 0,
      "adjustmentLabel": null,
      "adjustmentAmount": 0,
      "roundOff": 0,
      "total": 15340,
      "amountPaid": 0,
      "balanceDue": 15340,
      "warehouseId": "clx2wh0001000000000000001",
      "ewayBillStatus": "NOT_REQUIRED",
      "ewayBillId": null,
      "emailSentAt": null,
      "pdfTemplateId": null,
      "notes": "Thank you for your business",
      "termsAndConditions": null,
      "createdBy": "clx2usr001000000000000001",
      "updatedBy": null,
      "createdAt": "2026-09-07T10:00:00.000Z",
      "updatedAt": "2026-09-07T10:00:00.000Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 50,
    "total": 1,
    "hasMore": false
  }
}

Machine-readable formats