Why is Gstin not part of the dispatch address in the e-invoice? @Smit_Vora , can you check the below code? Is it intentional, and what’s the rationale?
Thanks @Smit_Vora . I noticed its a missing field on einvoice portal. Do you know how to generate einvoice+ewb for Bill From - Dispatch From transaction type in erpnext? Can it happen in single call or will need a separate EWB generation? How do you prevent EWB generation initially?
The funny thing is that official documentation on einvoice site still mention GSTIN as a param for dispatch details. @Smit_Vora . When I tried it in postman, the GSTIN value was not returned with generate IRN response. So, they are ignoring the param at the server.
Happens in one call. It’s handled automatically based on address inputs provided.
If you print e-Waybill for attachment - this may need one additional API Request (you can disable this from GST Settings). Otherwise generation of e-Invoice and e-Waybill can both be handled in one request.