# Hello Swipe! I Need help with Error Message: Invalid Port Code - /einvoice/create\_einvoice

**URL:** <https://community.getswipe.in/t/hello-swipe-i-need-help-with-error-message-invalid-port-code-einvoice-create-einvoice/4927>\
**Category:** E-invoice\
**Created:** [December 1, 2026, 9:40am UTC](https://community.getswipe.in/t/hello-swipe-i-need-help-with-error-message-invalid-port-code-einvoice-create-einvoice/4927 "2026-12-01T09:40:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nirmal](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@Nirmal](https://community.getswipe.in/u/Nirmal)\
**Post date:** [December 1, 2026, 9:40am UTC](https://community.getswipe.in/t/hello-swipe-i-need-help-with-error-message-invalid-port-code-einvoice-create-einvoice/4927/1 "2026-12-01T09:40:17Z")

</div>

The error occurs because the Shipping Port Code entered in the invoice is not a valid Indian port code required by the e-invoice portal. The e-invoice portal requires the Indian port of export to be entered in this field.⁠ Please ensure that the correct Indian port of export is selected based on your shipment details.⁠

 ![Shipping Port Code](https://canada1.discourse-cdn.com/flex003/uploads/getswipe/original/3X/6/1/61a2721c6557f23d95048ef5ca2ee521fd8d5f52.png)

Kindly update the Shipping Port Code with the appropriate Indian port code, and try generating the e-invoice again.⁠
