fattureincloud / fattureincloud-ruby-sdk Goto Github PK
View Code? Open in Web Editor NEWFatture in Cloud SDK (Software Development Kit) for Ruby
License: MIT License
Fatture in Cloud SDK (Software Development Kit) for Ruby
License: MIT License
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}}
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.