POST api/ewaybill/generate

Request Information

URI Parameters

None.

Body Parameters

GenerateEWayBillRequest
NameDescriptionTypeAdditional information
supplyType

string

None.

subSupplyType

string

None.

subSupplyDesc

string

None.

docType

string

None.

docNo

string

None.

docDate

string

None.

fromGstin

string

None.

fromTrdName

string

None.

fromAddr1

string

None.

fromAddr2

string

None.

fromPlace

string

None.

actFromStateCode

integer

None.

fromStateCode

integer

None.

fromPincode

integer

None.

toGstin

string

None.

toTrdName

string

None.

toAddr1

string

None.

toAddr2

string

None.

toPlace

string

None.

actToStateCode

integer

None.

toStateCode

integer

None.

toPincode

integer

None.

transactionType

integer

None.

totalValue

decimal number

None.

cgstValue

decimal number

None.

sgstValue

decimal number

None.

igstValue

decimal number

None.

cessValue

decimal number

None.

cessNonAdvolValue

decimal number

None.

totInvValue

decimal number

None.

transMode

string

None.

transDistance

string

None.

transporterId

string

None.

transporterName

string

None.

transDocNo

string

None.

transDocDate

string

None.

vehicleNo

string

None.

vehicleType

string

None.

itemList

Collection of EWayBillItem

None.

Request Formats

application/json, text/json

Sample:
{
  "supplyType": "sample string 1",
  "subSupplyType": "sample string 2",
  "subSupplyDesc": "sample string 3",
  "docType": "sample string 4",
  "docNo": "sample string 5",
  "docDate": "sample string 6",
  "fromGstin": "sample string 7",
  "fromTrdName": "sample string 8",
  "fromAddr1": "sample string 9",
  "fromAddr2": "sample string 10",
  "fromPlace": "sample string 11",
  "actFromStateCode": 12,
  "fromStateCode": 13,
  "fromPincode": 14,
  "toGstin": "sample string 15",
  "toTrdName": "sample string 16",
  "toAddr1": "sample string 17",
  "toAddr2": "sample string 18",
  "toPlace": "sample string 19",
  "actToStateCode": 20,
  "toStateCode": 21,
  "toPincode": 22,
  "transactionType": 23,
  "totalValue": 24.0,
  "cgstValue": 25.0,
  "sgstValue": 26.0,
  "igstValue": 27.0,
  "cessValue": 28.0,
  "cessNonAdvolValue": 29.0,
  "totInvValue": 30.0,
  "transMode": "sample string 31",
  "transDistance": "sample string 32",
  "transporterId": "sample string 33",
  "transporterName": "sample string 34",
  "transDocNo": "sample string 35",
  "transDocDate": "sample string 36",
  "vehicleNo": "sample string 37",
  "vehicleType": "sample string 38",
  "itemList": [
    {
      "productName": "sample string 1",
      "productDesc": "sample string 2",
      "hsnCode": 3,
      "quantity": 4.0,
      "qtyUnit": "sample string 5",
      "taxableAmount": 6.0,
      "sgstRate": 7.0,
      "cgstRate": 8.0,
      "igstRate": 9.0,
      "cessRate": 10.0
    },
    {
      "productName": "sample string 1",
      "productDesc": "sample string 2",
      "hsnCode": 3,
      "quantity": 4.0,
      "qtyUnit": "sample string 5",
      "taxableAmount": 6.0,
      "sgstRate": 7.0,
      "cgstRate": 8.0,
      "igstRate": 9.0,
      "cessRate": 10.0
    }
  ]
}

application/xml, text/xml

Sample:
<GenerateEWayBillRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models">
  <actFromStateCode>12</actFromStateCode>
  <actToStateCode>20</actToStateCode>
  <cessNonAdvolValue>29</cessNonAdvolValue>
  <cessValue>28</cessValue>
  <cgstValue>25</cgstValue>
  <docDate>sample string 6</docDate>
  <docNo>sample string 5</docNo>
  <docType>sample string 4</docType>
  <fromAddr1>sample string 9</fromAddr1>
  <fromAddr2>sample string 10</fromAddr2>
  <fromGstin>sample string 7</fromGstin>
  <fromPincode>14</fromPincode>
  <fromPlace>sample string 11</fromPlace>
  <fromStateCode>13</fromStateCode>
  <fromTrdName>sample string 8</fromTrdName>
  <igstValue>27</igstValue>
  <itemList>
    <EWayBillItem>
      <cessRate>10</cessRate>
      <cgstRate>8</cgstRate>
      <hsnCode>3</hsnCode>
      <igstRate>9</igstRate>
      <productDesc>sample string 2</productDesc>
      <productName>sample string 1</productName>
      <qtyUnit>sample string 5</qtyUnit>
      <quantity>4</quantity>
      <sgstRate>7</sgstRate>
      <taxableAmount>6</taxableAmount>
    </EWayBillItem>
    <EWayBillItem>
      <cessRate>10</cessRate>
      <cgstRate>8</cgstRate>
      <hsnCode>3</hsnCode>
      <igstRate>9</igstRate>
      <productDesc>sample string 2</productDesc>
      <productName>sample string 1</productName>
      <qtyUnit>sample string 5</qtyUnit>
      <quantity>4</quantity>
      <sgstRate>7</sgstRate>
      <taxableAmount>6</taxableAmount>
    </EWayBillItem>
  </itemList>
  <sgstValue>26</sgstValue>
  <subSupplyDesc>sample string 3</subSupplyDesc>
  <subSupplyType>sample string 2</subSupplyType>
  <supplyType>sample string 1</supplyType>
  <toAddr1>sample string 17</toAddr1>
  <toAddr2>sample string 18</toAddr2>
  <toGstin>sample string 15</toGstin>
  <toPincode>22</toPincode>
  <toPlace>sample string 19</toPlace>
  <toStateCode>21</toStateCode>
  <toTrdName>sample string 16</toTrdName>
  <totInvValue>30</totInvValue>
  <totalValue>24</totalValue>
  <transDistance>sample string 32</transDistance>
  <transDocDate>sample string 36</transDocDate>
  <transDocNo>sample string 35</transDocNo>
  <transMode>sample string 31</transMode>
  <transactionType>23</transactionType>
  <transporterId>sample string 33</transporterId>
  <transporterName>sample string 34</transporterName>
  <vehicleNo>sample string 37</vehicleNo>
  <vehicleType>sample string 38</vehicleType>
</GenerateEWayBillRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.