Socket
Book a DemoInstallSign in
Socket

invoicetronic_sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

invoicetronic_sdk

1.0.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Ruby SDK for the Invoicetronic API

The Invoicetronic API is a RESTful service that allows you to send and receive invoices through the Italian Servizio di Interscambio (SDI), or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools.

For more information, see Invoicetronic website

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1
  • Package version: 1.0.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://invoicetronic.com

Installation

Build a gem

To build the Ruby code into a gem:

gem build invoicetronic_sdk.gemspec

Then either install the gem locally:

gem install ./invoicetronic_sdk-1.0.0.gem

(for development, run gem install --dev ./invoicetronic_sdk-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'invoicetronic_sdk', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/invoicetronic/ruby-sdk, then add the following in the Gemfile:

gem 'invoicetronic_sdk', :git => 'https://github.com/invoicetronic/ruby-sdk.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'invoicetronic_sdk'

# Setup authorization
Invoicetronic_Sdk.configure do |config|
  # Configure HTTP basic authorization: Basic
  config.username = 'YOUR_USERNAME'
  config.password = 'YOUR_PASSWORD'
end

api_instance = Invoicetronic_Sdk::CompanyApi.new
opts = {
  page: 56, # Integer | Page number.
  page_size: 56, # Integer | Items per page. Cannot be greater than 200.
  sort: 'sort_example' # String | Sort by field. Prefix with '-' for descending order.
}

begin
  #List companies
  result = api_instance.company_get(opts)
  p result
rescue Invoicetronic_Sdk::ApiError => e
  puts "Exception when calling CompanyApi->company_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
Invoicetronic_Sdk::CompanyApicompany_getGET /companyList companies
Invoicetronic_Sdk::CompanyApicompany_id_deleteDELETE /company/{id}Delete a company
Invoicetronic_Sdk::CompanyApicompany_id_getGET /company/{id}Get a company by id
Invoicetronic_Sdk::CompanyApicompany_postPOST /companyAdd a company
Invoicetronic_Sdk::CompanyApicompany_putPUT /companyUpdate a company
Invoicetronic_Sdk::LogApilog_getGET /logList events
Invoicetronic_Sdk::LogApilog_id_getGET /log/{id}Get an event by id
Invoicetronic_Sdk::ReceiveApireceive_getGET /receiveList incoming invoices
Invoicetronic_Sdk::ReceiveApireceive_id_deleteDELETE /receive/{id}Delete an incoming invoice by id
Invoicetronic_Sdk::ReceiveApireceive_id_getGET /receive/{id}Get an incoming invoice by id
Invoicetronic_Sdk::SendApisend_file_postPOST /send/fileAdd an invoice by file
Invoicetronic_Sdk::SendApisend_getGET /sendList invoices
Invoicetronic_Sdk::SendApisend_id_getGET /send/{id}Get a invoice by id
Invoicetronic_Sdk::SendApisend_identifier_getGET /send/{identifier}Get a invoice by identifier
Invoicetronic_Sdk::SendApisend_json_postPOST /send/jsonAdd an invoice by json
Invoicetronic_Sdk::SendApisend_postPOST /sendAdd an invoice
Invoicetronic_Sdk::SendApisend_validate_file_postPOST /send/validate/fileValidate an invoice file
Invoicetronic_Sdk::SendApisend_validate_json_postPOST /send/validate/jsonValidate an invoice by json
Invoicetronic_Sdk::SendApisend_validate_postPOST /send/validateValidate an invoice
Invoicetronic_Sdk::SendApisend_validate_xml_postPOST /send/validate/xmlValidate an invoice by xml
Invoicetronic_Sdk::SendApisend_xml_postPOST /send/xmlAdd an invoice by xml
Invoicetronic_Sdk::StatusApistatus_getGET /statusAccount status
Invoicetronic_Sdk::UpdateApiupdate_getGET /updateList updates
Invoicetronic_Sdk::UpdateApiupdate_id_getGET /update/{id}Get an update by id
Invoicetronic_Sdk::WebhookApiwebhook_getGET /webhookList webhooks
Invoicetronic_Sdk::WebhookApiwebhook_id_deleteDELETE /webhook/{id}Delete a webhook by id
Invoicetronic_Sdk::WebhookApiwebhook_id_getGET /webhook/{id}Get a webhook by id
Invoicetronic_Sdk::WebhookApiwebhook_postPOST /webhookAdd a webhook
Invoicetronic_Sdk::WebhookApiwebhook_putPUT /webhookUpdate a webhook
Invoicetronic_Sdk::WebhookApiwebhookhistory_getGET /webhookhistoryList webhook history items
Invoicetronic_Sdk::WebhookApiwebhookhistory_id_getGET /webhookhistory/{id}Get a webhook history item by id

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

Basic

  • Type: HTTP basic authentication

FAQs

Package last updated on 17 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.