Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E-Invoice improvements #1248

Open
teadur opened this issue Jul 1, 2019 · 0 comments
Open

E-Invoice improvements #1248

teadur opened this issue Jul 1, 2019 · 0 comments

Comments

@teadur
Copy link
Contributor

teadur commented Jul 1, 2019

If there are connectivity issues with e_invoice provider user gets internal error, we should catch the exception and show meaningful error page to user.

#012HTTPClient::ConnectTimeoutError (execution expired):#12 app/models/registrar.rb:100:in issue_prepayment_invoice'#012 app/models/deposit.rb:36:in issue_prepayment_invoice'#12 app/controllers/registrar/deposits_controller.rb:11:in `create

Possibly start a background job what retries the sending or mark the invoice as not sent and retry them in bulk from cron.

Currently it's impossible to resend e_invoices if sending them fails at first try.
internetee/e_invoice#2

Not sure if possible but it would be more consistant if we could include invoice.description in the e-invoices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant