GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Get CMPGET
Save CMPPOST
File CMP dataPOST
File CMP dataPOST
Get validate turnover for CMPGET
Payment
Ledger
e-Invoice
Notices
GST APICMPFile CMP data

File CMP data

POSThttps://apisandbox.whitebooks.in/cmp/retevcfile

Used to file entire CMP invoices using EVC.

Parameters

query parameters
emailstringrequired
API Developer User Email
panstringrequired
PAN Number
evcotpstringrequired
OTP for EVC
header parameters
gstinstringrequired
GST Number
ret_periodstringrequired
Return Period (MMYYYY)
gst_usernamestringrequired
GST UserName
state_cdstringrequired
State Code
ip_addressstringrequired
IP Address
txnstringrequired
Transaction
client_idstringrequired
Client ID
client_secretstringrequired
Client Secret

Request Body

application/jsonrequired
gstinstringoptional
GST Number
Example: "01AAAAB1726H1ZI"
ret_periodstringoptional
Return Period
Example: "032018"
isnilstringoptional
Is Nil Return
Example: "N"
table3objectoptional
out_supobjectoptional
tax_valnumberoptional
Value of goods
Example: 40
camtnumberoptional
CGST payable
Example: 20
samtnumberoptional
SGST payable
Example: 20
in_supobjectoptional
tax_valnumberoptional
Value of goods
Example: 40
iamtnumberoptional
IGST payable
Example: 10
camtnumberoptional
CGST payable
Example: 20
samtnumberoptional
SGST payable
Example: 20
csamtnumberoptional
CESS payable
Example: 10
intr_payobjectoptional
iamtnumberoptional
IGST payable
Example: 10
camtnumberoptional
CGST payable
Example: 20
samtnumberoptional
SGST payable
Example: 20
csamtnumberoptional
CESS payable
Example: 10
tax_payobjectoptional
tax_valnumberoptional
Value of goods
Example: 1000
iamtnumberoptional
IGST payable
Example: 20
camtnumberoptional
CGST payable
Example: 10
samtnumberoptional
SGST payable
Example: 10
csamtnumberoptional
CESS payable
Example: 5
table4objectoptional
rchrgobjectoptional
iamtnumberoptional
IGST payable
Example: 10
camtnumberoptional
CGST payable
Example: 10
samtnumberoptional
SGST payable
Example: 10
csamtnumberoptional
CESS payable
Example: 10
otr_rchrgobjectoptional
iamtnumberoptional
IGST payable
Example: 10
camtnumberoptional
CGST payable
Example: 10
samtnumberoptional
SGST payable
Example: 10
csamtnumberoptional
CESS payable
Example: 10
neg_liabobjectoptional
rchrgobjectoptional
otr_rchrgobjectoptional
intr_payobjectoptional
iamtnumberoptional
IGST payable
Example: 10
camtnumberoptional
CGST payable
Example: 10
samtnumberoptional
SGST payable
Example: 10
csamtnumberoptional
CESS payable
Example: 10
tax_payarray<object>optional
items: object
offsetarray<object>optional
items: object

Response

Not Found. If requested entity is not found or if requested API is not found.
POST/cmp/retevcfile
1const response = await fetch('https://apisandbox.whitebooks.in/cmp/retevcfile?email=value&pan=value&evcotp=value', {
2 method: 'POST',
3 headers: {
4 gstin: "value",
5 ret_period: "value",
6 gst_username: "value",
7 state_cd: "value",
8 ip_address: "value",
9 txn: "value",
10 client_id: "value",
11 client_secret: "value",
12 Content-Type: "application/json"
13},
14 body: JSON.stringify({
15 "gstin": "01AAAAB1726H1ZI",
16 "ret_period": "032018",
17 "isnil": "N",
18 "table3": {
19 "out_sup": {
20 "tax_val": 40,
21 "camt": 20,
22 "samt": 20
23 },
24 "in_sup": {
25 "tax_val": 40,
26 "iamt": 10,
27 "camt": 20,
28 "samt": 20,
29 "csamt": 10
30 },
31 "intr_pay": {
32 "iamt": 10,
33 "camt": 20,
34 "samt": 20,
35 "csamt": 10
36 },
37 "tax_pay": {
38 "tax_val": 1000,
39 "iamt": 20,
40 "camt": 10,
41 "samt": 10,
42 "csamt": 5
43 }
44 },
45 "table4": {
46 "rchrg": {
47 "iamt": 10,
48 "camt": 10,
49 "samt": 10,
50 "csamt": 10
51 },
52 "otr_rchrg": {
53 "iamt": 10,
54 "camt": 10,
55 "samt": 10,
56 "csamt": 10
57 },
58 "neg_liab": {
59 "rchrg": {
60 "iamt": 10,
61 "camt": 10,
62 "samt": 10,
63 "csamt": 10
64 },
65 "otr_rchrg": {
66 "iamt": 10,
67 "camt": 10,
68 "samt": 10,
69 "csamt": 10
70 }
71 },
72 "intr_pay": {
73 "iamt": 10,
74 "camt": 10,
75 "samt": 10,
76 "csamt": 10
77 }
78 },
79 "tax_pay": [
80 {}
81 ],
82 "offset": [
83 {}
84 ]
85}),
86});
87
88const data = await response.json();
89console.log(data);
No example available.