kintsugi_sdk 5.6.1 → 5.7.1

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.
Files changed (338) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kintsugi_sdk/addressvalidation.rb +27 -25
  3. data/lib/kintsugi_sdk/customers.rb +133 -131
  4. data/lib/kintsugi_sdk/exemptions.rb +94 -94
  5. data/lib/kintsugi_sdk/models/errors/apierror.rb +1 -1
  6. data/lib/kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rb +1 -1
  7. data/lib/kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rb +1 -1
  8. data/lib/kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rb +1 -1
  9. data/lib/kintsugi_sdk/models/errors/{backend_src_products_responses_validationerrorresponse.rb → backend_src_products_schemas_responses_validationerrorresponse.rb} +3 -3
  10. data/lib/kintsugi_sdk/models/errors/backend_src_products_schemas_responses_validationerrorresponse.rbi +13 -0
  11. data/lib/kintsugi_sdk/models/errors/backend_src_tax_estimation_responses_validationerrorresponse.rb +1 -1
  12. data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rb +1 -1
  13. data/lib/kintsugi_sdk/models/errors/errorresponse.rb +1 -1
  14. data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rb +1 -1
  15. data/lib/kintsugi_sdk/models/errors.rb +1 -1
  16. data/lib/kintsugi_sdk/models/ops/{search_v1_address_validation_search_post_security.rb → country.rb} +3 -8
  17. data/lib/kintsugi_sdk/models/{shared/registration.rbi → ops/country.rbi} +2 -2
  18. data/lib/kintsugi_sdk/models/ops/country_code.rb +27 -0
  19. data/lib/kintsugi_sdk/models/ops/country_code.rbi +11 -0
  20. data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rb +36 -0
  21. data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rbi +15 -0
  22. data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rb +36 -0
  23. data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rbi +15 -0
  24. data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rb +36 -0
  25. data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rbi +15 -0
  26. data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb +6 -2
  27. data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rbi +2 -0
  28. data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rb +6 -2
  29. data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rbi +2 -0
  30. data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rb +6 -2
  31. data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rbi +2 -0
  32. data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rb +6 -2
  33. data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rbi +2 -0
  34. data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb +13 -5
  35. data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rbi +4 -0
  36. data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rb +6 -2
  37. data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rbi +2 -0
  38. data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb +19 -11
  39. data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rbi +6 -2
  40. data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb +29 -13
  41. data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rbi +14 -6
  42. data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rb +27 -0
  43. data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rbi +11 -0
  44. data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rb +6 -2
  45. data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rbi +2 -0
  46. data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rb +6 -2
  47. data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rbi +2 -0
  48. data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb +44 -18
  49. data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rbi +14 -4
  50. data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rb +6 -2
  51. data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rbi +2 -0
  52. data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb +6 -2
  53. data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rbi +2 -0
  54. data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb +14 -2
  55. data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rbi +6 -0
  56. data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rb +27 -0
  57. data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rbi +11 -0
  58. data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rb +6 -2
  59. data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rbi +2 -0
  60. data/lib/kintsugi_sdk/models/ops/queryparam_country.rb +27 -0
  61. data/lib/kintsugi_sdk/models/ops/queryparam_country.rbi +11 -0
  62. data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rb +36 -0
  63. data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rbi +15 -0
  64. data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rb +6 -2
  65. data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rbi +2 -0
  66. data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rb +27 -0
  67. data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rbi +11 -0
  68. data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb +9 -5
  69. data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rbi +4 -2
  70. data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb +6 -2
  71. data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rbi +2 -0
  72. data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb +6 -2
  73. data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rbi +2 -0
  74. data/lib/kintsugi_sdk/models/ops.rb +10 -1
  75. data/lib/kintsugi_sdk/models/shared/addressbase.rb +1 -1
  76. data/lib/kintsugi_sdk/models/shared/addresses.rb +7 -3
  77. data/lib/kintsugi_sdk/models/shared/addresses.rbi +2 -0
  78. data/lib/kintsugi_sdk/models/shared/amount.rb +27 -0
  79. data/lib/kintsugi_sdk/models/shared/amount.rbi +11 -0
  80. data/lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb +2 -2
  81. data/lib/kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rb +2 -2
  82. data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rb +2 -2
  83. data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rb → backend_src_exemptions_schemas_exemption_exemptionread.rb} +15 -10
  84. data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rbi → backend_src_exemptions_schemas_exemption_exemptionread.rbi} +6 -4
  85. data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb +13 -9
  86. data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rbi +4 -2
  87. data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rb → backend_src_products_schemas_responses_validationerroritem.rb} +3 -3
  88. data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rbi → backend_src_products_schemas_responses_validationerroritem.rbi} +2 -2
  89. data/lib/kintsugi_sdk/models/shared/backend_src_tax_estimation_responses_validationerroritem.rb +2 -2
  90. data/lib/kintsugi_sdk/models/shared/backend_src_transactions_responses_validationerroritem.rb +2 -2
  91. data/lib/kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb +2 -2
  92. data/lib/kintsugi_sdk/models/shared/{registration.rb → context.rb} +1 -1
  93. data/lib/kintsugi_sdk/models/shared/context.rbi +11 -0
  94. data/lib/kintsugi_sdk/models/shared/conversion_rate.rb +27 -0
  95. data/lib/kintsugi_sdk/models/shared/conversion_rate.rbi +11 -0
  96. data/lib/kintsugi_sdk/models/shared/converted_amount.rb +27 -0
  97. data/lib/kintsugi_sdk/models/shared/converted_amount.rbi +11 -0
  98. data/lib/kintsugi_sdk/models/shared/converted_subtotal.rb +27 -0
  99. data/lib/kintsugi_sdk/models/shared/converted_subtotal.rbi +11 -0
  100. data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rb +27 -0
  101. data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rbi +11 -0
  102. data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rb +27 -0
  103. data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rbi +11 -0
  104. data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rb +27 -0
  105. data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rbi +11 -0
  106. data/lib/kintsugi_sdk/models/shared/converted_total_amount.rb +27 -0
  107. data/lib/kintsugi_sdk/models/shared/converted_total_amount.rbi +11 -0
  108. data/lib/kintsugi_sdk/models/shared/converted_total_discount.rb +27 -0
  109. data/lib/kintsugi_sdk/models/shared/converted_total_discount.rbi +11 -0
  110. data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rb +27 -0
  111. data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rbi +11 -0
  112. data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rb +27 -0
  113. data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rbi +11 -0
  114. data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rb +27 -0
  115. data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rbi +11 -0
  116. data/lib/kintsugi_sdk/models/shared/currencyenum.rb +1 -1
  117. data/lib/kintsugi_sdk/models/shared/customer.rb +27 -0
  118. data/lib/kintsugi_sdk/models/shared/customer.rbi +11 -0
  119. data/lib/kintsugi_sdk/models/shared/customerbase.rb +16 -12
  120. data/lib/kintsugi_sdk/models/shared/customerbase.rbi +6 -4
  121. data/lib/kintsugi_sdk/models/shared/customerbasebase.rb +16 -12
  122. data/lib/kintsugi_sdk/models/shared/customerbasebase.rbi +6 -4
  123. data/lib/kintsugi_sdk/models/shared/customerbasepublic.rb +16 -12
  124. data/lib/kintsugi_sdk/models/shared/customerbasepublic.rbi +6 -4
  125. data/lib/kintsugi_sdk/models/shared/customercreate.rb +20 -16
  126. data/lib/kintsugi_sdk/models/shared/customercreate.rbi +8 -6
  127. data/lib/kintsugi_sdk/models/shared/customerread.rb +24 -16
  128. data/lib/kintsugi_sdk/models/shared/customerread.rbi +10 -6
  129. data/lib/kintsugi_sdk/models/shared/customerupdate.rb +13 -9
  130. data/lib/kintsugi_sdk/models/shared/customerupdate.rbi +4 -2
  131. data/lib/kintsugi_sdk/models/shared/discount_amount.rb +27 -0
  132. data/lib/kintsugi_sdk/models/shared/discount_amount.rbi +11 -0
  133. data/lib/kintsugi_sdk/models/shared/discountbuilder.rb +6 -6
  134. data/lib/kintsugi_sdk/models/shared/discountbuilder.rbi +2 -2
  135. data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rb +20 -0
  136. data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rbi +11 -0
  137. data/lib/kintsugi_sdk/models/shared/documenttypeenum.rb +21 -0
  138. data/lib/kintsugi_sdk/models/shared/documenttypeenum.rbi +11 -0
  139. data/lib/kintsugi_sdk/models/shared/exemptioncreate.rb +8 -4
  140. data/lib/kintsugi_sdk/models/shared/exemptioncreate.rbi +2 -0
  141. data/lib/kintsugi_sdk/models/shared/exemptionrequired.rb +22 -2
  142. data/lib/kintsugi_sdk/models/shared/exemptionrequired.rbi +10 -0
  143. data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rb +46 -0
  144. data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rbi +11 -0
  145. data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +2 -0
  146. data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb +2 -2
  147. data/lib/kintsugi_sdk/models/shared/loc.rb +27 -0
  148. data/lib/kintsugi_sdk/models/shared/loc.rbi +11 -0
  149. data/lib/kintsugi_sdk/models/shared/nexusresponse.rb +130 -90
  150. data/lib/kintsugi_sdk/models/shared/nexusresponse.rbi +58 -44
  151. data/lib/kintsugi_sdk/models/shared/nexustypeenum.rb +1 -0
  152. data/lib/kintsugi_sdk/models/shared/periodmodelenum.rb +2 -0
  153. data/lib/kintsugi_sdk/models/shared/processingstatusenum.rb +1 -0
  154. data/lib/kintsugi_sdk/models/shared/productread.rb +41 -15
  155. data/lib/kintsugi_sdk/models/shared/productread.rbi +18 -4
  156. data/lib/kintsugi_sdk/models/shared/productstatusenum.rb +1 -0
  157. data/lib/kintsugi_sdk/models/shared/productupdate.rb +6 -6
  158. data/lib/kintsugi_sdk/models/shared/productupdate.rbi +2 -2
  159. data/lib/kintsugi_sdk/models/shared/productupdatev2.rb +64 -0
  160. data/lib/kintsugi_sdk/models/shared/productupdatev2.rbi +29 -0
  161. data/lib/kintsugi_sdk/models/shared/quantity.rb +27 -0
  162. data/lib/kintsugi_sdk/models/shared/quantity.rbi +11 -0
  163. data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rb +27 -0
  164. data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rbi +11 -0
  165. data/lib/kintsugi_sdk/models/shared/rate.rb +27 -0
  166. data/lib/kintsugi_sdk/models/shared/rate.rbi +11 -0
  167. data/lib/kintsugi_sdk/models/shared/relatedentitytype.rb +4 -0
  168. data/lib/kintsugi_sdk/models/shared/security.rb +3 -7
  169. data/lib/kintsugi_sdk/models/shared/security.rbi +0 -2
  170. data/lib/kintsugi_sdk/models/shared/sourceenum.rb +23 -0
  171. data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rb +27 -0
  172. data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rbi +11 -0
  173. data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rb +27 -0
  174. data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rbi +11 -0
  175. data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rb +27 -0
  176. data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rbi +11 -0
  177. data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rb +27 -0
  178. data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rbi +11 -0
  179. data/lib/kintsugi_sdk/models/shared/taxable_amount.rb +27 -0
  180. data/lib/kintsugi_sdk/models/shared/taxable_amount.rbi +11 -0
  181. data/lib/kintsugi_sdk/models/shared/taxexemptionenum.rb +2 -0
  182. data/lib/kintsugi_sdk/models/shared/taxitembuilder.rb +14 -14
  183. data/lib/kintsugi_sdk/models/shared/taxitembuilder.rbi +4 -4
  184. data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rb +27 -0
  185. data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rbi +11 -0
  186. data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rb +27 -0
  187. data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rbi +11 -0
  188. data/lib/kintsugi_sdk/models/shared/taxitemestimate.rb +10 -10
  189. data/lib/kintsugi_sdk/models/shared/taxitemestimate.rbi +4 -4
  190. data/lib/kintsugi_sdk/models/shared/taxitemread.rb +10 -10
  191. data/lib/kintsugi_sdk/models/shared/taxitemread.rbi +4 -4
  192. data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb +3 -0
  193. data/lib/kintsugi_sdk/models/shared/taxtypeenum.rb +30 -0
  194. data/lib/kintsugi_sdk/models/shared/taxtypeenum.rbi +11 -0
  195. data/lib/kintsugi_sdk/models/shared/total_amount.rb +27 -0
  196. data/lib/kintsugi_sdk/models/shared/total_amount.rbi +11 -0
  197. data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rb +27 -0
  198. data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rbi +11 -0
  199. data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rb +27 -0
  200. data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rbi +11 -0
  201. data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rb +27 -0
  202. data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rbi +11 -0
  203. data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rb +27 -0
  204. data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rbi +11 -0
  205. data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rb +11 -7
  206. data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rbi +4 -2
  207. data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rb +8 -4
  208. data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rbi +2 -0
  209. data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb +11 -7
  210. data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rbi +4 -2
  211. data/lib/kintsugi_sdk/models/shared/transactioncreate.rb +89 -79
  212. data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +36 -28
  213. data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rb +19 -0
  214. data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rbi +11 -0
  215. data/lib/kintsugi_sdk/models/shared/{exemption.rb → transactionembeddedexemption.rb} +38 -16
  216. data/lib/kintsugi_sdk/models/shared/{exemption.rbi → transactionembeddedexemption.rbi} +12 -6
  217. data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb +10 -8
  218. data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rbi +2 -2
  219. data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +11 -9
  220. data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rbi +2 -2
  221. data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb +7 -3
  222. data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rbi +2 -0
  223. data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rb +104 -0
  224. data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rbi +49 -0
  225. data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rb +57 -53
  226. data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rbi +22 -20
  227. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rb +27 -0
  228. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rbi +11 -0
  229. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rb +27 -0
  230. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rbi +11 -0
  231. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rb +27 -0
  232. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rbi +11 -0
  233. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rb +27 -0
  234. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rbi +11 -0
  235. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rb +27 -0
  236. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rbi +11 -0
  237. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rb +27 -0
  238. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rbi +11 -0
  239. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rb +27 -0
  240. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rbi +11 -0
  241. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rb +27 -0
  242. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rbi +11 -0
  243. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rb +27 -0
  244. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rbi +11 -0
  245. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rb +27 -0
  246. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rbi +11 -0
  247. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rb +27 -0
  248. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rbi +11 -0
  249. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rb +27 -0
  250. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rbi +11 -0
  251. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rb +27 -0
  252. data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rbi +11 -0
  253. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rb +57 -53
  254. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rbi +22 -20
  255. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rb +27 -0
  256. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rbi +11 -0
  257. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rb +27 -0
  258. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rbi +11 -0
  259. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rb +27 -0
  260. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rbi +11 -0
  261. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rb +27 -0
  262. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rbi +11 -0
  263. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rb +27 -0
  264. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rbi +11 -0
  265. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rb +27 -0
  266. data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rbi +11 -0
  267. data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rb +15 -7
  268. data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rbi +4 -2
  269. data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +18 -10
  270. data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +6 -4
  271. data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +64 -44
  272. data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +28 -18
  273. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +69 -63
  274. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +30 -24
  275. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rb +27 -0
  276. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rbi +11 -0
  277. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rb +27 -0
  278. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rbi +11 -0
  279. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rb +27 -0
  280. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rbi +11 -0
  281. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rb +27 -0
  282. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rbi +11 -0
  283. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rb +27 -0
  284. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rbi +11 -0
  285. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rb +27 -0
  286. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rbi +11 -0
  287. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rb +27 -0
  288. data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rbi +11 -0
  289. data/lib/kintsugi_sdk/models/shared/transactionread.rb +107 -73
  290. data/lib/kintsugi_sdk/models/shared/transactionread.rbi +48 -28
  291. data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +1 -0
  292. data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +68 -62
  293. data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +30 -24
  294. data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rb +27 -0
  295. data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rbi +11 -0
  296. data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rb +27 -0
  297. data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rbi +11 -0
  298. data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rb +27 -0
  299. data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rbi +11 -0
  300. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rb +27 -0
  301. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rbi +11 -0
  302. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rb +27 -0
  303. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rbi +11 -0
  304. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rb +27 -0
  305. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rbi +11 -0
  306. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rb +27 -0
  307. data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rbi +11 -0
  308. data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.rb +24 -0
  309. data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.rbi +11 -0
  310. data/lib/kintsugi_sdk/models/shared/validationaddress.rb +12 -12
  311. data/lib/kintsugi_sdk/models/shared/validationaddress.rbi +4 -4
  312. data/lib/kintsugi_sdk/models/shared/validationerror.rb +11 -3
  313. data/lib/kintsugi_sdk/models/shared/validationerror.rbi +4 -0
  314. data/lib/kintsugi_sdk/models/shared.rb +75 -6
  315. data/lib/kintsugi_sdk/nexus.rb +9 -9
  316. data/lib/kintsugi_sdk/openapisdk.rb +10 -10
  317. data/lib/kintsugi_sdk/products.rb +28 -26
  318. data/lib/kintsugi_sdk/sdk_hooks/hooks.rb +1 -1
  319. data/lib/kintsugi_sdk/sdk_hooks/types.rb +14 -14
  320. data/lib/kintsugi_sdk/sdkconfiguration.rb +22 -22
  321. data/lib/kintsugi_sdk/taxestimation.rb +15 -15
  322. data/lib/kintsugi_sdk/transactions.rb +113 -113
  323. data/lib/kintsugi_sdk/utils/forms.rb +23 -23
  324. data/lib/kintsugi_sdk/utils/headers.rb +4 -4
  325. data/lib/kintsugi_sdk/utils/query_params.rb +14 -14
  326. data/lib/kintsugi_sdk/utils/request_bodies.rb +7 -7
  327. data/lib/kintsugi_sdk/utils/retries.rb +42 -3
  328. data/lib/kintsugi_sdk/utils/security.rb +16 -16
  329. data/lib/kintsugi_sdk/utils/url.rb +6 -6
  330. data/lib/kintsugi_sdk/utils/utils.rb +37 -33
  331. data/lib/kintsugi_sdk.rb +1 -1
  332. metadata +174 -18
  333. data/lib/kintsugi_sdk/models/errors/backend_src_products_responses_validationerrorresponse.rbi +0 -13
  334. data/lib/kintsugi_sdk/models/ops/search_v1_address_validation_search_post_security.rbi +0 -13
  335. data/lib/kintsugi_sdk/models/shared/file.rb +0 -36
  336. data/lib/kintsugi_sdk/models/shared/file.rbi +0 -15
  337. data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rb +0 -48
  338. data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rbi +0 -21
@@ -15,7 +15,9 @@ module KintsugiSDK
15
15
  # The date of the transaction item.
16
16
  field :date, ::DateTime, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('date'), required: true, 'decoder': ::KintsugiSDK::Utils.datetime_from_iso_format(false) } }
17
17
  # The total amount of the item.
18
- field :amount, ::Float, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('amount'), required: true } }
18
+ field :amount, Crystalline::Union.new(::Float, ::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('amount'), required: true } }
19
+ # Defaults to 1.0. The quantity of the item.
20
+ field :quantity, Crystalline::Nilable.new(Crystalline::Union.new(::Float, ::String)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('quantity') } }
19
21
  # A unique identifier for the transaction item.
20
22
  field :external_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('external_id') } }
21
23
  # A description of the item.
@@ -35,15 +37,20 @@ module KintsugiSDK
35
37
  # Category of the product. Required if product_subcategory is used
36
38
  # in place of external_product_id.
37
39
  field :product_category, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('product_category') } }
38
- # Defaults to 1.0. The quantity of the item.
39
- field :quantity, Crystalline::Nilable.new(::Float), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('quantity') } }
40
40
  # Defaults to false. Indicates whether the item is exempt from tax.
41
41
  field :exempt, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt') } }
42
+ # Defaults to false. When true, `amount` is the gross (tax-included) price and the tax is backed out of it rather than added on top; for a taxable line, `taxable_amount` in the response is then the net base.
43
+ #
44
+ # When the line is not taxed - exempt, or no tax rule applies in the destination - `taxable_amount` is `0.00` rather than the net base, matching how exempt tax-exclusive lines already behave. Read the net amount as `taxable_amount` when `tax_amount` is non-zero, and as `amount` otherwise.
45
+ #
46
+ # This applies to the estimate in this request only. Connection imports that report an inclusive price store the gross amount and the inclusive flag, and recalc backs the tax out the same way as this estimate.
47
+ field :is_tax_inclusive, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_tax_inclusive') } }
42
48
 
