GithubHelp home page GithubHelp logo

fattureincloud / fattureincloud-ruby-sdk Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 0.0 1.12 MB

Fatture in Cloud SDK (Software Development Kit) for Ruby

License: MIT License

JavaScript 0.01% Ruby 99.99%
api ruby client oauth2 sdk typhoeus rest-api ruby-library ruby-gem api-client

fattureincloud-ruby-sdk's People

Contributors

emajo avatar fattureincloud-bot avatar valmoz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fattureincloud-ruby-sdk's Issues

API Ruby per invio fatture allo SDI non funzionante

da ieri continuiamo a ricevere il seguente errore quando proviamo ad inviare le fatture elettroniche allo SDI.
Lato nostro non abbiamo fatto rilasci ed accade per tutte le fatture.
Provando ad inviarle dall'interfaccia web le stesse fatture vengono inviate correttamente.

il codice utilizzato è il seguente:

@einvoice_api = FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi.new
invoice = @issued_documents_api.get_issued_document(@company_id, invoice_id).data
    opts = {
      send_e_invoice_request: FattureInCloud_Ruby_Sdk::SendEInvoiceRequest.new
    }
@einvoice_api.send_e_invoice(@company_id, invoice_id, opts) unless ['accepted','not_delivered','sent','processing'].include?(invoice.ei_status)

ed il messaggio di errore ricevuto è il seguente (che non lascia molto spazio per capire cosa sta succedendo):

Error message: the server returns an error
HTTP status code: 422
Response headers: {"date"=>"Mon, 07 Nov 2022 10:28:00 GMT", "content-type"=>"application/json", "server"=>\"Microsoft-IIS/8.5", "strict-transport-security"=>"max-age=4838400; includeSubdomains;", "vary"=>"Authorization", "cache-control"=>"no-cache, private", "x-robots-tag"=>"noindex,nofollow,noarchive", "x-aspnet-version"=>"4.0.30319", "x-powered-by"=>"ASP.NET"}
Response body: {"error":{"message":"Invalid JSON data in request body.","validation_result":null}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.