POST v1_03/GenIRN2

Request Information

URI Parameters

None.

Body Parameters

EInvoice2_Req_v03
NameDescriptionTypeAdditional information
GSTIN

string

None.

CDKey

string

None.

EInvUserName

string

None.

EInvPassword

string

None.

EFUserName

string

None.

EFPassword

string

None.

GetQRImg

string

None.

GetSignedInvoice

string

None.

ImgSize

string

None.

Version

string

None.

TranDtls

TranDtls

None.

DocDtls

DocDtls

None.

SellerDtls

SellerDtls

None.

BuyerDtls

BuyerDtls

None.

ItemList

Collection of ItemList

None.

ValDtls

ValDtls

None.

Irn

string

None.

DispDtls

DispDtls

None.

ShipDtls

ShipDtls

None.

PayDtls

PayDtls

None.

RefDtls

RefDtls

None.

AddlDocDtls

Collection of AddlDocDtl

None.

ExpDtls

ExpDtls

None.

EwbDtls

EwbDtls

None.

Request Formats

application/json, text/json

Sample:
{
  "GSTIN": "sample string 1",
  "CDKey": "sample string 2",
  "EInvUserName": "sample string 3",
  "EInvPassword": "sample string 4",
  "EFUserName": "sample string 5",
  "EFPassword": "sample string 6",
  "GetQRImg": "sample string 7",
  "GetSignedInvoice": "sample string 8",
  "ImgSize": "sample string 9",
  "Version": "sample string 10",
  "TranDtls": {
    "TaxSch": "sample string 1",
    "SupTyp": "sample string 2",
    "RegRev": "sample string 3",
    "EcmGstin": "sample string 4",
    "IgstOnIntra": "sample string 5"
  },
  "DocDtls": {
    "Typ": "sample string 1",
    "No": "sample string 2",
    "Dt": "sample string 3"
  },
  "SellerDtls": {
    "Gstin": "sample string 1",
    "LglNm": "sample string 2",
    "Addr1": "sample string 3",
    "Loc": "sample string 4",
    "Pin": 5,
    "Stcd": "sample string 6",
    "TrdNm": "sample string 7",
    "Addr2": "sample string 8",
    "Ph": "sample string 9",
    "Em": "sample string 10"
  },
  "BuyerDtls": {
    "Gstin": "sample string 1",
    "LglNm": "sample string 2",
    "Pos": "sample string 3",
    "Addr1": "sample string 4",
    "Loc": "sample string 5",
    "TrdNm": "sample string 6",
    "Addr2": "sample string 7",
    "Pin": 8,
    "Stcd": "sample string 9",
    "Ph": "sample string 10",
    "Em": "sample string 11"
  },
  "ItemList": [
    {
      "SlNo": "sample string 1",
      "IsServc": "sample string 2",
      "HsnCd": "sample string 3",
      "UnitPrice": 4.1,
      "TotAmt": 5.1,
      "AssAmt": 6.1,
      "GstRt": 7.1,
      "TotItemVal": 8.1,
      "PrdDesc": "sample string 9",
      "BchDtls": {
        "Nm": "sample string 1",
        "ExpDt": "sample string 2",
        "WrDt": "sample string 3"
      },
      "Barcde": "sample string 10",
      "Qty": 11.1,
      "FreeQty": 12.1,
      "Unit": "sample string 13",
      "Discount": 14.1,
      "PreTaxVal": 15.1,
      "IgstAmt": 16.1,
      "CgstAmt": 17.1,
      "SgstAmt": 18.1,
      "CesRt": 19.1,
      "CesAmt": 20.1,
      "CesNonAdvlAmt": 21.1,
      "StateCesRt": 22.1,
      "StateCesAmt": 23.1,
      "StateCesNonAdvlAmt": 24.1,
      "OthChrg": 25.1,
      "OrdLineRef": "sample string 26",
      "OrgCntry": "sample string 27",
      "PrdSlNo": "sample string 28",
      "AttribDtls": [
        {
          "Nm": "sample string 1",
          "Val": "sample string 2"
        },
        {
          "Nm": "sample string 1",
          "Val": "sample string 2"
        }
      ]
    },
    {
      "SlNo": "sample string 1",
      "IsServc": "sample string 2",
      "HsnCd": "sample string 3",
      "UnitPrice": 4.1,
      "TotAmt": 5.1,
      "AssAmt": 6.1,
      "GstRt": 7.1,
      "TotItemVal": 8.1,
      "PrdDesc": "sample string 9",
      "BchDtls": {
        "Nm": "sample string 1",
        "ExpDt": "sample string 2",
        "WrDt": "sample string 3"
      },
      "Barcde": "sample string 10",
      "Qty": 11.1,
      "FreeQty": 12.1,
      "Unit": "sample string 13",
      "Discount": 14.1,
      "PreTaxVal": 15.1,
      "IgstAmt": 16.1,
      "CgstAmt": 17.1,
      "SgstAmt": 18.1,
      "CesRt": 19.1,
      "CesAmt": 20.1,
      "CesNonAdvlAmt": 21.1,
      "StateCesRt": 22.1,
      "StateCesAmt": 23.1,
      "StateCesNonAdvlAmt": 24.1,
      "OthChrg": 25.1,
      "OrdLineRef": "sample string 26",
      "OrgCntry": "sample string 27",
      "PrdSlNo": "sample string 28",
      "AttribDtls": [
        {
          "Nm": "sample string 1",
          "Val": "sample string 2"
        },
        {
          "Nm": "sample string 1",
          "Val": "sample string 2"
        }
      ]
    }
  ],
  "ValDtls": {
    "AssVal": 1.1,
    "TotInvVal": 2.1,
    "CgstVal": 3.1,
    "SgstVal": 4.1,
    "IgstVal": 5.1,
    "CesVal": 6.1,
    "StCesVal": 7.1,
    "Discount": 8.1,
    "OthChrg": 9.1,
    "RndOffAmt": 10.1,
    "TotInvValFc": 11.1
  },
  "Irn": "sample string 11",
  "DispDtls": {
    "Nm": "sample string 1",
    "Addr1": "sample string 2",
    "Loc": "sample string 3",
    "Pin": 4,
    "Stcd": "sample string 5",
    "Addr2": "sample string 6"
  },
  "ShipDtls": {
    "LglNm": "sample string 1",
    "Addr1": "sample string 2",
    "Loc": "sample string 3",
    "Pin": 4,
    "Stcd": "sample string 5",
    "Gstin": "sample string 6",
    "TrdNm": "sample string 7",
    "Addr2": "sample string 8"
  },
  "PayDtls": {
    "Nm": "sample string 1",
    "AccDet": "sample string 2",
    "Mode": "sample string 3",
    "FinInsBr": "sample string 4",
    "PayTerm": "sample string 5",
    "PayInstr": "sample string 6",
    "CrTrn": "sample string 7",
    "DirDr": "sample string 8",
    "CrDay": 9,
    "PaidAmt": 10.1,
    "PaymtDue": 11.1
  },
  "RefDtls": {
    "InvStDt": "sample string 1",
    "InvEndDt": "sample string 2",
    "InvRm": "sample string 3",
    "PrecDocDtls": [
      {
        "InvNo": "sample string 1",
        "InvDt": "sample string 2",
        "OthRefNo": "sample string 3"
      },
      {
        "InvNo": "sample string 1",
        "InvDt": "sample string 2",
        "OthRefNo": "sample string 3"
      }
    ],
    "ContrDtls": [
      {
        "RecAdvRefr": "sample string 1",
        "RecAdvDt": "sample string 2",
        "TendRefr": "sample string 3",
        "ContrRefr": "sample string 4",
        "ExtRefr": "sample string 5",
        "ProjRefr": "sample string 6",
        "PORefr": "sample string 7",
        "PORefDt": "sample string 8"
      },
      {
        "RecAdvRefr": "sample string 1",
        "RecAdvDt": "sample string 2",
        "TendRefr": "sample string 3",
        "ContrRefr": "sample string 4",
        "ExtRefr": "sample string 5",
        "ProjRefr": "sample string 6",
        "PORefr": "sample string 7",
        "PORefDt": "sample string 8"
      }
    ]
  },
  "AddlDocDtls": [
    {
      "Url": "sample string 1",
      "Docs": "sample string 2",
      "Info": "sample string 3"
    },
    {
      "Url": "sample string 1",
      "Docs": "sample string 2",
      "Info": "sample string 3"
    }
  ],
  "ExpDtls": {
    "ShipBNo": "sample string 1",
    "ShipBDt": "sample string 2",
    "Port": "sample string 3",
    "RefClm": "sample string 4",
    "ForCur": "sample string 5",
    "CntCode": "sample string 6",
    "ExpDuty": 7.1
  },
  "EwbDtls": {
    "Distance": 1,
    "TransMode": "sample string 2",
    "TransId": "sample string 3",
    "TransName": "sample string 4",
    "TransDocNo": "sample string 5",
    "TransDocDt": "sample string 6",
    "VehNo": "sample string 7",
    "VehType": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<EInvoice2_Req_v03 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoicingEntityV1_03.RequestsEntity.GenEInvoice">
  <AddlDocDtls>
    <AddlDocDtl>
      <Docs>sample string 2</Docs>
      <Info>sample string 3</Info>
      <Url>sample string 1</Url>
    </AddlDocDtl>
    <AddlDocDtl>
      <Docs>sample string 2</Docs>
      <Info>sample string 3</Info>
      <Url>sample string 1</Url>
    </AddlDocDtl>
  </AddlDocDtls>
  <BuyerDtls>
    <Addr1>sample string 4</Addr1>
    <Addr2>sample string 7</Addr2>
    <Em>sample string 11</Em>
    <Gstin>sample string 1</Gstin>
    <LglNm>sample string 2</LglNm>
    <Loc>sample string 5</Loc>
    <Ph>sample string 10</Ph>
    <Pin>8</Pin>
    <Pos>sample string 3</Pos>
    <Stcd>sample string 9</Stcd>
    <TrdNm>sample string 6</TrdNm>
  </BuyerDtls>
  <CDKey>sample string 2</CDKey>
  <DispDtls>
    <Addr1>sample string 2</Addr1>
    <Addr2>sample string 6</Addr2>
    <Loc>sample string 3</Loc>
    <Nm>sample string 1</Nm>
    <Pin>4</Pin>
    <Stcd>sample string 5</Stcd>
  </DispDtls>
  <DocDtls>
    <Dt>sample string 3</Dt>
    <No>sample string 2</No>
    <Typ>sample string 1</Typ>
  </DocDtls>
  <EFPassword>sample string 6</EFPassword>
  <EFUserName>sample string 5</EFUserName>
  <EInvPassword>sample string 4</EInvPassword>
  <EInvUserName>sample string 3</EInvUserName>
  <EwbDtls>
    <Distance>1</Distance>
    <TransDocDt>sample string 6</TransDocDt>
    <TransDocNo>sample string 5</TransDocNo>
    <TransId>sample string 3</TransId>
    <TransMode>sample string 2</TransMode>
    <TransName>sample string 4</TransName>
    <VehNo>sample string 7</VehNo>
    <VehType>sample string 8</VehType>
  </EwbDtls>
  <ExpDtls>
    <CntCode>sample string 6</CntCode>
    <ExpDuty>7.1</ExpDuty>
    <ForCur>sample string 5</ForCur>
    <Port>sample string 3</Port>
    <RefClm>sample string 4</RefClm>
    <ShipBDt>sample string 2</ShipBDt>
    <ShipBNo>sample string 1</ShipBNo>
  </ExpDtls>
  <GSTIN>sample string 1</GSTIN>
  <GetQRImg>sample string 7</GetQRImg>
  <GetSignedInvoice>sample string 8</GetSignedInvoice>
  <ImgSize>sample string 9</ImgSize>
  <Irn>sample string 11</Irn>
  <ItemList>
    <ItemList>
      <AssAmt>6.1</AssAmt>
      <AttribDtls>
        <AttribDtl>
          <Nm>sample string 1</Nm>
          <Val>sample string 2</Val>
        </AttribDtl>
        <AttribDtl>
          <Nm>sample string 1</Nm>
          <Val>sample string 2</Val>
        </AttribDtl>
      </AttribDtls>
      <Barcde>sample string 10</Barcde>
      <BchDtls>
        <ExpDt>sample string 2</ExpDt>
        <Nm>sample string 1</Nm>
        <WrDt>sample string 3</WrDt>
      </BchDtls>
      <CesAmt>20.1</CesAmt>
      <CesNonAdvlAmt>21.1</CesNonAdvlAmt>
      <CesRt>19.1</CesRt>
      <CgstAmt>17.1</CgstAmt>
      <Discount>14.1</Discount>
      <FreeQty>12.1</FreeQty>
      <GstRt>7.1</GstRt>
      <HsnCd>sample string 3</HsnCd>
      <IgstAmt>16.1</IgstAmt>
      <IsServc>sample string 2</IsServc>
      <OrdLineRef>sample string 26</OrdLineRef>
      <OrgCntry>sample string 27</OrgCntry>
      <OthChrg>25.1</OthChrg>
      <PrdDesc>sample string 9</PrdDesc>
      <PrdSlNo>sample string 28</PrdSlNo>
      <PreTaxVal>15.1</PreTaxVal>
      <Qty>11.1</Qty>
      <SgstAmt>18.1</SgstAmt>
      <SlNo>sample string 1</SlNo>
      <StateCesAmt>23.1</StateCesAmt>
      <StateCesNonAdvlAmt>24.1</StateCesNonAdvlAmt>
      <StateCesRt>22.1</StateCesRt>
      <TotAmt>5.1</TotAmt>
      <TotItemVal>8.1</TotItemVal>
      <Unit>sample string 13</Unit>
      <UnitPrice>4.1</UnitPrice>
    </ItemList>
    <ItemList>
      <AssAmt>6.1</AssAmt>
      <AttribDtls>
        <AttribDtl>
          <Nm>sample string 1</Nm>
          <Val>sample string 2</Val>
        </AttribDtl>
        <AttribDtl>
          <Nm>sample string 1</Nm>
          <Val>sample string 2</Val>
        </AttribDtl>
      </AttribDtls>
      <Barcde>sample string 10</Barcde>
      <BchDtls>
        <ExpDt>sample string 2</ExpDt>
        <Nm>sample string 1</Nm>
        <WrDt>sample string 3</WrDt>
      </BchDtls>
      <CesAmt>20.1</CesAmt>
      <CesNonAdvlAmt>21.1</CesNonAdvlAmt>
      <CesRt>19.1</CesRt>
      <CgstAmt>17.1</CgstAmt>
      <Discount>14.1</Discount>
      <FreeQty>12.1</FreeQty>
      <GstRt>7.1</GstRt>
      <HsnCd>sample string 3</HsnCd>
      <IgstAmt>16.1</IgstAmt>
      <IsServc>sample string 2</IsServc>
      <OrdLineRef>sample string 26</OrdLineRef>
      <OrgCntry>sample string 27</OrgCntry>
      <OthChrg>25.1</OthChrg>
      <PrdDesc>sample string 9</PrdDesc>
      <PrdSlNo>sample string 28</PrdSlNo>
      <PreTaxVal>15.1</PreTaxVal>
      <Qty>11.1</Qty>
      <SgstAmt>18.1</SgstAmt>
      <SlNo>sample string 1</SlNo>
      <StateCesAmt>23.1</StateCesAmt>
      <StateCesNonAdvlAmt>24.1</StateCesNonAdvlAmt>
      <StateCesRt>22.1</StateCesRt>
      <TotAmt>5.1</TotAmt>
      <TotItemVal>8.1</TotItemVal>
      <Unit>sample string 13</Unit>
      <UnitPrice>4.1</UnitPrice>
    </ItemList>
  </ItemList>
  <PayDtls>
    <AccDet>sample string 2</AccDet>
    <CrDay>9</CrDay>
    <CrTrn>sample string 7</CrTrn>
    <DirDr>sample string 8</DirDr>
    <FinInsBr>sample string 4</FinInsBr>
    <Mode>sample string 3</Mode>
    <Nm>sample string 1</Nm>
    <PaidAmt>10.1</PaidAmt>
    <PayInstr>sample string 6</PayInstr>
    <PayTerm>sample string 5</PayTerm>
    <PaymtDue>11.1</PaymtDue>
  </PayDtls>
  <RefDtls>
    <ContrDtls>
      <ContrDtl>
        <ContrRefr>sample string 4</ContrRefr>
        <ExtRefr>sample string 5</ExtRefr>
        <PORefDt>sample string 8</PORefDt>
        <PORefr>sample string 7</PORefr>
        <ProjRefr>sample string 6</ProjRefr>
        <RecAdvDt>sample string 2</RecAdvDt>
        <RecAdvRefr>sample string 1</RecAdvRefr>
        <TendRefr>sample string 3</TendRefr>
      </ContrDtl>
      <ContrDtl>
        <ContrRefr>sample string 4</ContrRefr>
        <ExtRefr>sample string 5</ExtRefr>
        <PORefDt>sample string 8</PORefDt>
        <PORefr>sample string 7</PORefr>
        <ProjRefr>sample string 6</ProjRefr>
        <RecAdvDt>sample string 2</RecAdvDt>
        <RecAdvRefr>sample string 1</RecAdvRefr>
        <TendRefr>sample string 3</TendRefr>
      </ContrDtl>
    </ContrDtls>
    <InvEndDt>sample string 2</InvEndDt>
    <InvRm>sample string 3</InvRm>
    <InvStDt>sample string 1</InvStDt>
    <PrecDocDtls>
      <PrecDocDtl>
        <InvDt>sample string 2</InvDt>
        <InvNo>sample string 1</InvNo>
        <OthRefNo>sample string 3</OthRefNo>
      </PrecDocDtl>
      <PrecDocDtl>
        <InvDt>sample string 2</InvDt>
        <InvNo>sample string 1</InvNo>
        <OthRefNo>sample string 3</OthRefNo>
      </PrecDocDtl>
    </PrecDocDtls>
  </RefDtls>
  <SellerDtls>
    <Addr1>sample string 3</Addr1>
    <Addr2>sample string 8</Addr2>
    <Em>sample string 10</Em>
    <Gstin>sample string 1</Gstin>
    <LglNm>sample string 2</LglNm>
    <Loc>sample string 4</Loc>
    <Ph>sample string 9</Ph>
    <Pin>5</Pin>
    <Stcd>sample string 6</Stcd>
    <TrdNm>sample string 7</TrdNm>
  </SellerDtls>
  <ShipDtls>
    <Addr1>sample string 2</Addr1>
    <Addr2>sample string 8</Addr2>
    <Gstin>sample string 6</Gstin>
    <LglNm>sample string 1</LglNm>
    <Loc>sample string 3</Loc>
    <Pin>4</Pin>
    <Stcd>sample string 5</Stcd>
    <TrdNm>sample string 7</TrdNm>
  </ShipDtls>
  <TranDtls>
    <EcmGstin>sample string 4</EcmGstin>
    <IgstOnIntra>sample string 5</IgstOnIntra>
    <RegRev>sample string 3</RegRev>
    <SupTyp>sample string 2</SupTyp>
    <TaxSch>sample string 1</TaxSch>
  </TranDtls>
  <ValDtls>
    <AssVal>1.1</AssVal>
    <CesVal>6.1</CesVal>
    <CgstVal>3.1</CgstVal>
    <Discount>8.1</Discount>
    <IgstVal>5.1</IgstVal>
    <OthChrg>9.1</OthChrg>
    <RndOffAmt>10.1</RndOffAmt>
    <SgstVal>4.1</SgstVal>
    <StCesVal>7.1</StCesVal>
    <TotInvVal>2.1</TotInvVal>
    <TotInvValFc>11.1</TotInvValFc>
  </ValDtls>
  <Version>sample string 10</Version>
</EInvoice2_Req_v03>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.