43
- sig { params(date: ::DateTime, amount: ::Float, external_id: T.nilable(::String), description: T.nilable(::String), external_product_id: T.nilable(::String), product_name: T.nilable(::String), product_description: T.nilable(::String), product_source: T.nilable(Models::Shared::SourceEnum), product_subcategory: T.nilable(::String), product_category: T.nilable(::String), quantity: T.nilable(::Float), exempt: T.nilable(T::Boolean)).void }
44
- def initialize(date:, amount:, external_id: nil, description: nil, external_product_id: nil, product_name: nil, product_description: nil, product_source: nil, product_subcategory: nil, product_category: nil, quantity: 1.0, exempt: false)
49
+ sig { params(date: ::DateTime, amount: T.any(::Float, ::String), quantity: T.nilable(T.any(::Float, ::String)), external_id: T.nilable(::String), description: T.nilable(::String), external_product_id: T.nilable(::String), product_name: T.nilable(::String), product_description: T.nilable(::String), product_source: T.nilable(Models::Shared::SourceEnum), product_subcategory: T.nilable(::String), product_category: T.nilable(::String), exempt: T.nilable(T::Boolean), is_tax_inclusive: T.nilable(T::Boolean)).void }
50
+ def initialize(date:, amount:, quantity: nil, external_id: nil, description: nil, external_product_id: nil, product_name: nil, product_description: nil, product_source: nil, product_subcategory: nil, product_category: nil, exempt: false, is_tax_inclusive: false)
45
51
  @date = date
