eChallan
eChallan System APIs
API specs to generate new challans, update existing challans, search challans, and generate demand bills for the challan amount for collection purposes.
Last updated
API specs to generate new challans, update existing challans, search challans, and generate demand bills for the challan amount for collection purposes.
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
OK
OK
const response = await fetch('/eChallan/v1/_count?tenantId=text', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
const response = await fetch('/eChallan/v1/_test', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"statusCode": "ACCEPTED",
"statusCodeValue": 0
}
Gets the list of service requests for a particular ULB based on search criteria.
Successful response sorted by reverse chrnological order of creation
const response = await fetch('/eChallan/v1/_search?tenantId=text', {
method: 'POST',
headers: {},
});
const data = await response.json();
{
"challanValidity": 0,
"challans": [
{
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"challan": {
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"pwdExpiryDate": 0,
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"taxPeriodFrom": 0,
"taxPeriodTo": 0,
"tenantId": "text"
},
"challanNo": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text"
},
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"pwdExpiryDate": 0,
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"taxPeriodFrom": 0,
"taxPeriodTo": 0,
"tenantId": "text"
}
],
"countOfServices": 0,
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"totalAmountCollected": 0,
"totalCount": 0
}
Update the existing challan details
Request schema.
Application submitted successfully
const response = await fetch('/eChallan/v1/_update', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"challanValidity": 0,
"challans": [
{
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"challan": {
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"pwdExpiryDate": 0,
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"taxPeriodFrom": 0,
"taxPeriodTo": 0,
"tenantId": "text"
},
"challanNo": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text"
},
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"pwdExpiryDate": 0,
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"taxPeriodFrom": 0,
"taxPeriodTo": 0,
"tenantId": "text"
}
],
"countOfServices": 0,
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"totalAmountCollected": 0,
"totalCount": 0
}
Generate the challan in the system with the defined attributes
Request schema.
Application submitted successfully
const response = await fetch('/eChallan/v1/_create', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"challanValidity": 0,
"challans": [
{
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"challan": {
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"pwdExpiryDate": 0,
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"taxPeriodFrom": 0,
"taxPeriodTo": 0,
"tenantId": "text"
},
"challanNo": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text"
},
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"pwdExpiryDate": 0,
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"taxPeriodFrom": 0,
"taxPeriodTo": 0,
"tenantId": "text"
}
],
"countOfServices": 0,
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"totalAmountCollected": 0,
"totalCount": 0
}