The WebPlanex GST Invoice India Appprovides APIs that allow you to integrate with WebPlanex and retrieve PDF invoices and Invoice data in JSON format for your orders.
You can use the WebPlanex GST APIs to fetch generated invoice PDFs and integrate them with your own system or workflow.
Note:
- The GST APIs for downloading PDF invoices and invoice data are available only on the Advanced plan.
- After connecting the API, its status will be Pending by default.
- Please contact the WebPlanex Support Team to activate the API.
Authentication
To access the API, you must include your API key in the request headers.
Headers
Authorization: Bearer YOUR_API_KEYAccept: application/json
Replace YOUR_API_KEY with the API key generated for your store.
How to Generate a WebPlanex GST API Key
- Go to the WebPlanex GST Invoice India App.
- Go to Integrations > WebPlanex GST APIs.
- Click on the Get API Key button to generate a token for your store.
Base URL
All API endpoints are accessible via the following base URL:
1. To Retrieve the PDF Invoice URL for a Specific Shopify Order
Endpoints
-
Get Invoice
Endpoint:
/api/get-invoice?shop={{shopify_store_url}}&order_id={{shopify_order_id}}Request Method:
GETDescription: Retrieve the PDF invoice URL for a specific Shopify order.
Response:
A
200 OKstatus indicates that the API request was successfully processed and the invoice URL was retrieved.{
"status": 200,
"message": "Invoice URL fetched successfully",
"invoice_url": "https://gst.webplanex.biz/download-invoice"
}
Note: The invoice endpoint supports order_number as an optional alternative to order_id.
- Invoice data can be retrieved using either
order_idororder_number. - If
order_numberis provided,order_idis not required. - At least one of these two fields must be provided to retrieve the invoice.
order_numbermust be provided without any prefix or suffix. For example, if the order number is#1001, pass1001as theorder_numberwithout the#symbol.
2. To Retrieve All Invoice Data in JSON Format for a Specific Shopify Order
Endpoints
- Get Invoice
Endpoint:
/api/get-order?shop={{shopify_store_url}}&order_id={{shopify_order_id}}Request Method:
GETDescription: Retrieve all invoice data in JSON format for a specific Shopify order.
Response:
A
200 OKstatus indicates that the API request was successfully processed and the Order data JSON was retrieved.{ "status": 200, "message": "Order fetched successfully", "order": { "id": "18977898164898", "orderName": "#12345", "orderNumber": 12345, "buyerEmail": "john@doe.com", "placedOn": "27 Oct 2026", "placedOnDate": "2026-10-27", "paymentStatus": "authorized", "deliveryStatus": "fulfilled", "buyerName": "John Doe", "buyerId": "1234567890", "sellerGstin": "27AAAAA0000A1Z5", "invoiceNumber": "MH/001", "invoiceSeriesPrefix": "MH", "invoiceSequence": 1, "transportMode": "", "invoiceIssuedOn": "27-10-2026", "supplyDate": "27-10-2026", "supplyPlace": "-", "billingName": "John Doe", "billingStreet": "Street 1, Anytown, USA, Pin code - 12345", "billingGstin": "", "billingPhone": "+911234567890", "billingCity": "Anytown", "billingPostalCode": "12345", "billingState": "-", "billingCountry": "India", "billingStateCode": "-", "shippingName": "John Doe", "shippingStreet": "Street 1, Anytown, USA, Pin code - 12345", "shippingGstin": "", "shippingPhone": "+911234567890", "shippingCity": "Anytown", "shippingPostalCode": "12345", "shippingState": "-", "shippingCountry": "India", "shippingStateCode": "-", "paymentTerms": "Online order terms and conditions", "amountInWords": "One Thousand Two Hundred Sixty Five Rs Only", "taxableValue": "1,016.94", "taxAmount": "183.05", "discountAmount": "0", "orderDiscount": null, "couponDiscount": "0.01", "couponDiscountPercent": "0.00", "couponCode": "-", "couponValue": "0.01", "couponKind": "", "lineItemsAmount": "1200.00", "amountAfterTax": "1,264.99", "shippingCharge": "65.00", "shippingTaxRate": "18", "shippingTaxAmount": "9.92", "shippingCessRate": "0", "shippingCessAmount": "0", "shippingPriceIncludesGst": "1", "productPriceIncludesGst": "1", "roundingAdjustment": "(+) 0.01", "grandTotal": "1,265.00", "refundedAmount": null, "paymentMethod": "bogus", "customerNote": "", "store": { "brandName": "Brand Name", "legalName": "Company Name", "address": "1 Street 1 Shastri Nagar, Mumbai - 400004, Maharashtra, India", "city": "Mumbai", "postalCode": "400004", "state": "Maharashtra", "stateCode": "MH", "country": "IN", "email": "john@doe.com", "phone": "+91123456789", "contactPerson": "Contact", "website": "example.com", "gstin": "27AAAAA0000A1Z5", "iecCode": "DFGD46546565", "cinNumber": "CIN1234567890", "panNumber": "PAN1234567890", "fssaiLicenseNumber": "FSSAI1234567890", "shippingSacCode": "459810", "showGstOnShipping": "1", "shippingPriceIncludesGst": "1", "logoUrl": "[https://example.com/logo.png](https://example.com/logo.png)", "signatureUrl": "[https://example.com/signature.png](https://example.com/signature.png)" }, "lineItems": [ { "gstRate": "18", "minimumItemAmount": "0", "minimumItemGst": "0", "cessRate": "0", "itemName": "Greed Jacket - Maroon - jacket112-1", "itemId": "8908851025", "itemSku": "jacket112-1", "quantity": 1, "unitPrice": "1200.00", "lineDiscount": "-", "lineCouponDiscount": "0.01", "lineCouponPercent": "0.00", "lineCouponValue": "0", "lineCouponKind": "", "taxableValue": "1,016.94", "hsnCode": "122345", "stateGst": "", "centralGst": "", "integratedGst": "183.05", "cessAmount": "", "lineTotal": "1,199.99" } ] } }
Note: The invoice endpoint supports order_number as an optional alternative to order_id.
- Invoice data can be retrieved using either
order_idororder_number. - If
order_numberis provided,order_idis not required. - At least one of these two fields must be provided to retrieve the invoice.
order_numbermust be provided without any prefix or suffix. For example, if the order number is#1001, pass1001as theorder_numberwithout the#symbol.