invoicetronic_sdk 1.8 → 1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/Gemfile.lock +5 -5
- data/README.md +19 -5
- data/docs/CompanyApi.md +8 -8
- data/docs/ReceiveApi.md +2 -2
- data/docs/SendApi.md +28 -18
- data/docs/StatusApi.md +1 -1
- data/docs/WebhookApi.md +7 -7
- data/invoicetronic_sdk.gemspec +2 -2
- data/lib/invoicetronic_sdk/api/company_api.rb +16 -16
- data/lib/invoicetronic_sdk/api/export_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/health_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/log_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/receive_api.rb +4 -4
- data/lib/invoicetronic_sdk/api/send_api.rb +57 -22
- data/lib/invoicetronic_sdk/api/status_api.rb +4 -4
- data/lib/invoicetronic_sdk/api/update_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/webhook_api.rb +14 -14
- data/lib/invoicetronic_sdk/api_client.rb +3 -3
- data/lib/invoicetronic_sdk/api_error.rb +2 -2
- data/lib/invoicetronic_sdk/api_model_base.rb +2 -2
- data/lib/invoicetronic_sdk/configuration.rb +2 -2
- data/lib/invoicetronic_sdk/models/company.rb +2 -2
- data/lib/invoicetronic_sdk/models/document_data.rb +2 -2
- data/lib/invoicetronic_sdk/models/error.rb +2 -2
- data/lib/invoicetronic_sdk/models/event.rb +2 -2
- data/lib/invoicetronic_sdk/models/model_send.rb +2 -2
- data/lib/invoicetronic_sdk/models/problem_details.rb +2 -2
- data/lib/invoicetronic_sdk/models/receive.rb +2 -2
- data/lib/invoicetronic_sdk/models/send_reduced.rb +2 -2
- data/lib/invoicetronic_sdk/models/status.rb +2 -2
- data/lib/invoicetronic_sdk/models/update.rb +2 -2
- data/lib/invoicetronic_sdk/models/web_hook.rb +2 -2
- data/lib/invoicetronic_sdk/models/web_hook_history.rb +2 -2
- data/lib/invoicetronic_sdk/version.rb +3 -3
- data/lib/invoicetronic_sdk.rb +2 -2
- data/spec/api/company_api_spec.rb +8 -8
- data/spec/api/export_api_spec.rb +2 -2
- data/spec/api/health_api_spec.rb +2 -2
- data/spec/api/log_api_spec.rb +2 -2
- data/spec/api/receive_api_spec.rb +2 -2
- data/spec/api/send_api_spec.rb +13 -8
- data/spec/api/status_api_spec.rb +3 -3
- data/spec/api/update_api_spec.rb +2 -2
- data/spec/api/webhook_api_spec.rb +7 -7
- data/spec/models/company_spec.rb +2 -2
- data/spec/models/document_data_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/event_spec.rb +2 -2
- data/spec/models/model_send_spec.rb +2 -2
- data/spec/models/problem_details_spec.rb +2 -2
- data/spec/models/receive_spec.rb +2 -2
- data/spec/models/send_reduced_spec.rb +2 -2
- data/spec/models/status_spec.rb +2 -2
- data/spec/models/update_spec.rb +2 -2
- data/spec/models/web_hook_history_spec.rb +2 -2
- data/spec/models/web_hook_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/3.3.0/cache/io-console-0.9.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/parser-3.3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/psych-5.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/reline-0.7.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/mkmf.log +4 -4
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.9.2/gem_make.out +32 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.9.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{io-console-0.8.2 → io-console-0.9.2}/mkmf.log +102 -99
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.3.1 → psych-5.5.0}/gem_make.out +11 -11
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.3.1 → psych-5.5.0}/mkmf.log +7 -7
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.5.0/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/mkmf.log +2 -2
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-13.0.0/ext/byebug/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/byebug-13.0.0/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/date-3.5.1/ext/date/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/date-3.5.1/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/Makefile +4 -4
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/console.c +521 -28
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/extconf.rb +13 -14
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/win32_vk.inc +313 -165
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/current.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/README.md +55 -2
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/extconf.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.5.0/ext/psych/psych.c +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych.h +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_emitter.c +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_parser.c +93 -21
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/class_loader.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/parser.rb +40 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/scalar_scanner.rb +15 -3
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/versions.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors/to_ruby.rb +20 -9
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors/yaml_tree.rb +0 -3
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.5.0/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/ansi.rb +6 -4
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/windows.rb +49 -23
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io.rb +8 -2
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/line_editor.rb +49 -21
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.7.0/lib/reline/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline.rb +10 -9
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.2.0/ext/stringio/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.2.0/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/{io-console-0.8.2.gemspec → io-console-0.9.2.gemspec} +3 -3
- data/vendor/bundle/ruby/3.3.0/specifications/{parser-3.3.11.1.gemspec → parser-3.3.12.0.gemspec} +4 -4
- data/vendor/bundle/ruby/3.3.0/specifications/{psych-5.3.1.gemspec → psych-5.5.0.gemspec} +2 -2
- data/vendor/bundle/ruby/3.3.0/specifications/{reline-0.6.3.gemspec → reline-0.7.0.gemspec} +2 -2
- metadata +199 -199
- data/vendor/bundle/ruby/3.3.0/cache/io-console-0.8.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/parser-3.3.11.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/psych-5.3.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/reline-0.6.3.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.2/gem_make.out +0 -31
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.3.1/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.2/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.3.1/ext/psych/psych.c +0 -36
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.3.1/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.6.3/lib/reline/version.rb +0 -3
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{io-console-0.8.2 → io-console-0.9.2}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.3.1 → psych-5.5.0}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/.document +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/BSDL +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/COPYING +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/README.md +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{io-console-0.8.2 → io-console-0.9.2}/lib/io/console/size.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/all.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ast/node.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ast/processor.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/base.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/builders/default.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/clobbering_error.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/context.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/current_arg_stack.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/deprecation.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/diagnostic/engine.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/diagnostic.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/dedenter.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/explanation.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/literal.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/stack_state.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-F0.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-F1.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-strings.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/macruby.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/max_numparam_stack.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/messages.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/meta.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/rewriter.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby18.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby19.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby20.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby21.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby22.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby23.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby24.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby25.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby26.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby27.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby30.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby31.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby32.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby33.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby34.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/rubymotion.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner/ruby_parse.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/buffer.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/comment/associator.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/comment.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/collection.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/condition.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/constant.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/definition.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/for.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/heredoc.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/index.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/keyword.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/method_definition.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/operator.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/rescue_body.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/send.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/ternary.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/variable.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/range.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/rewriter.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/static_environment.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/variables_stack.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/parser.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/CONTRIBUTING.md +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/LICENSE +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/depend +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_emitter.h +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_parser.h +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_to_ruby.c +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_to_ruby.h +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_yaml_tree.c +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/ext/psych/psych_yaml_tree.h +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/coder.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/core_ext.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/exception.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/handler.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/handlers/document_stream.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/handlers/recorder.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/json/ruby_events.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/json/stream.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/json/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/json/yaml_events.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/alias.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/document.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/mapping.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/node.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/scalar.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/sequence.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes/stream.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/nodes.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/omap.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/set.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/stream.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/streaming.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors/depth_first.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors/emitter.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors/json_tree.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors/visitor.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/visitors.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych/y.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.3.1 → psych-5.5.0}/lib/psych.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/BSDL +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/COPYING +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/README.md +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/config.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/face.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/history.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/dumb.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/base.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/composite.rb +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/emacs.rb +2 -2
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/vi_command.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/vi_insert.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_stroke.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/kill_ring.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/unicode/east_asian_width.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/unicode.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{reline-0.6.3 → reline-0.7.0}/license_of_rb-readline +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7854f9eb85c3408c0006dd6f6f969a02169f28e9328474f602e64c6508f4fbaa
|
|
4
|
+
data.tar.gz: 311fb5f2cefb92a8ef6ab14d6050cf461c5e2cac11896322184ea9f8fc219884
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 781b1d2b076613794e3b857392309fe31f1b414716ce57101d89c2430bfbef08eb187ac41fbb6f44ec4c556fcd00489ee0d7bab9177ad25147139482dc55bd62
|
|
7
|
+
data.tar.gz: 187087d7ce25f0731f195c33881dd823aec67c6f2690a40ce67a11a896f8bd0ff69a8a6f1b68406bfc60ec692f29708f6eb5be52ea6ec5578fc4ae0085bd13c2
|
data/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# Changelog\n\n## [1.
|
|
1
|
+
# Changelog\n\n## [1.10.0] - 2026-09-09\nSee main repository changelog for details.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
invoicetronic_sdk (1.
|
|
4
|
+
invoicetronic_sdk (1.10)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -27,12 +27,12 @@ GEM
|
|
|
27
27
|
ffi (1.17.4-x86_64-darwin)
|
|
28
28
|
ffi (1.17.4-x86_64-linux-gnu)
|
|
29
29
|
ffi (1.17.4-x86_64-linux-musl)
|
|
30
|
-
io-console (0.
|
|
30
|
+
io-console (0.9.2)
|
|
31
31
|
jaro_winkler (1.5.6)
|
|
32
32
|
logger (1.7.0)
|
|
33
33
|
method_source (1.1.0)
|
|
34
34
|
parallel (1.28.0)
|
|
35
|
-
parser (3.3.
|
|
35
|
+
parser (3.3.12.0)
|
|
36
36
|
ast (~> 2.4.1)
|
|
37
37
|
racc
|
|
38
38
|
pry (0.16.0)
|
|
@@ -42,13 +42,13 @@ GEM
|
|
|
42
42
|
pry-byebug (3.12.0)
|
|
43
43
|
byebug (~> 13.0)
|
|
44
44
|
pry (>= 0.13, < 0.17)
|
|
45
|
-
psych (5.
|
|
45
|
+
psych (5.5.0)
|
|
46
46
|
date
|
|
47
47
|
stringio
|
|
48
48
|
racc (1.8.1)
|
|
49
49
|
rainbow (3.1.1)
|
|
50
50
|
rake (13.0.6)
|
|
51
|
-
reline (0.
|
|
51
|
+
reline (0.7.0)
|
|
52
52
|
io-console (~> 0.5)
|
|
53
53
|
rspec (3.13.2)
|
|
54
54
|
rspec-core (~> 3.13.0)
|
data/README.md
CHANGED
|
@@ -4,13 +4,27 @@ The [Invoicetronic API][2] is a RESTful service that allows you to send and rece
|
|
|
4
4
|
|
|
5
5
|
For more information, see [Invoicetronic website][2]
|
|
6
6
|
|
|
7
|
+
## Before you start
|
|
8
|
+
|
|
9
|
+
For the full integration guide, tutorials, SDKs and quickstarts, see the **[Documentation](https://invoicetronic.com/en/docs/)**. A few cross-cutting topics worth knowing before integrating:
|
|
10
|
+
|
|
11
|
+
- **[Prerequisites](https://invoicetronic.com/en/docs/prerequisites/)** — what you need to start in Sandbox and what's required to move to production.
|
|
12
|
+
- **[API Keys](https://invoicetronic.com/en/docs/apikeys/)** — how `ik_live_` and `ik_test_` keys select the environment.
|
|
13
|
+
- **[Sandbox](https://invoicetronic.com/en/docs/sandbox/)** — free test environment that mirrors the live workflow, with no credits consumed.
|
|
14
|
+
- **[Rate Limiting](https://invoicetronic.com/en/docs/ratelimiting/)** — per-second, per-minute and per-day limits; how to handle `429 Too Many Requests`.
|
|
15
|
+
- **[Pagination](https://invoicetronic.com/en/docs/pagination/)** — `page` and `page_size` parameters and the `Invoicetronic-Total-Count` response header.
|
|
16
|
+
- **[CORS](https://invoicetronic.com/en/docs/cors/)** — calling the API from the browser; allowed origins are configured per key.
|
|
17
|
+
- **[Webhooks](https://invoicetronic.com/en/docs/webhooks/)** — real-time event notifications with HMAC-SHA256 signature validation.
|
|
18
|
+
- **[Localization](https://invoicetronic.com/en/docs/accept-language/)** — use the `Accept-Language` header to receive error messages in Italian, English or German.
|
|
19
|
+
|
|
7
20
|
[1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/
|
|
8
21
|
[2]: https://invoicetronic.com/
|
|
9
22
|
|
|
23
|
+
|
|
10
24
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
11
25
|
|
|
12
|
-
- API version: 1.
|
|
13
|
-
- Package version: 1.
|
|
26
|
+
- API version: 1.15.0
|
|
27
|
+
- Package version: 1.10
|
|
14
28
|
- Generator version: 7.20.0
|
|
15
29
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
16
30
|
For more information, please visit [https://invoicetronic.com/en/contact/](https://invoicetronic.com/en/contact/)
|
|
@@ -28,16 +42,16 @@ gem build invoicetronic_sdk.gemspec
|
|
|
28
42
|
Then either install the gem locally:
|
|
29
43
|
|
|
30
44
|
```shell
|
|
31
|
-
gem install ./invoicetronic_sdk-1.
|
|
45
|
+
gem install ./invoicetronic_sdk-1.10.gem
|
|
32
46
|
```
|
|
33
47
|
|
|
34
|
-
(for development, run `gem install --dev ./invoicetronic_sdk-1.
|
|
48
|
+
(for development, run `gem install --dev ./invoicetronic_sdk-1.10.gem` to install the development dependencies)
|
|
35
49
|
|
|
36
50
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
37
51
|
|
|
38
52
|
Finally add this to the Gemfile:
|
|
39
53
|
|
|
40
|
-
gem 'invoicetronic_sdk', '~> 1.
|
|
54
|
+
gem 'invoicetronic_sdk', '~> 1.10'
|
|
41
55
|
|
|
42
56
|
### Install from Git
|
|
43
57
|
|
data/docs/CompanyApi.md
CHANGED
|
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost*
|
|
|
18
18
|
|
|
19
19
|
List companies
|
|
20
20
|
|
|
21
|
-
Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
21
|
+
Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. A company's `vat` and `fiscal_code` are unique platform-wide, not just within your account: incoming invoices are routed to their owner by VAT number alone, so a company belongs to one account at a time. Registering a company that is already active under another account is therefore not possible, and that account is not disclosed to you. Moving a company to your account is a transfer: contact support with the company's written authorization.
|
|
22
22
|
|
|
23
23
|
### Examples
|
|
24
24
|
|
|
@@ -96,7 +96,7 @@ end
|
|
|
96
96
|
|
|
97
97
|
Delete a company
|
|
98
98
|
|
|
99
|
-
Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
99
|
+
Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. A company's `vat` and `fiscal_code` are unique platform-wide, not just within your account: incoming invoices are routed to their owner by VAT number alone, so a company belongs to one account at a time. Registering a company that is already active under another account is therefore not possible, and that account is not disclosed to you. Moving a company to your account is a transfer: contact support with the company's written authorization. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
100
100
|
|
|
101
101
|
### Examples
|
|
102
102
|
|
|
@@ -170,7 +170,7 @@ end
|
|
|
170
170
|
|
|
171
171
|
Get a company by id
|
|
172
172
|
|
|
173
|
-
Retrieve a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
173
|
+
Retrieve a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. A company's `vat` and `fiscal_code` are unique platform-wide, not just within your account: incoming invoices are routed to their owner by VAT number alone, so a company belongs to one account at a time. Registering a company that is already active under another account is therefore not possible, and that account is not disclosed to you. Moving a company to your account is a transfer: contact support with the company's written authorization.
|
|
174
174
|
|
|
175
175
|
### Examples
|
|
176
176
|
|
|
@@ -240,7 +240,7 @@ end
|
|
|
240
240
|
|
|
241
241
|
Add a company
|
|
242
242
|
|
|
243
|
-
Add a new company. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
243
|
+
Add a new company. When the company is already registered on the platform, the request fails with `400 Bad Request` and a problem details body whose `code` member is `company_already_registered`. Branch on `code`, not on `detail`, which is localized according to the `Accept-Language` header. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. A company's `vat` and `fiscal_code` are unique platform-wide, not just within your account: incoming invoices are routed to their owner by VAT number alone, so a company belongs to one account at a time. Registering a company that is already active under another account is therefore not possible, and that account is not disclosed to you. Moving a company to your account is a transfer: contact support with the company's written authorization.
|
|
244
244
|
|
|
245
245
|
### Examples
|
|
246
246
|
|
|
@@ -301,7 +301,7 @@ end
|
|
|
301
301
|
### HTTP request headers
|
|
302
302
|
|
|
303
303
|
- **Content-Type**: application/json
|
|
304
|
-
- **Accept**: application/json
|
|
304
|
+
- **Accept**: application/json, application/problem+json
|
|
305
305
|
|
|
306
306
|
|
|
307
307
|
## company_put
|
|
@@ -310,7 +310,7 @@ end
|
|
|
310
310
|
|
|
311
311
|
Update a company
|
|
312
312
|
|
|
313
|
-
Update an existing company. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
313
|
+
Update an existing company. Changing `vat` or `fiscal_code` to a value already registered on the platform fails with `400 Bad Request` and `code` = `company_already_registered`. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. A company's `vat` and `fiscal_code` are unique platform-wide, not just within your account: incoming invoices are routed to their owner by VAT number alone, so a company belongs to one account at a time. Registering a company that is already active under another account is therefore not possible, and that account is not disclosed to you. Moving a company to your account is a transfer: contact support with the company's written authorization.
|
|
314
314
|
|
|
315
315
|
### Examples
|
|
316
316
|
|
|
@@ -371,7 +371,7 @@ end
|
|
|
371
371
|
### HTTP request headers
|
|
372
372
|
|
|
373
373
|
- **Content-Type**: application/json
|
|
374
|
-
- **Accept**: application/json
|
|
374
|
+
- **Accept**: application/json, application/problem+json
|
|
375
375
|
|
|
376
376
|
|
|
377
377
|
## company_vat_get
|
|
@@ -380,7 +380,7 @@ end
|
|
|
380
380
|
|
|
381
381
|
Get a company by vat number
|
|
382
382
|
|
|
383
|
-
Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
383
|
+
Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. A company's `vat` and `fiscal_code` are unique platform-wide, not just within your account: incoming invoices are routed to their owner by VAT number alone, so a company belongs to one account at a time. Registering a company that is already active under another account is therefore not possible, and that account is not disclosed to you. Moving a company to your account is a transfer: contact support with the company's written authorization.
|
|
384
384
|
|
|
385
385
|
### Examples
|
|
386
386
|
|
data/docs/ReceiveApi.md
CHANGED
|
@@ -113,7 +113,7 @@ end
|
|
|
113
113
|
### HTTP request headers
|
|
114
114
|
|
|
115
115
|
- **Content-Type**: Not defined
|
|
116
|
-
- **Accept**: application/json
|
|
116
|
+
- **Accept**: application/json, application/problem+json
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
## receive_id_delete
|
|
@@ -257,7 +257,7 @@ end
|
|
|
257
257
|
### HTTP request headers
|
|
258
258
|
|
|
259
259
|
- **Content-Type**: Not defined
|
|
260
|
-
- **Accept**: application/json
|
|
260
|
+
- **Accept**: application/json, application/problem+json
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
## receive_id_payload_get
|
data/docs/SendApi.md
CHANGED
|
@@ -24,7 +24,7 @@ All URIs are relative to *http://localhost*
|
|
|
24
24
|
|
|
25
25
|
Add an invoice by file
|
|
26
26
|
|
|
27
|
-
Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
27
|
+
Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com). ### Idempotency To protect against duplicate submissions caused by network retries, you can send an optional `Idempotency-Key` header with any unique, client-generated value (up to 255 characters). - The first request with a given key is processed normally, and its response (status, body and `Location`) is stored for 24 hours. - Any subsequent request that reuses the same key within that window replays the original response instead of sending a second invoice to SDI. A replayed response carries the `Idempotent-Replayed: true` header, so you can tell it apart from a freshly processed one. - If a request with the same key is still being processed, the retry receives `409 Conflict`. - If the same key is reused with a **different** invoice payload, the request is rejected with `422 Unprocessable Entity`: a given key must always map to the same request. Keys are scoped per account, so different accounts can use the same key value without interfering. If the idempotency store is temporarily unavailable, the request is processed normally without idempotency protection.
|
|
28
28
|
|
|
29
29
|
### Examples
|
|
30
30
|
|
|
@@ -42,7 +42,8 @@ api_instance = Invoicetronic_Sdk::SendApi.new
|
|
|
42
42
|
file = File.new('/path/to/some/file') # File |
|
|
43
43
|
opts = {
|
|
44
44
|
validate: true, # Boolean | Validate the document first, and reject it on failure.
|
|
45
|
-
signature: 'None' # String | Whether to digitally sign the document.
|
|
45
|
+
signature: 'None', # String | Whether to digitally sign the document.
|
|
46
|
+
idempotency_key: 'idempotency_key_example' # String | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header.
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
begin
|
|
@@ -79,6 +80,7 @@ end
|
|
|
79
80
|
| **file** | **File** | | |
|
|
80
81
|
| **validate** | **Boolean** | Validate the document first, and reject it on failure. | [optional][default to false] |
|
|
81
82
|
| **signature** | **String** | Whether to digitally sign the document. | [optional][default to 'Auto'] |
|
|
83
|
+
| **idempotency_key** | **String** | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header. | [optional] |
|
|
82
84
|
|
|
83
85
|
### Return type
|
|
84
86
|
|
|
@@ -91,7 +93,7 @@ end
|
|
|
91
93
|
### HTTP request headers
|
|
92
94
|
|
|
93
95
|
- **Content-Type**: multipart/form-data
|
|
94
|
-
- **Accept**: application/json
|
|
96
|
+
- **Accept**: application/json, application/problem+json
|
|
95
97
|
|
|
96
98
|
|
|
97
99
|
## send_get
|
|
@@ -100,7 +102,7 @@ end
|
|
|
100
102
|
|
|
101
103
|
List invoices
|
|
102
104
|
|
|
103
|
-
Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
105
|
+
Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, current SDI state (`latest_state`), and free-text search (`q`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
104
106
|
|
|
105
107
|
### Examples
|
|
106
108
|
|
|
@@ -128,6 +130,7 @@ opts = {
|
|
|
128
130
|
document_date_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
129
131
|
document_date_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
130
132
|
document_number: 'document_number_example', # String | Document number.
|
|
133
|
+
latest_state: 'Inviato', # String | Filter by the most recent SDI state for the invoice. Matches the `latest_state` field exposed inline on each Send.
|
|
131
134
|
include_payload: true, # Boolean | Include payload in the response. Defaults to false.
|
|
132
135
|
ids: 'ids_example', # String | Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
|
|
133
136
|
page: 56, # Integer | Page number.
|
|
@@ -179,6 +182,7 @@ end
|
|
|
179
182
|
| **document_date_from** | **Time** | UTC ISO 8601 (2024-11-29T12:34:56Z) | [optional] |
|
|
180
183
|
| **document_date_to** | **Time** | UTC ISO 8601 (2024-11-29T12:34:56Z) | [optional] |
|
|
181
184
|
| **document_number** | **String** | Document number. | [optional] |
|
|
185
|
+
| **latest_state** | **String** | Filter by the most recent SDI state for the invoice. Matches the `latest_state` field exposed inline on each Send. | [optional] |
|
|
182
186
|
| **include_payload** | **Boolean** | Include payload in the response. Defaults to false. | [optional] |
|
|
183
187
|
| **ids** | **String** | Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped. | [optional] |
|
|
184
188
|
| **page** | **Integer** | Page number. | [optional][default to 1] |
|
|
@@ -423,7 +427,7 @@ end
|
|
|
423
427
|
|
|
424
428
|
Add an invoice by json
|
|
425
429
|
|
|
426
|
-
Add a new invoice using a FatturaPA JSON representation. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
430
|
+
Add a new invoice using a FatturaPA JSON representation. Property names mirror the FatturaPA XML schema (PascalCase, e.g. `FatturaElettronicaHeader`). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com). ### Idempotency To protect against duplicate submissions caused by network retries, you can send an optional `Idempotency-Key` header with any unique, client-generated value (up to 255 characters). - The first request with a given key is processed normally, and its response (status, body and `Location`) is stored for 24 hours. - Any subsequent request that reuses the same key within that window replays the original response instead of sending a second invoice to SDI. A replayed response carries the `Idempotent-Replayed: true` header, so you can tell it apart from a freshly processed one. - If a request with the same key is still being processed, the retry receives `409 Conflict`. - If the same key is reused with a **different** invoice payload, the request is rejected with `422 Unprocessable Entity`: a given key must always map to the same request. Keys are scoped per account, so different accounts can use the same key value without interfering. If the idempotency store is temporarily unavailable, the request is processed normally without idempotency protection.
|
|
427
431
|
|
|
428
432
|
### Examples
|
|
429
433
|
|
|
@@ -441,7 +445,8 @@ api_instance = Invoicetronic_Sdk::SendApi.new
|
|
|
441
445
|
body = { ... } # Object |
|
|
442
446
|
opts = {
|
|
443
447
|
validate: true, # Boolean | Validate the document first, and reject it on failure.
|
|
444
|
-
signature: 'None' # String | Whether to digitally sign the document.
|
|
448
|
+
signature: 'None', # String | Whether to digitally sign the document.
|
|
449
|
+
idempotency_key: 'idempotency_key_example' # String | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header.
|
|
445
450
|
}
|
|
446
451
|
|
|
447
452
|
begin
|
|
@@ -478,6 +483,7 @@ end
|
|
|
478
483
|
| **body** | **Object** | | |
|
|
479
484
|
| **validate** | **Boolean** | Validate the document first, and reject it on failure. | [optional][default to false] |
|
|
480
485
|
| **signature** | **String** | Whether to digitally sign the document. | [optional][default to 'Auto'] |
|
|
486
|
+
| **idempotency_key** | **String** | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header. | [optional] |
|
|
481
487
|
|
|
482
488
|
### Return type
|
|
483
489
|
|
|
@@ -490,7 +496,7 @@ end
|
|
|
490
496
|
### HTTP request headers
|
|
491
497
|
|
|
492
498
|
- **Content-Type**: application/json
|
|
493
|
-
- **Accept**: application/json
|
|
499
|
+
- **Accept**: application/json, application/problem+json
|
|
494
500
|
|
|
495
501
|
|
|
496
502
|
## send_post
|
|
@@ -499,7 +505,7 @@ end
|
|
|
499
505
|
|
|
500
506
|
Add an invoice
|
|
501
507
|
|
|
502
|
-
Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
508
|
+
Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com). ### Idempotency To protect against duplicate submissions caused by network retries, you can send an optional `Idempotency-Key` header with any unique, client-generated value (up to 255 characters). - The first request with a given key is processed normally, and its response (status, body and `Location`) is stored for 24 hours. - Any subsequent request that reuses the same key within that window replays the original response instead of sending a second invoice to SDI. A replayed response carries the `Idempotent-Replayed: true` header, so you can tell it apart from a freshly processed one. - If a request with the same key is still being processed, the retry receives `409 Conflict`. - If the same key is reused with a **different** invoice payload, the request is rejected with `422 Unprocessable Entity`: a given key must always map to the same request. Keys are scoped per account, so different accounts can use the same key value without interfering. If the idempotency store is temporarily unavailable, the request is processed normally without idempotency protection.
|
|
503
509
|
|
|
504
510
|
### Examples
|
|
505
511
|
|
|
@@ -517,7 +523,8 @@ api_instance = Invoicetronic_Sdk::SendApi.new
|
|
|
517
523
|
model_send = Invoicetronic_Sdk::ModelSend.new({payload: 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48cDpGYXR0dXJhRWxldHRyb25pY2EgLi4uPjwvcDpGYXR0dXJhRWxldHRyb25pY2E+'}) # ModelSend |
|
|
518
524
|
opts = {
|
|
519
525
|
validate: true, # Boolean | Validate the document first, and reject it on failure.
|
|
520
|
-
signature: 'None' # String | Whether to digitally sign the document.
|
|
526
|
+
signature: 'None', # String | Whether to digitally sign the document.
|
|
527
|
+
idempotency_key: 'idempotency_key_example' # String | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header.
|
|
521
528
|
}
|
|
522
529
|
|
|
523
530
|
begin
|
|
@@ -554,6 +561,7 @@ end
|
|
|
554
561
|
| **model_send** | [**ModelSend**](ModelSend.md) | | |
|
|
555
562
|
| **validate** | **Boolean** | Validate the document first, and reject it on failure. | [optional][default to false] |
|
|
556
563
|
| **signature** | **String** | Whether to digitally sign the document. | [optional][default to 'Auto'] |
|
|
564
|
+
| **idempotency_key** | **String** | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header. | [optional] |
|
|
557
565
|
|
|
558
566
|
### Return type
|
|
559
567
|
|
|
@@ -566,7 +574,7 @@ end
|
|
|
566
574
|
### HTTP request headers
|
|
567
575
|
|
|
568
576
|
- **Content-Type**: application/json
|
|
569
|
-
- **Accept**: application/json
|
|
577
|
+
- **Accept**: application/json, application/problem+json
|
|
570
578
|
|
|
571
579
|
|
|
572
580
|
## send_validate_file_post
|
|
@@ -635,7 +643,7 @@ nil (empty response body)
|
|
|
635
643
|
### HTTP request headers
|
|
636
644
|
|
|
637
645
|
- **Content-Type**: multipart/form-data
|
|
638
|
-
- **Accept**: application/json
|
|
646
|
+
- **Accept**: application/json, application/problem+json
|
|
639
647
|
|
|
640
648
|
|
|
641
649
|
## send_validate_json_post
|
|
@@ -644,7 +652,7 @@ nil (empty response body)
|
|
|
644
652
|
|
|
645
653
|
Validate an invoice by json
|
|
646
654
|
|
|
647
|
-
Validate a JSON invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
655
|
+
Validate a FatturaPA JSON invoice without sending it to SDI. Property names mirror the FatturaPA XML schema (PascalCase, e.g. `FatturaElettronicaHeader`). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
648
656
|
|
|
649
657
|
### Examples
|
|
650
658
|
|
|
@@ -704,7 +712,7 @@ nil (empty response body)
|
|
|
704
712
|
### HTTP request headers
|
|
705
713
|
|
|
706
714
|
- **Content-Type**: application/json
|
|
707
|
-
- **Accept**: application/json
|
|
715
|
+
- **Accept**: application/json, application/problem+json
|
|
708
716
|
|
|
709
717
|
|
|
710
718
|
## send_validate_post
|
|
@@ -773,7 +781,7 @@ nil (empty response body)
|
|
|
773
781
|
### HTTP request headers
|
|
774
782
|
|
|
775
783
|
- **Content-Type**: application/json
|
|
776
|
-
- **Accept**: application/json
|
|
784
|
+
- **Accept**: application/json, application/problem+json
|
|
777
785
|
|
|
778
786
|
|
|
779
787
|
## send_validate_xml_post
|
|
@@ -842,7 +850,7 @@ nil (empty response body)
|
|
|
842
850
|
### HTTP request headers
|
|
843
851
|
|
|
844
852
|
- **Content-Type**: application/xml
|
|
845
|
-
- **Accept**: application/json
|
|
853
|
+
- **Accept**: application/json, application/problem+json
|
|
846
854
|
|
|
847
855
|
|
|
848
856
|
## send_xml_post
|
|
@@ -851,7 +859,7 @@ nil (empty response body)
|
|
|
851
859
|
|
|
852
860
|
Add an invoice by xml
|
|
853
861
|
|
|
854
|
-
Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
862
|
+
Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com). ### Idempotency To protect against duplicate submissions caused by network retries, you can send an optional `Idempotency-Key` header with any unique, client-generated value (up to 255 characters). - The first request with a given key is processed normally, and its response (status, body and `Location`) is stored for 24 hours. - Any subsequent request that reuses the same key within that window replays the original response instead of sending a second invoice to SDI. A replayed response carries the `Idempotent-Replayed: true` header, so you can tell it apart from a freshly processed one. - If a request with the same key is still being processed, the retry receives `409 Conflict`. - If the same key is reused with a **different** invoice payload, the request is rejected with `422 Unprocessable Entity`: a given key must always map to the same request. Keys are scoped per account, so different accounts can use the same key value without interfering. If the idempotency store is temporarily unavailable, the request is processed normally without idempotency protection.
|
|
855
863
|
|
|
856
864
|
### Examples
|
|
857
865
|
|
|
@@ -869,7 +877,8 @@ api_instance = Invoicetronic_Sdk::SendApi.new
|
|
|
869
877
|
body = { ... } # Object |
|
|
870
878
|
opts = {
|
|
871
879
|
validate: true, # Boolean | Validate the document first, and reject it on failure.
|
|
872
|
-
signature: 'None' # String | Whether to digitally sign the document.
|
|
880
|
+
signature: 'None', # String | Whether to digitally sign the document.
|
|
881
|
+
idempotency_key: 'idempotency_key_example' # String | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header.
|
|
873
882
|
}
|
|
874
883
|
|
|
875
884
|
begin
|
|
@@ -906,6 +915,7 @@ end
|
|
|
906
915
|
| **body** | **Object** | | |
|
|
907
916
|
| **validate** | **Boolean** | Validate the document first, and reject it on failure. | [optional][default to false] |
|
|
908
917
|
| **signature** | **String** | Whether to digitally sign the document. | [optional][default to 'Auto'] |
|
|
918
|
+
| **idempotency_key** | **String** | Optional client-generated key that makes the submission idempotent. Retrying the same request with the same key within 24 hours returns the original response instead of creating a duplicate invoice. A replayed response carries the `Idempotent-Replayed: true` header. | [optional] |
|
|
909
919
|
|
|
910
920
|
### Return type
|
|
911
921
|
|
|
@@ -918,5 +928,5 @@ end
|
|
|
918
928
|
### HTTP request headers
|
|
919
929
|
|
|
920
930
|
- **Content-Type**: application/xml
|
|
921
|
-
- **Accept**: application/json
|
|
931
|
+
- **Accept**: application/json, application/problem+json
|
|
922
932
|
|
data/docs/StatusApi.md
CHANGED
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost*
|
|
|
13
13
|
|
|
14
14
|
Account status
|
|
15
15
|
|
|
16
|
-
Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
16
|
+
Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. These responses carry a problem details body whose `code` member tells them apart from other `403 Forbidden` responses: `usage_limit_exceeded` when you are out of operations, `signature_limit_exceeded` when you are out of signatures. Branch on `code`, not on `detail`, which is localized according to the `Accept-Language` header. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
17
17
|
|
|
18
18
|
### Examples
|
|
19
19
|
|
data/docs/WebhookApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *http://localhost*
|
|
|
19
19
|
|
|
20
20
|
List webhooks
|
|
21
21
|
|
|
22
|
-
Retrieve a paginated list of webhooks. Results can be filtered by company, description, enabled status, events, and URL. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
22
|
+
Retrieve a paginated list of webhooks. Results can be filtered by company, description, enabled status, events, and URL. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). A webhook that fails continuously for 7 days (no successful delivery in between) is automatically disabled (`enabled` set to `false`) and the account owner is notified by email. To resume deliveries, set `enabled` back to `true` from the Dashboard or via `PATCH /webhook/{id}`. For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
23
23
|
|
|
24
24
|
### Examples
|
|
25
25
|
|
|
@@ -105,7 +105,7 @@ end
|
|
|
105
105
|
|
|
106
106
|
Delete a webhook by id
|
|
107
107
|
|
|
108
|
-
Delete a webhook subscription by its internal id. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
108
|
+
Delete a webhook subscription by its internal id. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). A webhook that fails continuously for 7 days (no successful delivery in between) is automatically disabled (`enabled` set to `false`) and the account owner is notified by email. To resume deliveries, set `enabled` back to `true` from the Dashboard or via `PATCH /webhook/{id}`. For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
109
109
|
|
|
110
110
|
### Examples
|
|
111
111
|
|
|
@@ -175,7 +175,7 @@ end
|
|
|
175
175
|
|
|
176
176
|
Get a webhook by id
|
|
177
177
|
|
|
178
|
-
Retrieve a webhook by its internal id. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
178
|
+
Retrieve a webhook by its internal id. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). A webhook that fails continuously for 7 days (no successful delivery in between) is automatically disabled (`enabled` set to `false`) and the account owner is notified by email. To resume deliveries, set `enabled` back to `true` from the Dashboard or via `PATCH /webhook/{id}`. For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
179
179
|
|
|
180
180
|
### Examples
|
|
181
181
|
|
|
@@ -245,7 +245,7 @@ end
|
|
|
245
245
|
|
|
246
246
|
Add a webhook
|
|
247
247
|
|
|
248
|
-
Create a new webhook subscription. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
248
|
+
Create a new webhook subscription. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). A webhook that fails continuously for 7 days (no successful delivery in between) is automatically disabled (`enabled` set to `false`) and the account owner is notified by email. To resume deliveries, set `enabled` back to `true` from the Dashboard or via `PATCH /webhook/{id}`. For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
249
249
|
|
|
250
250
|
### Examples
|
|
251
251
|
|
|
@@ -306,7 +306,7 @@ end
|
|
|
306
306
|
### HTTP request headers
|
|
307
307
|
|
|
308
308
|
- **Content-Type**: application/json
|
|
309
|
-
- **Accept**: application/json
|
|
309
|
+
- **Accept**: application/json, application/problem+json
|
|
310
310
|
|
|
311
311
|
|
|
312
312
|
## webhook_put
|
|
@@ -315,7 +315,7 @@ end
|
|
|
315
315
|
|
|
316
316
|
Update a webhook
|
|
317
317
|
|
|
318
|
-
Update an existing webhook subscription. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
318
|
+
Update an existing webhook subscription. **Webhooks** allow you to receive notifications to an external service when specific events occur, such as invoice creation or status updates. You can subscribe to specific events and receive a notification when they occur. You can also manage webhooks via the [Dashboard](https://dashboard.invoicetronic.com). A webhook that fails continuously for 7 days (no successful delivery in between) is automatically disabled (`enabled` set to `false`) and the account owner is notified by email. To resume deliveries, set `enabled` back to `true` from the Dashboard or via `PATCH /webhook/{id}`. For more information, see the **[Webhooks documentation page](https://invoicetronic.com/en/docs/webhooks/)**.
|
|
319
319
|
|
|
320
320
|
### Examples
|
|
321
321
|
|
|
@@ -376,7 +376,7 @@ end
|
|
|
376
376
|
### HTTP request headers
|
|
377
377
|
|
|
378
378
|
- **Content-Type**: application/json
|
|
379
|
-
- **Accept**: application/json
|
|
379
|
+
- **Accept**: application/json, application/problem+json
|
|
380
380
|
|
|
381
381
|
|
|
382
382
|
## webhookhistory_get
|
data/invoicetronic_sdk.gemspec
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
=begin
|
|
4
4
|
#Invoicetronic API
|
|
5
5
|
|
|
6
|
-
#The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], 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][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
|
+
#The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], 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][2] ## Before you start For the full integration guide, tutorials, SDKs and quickstarts, see the **[Documentation](https://invoicetronic.com/en/docs/)**. A few cross-cutting topics worth knowing before integrating: - **[Prerequisites](https://invoicetronic.com/en/docs/prerequisites/)** — what you need to start in Sandbox and what's required to move to production. - **[API Keys](https://invoicetronic.com/en/docs/apikeys/)** — how `ik_live_` and `ik_test_` keys select the environment. - **[Sandbox](https://invoicetronic.com/en/docs/sandbox/)** — free test environment that mirrors the live workflow, with no credits consumed. - **[Rate Limiting](https://invoicetronic.com/en/docs/ratelimiting/)** — per-second, per-minute and per-day limits; how to handle `429 Too Many Requests`. - **[Pagination](https://invoicetronic.com/en/docs/pagination/)** — `page` and `page_size` parameters and the `Invoicetronic-Total-Count` response header. - **[CORS](https://invoicetronic.com/en/docs/cors/)** — calling the API from the browser; allowed origins are configured per key. - **[Webhooks](https://invoicetronic.com/en/docs/webhooks/)** — real-time event notifications with HMAC-SHA256 signature validation. - **[Localization](https://invoicetronic.com/en/docs/accept-language/)** — use the `Accept-Language` header to receive error messages in Italian, English or German. [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.15.0
|
|
9
9
|
Contact: info@invoicetronic.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
Generator version: 7.20.0
|