> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate e-Invoice

> Generate e-Invoice by passing the invoice object and get the Invoice Reference Number (IRN) along with the signed invoice and signed QR code in response. E-Way Bill can be also created along with the e-Invoice in the same API call.

#### Request body schema

<Card title="View request body schema" icon="code" href="https://raw.githubusercontent.com/in-co-sandbox/in-co-sandbox-docs/refs/heads/main/data/gst/schema/request/e-invoice/generate_e_invoice.json" arrow="true" horizontal />


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json POST /gst/compliance/e-invoice/tax-payer/invoice
openapi: 3.0.1
info:
  title: compliance
  description: >-
    **GST Compliance API** enables businesses to automate compliance
    requirements like [Taxpayer
    verification](https://developer.sandbox.co.in/reference/search-gstin-api),
    [GSTR
    Filing](https://developer.sandbox.co.in/reference/gst-taxpayer-authentication),
    [Generating
    E-Invoices](https://developer.sandbox.co.in/reference/e-invoice-authentication-api),
    and [E-Way
    Bills](https://developer.sandbox.co.in/reference/e-way-bill-authentication-api).We
    provide these APIs from GSTN-authorised GST Suvidha Providers, handling the
    encryption-decryption and signing so you don't have to handle the
    complexities.
  version: 1.0.0
servers:
  - url: https://api.sandbox.co.in
  - url: https://test-api.sandbox.co.in
security: []
tags:
  - name: Public
  - name: Taxpayer
  - name: Taxpayer Auth
  - name: Returns
  - name: GSTR-1 Documents
  - name: File GSTR-1
  - name: GSTR-2A Documents
  - name: GSTR-2B Document
  - name: File GSTR-3B
  - name: GSTR-4
  - name: File GSTR-9
  - name: Invoice Management System
  - name: GSTR-1A Documents
  - name: File GSTR-1A
  - name: Ledgers
  - name: e-Invoice
  - name: Sales e-Invoices for return period
  - name: Purchase e-Invoices for return period
  - name: Front Office Notices
  - name: Front Office
  - name: AATO
  - name: e-Invoice1
  - name: Authentication
  - name: e-Invoice12
  - name: E-Way Bill
  - name: E-Way Bill1
  - name: Authentication1
  - name: Consignor
  - name: Consolidated E-Way Bill
  - name: Multi-Vehicle Movement
  - name: Consignee
  - name: Transporter
  - name: Consolidated E-Way Bill1
  - name: Multi-vehicle Movement
  - name: Common
paths:
  /gst/compliance/e-invoice/tax-payer/invoice:
    post:
      tags:
        - e-Invoice1
        - e-Invoice12
      summary: Generate E-Invoice
      operationId: generateIrn
      parameters:
        - name: authorization
          in: header
          description: >-
            E-Invoice access token. For token-generation steps, refer to the
            [Generate E-Invoice
            Session](/recipes/gst/authentication/generate_e_invoice_session)
            recipe, then pass the token in the authorization header.
          required: true
          example: ''
          schema:
            type: string
        - name: x-api-version
          in: header
          description: API version
          required: false
          example: ''
          schema:
            type: string
            default: 1.0.0
        - name: x-api-key
          in: header
          description: API key for identification
          required: true
          example: ''
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateEInvoiceRequest'
            examples:
              2258 Supplier state code does not match:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/12101
                    Dt: 18/08/2022
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 414203
                    Stcd: '27'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                      BchDtls:
                        Nm: '123456'
                        ExpDt: 01/08/2020
                        WrDt: 01/09/2020
                      AttribDtls:
                        - Nm: Rice
                          Val: '10000'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  PayDtls:
                    Nm: ABCDE
                    AccDet: '5697389713210'
                    Mode: Cash
                    FinInsBr: SBIN11000
                    PayTerm: '100'
                    PayInstr: Gift
                    CrTrn: test
                    DirDr: test
                    CrDay: 100
                    PaidAmt: 10000
                    PaymtDue: 5000
                  RefDtls:
                    InvRm: TEST
                    DocPerdDtls:
                      InvStDt: 01/08/2020
                      InvEndDt: 01/09/2020
                    PrecDocDtls:
                      - InvNo: DOC/002
                        InvDt: 01/08/2020
                        OthRefNo: '123456'
                    ContrDtls:
                      - RecAdvRefr: Doc/003
                        RecAdvDt: 01/08/2020
                        TendRefr: Abc001
                        ContrRefr: Co123
                        ExtRefr: Yo456
                        ProjRefr: Doc-456
                        PORefr: Doc-789
                        PORefDt: 01/08/2020
                  AddlDocDtls:
                    - Url: https://einv-apisandbox.nic.in
                      Docs: Test Doc
                      Info: Document Test
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                    ExpDuty: null
                  EwbDtls:
                    TransId: 12AWGPV7107B1Z1
                    TransName: XYZ EXPORTS
                    Distance: 100
                    TransDocNo: DOC01
                    TransDocDt: 18/08/2020
                    VehNo: ka123456
                    VehType: R
                    TransMode: '1'
                summary: 2258 Supplier state code does not match
              5002 Version field is required:
                value:
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/1219011
                    Dt: 18/08/2022
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 413201
                    Stcd: '27'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                      BchDtls:
                        Nm: '123456'
                        ExpDt: 01/08/2020
                        WrDt: 01/09/2020
                      AttribDtls:
                        - Nm: Rice
                          Val: '10000'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  PayDtls:
                    Nm: ABCDE
                    AccDet: '5697389713210'
                    Mode: Cash
                    FinInsBr: SBIN11000
                    PayTerm: '100'
                    PayInstr: Gift
                    CrTrn: test
                    DirDr: test
                    CrDay: 100
                    PaidAmt: 10000
                    PaymtDue: 5000
                  RefDtls:
                    InvRm: TEST
                    DocPerdDtls:
                      InvStDt: 01/08/2020
                      InvEndDt: 01/09/2020
                    PrecDocDtls:
                      - InvNo: DOC/002
                        InvDt: 01/08/2020
                        OthRefNo: '123456'
                    ContrDtls:
                      - RecAdvRefr: Doc/003
                        RecAdvDt: 01/08/2020
                        TendRefr: Abc001
                        ContrRefr: Co123
                        ExtRefr: Yo456
                        ProjRefr: Doc-456
                        PORefr: Doc-789
                        PORefDt: 01/08/2020
                  AddlDocDtls:
                    - Url: https://einv-apisandbox.nic.in
                      Docs: Test Doc
                      Info: Document Test
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                    ExpDuty: null
                  EwbDtls:
                    TransId: 12AWGPV7107B1Z1
                    TransName: XYZ EXPORTS
                    Distance: 100
                    TransDocNo: DOC01
                    TransDocDt: 18/08/2020
                    VehNo: ka123456
                    VehType: R
                    TransMode: '1'
                summary: 5002 Version field is required
              200 e-Invoice generated (Services):
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/111
                    Dt: 01/01/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: API Access
                      IsServc: 'Y'
                      HsnCd: '998314'
                      Qty: 1
                      FreeQty: 0
                      Unit: BAG
                      UnitPrice: 999
                      TotAmt: 846.62
                      PreTaxVal: 846.62
                      AssAmt: 846.62
                      GstRt: 18
                      IgstAmt: 152.38
                      CgstAmt: 0
                      SgstAmt: 0
                      TotItemVal: 999
                  ValDtls:
                    AssVal: 846.62
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 152.38
                    CesVal: 0
                    StCesVal: 0
                    Discount: 0
                    OthChrg: 0
                    RndOffAmt: 0
                    TotInvVal: 999
                summary: 200 e-Invoice generated (Services)
              200 e-Invoice generated (Goods):
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/112
                    Dt: 01/01/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                summary: 200 e-Invoice generated (Goods)
              2278 IRN generated and cancelled:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/113
                    Dt: 01/01/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                    ExpDuty: null
                  EwbDtls:
                    TransId: 12AWGPV7107B1Z1
                    TransName: XYZ EXPORTS
                    Distance: 5
                    TransDocNo: DOC01
                    TransDocDt: 05/01/2024
                    VehNo: ka123456
                    VehType: R
                    TransMode: '1'
                summary: 2278 IRN generated and cancelled
              200 e-Invoice with EWB generated:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/11544422
                    Dt: 05/01/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                    ExpDuty: null
                  EwbDtls:
                    TransId: 12AWGPV7107B1Z1
                    TransName: XYZ EXPORTS
                    Distance: 5
                    TransDocNo: DOC01
                    TransDocDt: 05/01/2024
                    VehNo: ka123456
                    VehType: R
                    TransMode: '1'
                summary: 200 e-Invoice with EWB generated
              2150 Duplicate IRN:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/1114745
                    Dt: 02/02/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                summary: 2150 Duplicate IRN
              2301 e-Commerce operator field empty:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/128
                    Dt: 01/01/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                summary: 2301 e-Commerce operator field empty
              3026 E-Invoice not enabled:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                  DocDtls:
                    Typ: INV
                    'No': DOC/234001
                    Dt: 16/04/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: API Subscription (Startup Plan)
                      IsServc: 'Y'
                      HsnCd: '998314'
                      Qty: 1
                      UnitPrice: 846.61
                      TotAmt: 999
                      AssAmt: 846.61
                      GstRt: 18
                      IgstAmt: 152.39
                      TotItemVal: 999
                  ValDtls:
                    AssVal: 846.61
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 152.39
                    TotInvVal: 999
                summary: 3026 E-Invoice not enabled
              Request Example:
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    EcmGstin: null
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/113
                    Dt: 01/01/2024
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: BANGALORE
                    Pin: 560091
                    Stcd: '29'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                    ExpDuty: null
                  EwbDtls:
                    TransId: 12AWGPV7107B1Z1
                    TransName: XYZ EXPORTS
                    Distance: 5
                    TransDocNo: DOC01
                    TransDocDt: 05/01/2024
                    VehNo: ka123456
                    VehType: R
                    TransMode: '1'
                summary: Request Example
              Request Example (Postman):
                value:
                  Version: '1.1'
                  TranDtls:
                    TaxSch: GST
                    SupTyp: B2B
                    RegRev: 'Y'
                    IgstOnIntra: 'N'
                  DocDtls:
                    Typ: INV
                    'No': DOC/12101
                    Dt: 18/08/2022
                  SellerDtls:
                    Gstin: 29AAACQ3770E000
                    LglNm: Acme Industries Private Limited
                    TrdNm: Acme Industries Private Limited
                    Addr1: 5th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 414203
                    Stcd: '27'
                    Ph: '9000000000'
                    Em: abc@gmail.com
                  BuyerDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: XYZ company pvt ltd
                    TrdNm: XYZ Industries
                    Pos: '12'
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: GANDHINAGAR
                    Pin: 562160
                    Stcd: '29'
                    Ph: '91111111111'
                    Em: xyz@yahoo.com
                  DispDtls:
                    Nm: ABC company pvt ltd
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ShipDtls:
                    Gstin: 29AWGPV7107B1Z1
                    LglNm: CBE company pvt ltd
                    TrdNm: kuvempu layout
                    Addr1: 7th block, kuvempu layout
                    Addr2: kuvempu layout
                    Loc: Banagalore
                    Pin: 562160
                    Stcd: '29'
                  ItemList:
                    - SlNo: '1'
                      PrdDesc: Rice
                      IsServc: 'N'
                      HsnCd: '1001'
                      Barcde: '123456'
                      Qty: 100.345
                      FreeQty: 10
                      Unit: BAG
                      UnitPrice: 99.545
                      TotAmt: 9988.84
                      Discount: 10
                      PreTaxVal: 1
                      AssAmt: 9978.84
                      GstRt: 12
                      IgstAmt: 1197.46
                      CgstAmt: 0
                      SgstAmt: 0
                      CesRt: 5
                      CesAmt: 498.94
                      CesNonAdvlAmt: 10
                      StateCesRt: 12
                      StateCesAmt: 1197.46
                      StateCesNonAdvlAmt: 5
                      OthChrg: 10
                      TotItemVal: 12897.7
                      OrdLineRef: '3256'
                      OrgCntry: AG
                      PrdSlNo: '12345'
                      BchDtls:
                        Nm: '123456'
                        ExpDt: 01/08/2020
                        WrDt: 01/09/2020
                      AttribDtls:
                        - Nm: Rice
                          Val: '10000'
                  ValDtls:
                    AssVal: 9978.84
                    CgstVal: 0
                    SgstVal: 0
                    IgstVal: 1197.46
                    CesVal: 508.94
                    StCesVal: 1202.46
                    Discount: 10
                    OthChrg: 20
                    RndOffAmt: 0.3
                    TotInvVal: 12908
                    TotInvValFc: 12897.7
                  PayDtls:
                    Nm: ABCDE
                    AccDet: '5697389713210'
                    Mode: Cash
                    FinInsBr: SBIN11000
                    PayTerm: '100'
                    PayInstr: Gift
                    CrTrn: test
                    DirDr: test
                    CrDay: 100
                    PaidAmt: 10000
                    PaymtDue: 5000
                  RefDtls:
                    InvRm: TEST
                    DocPerdDtls:
                      InvStDt: 01/08/2020
                      InvEndDt: 01/09/2020
                    PrecDocDtls:
                      - InvNo: DOC/002
                        InvDt: 01/08/2020
                        OthRefNo: '123456'
                    ContrDtls:
                      - RecAdvRefr: Doc/003
                        RecAdvDt: 01/08/2020
                        TendRefr: Abc001
                        ContrRefr: Co123
                        ExtRefr: Yo456
                        ProjRefr: Doc-456
                        PORefr: Doc-789
                        PORefDt: 01/08/2020
                  AddlDocDtls:
                    - Url: https://einv-apisandbox.nic.in
                      Docs: Test Doc
                      Info: Document Test
                  ExpDtls:
                    ShipBNo: A-248
                    ShipBDt: 01/08/2020
                    Port: INABG1
                    RefClm: 'N'
                    ForCur: AED
                    CntCode: AE
                    ExpDuty: null
                  EwbDtls:
                    TransId: 12AWGPV7107B1Z1
                    TransName: XYZ EXPORTS
                    Distance: 100
                    TransDocNo: DOC01
                    TransDocDt: 18/08/2020
                    VehNo: ka123456
                    VehType: R
                    TransMode: '1'
                summary: Request Example (Postman)
      responses:
        '200':
          description: >-
            2258 Supplier state code does not match / 5002 Version field is
            required / 200 E-Invoice generated (Services) / 200 E-Invoice
            generated (Goods) / 2278 IRN generated and cancelled / 200 E-Invoice
            with EWB generated / 2150 Duplicate IRN / 2301 e-Commerce operator
            field empty / 3026 E-Invoice not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateEInvoiceResponse'
              examples:
                2258 Supplier state code does not match:
                  summary: 2258 Supplier state code does not match
                  value:
                    code: 200
                    data:
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '2258'
                          ErrorMessage: >-
                            Supplier GSTIN state codedoes not match with the
                            state code passed in supplier details
                      InfoDtls: null
                      Status: 0
                    timestamp: 1763446641000
                    transaction_id: ebde421c-2720-4f24-a9ea-f71ec31fc31d
                5002 Version field is required:
                  summary: 5002 Version field is required
                  value:
                    code: 200
                    data:
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '5002'
                          ErrorMessage: The Version field is required.
                      InfoDtls: null
                      Status: 0
                    timestamp: 1763446641000
                    transaction_id: d2078ce5-72f1-4f98-b546-97c55e3c7c51
                200 e-Invoice generated (Services):
                  summary: 200 e-Invoice generated (Services)
                  value:
                    code: 200
                    data:
                      Data:
                        AckDt: '2024-02-22 17:42:00'
                        AckNo: 112410188589976
                        EwbDt: null
                        EwbNo: null
                        EwbValidTill: null
                        Irn: >-
                          7859346583894f8602c10f5a1d4a40265c90824ad63ba999f04836a57aa70e7c
                        Remarks: null
                        SignedInvoice: >-
                          eyJhbGciOiJSUzI1NiIsImtpZC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rE0pioMhFuFbnsLkyVLUsxJFk3Jc90fActOyRLm6xgEeJ5oAoR8IpzHySSTMM4_tx910f0u-IuXf59GxLQQAKyjF1UfrRmTjN3sPmDk4SSKxz0aqQ0yS-LHiAx5vL8kSws2Icyri6dS8WLLHR0_cWKs_VWf4xg87oFM5MgKTVq3mdzg
                        Status: ACT
                      ErrorDetails: null
                      InfoDtls: null
                      Status: 1
                    timestamp: 1763446641000
                    transaction_id: cec7c77e-4521-4f7e-81ac-7ec941099826
                200 e-Invoice generated (Goods):
                  summary: 200 e-Invoice generated (Goods)
                  value:
                    code: 200
                    data:
                      Data:
                        AckDt: '2024-02-22 17:44:00'
                        AckNo: 112410188590033
                        EwbDt: null
                        EwbNo: null
                        EwbValidTill: null
                        Irn: >-
                          1f33d0856cf71d6f836ed56cd20648994ba0332fe2e3659a2638e01047d12ce9
                        Remarks: null
                        SignedInvoice: >-
                          eyJhbGciOiJSUzI1NiIsImtpZCI6IjE1MTNCODIxRUU0NkM3NDlBNjNCODZFMzE4QkY3MTEwOTkyODdEMUYiLCJ4NXQiOiJGUk80SWU1R3gwbW1PNGJqR0w5eEVKa29mUjgiLCJ0eXAiOiJKV1QifQ.eyJkYXRhIjoie1wiQWNrTm9cIjoxMTI0MTAxODg1OTAwMzMsXCJBY2tEdFwiOlwiMjAyNC0wMi0yMiAxNzo0NDowMFwiLFwiSXJuXCI6XCIxZjMzZDA4NTZjZjcxZDZmODM2ZWQ1NmNkMjA2NDg5OTRiYTAzMzJmZTJlMzY1OWEyNjM4ZTAxMDQ3ZDEyY2U5XCIsXCJWZXJzaW9uXCI6XCIxLjFcIixcIlRyYW5EdGxzXCI6e1wiVGF4U2NoXCI6XCJHU1RcIixcIlN1cFR5cFwiOlwiQjJCXCIsXCJSZWdSZXZcIjpcIllcIixcIklnc3RPbkludHJhXCI6XCJOXCJ9LFwiRG9jRHRsc1wiOntcIlR5cFwiOlwiSU5WXCIsXCJOb1wiOlwiRE9DLzExMlwiLFwiRHRcIjpcI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CBReexddH2_gk1w
                        Status: ACT
                      ErrorDetails: null
                      InfoDtls: null
                      Status: 1
                    timestamp: 1763446641000
                    transaction_id: 99969a01-34c2-4e22-82b9-302c492088a8
                2278 IRN generated and cancelled:
                  summary: 2278 IRN generated and cancelled
                  value:
                    code: 200
                    data:
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '2278'
                          ErrorMessage: >-
                            IRN is already generated and is cancelled for this
                            Document number. The duplicate IRN cannot be
                            generated for the same  number.
                      InfoDtls:
                        - Desc:
                            AckDt: '2024-02-07 19:10:00'
                            AckNo: 112410188245470
                            Irn: >-
                              4b6c5d74157759eb327d98c6473a9355ea1bac713a5325d1b9f214d8be15d154
                          InfCd: DUPIRN
                      Status: 0
                    timestamp: 1763446641000
                    transaction_id: 85d13733-330f-4e7d-b031-24d67cb8d45b
                200 e-Invoice with EWB generated:
                  summary: 200 e-Invoice with EWB generated
                  value:
                    code: 200
                    data:
                      Data:
                        AckDt: '2024-02-22 17:45:00'
                        AckNo: 112410188590060
                        EwbDt: '2024-02-22 17:45:00'
                        EwbNo: 141010315518
                        EwbValidTill: '2024-02-23 23:59:00'
                        Irn: >-
                          7bcff7dbaabc8841c4d62c838d4e83b30e7f14d03b2cbc8e39dccec63578e4d6
                        Remarks: null
                        SignedInvoice: >-
                          eyJhbGciOiJSUzI1NiIsImtpZCI6IjE1MTNCODIxRUU0NkM3NDlBNjNCODZFMzE4QkY3MTEwOTkyODdEMUYiLCJ4NXQiOiJGUk80SWU1R3gwbW1PNGJqR0w5eEVKa29mUjgiLCJ0eXAiOiJKV1QifQ.eyJkYXRhIjoie1wiQWNrTm9cIjoxMTI0MTAxODg1OTAwNjAsXCJBY2tEdFwiOlwiMjAyNC0wMi0yMiAxNzo0NTowMFwiLFwiSXJuXCI6XCI3YmNmZjdkYmFhYmM4ODQxYzRkNjJjODM4ZDRlODNiMzBlN2YxNGQwM2IyY2JjOGUzOWRjY2VjNjM1NzhlNGQ2XCIsXCJWZXJzaW9uXCI6XC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1ShliRQANKKUHlNcSqqMt71yBL0ILlh1XCItmc8_Ni5bBq_JwyEs5nQnrznf6bWxMnl3-qw11e9oNXWTyjFoLke_BAONiHtJqN0ajz1DWkS_gYiS7Fa1QTZ-tRjK0dABoTz6vI9koJHGimt5HVsCA1kk43LlYgGO_RGIXg
                        Status: ACT
                      ErrorDetails: null
                      InfoDtls: null
                      Status: 1
                    timestamp: 1763446641000
                    transaction_id: 6243e998-88de-47fa-b4e2-67be2db9c4b3
                2150 Duplicate IRN:
                  summary: 2150 Duplicate IRN
                  value:
                    code: 200
                    data:
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '2150'
                          ErrorMessage: Duplicate IRN
                      InfoDtls:
                        - Desc:
                            AckDt: '2024-02-22 17:42:00'
                            AckNo: 112410188589976
                            Irn: >-
                              7859346583894f8602c10f5a1d4a40265c90824ad63ba999f04836a57aa70e7c
                          InfCd: DUPIRN
                      Status: 0
                    timestamp: 1763446641000
                    transaction_id: 028fb954-f7b5-4ad1-9093-1d3ce035e2ab
                2301 e-Commerce operator field empty:
                  summary: 2301 e-Commerce operator field empty
                  value:
                    code: 200
                    data:
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '2301'
                          ErrorMessage: >-
                            E-Commerce Operator GSTIN field should not be empty
                            when e-Commerce operator generates E-Invoice
                      InfoDtls: null
                      Status: 0
                    timestamp: 1763446641000
                    transaction_id: e3ad295e-2cf3-4ff0-b208-247500a4d344
                3026 E-Invoice not enabled:
                  summary: 3026 E-Invoice not enabled
                  value:
                    code: 200
                    data:
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '3026'
                          ErrorMessage: >-
                            E-Invoice Options are not enabled for this GSTIN
                            -29AAACQ3770E000
                        - ErrorCode: '2300'
                          ErrorMessage: Supplier GSTIN should be of type Regular or SED
                        - ErrorCode: '2193'
                          ErrorMessage: >-
                            For Sl. No. 1, Taxable Value (AssAmt) value is not
                            equal to (TotAmt - Discount)
                      InfoDtls: null
                      Status: 0
                    timestamp: 1763446641000
                    transaction_id: 110bab9f-8c87-417b-a6de-19cb22cb51c5
                2301 e-Commerce operator field empty 2:
                  summary: 2301 e-Commerce operator field empty 2
                  value:
                    transaction_id: 41bb8041-fb83-4654-8d75-85a19f329158
                    code: 200
                    data:
                      Status: 0
                      Data: null
                      ErrorDetails:
                        - ErrorCode: '2301'
                          ErrorMessage: >-
                            E-Commerce Operator GSTIN field should not be empty
                            when e-Commerce operator generates e-Invoice
                      InfoDtls: null
                    timestamp: 1776921876217
          headers: {}
      deprecated: false
      security: []
components:
  schemas:
    GenerateEInvoiceRequest:
      title: GST-India Invoice Document
      required:
        - BuyerDtls
        - DocDtls
        - ItemList
        - SellerDtls
        - TranDtls
        - ValDtls
        - Version
      type: object
      properties:
        Version:
          maxLength: 6
          minLength: 1
          type: string
          description: Version of the schema
        Irn:
          maxLength: 64
          minLength: 64
          type: string
          nullable: true
          description: Invoice Reference Number
        TranDtls:
          required:
            - SupTyp
            - TaxSch
          type: object
          properties:
            TaxSch:
              maxLength: 10
              minLength: 3
              pattern: ^(GST)$
              type: string
              description: GST- Goods and Services Tax Scheme
              enum:
                - GST
            SupTyp:
              maxLength: 10
              minLength: 3
              pattern: ^((B2B)|(SEZWP)|(SEZWOP)|(EXPWP)|(EXPWOP)|(DEXP))$
              type: string
              description: >-
                Type of Supply: B2B-Business to Business, SEZWP - SEZ with
                payment, SEZWOP - SEZ without payment, EXPWP - Export with
                Payment, EXPWOP - Export without payment,DEXP - Deemed Export
              enum:
                - B2B
                - SEZWP
                - SEZWOP
                - EXPWP
                - EXPWOP
                - DEXP
            RegRev:
              maxLength: 1
              minLength: 1
              pattern: ^([Y|N]{1})$
              type: string
              nullable: true
              description: Y- whether the tax liability is payable under reverse charge
              enum:
                - 'Y'
                - 'N'
            EcmGstin:
              maxLength: 15
              minLength: 15
              pattern: ^([0-9]{2}[0-9A-Z]{13})$
              type: string
              nullable: true
              description: GSTIN of e-Commerce operator
            IgstOnIntra:
              maxLength: 1
              minLength: 1
              pattern: ^([Y|N]{1})$
              type: string
              nullable: true
              description: Y- indicates the supply is intra state but chargeable to IGST
              enum:
                - 'Y'
                - 'N'
        DocDtls:
          required:
            - Dt
            - 'No'
            - Typ
          type: object
          properties:
            Typ:
              maxLength: 3
              minLength: 3
              pattern: ^((INV)|(CRN)|(DBN))$
              type: string
              description: 'Document Type: INVOICE, CREDIT NOTE, DEBIT NOTE'
              enum:
                - INV
                - CRN
                - DBN
            'No':
              maxLength: 16
              minLength: 1
              pattern: ^([a-zA-Z1-9]{1}[a-zA-Z0-9/-]{0,15})$
              type: string
              description: Document Number
            Dt:
              maxLength: 10
              minLength: 10
              pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
              type: string
              description: Document Date
        SellerDtls:
          required:
            - Addr1
            - Gstin
            - LglNm
            - Loc
            - Pin
            - Stcd
          type: object
          properties:
            Gstin:
              maxLength: 15
              minLength: 15
              pattern: ^([0-9]{2}[0-9A-Z]{13})$
              type: string
              description: GSTIN of supplier
            LglNm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Legal Name
            TrdNm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Tradename
            Addr1:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              description: Building/Flat no, Road/Street
            Addr2:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: >-
                Address 2 of the supplier (Floor no., Name of the
                premises/building)
            Loc:
              maxLength: 50
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Location
            Pin:
              maximum: 999999
              minimum: 100000
              type: number
              description: Pincode
            Stcd:
              maxLength: 2
              minLength: 1
              pattern: ^(?!0+$)([0-9]{1,2})$
              type: string
              description: State Code of the supplier. Refer the master
            Ph:
              maxLength: 12
              minLength: 6
              pattern: ^([0-9]{6,12})$
              type: string
              nullable: true
              description: Phone or Mobile No.
            Em:
              maxLength: 100
              minLength: 6
              pattern: ^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$
              type: string
              nullable: true
              description: Email-Id
        BuyerDtls:
          required:
            - Addr1
            - Gstin
            - LglNm
            - Loc
            - Pos
            - Stcd
          type: object
          properties:
            Gstin:
              maxLength: 15
              minLength: 3
              pattern: ^(([0-9]{2}[0-9A-Z]{13})|URP)$
              type: string
              description: GSTIN of buyer , URP if exporting
            LglNm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Legal Name
            TrdNm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Trade Name
            Pos:
              maxLength: 2
              minLength: 1
              pattern: ^(?!0+$)([0-9]{1,2})$
              type: string
              description: >-
                State code of Place of supply. If POS lies outside the country,
                the code shall be 96.
            Addr1:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              description: Address 1 of the buyer. (Building/Flat no., Road/Street etc.)
            Addr2:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: >-
                Address 2 of the buyer. (Floor no., Name of the premises/
                building)
            Loc:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Location
            Pin:
              maximum: 999999
              minimum: 100000
              type: number
              description: Pincode
            Stcd:
              maxLength: 2
              minLength: 1
              pattern: ^(?!0+$)([0-9]{1,2})$
              type: string
              description: State Code of the buyer. Refer the master
            Ph:
              maxLength: 12
              minLength: 6
              pattern: ^([0-9]{6,12})$
              type: string
              nullable: true
              description: Phone or Mobile No.
            Em:
              maxLength: 100
              minLength: 6
              pattern: ^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$
              type: string
              nullable: true
              description: Email-Id
        DispDtls:
          required:
            - Addr1
            - Loc
            - Nm
            - Pin
            - Stcd
          type: object
          nullable: true
          properties:
            Nm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Name of the company from which the goods are dispatched
            Addr1:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              description: >-
                Address 1 of the entity from which goods are dispatched.
                (Building/Flat no.Road/Street etc.)
            Addr2:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: >-
                Address 2 of the entity from which goods are dispatched. (Floor
                no., Name of the premises/building)
            Loc:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Location
            Pin:
              maximum: 999999
              minimum: 100000
              type: number
              description: Pincode
            Stcd:
              maxLength: 2
              minLength: 1
              pattern: ^(?!0+$)([0-9]{1,2})$
              type: string
              description: State Code. Refer the master
        ShipDtls:
          required:
            - Addr1
            - LglNm
            - Loc
            - Pin
            - Stcd
            - Gstin
          type: object
          nullable: true
          properties:
            Gstin:
              maxLength: 15
              minLength: 3
              pattern: ^(([0-9]{2}[0-9A-Z]{13})|URP)$
              type: string
              description: GSTIN of entity to whom goods are shipped
            LglNm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: Legal Name
            TrdNm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Trade Name
            Addr1:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              description: >-
                Address1 of the entity to whom the supplies are shipped to.
                (Building/Flat no., Road/Street etc.)
            Addr2:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: >-
                Address 2 of the entity to whom the supplies are shipped to.
                (Floor no., Name of the premises/building).
            Loc:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              description: >-
                Place (City,Town,Village) entity to whom the supplies are
                shipped to.
            Pin:
              maximum: 999999
              minimum: 100000
              type: number
              description: Pincode
            Stcd:
              maxLength: 2
              minLength: 1
              pattern: ^(?!0+$)([0-9]{1,2})$
              type: string
              description: State Code to which supplies are shipped to. Refer the master
        ItemList:
          type: array
          items:
            required:
              - AssAmt
              - GstRt
              - HsnCd
              - IsServc
              - SlNo
              - TotAmt
              - TotItemVal
              - UnitPrice
            type: object
            properties:
              SlNo:
                maxLength: 6
                minLength: 1
                pattern: ^([0-9]{1,6})$
                type: string
                description: Serial No. of Item
              PrdDesc:
                maxLength: 300
                minLength: 3
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Product Description
              IsServc:
                maxLength: 1
                minLength: 1
                pattern: ^([Y|N]{1})$
                type: string
                description: >-
                  Specify whether the supply is service or not. Specify Y-for
                  Service
                enum:
                  - 'Y'
                  - 'N'
              HsnCd:
                maxLength: 8
                minLength: 4
                pattern: ^(?!0+$)([0-9]{4}|[0-9]{6}|[0-9]{8})$
                type: string
                description: HSN Code. Refer Master
              Barcde:
                maxLength: 30
                minLength: 3
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Bar Code
              Qty:
                maximum: 9999999999.999
                minimum: 0
                type: number
                nullable: true
                description: Quantity
              FreeQty:
                maximum: 9999999999.999
                minimum: 0
                type: number
                nullable: true
                description: Free Quantity
              Unit:
                maxLength: 8
                minLength: 3
                pattern: ^([A-Z|a-z]{3,8})$
                type: string
                nullable: true
                description: Unit. Refer the master
              UnitPrice:
                maximum: 999999999999.999
                minimum: 0
                type: number
                description: Unit Price - Rate
              TotAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                description: Gross Amount (Unit Price * Quantity)
              Discount:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Discount
              PreTaxVal:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Pre tax value
              AssAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                description: Taxable Value (Total Amount -Discount)
              GstRt:
                maximum: 999.999
                minimum: 0
                type: number
                description: >-
                  The GST rate, represented as percentage that applies to the
                  invoiced item. It will IGST rate only.
              IgstAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Amount of IGST payable.
              CgstAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Amount of CGST payable.
              SgstAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Amount of SGST payable.
              CesRt:
                maximum: 999.999
                minimum: 0
                type: number
                nullable: true
                description: Cess Rate
              CesAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Cess Amount(Advalorem) on basis of rate and quantity of item
              CesNonAdvlAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Cess Non-Advol Amount
              StateCesRt:
                maximum: 999.999
                minimum: 0
                type: number
                nullable: true
                description: State CESS Rate
              StateCesAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: State CESS Amount
              StateCesNonAdvlAmt:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: State CESS Non Adval Amount
              OthChrg:
                maximum: 999999999999.99
                minimum: 0
                type: number
                nullable: true
                description: Other Charges
              TotItemVal:
                maximum: 999999999999.99
                minimum: 0
                type: number
                description: >-
                  Total Item Value = Assessable Amount + CGST Amt + SGST Amt +
                  Cess Amt + CesNonAdvlAmt + StateCesAmt +
                  StateCesNonAdvlAmt+Otherchrg
              OrdLineRef:
                maxLength: 50
                minLength: 1
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Order line reference
              OrgCntry:
                maxLength: 2
                minLength: 2
                pattern: ^([A-Z|a-z]{2})$
                type: string
                nullable: true
                description: Origin Country. Refer Master
              PrdSlNo:
                maxLength: 20
                minLength: 1
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Serial number in case of each item having a unique number.
              BchDtls:
                required:
                  - Nm
                type: object
                properties:
                  Nm:
                    maxLength: 20
                    minLength: 3
                    pattern: ^([^\"])*$
                    type: string
                    description: Batch number
                  ExpDt:
                    maxLength: 10
                    minLength: 10
                    pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                    type: string
                    nullable: true
                    description: Batch Expiry Date
                  WrDt:
                    maxLength: 10
                    minLength: 10
                    pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                    type: string
                    nullable: true
                    description: Warranty Date
              AttribDtls:
                type: array
                items:
                  required:
                    - Nm
                    - Val
                  type: object
                  properties:
                    Nm:
                      maxLength: 100
                      minLength: 1
                      pattern: ^([^\"])*$
                      type: string
                      description: Attribute name of the item
                    Val:
                      maxLength: 100
                      minLength: 1
                      pattern: ^([^\"])*$
                      type: string
                      description: Attribute value of the item
        ValDtls:
          required:
            - AssVal
            - TotInvVal
          type: object
          properties:
            AssVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              description: Total Assessable value of all items
            CgstVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Total CGST value of all items
            SgstVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Total SGST value of all items
            IgstVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Total IGST value of all items
            CesVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Total CESS value of all items
            StCesVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Total State CESS value of all items
            Discount:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Discount
            OthChrg:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Other Charges
            RndOffAmt:
              maximum: 99.99
              minimum: -99.99
              type: number
              nullable: true
              description: Rounded off amount
            TotInvVal:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              description: Final Invoice value
            TotInvValFc:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Final Invoice value in Additional Currency
        PayDtls:
          type: object
          nullable: true
          properties:
            Nm:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Payee Name
            AccDet:
              maxLength: 18
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Bank account number of payee
            Mode:
              maxLength: 18
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: 'Mode of Payment: Cash, Credit, Direct Transfer'
            FinInsBr:
              maxLength: 11
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Branch or IFSC code
            PayTerm:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Terms of Payment
            PayInstr:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Payment Instruction
            CrTrn:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Credit Transfer
            DirDr:
              maxLength: 100
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Direct Debit
            CrDay:
              maximum: 9999
              minimum: 0
              type: number
              nullable: true
              description: Credit Days
            PaidAmt:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: The sum of amount which have been paid in advance.
            PaymtDue:
              maximum: 99999999999999.98
              minimum: 0
              type: number
              nullable: true
              description: Outstanding amount that is required to be paid.
        RefDtls:
          type: object
          nullable: true
          properties:
            InvRm:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Remarks/Note
            DocPerdDtls:
              type: object
              properties:
                InvStDt:
                  maxLength: 10
                  minLength: 10
                  pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                  type: string
                  nullable: true
                  description: Invoice Period Start Date
                InvEndDt:
                  maxLength: 10
                  minLength: 10
                  pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                  type: string
                  nullable: true
                  description: Invoice Period End Date
            PrecDocDtls:
              type: array
              items:
                required:
                  - InvDt
                  - InvNo
                type: object
                properties:
                  InvNo:
                    maxLength: 16
                    minLength: 1
                    pattern: ^[1-9a-zA-Z]{1}[0-9a-zA-Z/-]{1,15}$
                    type: string
                    description: Reference of original invoice, if any.
                  InvDt:
                    maxLength: 10
                    minLength: 10
                    pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                    type: string
                    description: Date of preceding invoice
                  OthRefNo:
                    maxLength: 20
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: Other Reference
            ContrDtls:
              type: array
              items:
                type: object
                properties:
                  RecAdvRefr:
                    maxLength: 20
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: Receipt Advice No.
                  RecAdvDt:
                    maxLength: 10
                    minLength: 10
                    pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                    type: string
                    nullable: true
                    description: Date of receipt advice
                  TendRefr:
                    maxLength: 20
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: Lot/Batch Reference No.
                  ContrRefr:
                    maxLength: 20
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: Contract Reference Number
                  ExtRefr:
                    maxLength: 20
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: Any other reference
                  ProjRefr:
                    maxLength: 20
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: Project Reference Number
                  PORefr:
                    maxLength: 16
                    minLength: 1
                    pattern: ^([^\"])*$
                    type: string
                    nullable: true
                    description: PO Reference Number
                  PORefDt:
                    maxLength: 10
                    minLength: 10
                    pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
                    type: string
                    nullable: true
                    description: POReferencedate
        AddlDocDtls:
          type: array
          nullable: true
          items:
            type: object
            properties:
              Url:
                maxLength: 100
                minLength: 3
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Supporting document URL
              Docs:
                maxLength: 1000
                minLength: 3
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Supporting document in Base64 Format
              Info:
                maxLength: 1000
                minLength: 3
                pattern: ^([^\"])*$
                type: string
                nullable: true
                description: Any additional information
        ExpDtls:
          type: object
          nullable: true
          properties:
            ShipBNo:
              maxLength: 20
              minLength: 1
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Shipping Bill No.
            ShipBDt:
              maxLength: 10
              minLength: 10
              pattern: ^[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]$
              type: string
              nullable: true
              description: Shipping Bill Date
            Port:
              maxLength: 10
              minLength: 2
              pattern: ^[0-9|A-Z|a-z]{2,10}$
              type: string
              nullable: true
              description: Port Code. Refer the master
            RefClm:
              maxLength: 1
              minLength: 1
              pattern: ^([Y|N]{1})$
              type: string
              nullable: true
              description: Claiming Refund. Y/N
            ForCur:
              maxLength: 16
              minLength: 3
              pattern: ^[A-Z|a-z]{3,16}$
              type: string
              nullable: true
              description: Additional Currency Code. Refer the master
            CntCode:
              maxLength: 2
              minLength: 2
              pattern: ^([A-Z]{2})$
              type: string
              nullable: true
              description: Country Code. Refer the master
            ExpDuty:
              maximum: 999999999999.99
              minimum: 0
              type: number
              nullable: true
              description: Export Duty
        EwbDtls:
          required:
            - Distance
          type: object
          nullable: true
          properties:
            TransId:
              maxLength: 15
              minLength: 15
              pattern: ^([0-9]{2}[0-9A-Z]{13})$
              type: string
              nullable: true
              description: Transin/GSTIN
            TransName:
              maxLength: 100
              minLength: 3
              pattern: ^([^\"])*$
              type: string
              nullable: true
              description: Name of the transporter
            TransMode:
              maxLength: 1
              minLength: 1
              pattern: ^([1-4]{1})?$
              type: string
              nullable: true
              description: Mode of transport (Road-1, Rail-2, Air-3, Ship-4)
              enum:
                - '1'
                - '2'
                - '3'
                - '4'
            Distance:
              maximum: 4000
              minimum: 0
              type: number
              description: Distance between source and destination PIN codes
            TransDocNo:
              maxLength: 15
              minLength: 1
              pattern: ^([a-zA-Z0-9/-]{1,15})$
              type: string
              nullable: true
              description: Tranport Document Number
            TransDocDt:
              maxLength: 10
              minLength: 10
              pattern: ^[a-zA-Z0-9]{1}[a-zA-Z0-9-/]*$
              type: string
              nullable: true
              description: Transport Document Date
            VehNo:
              maxLength: 20
              minLength: 4
              pattern: ^([A-Z|a-z|0-9]{4,20})$
              type: string
              nullable: true
              description: Vehicle Number
            VehType:
              maxLength: 1
              minLength: 1
              pattern: ^([O|R]{1})$
              type: string
              nullable: true
              description: Whether O-ODC or R-Regular
              enum:
                - O
                - R
      description: GST Invoice format for IRN Generation in INDIA
    GenerateEInvoiceResponse:
      oneOf:
        - $ref: '#/components/schemas/EInvoiceSuccessResponse'
        - $ref: '#/components/schemas/EInvoiceBusinessErrorResponse'
      description: >-
        A successful NIC response or a NIC business-error response. Both
        variants use HTTP 200.
    EInvoiceSuccessResponse:
      allOf:
        - $ref: '#/components/schemas/EInvoiceResponseMetadata'
        - type: object
          required:
            - data
          properties:
            data:
              $ref: '#/components/schemas/EInvoiceSuccessPayload'
    EInvoiceBusinessErrorResponse:
      allOf:
        - $ref: '#/components/schemas/EInvoiceResponseMetadata'
        - type: object
          required:
            - data
          properties:
            data:
              $ref: '#/components/schemas/EInvoiceBusinessErrorPayload'
    EInvoiceResponseMetadata:
      type: object
      description: Metadata returned with an e-Invoice API response.
      required:
        - code
        - timestamp
        - transaction_id
      properties:
        code:
          type: integer
          enum:
            - 200
          description: HTTP-compatible Sandbox response code.
        timestamp:
          type: integer
          format: int64
          description: Unix timestamp in milliseconds.
        transaction_id:
          type: string
          description: Request transaction identifier.
    EInvoiceSuccessPayload:
      type: object
      required:
        - Data
        - ErrorDetails
        - InfoDtls
        - Status
      properties:
        Data:
          $ref: '#/components/schemas/EInvoiceDetails'
        ErrorDetails:
          type: array
          items:
            $ref: '#/components/schemas/EInvoiceErrorDetail'
          nullable: true
        InfoDtls:
          type: array
          items:
            $ref: '#/components/schemas/EInvoiceInfoDetail'
          nullable: true
        Status:
          type: integer
          enum:
            - 1
          description: NIC success status.
    EInvoiceBusinessErrorPayload:
      type: object
      required:
        - Data
        - ErrorDetails
        - Status
      properties:
        Data:
          type: object
          nullable: true
          description: Null for a NIC business-error response.
        ErrorDetails:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/EInvoiceErrorDetail'
          nullable: true
        InfoDtls:
          type: array
          items:
            $ref: '#/components/schemas/EInvoiceInfoDetail'
          nullable: true
        Status:
          type: integer
          enum:
            - 0
          description: NIC business-error status.
    EInvoiceDetails:
      description: >-
        NIC e-Invoice payload returned at data.Data for a successful Sandbox
        response.
      type: object
      properties:
        AckDt:
          type: string
          description: >-
            Date and time when the Invoice Registration Portal acknowledged the
            invoice.
        AckNo:
          type: number
          description: Acknowledgement number assigned by the Invoice Registration Portal.
          format: int64
        EwbDt:
          type: string
          nullable: true
          description: Date and time when the E-Way Bill was generated, if available.
        EwbNo:
          type: number
          nullable: true
          description: E-Way Bill number associated with the IRN, if available.
          format: int64
        EwbValidTill:
          type: string
          nullable: true
          description: Date and time until which the associated E-Way Bill is valid.
        Irn:
          type: string
          minLength: 64
          maxLength: 64
          description: Invoice Registration Number assigned to the e-Invoice.
        Remarks:
          type: string
          nullable: true
          description: Additional information returned by the Invoice Registration Portal.
        SignedInvoice:
          type: string
          description: Invoice payload digitally signed by the Invoice Registration Portal.
        SignedQRCode:
          type: string
          description: QR code payload digitally signed by the Invoice Registration Portal.
        Status:
          type: string
          description: >-
            Current status of the IRN, such as ACT for active or CNL for
            cancelled.
      required:
        - AckDt
        - AckNo
        - Irn
        - SignedInvoice
        - SignedQRCode
        - Status
    EInvoiceErrorDetail:
      type: object
      required:
        - ErrorCode
        - ErrorMessage
      properties:
        ErrorCode:
          type: string
          description: NIC error code.
        ErrorMessage:
          type: string
          description: NIC error message.
    EInvoiceInfoDetail:
      type: object
      required:
        - InfCd
        - Desc
      properties:
        InfCd:
          type: string
          description: NIC informational code.
        Desc:
          oneOf:
            - type: string
            - type: object
              required:
                - AckDt
                - AckNo
                - Irn
              properties:
                AckDt:
                  type: string
                AckNo:
                  type: integer
                  format: int64
                Irn:
                  type: string
                  minLength: 64
                  maxLength: 64
          description: NIC informational message or duplicate-IRN acknowledgement details.

````