46
52
  @amount = amount
53
+ @quantity = quantity
47
54
  @external_id = external_id
48
55
  @description = description
49
56
  @external_product_id = external_product_id
@@ -52,8 +59,8 @@ module KintsugiSDK
52
59
  @product_source = product_source
53
60
  @product_subcategory = product_subcategory
54
61
  @product_category = product_category
55
- @quantity = quantity
56
62
  @exempt = exempt
63
+ @is_tax_inclusive = is_tax_inclusive
57
64
  end
58
65
 
59
66
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -61,6 +68,7 @@ module KintsugiSDK
61
68
  return false unless other.is_a? self.class
62
69
  return false unless @date == other.date
63
70
  return false unless @amount == other.amount
71
+ return false unless @quantity == other.quantity
64
72
  return false unless @external_id == other.external_id
65
73
  return false unless @description == other.description
66
74
  return false unless @external_product_id == other.external_product_id
@@ -69,8 +77,8 @@ module KintsugiSDK
69
77
  return false unless @product_source == other.product_source
70
78
  return false unless @product_subcategory == other.product_subcategory
71
79
  return false unless @product_category == other.product_category
72
- return false unless @quantity == other.quantity
73
80
  return false unless @exempt == other.exempt
81
+ return false unless @is_tax_inclusive == other.is_tax_inclusive
74
82
  true
75
83
  end
76
84
  end
@@ -12,6 +12,8 @@ class KintsugiSDK::Models::Shared::TransactionItemEstimateBase
12
12
  def date=(str_); end
13
13
  def amount(); end
14
14
  def amount=(str_); end
15
+ def quantity(); end
16
+ def quantity=(str_); end
15
17
  def external_id(); end
16
18
  def external_id=(str_); end
17
19
  def description(); end
@@ -28,8 +30,8 @@ class KintsugiSDK::Models::Shared::TransactionItemEstimateBase
28
30
  def product_subcategory=(str_); end
29
31
  def product_category(); end
30
32
  def product_category=(str_); end
31
- def quantity(); end
32
- def quantity=(str_); end
33
33
  def exempt(); end
34
34
  def exempt=(str_); end
35
+ def is_tax_inclusive(); end
36
+ def is_tax_inclusive=(str_); end
35
37
  end
@@ -16,6 +16,8 @@ module KintsugiSDK
16
16
  field :date, ::DateTime, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('date'), required: true, 'decoder': ::KintsugiSDK::Utils.datetime_from_iso_format(false) } }
17
17
  # The total amount of the item.
18
18
  field :amount, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('amount'), required: true } }
19
+ # List of tax items applied to the transaction item.
20
+ field :tax_items, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::TaxItemEstimate)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_items') } }
19
21
  # A unique identifier for the transaction item.
20
22
  field :external_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('external_id') } }
21
23
  # A description of the item.
@@ -35,25 +37,30 @@ module KintsugiSDK
35
37
  # Category of the product. Required if product_subcategory is used
36
38
  # in place of external_product_id.
37
39
  field :product_category, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('product_category') } }
38
- # This enum is used to determine if a transaction is exempt from tax.
39
- field :exempt_reason, Crystalline::Nilable.new(Models::Shared::TaxExemptionEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt_reason'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TaxExemptionEnum, true) } }
40
- # List of tax items applied to the transaction item.
41
- field :tax_items, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::TaxItemEstimate)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_items') } }
42
40
  # Defaults to 1.0. The quantity of the item.
43
41
  field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('quantity') } }
44
42
  # Indicates whether the transaction item is exempt from tax.
45
43
  field :exempt, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt') } }
44
+ # Defaults to false. When true, `amount` is the gross (tax-included) price and the tax is backed out of it rather than added on top; for a taxable line, `taxable_amount` in the response is then the net base.
45
+ #
46
+ # When the line is not taxed - exempt, or no tax rule applies in the destination - `taxable_amount` is `0.00` rather than the net base, matching how exempt tax-exclusive lines already behave. Read the net amount as `taxable_amount` when `tax_amount` is non-zero, and as `amount` otherwise.
47
+ #
48
+ # This applies to the estimate in this request only. Connection imports that report an inclusive price store the gross amount and the inclusive flag, and recalc backs the tax out the same way as this estimate.
49
+ field :is_tax_inclusive, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_tax_inclusive') } }
46
50
  # The total tax amount for the transaction item.
47
51
  field :tax_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_amount') } }
48
52
  # The taxable amount for the transaction item.
49
53
  field :taxable_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('taxable_amount') } }
50
54
  # The tax rate applied to the transaction item.
51
55
  field :tax_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate') } }
56
+ # Reason for exemption, if applicable.
57
+ field :exempt_reason, Crystalline::Nilable.new(Models::Shared::TaxExemptionEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt_reason'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TaxExemptionEnum, true) } }
52
58
 
53
- sig { params(date: ::DateTime, amount: ::String, external_id: T.nilable(::String), description: T.nilable(::String), external_product_id: T.nilable(::String), product_name: T.nilable(::String), product_description: T.nilable(::String), product_source: T.nilable(Models::Shared::SourceEnum), product_subcategory: T.nilable(::String), product_category: T.nilable(::String), exempt_reason: T.nilable(Models::Shared::TaxExemptionEnum), tax_items: T.nilable(T::Array[Models::Shared::TaxItemEstimate]), quantity: T.nilable(::String), exempt: T.nilable(T::Boolean), tax_amount: T.nilable(::String), taxable_amount: T.nilable(::String), tax_rate: T.nilable(::String)).void }
54
- def initialize(date:, amount:, external_id: nil, description: nil, external_product_id: nil, product_name: nil, product_description: nil, product_source: nil, product_subcategory: nil, product_category: nil, exempt_reason: nil, tax_items: nil, quantity: '1.0', exempt: false, tax_amount: '0.00', taxable_amount: '0.00', tax_rate: '0.00')
59
+ sig { params(date: ::DateTime, amount: ::String, tax_items: T.nilable(T::Array[Models::Shared::TaxItemEstimate]), external_id: T.nilable(::String), description: T.nilable(::String), external_product_id: T.nilable(::String), product_name: T.nilable(::String), product_description: T.nilable(::String), product_source: T.nilable(Models::Shared::SourceEnum), product_subcategory: T.nilable(::String), product_category: T.nilable(::String), quantity: T.nilable(::String), exempt: T.nilable(T::Boolean), is_tax_inclusive: T.nilable(T::Boolean), tax_amount: T.nilable(::String), taxable_amount: T.nilable(::String), tax_rate: T.nilable(::String), exempt_reason: T.nilable(Models::Shared::TaxExemptionEnum)).void }
60
+ def initialize(date:, amount:, tax_items: nil, external_id: nil, description: nil, external_product_id: nil, product_name: nil, product_description: nil, product_source: nil, product_subcategory: nil, product_category: nil, quantity: '1.0', exempt: false, is_tax_inclusive: false, tax_amount: '0.00', taxable_amount: '0.00', tax_rate: '0.00', exempt_reason: nil)
55
61
  @date = date
56
62
  @amount = amount
63
+ @tax_items = tax_items
57
64
  @external_id = external_id
58
65
  @description = description
59
66
  @external_product_id = external_product_id
@@ -62,13 +69,13 @@ module KintsugiSDK
62
69
  @product_source = product_source
63
70
  @product_subcategory = product_subcategory
64
71
  @product_category = product_category
65
- @exempt_reason = exempt_reason
66
- @tax_items = tax_items
67
72
  @quantity = quantity
68
73
  @exempt = exempt
74
+ @is_tax_inclusive = is_tax_inclusive
69
75
  @tax_amount = tax_amount
70
76
  @taxable_amount = taxable_amount
71
77
  @tax_rate = tax_rate
78
+ @exempt_reason = exempt_reason
72
79
  end
73
80
 
74
81
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -76,6 +83,7 @@ module KintsugiSDK
76
83
  return false unless other.is_a? self.class
77
84
  return false unless @date == other.date
78
85
  return false unless @amount == other.amount
86
+ return false unless @tax_items == other.tax_items
79
87
  return false unless @external_id == other.external_id
80
88
  return false unless @description == other.description
81
89
  return false unless @external_product_id == other.external_product_id
@@ -84,13 +92,13 @@ module KintsugiSDK
84
92
  return false unless @product_source == other.product_source
85
93
  return false unless @product_subcategory == other.product_subcategory
86
94
  return false unless @product_category == other.product_category
87
- return false unless @exempt_reason == other.exempt_reason
88
- return false unless @tax_items == other.tax_items
89
95
  return false unless @quantity == other.quantity
90
96
  return false unless @exempt == other.exempt
97
+ return false unless @is_tax_inclusive == other.is_tax_inclusive
91
98
  return false unless @tax_amount == other.tax_amount
92
99
  return false unless @taxable_amount == other.taxable_amount
93
100
  return false unless @tax_rate == other.tax_rate
101
+ return false unless @exempt_reason == other.exempt_reason
94
102
  true
95
103
  end
96
104
  end
@@ -12,6 +12,8 @@ class KintsugiSDK::Models::Shared::TransactionItemEstimateResponse
12
12
  def date=(str_); end
13
13
  def amount(); end
14
14
  def amount=(str_); end
15
+ def tax_items(); end
16
+ def tax_items=(str_); end
15
17
  def external_id(); end
16
18
  def external_id=(str_); end
17
19
  def description(); end
@@ -28,18 +30,18 @@ class KintsugiSDK::Models::Shared::TransactionItemEstimateResponse
28
30
  def product_subcategory=(str_); end
29
31
  def product_category(); end
30
32
  def product_category=(str_); end
31
- def exempt_reason(); end
32
- def exempt_reason=(str_); end
33
- def tax_items(); end
34
- def tax_items=(str_); end
35
33
  def quantity(); end
36
34
  def quantity=(str_); end
37
35
  def exempt(); end
38
36
  def exempt=(str_); end
37
+ def is_tax_inclusive(); end
38
+ def is_tax_inclusive=(str_); end
39
39
  def tax_amount(); end
40
40
  def tax_amount=(str_); end
41
41
  def taxable_amount(); end
42
42
  def taxable_amount=(str_); end
43
43
  def tax_rate(); end
44
44
  def tax_rate=(str_); end
45
+ def exempt_reason(); end
46
+ def exempt_reason=(str_); end
45
47
  end
@@ -12,18 +12,18 @@ module KintsugiSDK
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
- # Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.
16
- #
17
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
18
- field :organization_id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('organization_id'), required: true } }
19
15
  # Date/time of item.
20
- field :date, ::DateTime, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('date'), required: true, 'decoder': ::KintsugiSDK::Utils.datetime_from_iso_format(false) } }
16
+ field :date, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('date'), required: true } }
21
17
  # External product identifier.
22
18
  field :external_product_id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('external_product_id'), required: true } }
23
19
  # The unique transaction item identifier.
24
20
  field :id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('id'), required: true } }
25
21
  # List of tax items associated with the transaction item.
26
22
  field :tax_items, Crystalline::Array.new(Models::Shared::TaxItemRead), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_items'), required: true } }
23
+ # Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.
24
+ #
25
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
26
+ field :organization_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('organization_id'), required: true } }
27
27
  # External item identifier.
28
28
  field :external_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('external_id') } }
29
29
  # Item description
@@ -36,9 +36,21 @@ module KintsugiSDK
36
36
  field :product_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('product_name') } }
37
37
  # Product description
38
38
  field :product_description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('product_description') } }
39
-
39
+ # Quantity of item.
40
+ field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('quantity') } }
41
+ # Item amount.
42
+ field :amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('amount') } }
43
+ # Imported tax amount for the item.
44
+ field :tax_amount_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_amount_imported') } }
45
+ # Imported tax rate.
46
+ field :tax_rate_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_imported') } }
47
+ # Calculated tax amount for the item.
48
+ field :tax_amount_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_amount_calculated') } }
49
+ # Calculated tax rate.
50
+ field :tax_rate_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_calculated') } }
51
+ # Original currency code.
40
52
  field :original_currency, Crystalline::Nilable.new(Models::Shared::CurrencyEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('original_currency'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CurrencyEnum, true) } }
41
-
53
+ # Destination currency code.
42
54
  field :destination_currency, Crystalline::Nilable.new(Models::Shared::CurrencyEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('destination_currency'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CurrencyEnum, true) } }
43
55
  # Converted item amount.
44
56
  field :converted_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_amount') } }
@@ -52,42 +64,46 @@ module KintsugiSDK
52
64
  field :converted_total_discount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_total_discount') } }
53
65
  # Converted subtotal amount.
54
66
  field :converted_subtotal, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_subtotal') } }
55
- # This enum is used to determine if a transaction is exempt from tax.
67
+ # Taxable amount for the item.
68
+ field :taxable_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('taxable_amount') } }
69
+ # Tax exemption status.
56
70
  field :tax_exemption, Crystalline::Nilable.new(Models::Shared::TaxExemptionEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_exemption'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TaxExemptionEnum, true) } }
71
+ # Indicates if the item is exempt.
72
+ field :exempt, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt') } }
73
+ # Whether this line's source amount includes tax. NULL means the source did not say.
74
+ field :is_tax_inclusive, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_tax_inclusive') } }
57
75
  # Total discount amount applied to this transaction item.
58
76
  field :total_discount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_discount') } }
59
77
  # Subtotal amount before any discount is applied.
60
78
  field :subtotal, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('subtotal') } }
61
- # Quantity of item.
62
- field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('quantity') } }
63
- # Item amount.
64
- field :amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('amount') } }
65
- # Imported tax amount for the item.
66
- field :tax_amount_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_amount_imported') } }
67
- # Imported tax rate.
68
- field :tax_rate_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_imported') } }
69
- # Calculated tax amount for the item.
70
- field :tax_amount_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_amount_calculated') } }
71
- # Calculated tax rate.
72
- field :tax_rate_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_calculated') } }
73
- # Taxable amount for the item.
74
- field :taxable_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('taxable_amount') } }
75
- # Indicates if the item is exempt.
76
- field :exempt, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt') } }
79
+ # Whether this purchase line is reverse-charged.
80
+ field :is_reverse_charge_self_accounted, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_reverse_charge_self_accounted') } }
81
+ # Input VAT recoverability 0-100. Blank means 100%.
82
+ field :recoverability_percent, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('recoverability_percent') } }
83
+ # VAT recoverable on this line in the transaction's currency, after the line's recoverability percentage and the organization's pro-rata recovery rate. 0.00 for sales and outside the EU and UK.
84
+ field :recoverable_input_vat, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('recoverable_input_vat') } }
85
+ # Recoverable VAT on this line in the destination currency. Null when the line has no converted amount.
86
+ field :converted_recoverable_input_vat, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_recoverable_input_vat') } }
77
87
 
78
- sig { params(organization_id: ::String, date: ::DateTime, external_product_id: ::String, id: ::String, tax_items: T::Array[Models::Shared::TaxItemRead], external_id: T.nilable(::String), description: T.nilable(::String), product: T.nilable(::String), product_id: T.nilable(::String), product_name: T.nilable(::String), product_description: T.nilable(::String), original_currency: T.nilable(Models::Shared::CurrencyEnum), destination_currency: T.nilable(Models::Shared::CurrencyEnum), converted_amount: T.nilable(::String), converted_taxable_amount: T.nilable(::String), converted_tax_amount_imported: T.nilable(::String), converted_tax_amount_calculated: T.nilable(::String), converted_total_discount: T.nilable(::String), converted_subtotal: T.nilable(::String), tax_exemption: T.nilable(Models::Shared::TaxExemptionEnum), total_discount: T.nilable(::String), subtotal: T.nilable(::String), quantity: T.nilable(::String), amount: T.nilable(::String), tax_amount_imported: T.nilable(::String), tax_rate_imported: T.nilable(::String), tax_amount_calculated: T.nilable(::String), tax_rate_calculated: T.nilable(::String), taxable_amount: T.nilable(::String), exempt: T.nilable(T::Boolean)).void }
79
- def initialize(organization_id:, date:, external_product_id:, id:, tax_items:, external_id: nil, description: nil, product: nil, product_id: nil, product_name: nil, product_description: nil, original_currency: nil, destination_currency: nil, converted_amount: nil, converted_taxable_amount: nil, converted_tax_amount_imported: nil, converted_tax_amount_calculated: nil, converted_total_discount: nil, converted_subtotal: nil, tax_exemption: nil, total_discount: nil, subtotal: nil, quantity: '1.0', amount: '0.00', tax_amount_imported: '0.00', tax_rate_imported: '0.00', tax_amount_calculated: '0.00', tax_rate_calculated: '0.00', taxable_amount: '0.00', exempt: false)
80
- @organization_id = organization_id
88
+ sig { params(date: ::String, external_product_id: ::String, id: ::String, tax_items: T::Array[Models::Shared::TaxItemRead], organization_id: T.nilable(::String), external_id: T.nilable(::String), description: T.nilable(::String), product: T.nilable(::String), product_id: T.nilable(::String), product_name: T.nilable(::String), product_description: T.nilable(::String), quantity: T.nilable(::String), amount: T.nilable(::String), tax_amount_imported: T.nilable(::String), tax_rate_imported: T.nilable(::String), tax_amount_calculated: T.nilable(::String), tax_rate_calculated: T.nilable(::String), original_currency: T.nilable(Models::Shared::CurrencyEnum), destination_currency: T.nilable(Models::Shared::CurrencyEnum), converted_amount: T.nilable(::String), converted_taxable_amount: T.nilable(::String), converted_tax_amount_imported: T.nilable(::String), converted_tax_amount_calculated: T.nilable(::String), converted_total_discount: T.nilable(::String), converted_subtotal: T.nilable(::String), taxable_amount: T.nilable(::String), tax_exemption: T.nilable(Models::Shared::TaxExemptionEnum), exempt: T.nilable(T::Boolean), is_tax_inclusive: T.nilable(T::Boolean), total_discount: T.nilable(::String), subtotal: T.nilable(::String), is_reverse_charge_self_accounted: T.nilable(T::Boolean), recoverability_percent: T.nilable(::String), recoverable_input_vat: T.nilable(::String), converted_recoverable_input_vat: T.nilable(::String)).void }
89
+ def initialize(date:, external_product_id:, id:, tax_items:, organization_id: nil, external_id: nil, description: nil, product: nil, product_id: nil, product_name: nil, product_description: nil, quantity: '1.0', amount: '0.00', tax_amount_imported: '0.00', tax_rate_imported: '0.00', tax_amount_calculated: '0.00', tax_rate_calculated: '0.00', original_currency: nil, destination_currency: nil, converted_amount: nil, converted_taxable_amount: nil, converted_tax_amount_imported: nil, converted_tax_amount_calculated: nil, converted_total_discount: nil, converted_subtotal: nil, taxable_amount: '0.00', tax_exemption: nil, exempt: false, is_tax_inclusive: nil, total_discount: nil, subtotal: nil, is_reverse_charge_self_accounted: false, recoverability_percent: nil, recoverable_input_vat: '0.00', converted_recoverable_input_vat: nil)
81
90
  @date = date
82
91
  @external_product_id = external_product_id
83
92
  @id = id
84
93
  @tax_items = tax_items
94
+ @organization_id = organization_id
85
95
  @external_id = external_id
86
96
  @description = description
87
97
  @product = product
88
98
  @product_id = product_id
89
99
  @product_name = product_name
90
100
  @product_description = product_description
101
+ @quantity = quantity
102
+ @amount = amount
103
+ @tax_amount_imported = tax_amount_imported
104
+ @tax_rate_imported = tax_rate_imported
105
+ @tax_amount_calculated = tax_amount_calculated
106
+ @tax_rate_calculated = tax_rate_calculated
91
107
  @original_currency = original_currency
92
108
  @destination_currency = destination_currency
93
109
  @converted_amount = converted_amount
@@ -96,33 +112,38 @@ module KintsugiSDK
96
112
  @converted_tax_amount_calculated = converted_tax_amount_calculated
97
113
  @converted_total_discount = converted_total_discount
98
114
  @converted_subtotal = converted_subtotal
115
+ @taxable_amount = taxable_amount
99
116
  @tax_exemption = tax_exemption
117
+ @exempt = exempt
118
+ @is_tax_inclusive = is_tax_inclusive
100
119
  @total_discount = total_discount
101
120
  @subtotal = subtotal
102
- @quantity = quantity
103
- @amount = amount
104
- @tax_amount_imported = tax_amount_imported
105
- @tax_rate_imported = tax_rate_imported
106
- @tax_amount_calculated = tax_amount_calculated
107
- @tax_rate_calculated = tax_rate_calculated
108
- @taxable_amount = taxable_amount
109
- @exempt = exempt
121
+ @is_reverse_charge_self_accounted = is_reverse_charge_self_accounted
122
+ @recoverability_percent = recoverability_percent
123
+ @recoverable_input_vat = recoverable_input_vat
124
+ @converted_recoverable_input_vat = converted_recoverable_input_vat
110
125
  end
111
126
 
112
127
  sig { params(other: T.untyped).returns(T::Boolean) }
113
128
  def ==(other)
114
129
  return false unless other.is_a? self.class
115
- return false unless @organization_id == other.organization_id
116
130
  return false unless @date == other.date
117
131
  return false unless @external_product_id == other.external_product_id
118
132
  return false unless @id == other.id
119
133
  return false unless @tax_items == other.tax_items
134
+ return false unless @organization_id == other.organization_id
120
135
  return false unless @external_id == other.external_id
121
136
  return false unless @description == other.description
122
137
  return false unless @product == other.product
123
138
  return false unless @product_id == other.product_id
124
139
  return false unless @product_name == other.product_name
125
140
  return false unless @product_description == other.product_description
141
+ return false unless @quantity == other.quantity
142
+ return false unless @amount == other.amount
143
+ return false unless @tax_amount_imported == other.tax_amount_imported
144
+ return false unless @tax_rate_imported == other.tax_rate_imported
145
+ return false unless @tax_amount_calculated == other.tax_amount_calculated
146
+ return false unless @tax_rate_calculated == other.tax_rate_calculated
126
147
  return false unless @original_currency == other.original_currency
127
148
  return false unless @destination_currency == other.destination_currency
128
149
  return false unless @converted_amount == other.converted_amount
@@ -131,17 +152,16 @@ module KintsugiSDK
131
152
  return false unless @converted_tax_amount_calculated == other.converted_tax_amount_calculated
132
153
  return false unless @converted_total_discount == other.converted_total_discount
133
154
  return false unless @converted_subtotal == other.converted_subtotal
155
+ return false unless @taxable_amount == other.taxable_amount
134
156
  return false unless @tax_exemption == other.tax_exemption
157
+ return false unless @exempt == other.exempt
158
+ return false unless @is_tax_inclusive == other.is_tax_inclusive
135
159
  return false unless @total_discount == other.total_discount
136
160
  return false unless @subtotal == other.subtotal
137
- return false unless @quantity == other.quantity
138
- return false unless @amount == other.amount
139
- return false unless @tax_amount_imported == other.tax_amount_imported
140
- return false unless @tax_rate_imported == other.tax_rate_imported
141
- return false unless @tax_amount_calculated == other.tax_amount_calculated
142
- return false unless @tax_rate_calculated == other.tax_rate_calculated
143
- return false unless @taxable_amount == other.taxable_amount
144
- return false unless @exempt == other.exempt
161
+ return false unless @is_reverse_charge_self_accounted == other.is_reverse_charge_self_accounted
162
+ return false unless @recoverability_percent == other.recoverability_percent
163
+ return false unless @recoverable_input_vat == other.recoverable_input_vat
164
+ return false unless @converted_recoverable_input_vat == other.converted_recoverable_input_vat
145
165
  true
146
166
  end
147
167
  end
@@ -8,8 +8,6 @@ end
8
8
 
9
9
 
10
10
  class KintsugiSDK::Models::Shared::TransactionItemRead
11
- def organization_id(); end
12
- def organization_id=(str_); end
13
11
  def date(); end
14
12
  def date=(str_); end
15
13
  def external_product_id(); end
@@ -18,6 +16,8 @@ class KintsugiSDK::Models::Shared::TransactionItemRead
18
16
  def id=(str_); end
19
17
  def tax_items(); end
20
18
  def tax_items=(str_); end
19
+ def organization_id(); end
20
+ def organization_id=(str_); end
21
21
  def external_id(); end
22
22
  def external_id=(str_); end
23
23
  def description(); end
@@ -30,6 +30,18 @@ class KintsugiSDK::Models::Shared::TransactionItemRead
30
30
  def product_name=(str_); end
31
31
  def product_description(); end
32
32
  def product_description=(str_); end
33
+ def quantity(); end
34
+ def quantity=(str_); end
35
+ def amount(); end
36
+ def amount=(str_); end
37
+ def tax_amount_imported(); end
38
+ def tax_amount_imported=(str_); end
39
+ def tax_rate_imported(); end
40
+ def tax_rate_imported=(str_); end
41
+ def tax_amount_calculated(); end
42
+ def tax_amount_calculated=(str_); end
43
+ def tax_rate_calculated(); end
44
+ def tax_rate_calculated=(str_); end
33
45
  def original_currency(); end
34
46
  def original_currency=(str_); end
35
47
  def destination_currency(); end
@@ -46,26 +58,24 @@ class KintsugiSDK::Models::Shared::TransactionItemRead
46
58
  def converted_total_discount=(str_); end
47
59
  def converted_subtotal(); end
48
60
  def converted_subtotal=(str_); end
61
+ def taxable_amount(); end
62
+ def taxable_amount=(str_); end
49
63
  def tax_exemption(); end
50
64
  def tax_exemption=(str_); end
65
+ def exempt(); end
66
+ def exempt=(str_); end
67
+ def is_tax_inclusive(); end
68
+ def is_tax_inclusive=(str_); end
51
69
  def total_discount(); end
52
70
  def total_discount=(str_); end
53
71
  def subtotal(); end
54
72
  def subtotal=(str_); end
55
- def quantity(); end
56
- def quantity=(str_); end
57
- def amount(); end
58
- def amount=(str_); end
59
- def tax_amount_imported(); end
60
- def tax_amount_imported=(str_); end
61
- def tax_rate_imported(); end
62
- def tax_rate_imported=(str_); end
63
- def tax_amount_calculated(); end
64
- def tax_amount_calculated=(str_); end
65
- def tax_rate_calculated(); end
66
- def tax_rate_calculated=(str_); end
67
- def taxable_amount(); end
68
- def taxable_amount=(str_); end
69
- def exempt(); end
70
- def exempt=(str_); end
73
+ def is_reverse_charge_self_accounted(); end
74
+ def is_reverse_charge_self_accounted=(str_); end
75
+ def recoverability_percent(); end
76
+ def recoverability_percent=(str_); end
77
+ def recoverable_input_vat(); end
78
+ def recoverable_input_vat=(str_); end
79
+ def converted_recoverable_input_vat(); end
80
+ def converted_recoverable_input_vat=(str_); end
71
81
  end