internetee / e_invoice Goto Github PK
View Code? Open in Web Editor NEWRuby API for generating and delivering Estonian e-invoices
License: MIT License
Ruby API for generating and delivering Estonian e-invoices
License: MIT License
This gem CI is still Travis. We need to migrate it from Travis to Github Actions.
apparently the invoice must also have following element for Ominva to try to forward it to the client:
<information content>SENT</information content>
Currently if there are problems accessing omniva ( for example network connectivity issues )
e_invoices made in the problematic timeframe are never sent to omniva.
We should be able to resend missing invoices.
XML currently has only payment reference number that apparently is not enough to send an e-invoice directly to the bank.
To fix we need to send „PaymentReferenceNumber“ and „PaymentRefId“ and fill both with reference number as value.
also ServiceID is needed again filled with the reference nr
Related to #10
Sending einvoices fails. Error message in the que log:
Job: SendEInvoiceJob
Args: 2353, {"payable"=>true}
Error:
ArgumentError: wrong number of arguments (given 2, expected 1)
/home/registry/registry/releases/147/app/jobs/send_e_invoice_job.rb:2:in `run'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/job.rb:17:in `_run'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/job.rb:132:in `block in work'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/adapters/active_record.rb:7:in `block in checkout'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in `with_connection'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/adapters/active_record.rb:32:in `block in checkout_activerecord_adapter'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/execution_wrapper.rb:88:in `wrap'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/adapters/active_record.rb:31:in `checkout_activerecord_adapter'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/adapters/active_record.rb:7:in `checkout'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/job.rb:114:in `work'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/worker.rb:80:in `block in work_loop'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/worker.rb:75:in `loop'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/worker.rb:75:in `work_loop'
/home/registry/registry/shared/bundle/ruby/2.6.0/gems/que-0.14.3/lib/que/worker.rb:19:in `block in initialize'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.