resilient-tech / india-compliance

Simple, yet powerful compliance solutions for Indian businesses
https://indiacompliance.app
GNU General Public License v3.0
152 stars 141 forks source link

fix: handle `Invalid GSTIN` error (backport #2645) #2690

Closed mergify[bot] closed 3 weeks ago

mergify[bot] commented 3 weeks ago

closes: #2640

Huly®: IC-2769


This is an automatic backport of pull request #2645 done by Mergify.

mergify[bot] commented 3 weeks ago

Cherry-pick of 61e10af3afb51717a71b5cf5201f14be4bb9df9f has failed:

On branch mergify/bp/version-15-hotfix/pr-2645
Your branch is up to date with 'origin/version-15-hotfix'.

You are currently cherry-picking commit 61e10af3.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
    modified:   india_compliance/gst_india/api_classes/e_invoice.py
    modified:   india_compliance/gst_india/api_classes/public.py
    modified:   india_compliance/gst_india/utils/e_invoice.py
    modified:   india_compliance/gst_india/utils/gstin_info.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   india_compliance/gst_india/utils/test_gstin_info.py

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.49%. Comparing base (26e397a) to head (0c835a3). Report is 38 commits behind head on version-15-hotfix.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690/graphs/tree.svg?width=650&height=150&src=pr&token=RBZLDO9SOL&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech)](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech) ```diff @@ Coverage Diff @@ ## version-15-hotfix #2690 +/- ## ===================================================== + Coverage 61.43% 61.49% +0.05% ===================================================== Files 120 120 Lines 11658 11663 +5 ===================================================== + Hits 7162 7172 +10 + Misses 4496 4491 -5 ``` | [Files with missing lines](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech) | Coverage Δ | | |---|---|---| | [...ndia\_compliance/gst\_india/api\_classes/e\_invoice.py](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?src=pr&el=tree&filepath=india_compliance%2Fgst_india%2Fapi_classes%2Fe_invoice.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech#diff-aW5kaWFfY29tcGxpYW5jZS9nc3RfaW5kaWEvYXBpX2NsYXNzZXMvZV9pbnZvaWNlLnB5) | `83.05% <ø> (ø)` | | | [india\_compliance/gst\_india/api\_classes/public.py](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?src=pr&el=tree&filepath=india_compliance%2Fgst_india%2Fapi_classes%2Fpublic.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech#diff-aW5kaWFfY29tcGxpYW5jZS9nc3RfaW5kaWEvYXBpX2NsYXNzZXMvcHVibGljLnB5) | `86.36% <100.00%> (+33.42%)` | :arrow_up: | | [india\_compliance/gst\_india/utils/e\_invoice.py](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?src=pr&el=tree&filepath=india_compliance%2Fgst_india%2Futils%2Fe_invoice.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech#diff-aW5kaWFfY29tcGxpYW5jZS9nc3RfaW5kaWEvdXRpbHMvZV9pbnZvaWNlLnB5) | `79.57% <100.00%> (ø)` | | | [india\_compliance/gst\_india/utils/gstin\_info.py](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?src=pr&el=tree&filepath=india_compliance%2Fgst_india%2Futils%2Fgstin_info.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech#diff-aW5kaWFfY29tcGxpYW5jZS9nc3RfaW5kaWEvdXRpbHMvZ3N0aW5faW5mby5weQ==) | `55.71% <ø> (ø)` | | [![Impacted file tree graph](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690/graphs/tree.svg?width=650&height=150&src=pr&token=RBZLDO9SOL&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech)](https://app.codecov.io/gh/resilient-tech/india-compliance/pull/2690?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=resilient-tech)
india-compliance-bot commented 1 week ago

:tada: This PR is included in version 15.14.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: