fortnox-api 0.8.2 → 0.9.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 (212) hide show
  1. checksums.yaml +4 -4
  2. data/.env.template +7 -0
  3. data/.env.test +11 -3
  4. data/.gitignore +7 -1
  5. data/.rubocop.yml +17 -1
  6. data/.travis.yml +10 -9
  7. data/CHANGELOG.md +27 -6
  8. data/CONTRIBUTE.md +21 -9
  9. data/DEVELOPER_README.md +69 -0
  10. data/Guardfile +13 -4
  11. data/README.md +226 -64
  12. data/Rakefile +128 -0
  13. data/bin/get_tokens +79 -0
  14. data/bin/renew_tokens +28 -0
  15. data/fortnox-api.gemspec +10 -9
  16. data/lib/fortnox/api/mappers/base/from_json.rb +4 -3
  17. data/lib/fortnox/api/mappers/base/to_json.rb +2 -3
  18. data/lib/fortnox/api/models/article.rb +1 -1
  19. data/lib/fortnox/api/models/base.rb +12 -10
  20. data/lib/fortnox/api/models/customer.rb +55 -55
  21. data/lib/fortnox/api/models/label.rb +2 -2
  22. data/lib/fortnox/api/repositories/authentication.rb +61 -0
  23. data/lib/fortnox/api/repositories/base/savers.rb +3 -1
  24. data/lib/fortnox/api/repositories/base.rb +21 -35
  25. data/lib/fortnox/api/repositories.rb +1 -0
  26. data/lib/fortnox/api/request_handling.rb +30 -18
  27. data/lib/fortnox/api/types/document_row.rb +3 -3
  28. data/lib/fortnox/api/types/enums.rb +27 -11
  29. data/lib/fortnox/api/types/model.rb +1 -3
  30. data/lib/fortnox/api/types/sized.rb +2 -2
  31. data/lib/fortnox/api/types.rb +14 -1
  32. data/lib/fortnox/api/version.rb +1 -1
  33. data/lib/fortnox/api.rb +12 -32
  34. data/spec/fortnox/api/mappers/base/canonical_name_sym_spec.rb +4 -4
  35. data/spec/fortnox/api/mappers/base/from_json_spec.rb +10 -12
  36. data/spec/fortnox/api/mappers/base/to_json_spec.rb +48 -57
  37. data/spec/fortnox/api/mappers/base_spec.rb +4 -7
  38. data/spec/fortnox/api/mappers/contexts/json_conversion.rb +38 -33
  39. data/spec/fortnox/api/mappers/unit_spec.rb +3 -4
  40. data/spec/fortnox/api/models/base_spec.rb +27 -16
  41. data/spec/fortnox/api/models/unit_spec.rb +5 -3
  42. data/spec/fortnox/api/repositories/article_spec.rb +46 -9
  43. data/spec/fortnox/api/repositories/authentication_spec.rb +103 -0
  44. data/spec/fortnox/api/repositories/base_spec.rb +106 -319
  45. data/spec/fortnox/api/repositories/customer_spec.rb +37 -7
  46. data/spec/fortnox/api/repositories/examples/all.rb +0 -1
  47. data/spec/fortnox/api/repositories/examples/find.rb +5 -8
  48. data/spec/fortnox/api/repositories/examples/only.rb +4 -13
  49. data/spec/fortnox/api/repositories/examples/save.rb +32 -18
  50. data/spec/fortnox/api/repositories/examples/save_with_nested_model.rb +0 -5
  51. data/spec/fortnox/api/repositories/examples/save_with_specially_named_attribute.rb +1 -4
  52. data/spec/fortnox/api/repositories/examples/search.rb +4 -7
  53. data/spec/fortnox/api/repositories/invoice_spec.rb +117 -15
  54. data/spec/fortnox/api/repositories/order_spec.rb +11 -9
  55. data/spec/fortnox/api/repositories/project_spec.rb +7 -6
  56. data/spec/fortnox/api/repositories/terms_of_payment_spec.rb +9 -7
  57. data/spec/fortnox/api/repositories/unit_spec.rb +13 -11
  58. data/spec/fortnox/api/types/country_spec.rb +1 -1
  59. data/spec/fortnox/api/types/email_spec.rb +2 -2
  60. data/spec/fortnox/api/types/examples/document_row.rb +3 -3
  61. data/spec/fortnox/api/types/examples/enum.rb +4 -4
  62. data/spec/fortnox/api/types/examples/types.rb +1 -3
  63. data/spec/fortnox/api/types/housework_types_spec.rb +54 -61
  64. data/spec/fortnox/api/types/model_spec.rb +3 -7
  65. data/spec/fortnox/api/types/order_row_spec.rb +2 -2
  66. data/spec/fortnox/api/types/required_spec.rb +6 -11
  67. data/spec/fortnox/api/types/sales_account_spec.rb +57 -0
  68. data/spec/fortnox/api_spec.rb +19 -124
  69. data/spec/spec_helper.rb +0 -14
  70. data/spec/support/helpers/configuration_helper.rb +30 -3
  71. data/spec/support/helpers.rb +1 -1
  72. data/spec/support/matchers/type/attribute_matcher.rb +2 -2
  73. data/spec/support/matchers/type/have_nullable_date_matcher.rb +6 -4
  74. data/spec/support/matchers/type/have_nullable_matcher.rb +1 -1
  75. data/spec/support/matchers/type/have_nullable_string_matcher.rb +5 -5
  76. data/spec/support/matchers/type/require_attribute_matcher.rb +5 -5
  77. data/spec/support/matchers/type/type_matcher.rb +1 -1
  78. data/spec/support/vcr_setup.rb +16 -0
  79. data/spec/vcr_cassettes/articles/all.yml +16 -43
  80. data/spec/vcr_cassettes/articles/find_by_hash_failure.yml +10 -12
  81. data/spec/vcr_cassettes/articles/find_failure.yml +10 -12
  82. data/spec/vcr_cassettes/articles/find_id_1.yml +13 -14
  83. data/spec/vcr_cassettes/articles/find_new.yml +14 -16
  84. data/spec/vcr_cassettes/articles/limits/quantity_in_stock_min_value.yml +63 -0
  85. data/spec/vcr_cassettes/articles/limits/quantity_in_stock_rounding_positive_value.yml +63 -0
  86. data/spec/vcr_cassettes/articles/multi_param_find_by_hash.yml +13 -15
  87. data/spec/vcr_cassettes/articles/save_new.yml +13 -15
  88. data/spec/vcr_cassettes/articles/save_old.yml +14 -16
  89. data/spec/vcr_cassettes/articles/save_with_specially_named_attribute.yml +13 -15
  90. data/spec/vcr_cassettes/articles/search_by_name.yml +16 -15
  91. data/spec/vcr_cassettes/articles/search_miss.yml +10 -12
  92. data/spec/vcr_cassettes/articles/search_with_special_char.yml +10 -12
  93. data/spec/vcr_cassettes/articles/single_param_find_by_hash.yml +13 -27
  94. data/spec/vcr_cassettes/authentication/expired_token.yml +54 -0
  95. data/spec/vcr_cassettes/authentication/invalid_authorization.yml +57 -0
  96. data/spec/vcr_cassettes/authentication/invalid_refresh_token.yml +58 -0
  97. data/spec/vcr_cassettes/authentication/valid_request.yml +63 -0
  98. data/spec/vcr_cassettes/customers/all.yml +20 -127
  99. data/spec/vcr_cassettes/customers/find_by_hash_failure.yml +10 -12
  100. data/spec/vcr_cassettes/customers/find_failure.yml +10 -12
  101. data/spec/vcr_cassettes/customers/find_id_1.yml +14 -15
  102. data/spec/vcr_cassettes/customers/find_new.yml +13 -15
  103. data/spec/vcr_cassettes/customers/find_with_sales_account.yml +63 -0
  104. data/spec/vcr_cassettes/customers/multi_param_find_by_hash.yml +13 -15
  105. data/spec/vcr_cassettes/customers/save_new.yml +12 -14
  106. data/spec/vcr_cassettes/customers/save_new_with_country_code_SE.yml +12 -14
  107. data/spec/vcr_cassettes/customers/save_new_with_sales_account.yml +63 -0
  108. data/spec/vcr_cassettes/customers/save_old.yml +13 -15
  109. data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +12 -14
  110. data/spec/vcr_cassettes/customers/search_by_name.yml +13 -45
  111. data/spec/vcr_cassettes/customers/search_miss.yml +10 -12
  112. data/spec/vcr_cassettes/customers/search_with_special_char.yml +10 -12
  113. data/spec/vcr_cassettes/customers/single_param_find_by_hash.yml +14 -16
  114. data/spec/vcr_cassettes/invoices/all.yml +47 -112
  115. data/spec/vcr_cassettes/invoices/filter_hit.yml +14 -18
  116. data/spec/vcr_cassettes/invoices/filter_invalid.yml +10 -12
  117. data/spec/vcr_cassettes/invoices/find_by_hash_failure.yml +10 -12
  118. data/spec/vcr_cassettes/invoices/find_failure.yml +10 -12
  119. data/spec/vcr_cassettes/invoices/find_id_1.yml +15 -16
  120. data/spec/vcr_cassettes/invoices/find_new.yml +16 -18
  121. data/spec/vcr_cassettes/invoices/multi_param_find_by_hash.yml +13 -15
  122. data/spec/vcr_cassettes/invoices/row_delivered_quantity_decimals.yml +65 -0
  123. data/spec/vcr_cassettes/invoices/row_delivered_quantity_decimals_round_up.yml +65 -0
  124. data/spec/vcr_cassettes/invoices/row_description_limit.yml +65 -0
  125. data/spec/vcr_cassettes/invoices/row_price_limit.yml +65 -0
  126. data/spec/vcr_cassettes/invoices/row_price_limit_round_up.yml +65 -0
  127. data/spec/vcr_cassettes/invoices/save_new.yml +14 -16
  128. data/spec/vcr_cassettes/invoices/save_new_with_comments.yml +14 -16
  129. data/spec/vcr_cassettes/invoices/save_new_with_country.yml +14 -15
  130. data/spec/vcr_cassettes/invoices/save_new_with_country_GB.yml +15 -16
  131. data/spec/vcr_cassettes/invoices/save_new_with_country_Norge.yml +14 -15
  132. data/spec/vcr_cassettes/invoices/save_new_with_country_Norway.yml +14 -15
  133. data/spec/vcr_cassettes/invoices/save_new_with_country_Sverige.yml +14 -15
  134. data/spec/vcr_cassettes/invoices/save_new_with_country_VA.yml +15 -16
  135. data/spec/vcr_cassettes/invoices/save_new_with_country_VI.yml +15 -16
  136. data/spec/vcr_cassettes/invoices/save_new_with_country_empty_string.yml +14 -15
  137. data/spec/vcr_cassettes/invoices/save_new_with_country_nil.yml +14 -15
  138. data/spec/vcr_cassettes/invoices/save_new_with_unsaved_parent.yml +65 -0
  139. data/spec/vcr_cassettes/invoices/save_old.yml +16 -18
  140. data/spec/vcr_cassettes/invoices/save_old_with_empty_comments.yml +16 -18
  141. data/spec/vcr_cassettes/invoices/save_old_with_empty_country.yml +16 -17
  142. data/spec/vcr_cassettes/invoices/save_old_with_nil_comments.yml +16 -18
  143. data/spec/vcr_cassettes/invoices/save_old_with_nil_country.yml +16 -17
  144. data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +15 -16
  145. data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +14 -15
  146. data/spec/vcr_cassettes/invoices/search_by_name.yml +13 -21
  147. data/spec/vcr_cassettes/invoices/search_miss.yml +10 -12
  148. data/spec/vcr_cassettes/invoices/search_with_special_char.yml +10 -12
  149. data/spec/vcr_cassettes/invoices/single_param_find_by_hash.yml +14 -16
  150. data/spec/vcr_cassettes/orders/all.yml +19 -113
  151. data/spec/vcr_cassettes/orders/filter_hit.yml +14 -20
  152. data/spec/vcr_cassettes/orders/filter_invalid.yml +10 -12
  153. data/spec/vcr_cassettes/orders/find_by_hash_failure.yml +10 -12
  154. data/spec/vcr_cassettes/orders/find_failure.yml +10 -12
  155. data/spec/vcr_cassettes/orders/find_id_1.yml +17 -17
  156. data/spec/vcr_cassettes/orders/find_new.yml +16 -18
  157. data/spec/vcr_cassettes/orders/housework_invalid_tax_reduction_type.yml +11 -13
  158. data/spec/vcr_cassettes/orders/housework_othercoses_invalid.yml +11 -13
  159. data/spec/vcr_cassettes/orders/housework_type_babysitting.yml +15 -16
  160. data/spec/vcr_cassettes/orders/housework_type_cleaning.yml +15 -16
  161. data/spec/vcr_cassettes/orders/housework_type_construction.yml +15 -16
  162. data/spec/vcr_cassettes/orders/housework_type_cooking.yml +11 -13
  163. data/spec/vcr_cassettes/orders/housework_type_electricity.yml +15 -16
  164. data/spec/vcr_cassettes/orders/housework_type_gardening.yml +15 -16
  165. data/spec/vcr_cassettes/orders/housework_type_glassmetalwork.yml +15 -16
  166. data/spec/vcr_cassettes/orders/housework_type_grounddrainagework.yml +15 -16
  167. data/spec/vcr_cassettes/orders/housework_type_hvac.yml +15 -16
  168. data/spec/vcr_cassettes/orders/housework_type_itservices.yml +15 -16
  169. data/spec/vcr_cassettes/orders/housework_type_majorappliancerepair.yml +15 -16
  170. data/spec/vcr_cassettes/orders/housework_type_masonry.yml +15 -16
  171. data/spec/vcr_cassettes/orders/housework_type_movingservices.yml +15 -16
  172. data/spec/vcr_cassettes/orders/housework_type_othercare.yml +15 -16
  173. data/spec/vcr_cassettes/orders/housework_type_othercosts.yml +15 -16
  174. data/spec/vcr_cassettes/orders/housework_type_paintingwallpapering.yml +15 -16
  175. data/spec/vcr_cassettes/orders/housework_type_snowplowing.yml +15 -16
  176. data/spec/vcr_cassettes/orders/housework_type_textileclothing.yml +15 -16
  177. data/spec/vcr_cassettes/orders/housework_type_tutoring.yml +11 -13
  178. data/spec/vcr_cassettes/orders/multi_param_find_by_hash.yml +13 -15
  179. data/spec/vcr_cassettes/orders/save_new.yml +16 -18
  180. data/spec/vcr_cassettes/orders/save_old.yml +16 -18
  181. data/spec/vcr_cassettes/orders/save_with_nested_model.yml +15 -16
  182. data/spec/vcr_cassettes/orders/search_by_name.yml +13 -17
  183. data/spec/vcr_cassettes/orders/search_miss.yml +10 -12
  184. data/spec/vcr_cassettes/orders/search_with_special_char.yml +10 -12
  185. data/spec/vcr_cassettes/orders/single_param_find_by_hash.yml +14 -16
  186. data/spec/vcr_cassettes/projects/all.yml +14 -37
  187. data/spec/vcr_cassettes/projects/find_by_hash_failure.yml +10 -12
  188. data/spec/vcr_cassettes/projects/find_failure.yml +10 -12
  189. data/spec/vcr_cassettes/projects/find_id_1.yml +13 -15
  190. data/spec/vcr_cassettes/projects/find_new.yml +14 -16
  191. data/spec/vcr_cassettes/projects/multi_param_find_by_hash.yml +15 -16
  192. data/spec/vcr_cassettes/projects/save_new.yml +13 -15
  193. data/spec/vcr_cassettes/projects/save_old.yml +14 -16
  194. data/spec/vcr_cassettes/projects/single_param_find_by_hash.yml +12 -14
  195. data/spec/vcr_cassettes/termsofpayments/all.yml +16 -23
  196. data/spec/vcr_cassettes/termsofpayments/find_failure.yml +10 -12
  197. data/spec/vcr_cassettes/termsofpayments/find_id_1.yml +13 -16
  198. data/spec/vcr_cassettes/termsofpayments/find_new.yml +12 -14
  199. data/spec/vcr_cassettes/termsofpayments/save_new.yml +12 -14
  200. data/spec/vcr_cassettes/termsofpayments/save_old.yml +12 -14
  201. data/spec/vcr_cassettes/units/all.yml +13 -24
  202. data/spec/vcr_cassettes/units/find_failure.yml +10 -12
  203. data/spec/vcr_cassettes/units/find_id_1.yml +13 -15
  204. data/spec/vcr_cassettes/units/find_new.yml +12 -14
  205. data/spec/vcr_cassettes/units/save_new.yml +12 -14
  206. data/spec/vcr_cassettes/units/save_old.yml +12 -14
  207. data/spec/vcr_cassettes/units/save_with_specially_named_attribute.yml +12 -14
  208. metadata +45 -230
  209. data/lib/fortnox/api/circular_queue.rb +0 -39
  210. data/spec/fortnox/api/circular_queue_spec.rb +0 -52
  211. data/spec/support/helpers/when_performing_helper.rb +0 -7
  212. data/temp.txt +0 -1
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.fortnox.se/3/invoices/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Invoice":{"CustomerNumber":"1","InvoiceRows":[{"ArticleNumber":"101","Description":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}]}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept:
13
+ - application/json
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Content-Type:
26
+ - application/json
27
+ Date:
28
+ - Mon, 30 Jan 2023 10:11:04 GMT
29
+ Location:
30
+ - invoices
31
+ X-Build:
32
+ - 16d854443d
33
+ X-Frame-Options:
34
+ - sameorigin
35
+ X-Rack-Responsetime:
36
+ - '427'
37
+ X-Uid:
38
+ - 2f06d75f
39
+ Transfer-Encoding:
40
+ - chunked
41
+ Server:
42
+ - Fortnox
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Xss-Protection:
46
+ - '0'
47
+ Referrer-Policy:
48
+ - strict-origin-when-cross-origin
49
+ Content-Security-Policy:
50
+ - 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
51
+ /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
52
+ *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
53
+ s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
54
+ fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval''
55
+ blob: data:'
56
+ Strict-Transport-Security:
57
+ - max-age=31536000; includeSubdomains
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/32","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=32","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"","ContractReference":0,"ContributionPercent":0,"ContributionValue":0,"Country":"","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"32","DueDate":"2023-03-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2023-01-30","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[{"AccountNumber":3001,"ArticleNumber":"101","ContributionPercent":"0","ContributionValue":"0","Cost":0,"CostCenter":"","DeliveredQuantity":"0","Description":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","Discount":0,"DiscountType":"PERCENT","HouseWork":false,"HouseWorkHoursToReport":null,"HouseWorkType":null,"Price":0,"PriceExcludingVAT":0,"Project":"","RowId":3,"StockPointCode":null,"Total":0,"TotalExcludingVAT":0,"Unit":"","VAT":0}],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"3244","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2023-01-30","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
64
+ recorded_at: Mon, 30 Jan 2023 10:11:04 GMT
65
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.fortnox.se/3/invoices/
6
+ body:
7
+ encoding: UTF-8
8
+ string: "<REFRESH_TOKEN>"
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept:
13
+ - application/json
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Content-Type:
26
+ - application/json
27
+ Date:
28
+ - Mon, 02 Dec 2024 09:22:00 GMT
29
+ Location:
30
+ - invoices
31
+ X-Build:
32
+ - f42866f6f7
33
+ X-Frame-Options:
34
+ - sameorigin
35
+ X-Rack-Responsetime:
36
+ - '487'
37
+ X-Uid:
38
+ - a75367ce
39
+ Transfer-Encoding:
40
+ - chunked
41
+ Server:
42
+ - Fortnox
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Xss-Protection:
46
+ - '0'
47
+ Referrer-Policy:
48
+ - strict-origin-when-cross-origin
49
+ Content-Security-Policy:
50
+ - 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
51
+ /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
52
+ *.fortnox.se *.findity.com *.ingest.de.sentry.io mybusiness.pwc.se themes.googleusercontent.com
53
+ s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
54
+ fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
55
+ ''unsafe-eval'' blob: data:'
56
+ Strict-Transport-Security:
57
+ - max-age=31536000; includeSubdomains
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/39","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=39","AccountingMethod":"ACCRUAL","Address1":"","Address2":"","AdministrationFee":0,"AdministrationFeeVAT":0,"Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"CostCenter":"","Country":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"39","DueDate":"2025-01-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EUQuarterlyReport":false,"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","FinalPayDate":null,"Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-12-02","InvoicePeriodEnd":"","InvoicePeriodStart":"","InvoiceReference":"0","InvoiceRows":[{"AccountNumber":3001,"ArticleNumber":"101","ContributionPercent":"0","ContributionValue":"0","Cost":0,"CostCenter":"","DeliveredQuantity":"0","Description":"Test","Discount":0,"DiscountType":"PERCENT","HouseWork":false,"HouseWorkHoursToReport":null,"HouseWorkType":null,"Price":1.12,"PriceExcludingVAT":1.12,"Project":"","RowId":27,"StockPointCode":null,"Total":0,"TotalExcludingVAT":0,"Unit":"","VAT":0,"VATCode":null}],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"3947","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","OutboundDate":"2024-12-02","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TaxReductionType":"none","TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WarehouseReady":true,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001"}}'
64
+ recorded_at: Mon, 02 Dec 2024 09:22:00 GMT
65
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.fortnox.se/3/invoices/
6
+ body:
7
+ encoding: UTF-8
8
+ string: "<REFRESH_TOKEN>"
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept:
13
+ - application/json
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Content-Type:
26
+ - application/json
27
+ Date:
28
+ - Mon, 02 Dec 2024 09:22:29 GMT
29
+ Location:
30
+ - invoices
31
+ X-Build:
32
+ - f42866f6f7
33
+ X-Frame-Options:
34
+ - sameorigin
35
+ X-Rack-Responsetime:
36
+ - '387'
37
+ X-Uid:
38
+ - 4dfe0e45
39
+ Transfer-Encoding:
40
+ - chunked
41
+ Server:
42
+ - Fortnox
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Xss-Protection:
46
+ - '0'
47
+ Referrer-Policy:
48
+ - strict-origin-when-cross-origin
49
+ Content-Security-Policy:
50
+ - 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
51
+ /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
52
+ *.fortnox.se *.findity.com *.ingest.de.sentry.io mybusiness.pwc.se themes.googleusercontent.com
53
+ s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
54
+ fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
55
+ ''unsafe-eval'' blob: data:'
56
+ Strict-Transport-Security:
57
+ - max-age=31536000; includeSubdomains
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/40","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=40","AccountingMethod":"ACCRUAL","Address1":"","Address2":"","AdministrationFee":0,"AdministrationFeeVAT":0,"Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"CostCenter":"","Country":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"40","DueDate":"2025-01-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EUQuarterlyReport":false,"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","FinalPayDate":null,"Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-12-02","InvoicePeriodEnd":"","InvoicePeriodStart":"","InvoiceReference":"0","InvoiceRows":[{"AccountNumber":3001,"ArticleNumber":"101","ContributionPercent":"0","ContributionValue":"0","Cost":0,"CostCenter":"","DeliveredQuantity":"0","Description":"Test","Discount":0,"DiscountType":"PERCENT","HouseWork":false,"HouseWorkHoursToReport":null,"HouseWorkType":null,"Price":1.13,"PriceExcludingVAT":1.13,"Project":"","RowId":28,"StockPointCode":null,"Total":0,"TotalExcludingVAT":0,"Unit":"","VAT":0,"VATCode":null}],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"4044","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","OutboundDate":"2024-12-02","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TaxReductionType":"none","TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WarehouseReady":true,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001"}}'
64
+ recorded_at: Mon, 02 Dec 2024 09:22:29 GMT
65
+ recorded_with: VCR 6.2.0
@@ -11,10 +11,8 @@ http_interactions:
11
11
  - application/json
12
12
  Accept:
13
13
  - application/json
14
- Client-Secret:
15
- - 9aBA8ZgsvR
16
- Access-Token:
17
- - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
18
16
  Accept-Encoding:
19
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
18
  User-Agent:
@@ -27,17 +25,17 @@ http_interactions:
27
25
  Content-Type:
28
26
  - application/json
29
27
  Date:
30
- - Mon, 22 Jan 2024 14:52:51 GMT
28
+ - Mon, 30 Jan 2023 10:10:53 GMT
31
29
  Location:
32
30
  - invoices
33
31
  X-Build:
34
- - 9dd4e26746
32
+ - 16d854443d
35
33
  X-Frame-Options:
36
34
  - sameorigin
37
35
  X-Rack-Responsetime:
38
- - '134'
36
+ - '362'
39
37
  X-Uid:
40
- - 1a4e3f76
38
+ - b29abb4d
41
39
  Transfer-Encoding:
42
40
  - chunked
43
41
  Server:
@@ -53,15 +51,15 @@ http_interactions:
53
51
  /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
54
52
  *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
55
53
  s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
56
- fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
57
- ''unsafe-eval'' blob: data:'
54
+ fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval''
55
+ blob: data:'
58
56
  Strict-Transport-Security:
59
57
  - max-age=31536000; includeSubdomains
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/190","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=190","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"","Comments":"A
63
- value","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"Country":"","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
64
- name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"190","DueDate":"2024-01-22","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
65
- {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-01-22","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"19059","OfferReference":"0","OrderReference":"0","OrganisationNumber":"860101-8735","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2024-01-22","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
66
- recorded_at: Mon, 22 Jan 2024 14:52:51 GMT
67
- recorded_with: VCR 6.2.0
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/18","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=18","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"A value","ContractReference":0,"ContributionPercent":0,"ContributionValue":0,"Country":"","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"18","DueDate":"2023-03-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2023-01-30","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"1842","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2023-01-30","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
64
+ recorded_at: Mon, 30 Jan 2023 10:10:53 GMT
65
+ recorded_with: VCR 6.1.0
@@ -11,10 +11,8 @@ http_interactions:
11
11
  - application/json
12
12
  Accept:
13
13
  - application/json
14
- Client-Secret:
15
- - 9aBA8ZgsvR
16
- Access-Token:
17
- - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
18
16
  Accept-Encoding:
19
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
18
  User-Agent:
@@ -27,17 +25,17 @@ http_interactions:
27
25
  Content-Type:
28
26
  - application/json
29
27
  Date:
30
- - Mon, 22 Jan 2024 14:54:34 GMT
28
+ - Mon, 30 Jan 2023 10:11:02 GMT
31
29
  Location:
32
30
  - invoices
33
31
  X-Build:
34
- - 9dd4e26746
32
+ - 16d854443d
35
33
  X-Frame-Options:
36
34
  - sameorigin
37
35
  X-Rack-Responsetime:
38
- - '178'
36
+ - '401'
39
37
  X-Uid:
40
- - 0512b8c5
38
+ - 5e65cc9d
41
39
  Transfer-Encoding:
42
40
  - chunked
43
41
  Server:
@@ -53,15 +51,15 @@ http_interactions:
53
51
  /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
54
52
  *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
55
53
  s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
56
- fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
57
- ''unsafe-eval'' blob: data:'
54
+ fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval''
55
+ blob: data:'
58
56
  Strict-Transport-Security:
59
57
  - max-age=31536000; includeSubdomains
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/200","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=200","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"","Comments":"A
63
- comment to be reset","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"Country":"","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
64
- name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"200","DueDate":"2024-01-22","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
65
- {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-01-22","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"20057","OfferReference":"0","OrderReference":"0","OrganisationNumber":"860101-8735","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2024-01-22","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
66
- recorded_at: Mon, 22 Jan 2024 14:54:34 GMT
67
- recorded_with: VCR 6.2.0
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/30","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=30","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"A comment to be reset","ContractReference":0,"ContributionPercent":0,"ContributionValue":0,"Country":"","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"30","DueDate":"2023-03-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2023-01-30","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"3046","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2023-01-30","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
64
+ recorded_at: Mon, 30 Jan 2023 10:11:02 GMT
65
+ recorded_with: VCR 6.1.0
@@ -11,10 +11,8 @@ http_interactions:
11
11
  - application/json
12
12
  Accept:
13
13
  - application/json
14
- Client-Secret:
15
- - 9aBA8ZgsvR
16
- Access-Token:
17
- - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
18
16
  Accept-Encoding:
19
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
18
  User-Agent:
@@ -27,17 +25,17 @@ http_interactions:
27
25
  Content-Type:
28
26
  - application/json
29
27
  Date:
30
- - Mon, 22 Jan 2024 14:54:35 GMT
28
+ - Mon, 30 Jan 2023 10:11:03 GMT
31
29
  Location:
32
30
  - invoices
33
31
  X-Build:
34
- - 9dd4e26746
32
+ - 16d854443d
35
33
  X-Frame-Options:
36
34
  - sameorigin
37
35
  X-Rack-Responsetime:
38
- - '145'
36
+ - '408'
39
37
  X-Uid:
40
- - 2379ecc4
38
+ - 243bb722
41
39
  Transfer-Encoding:
42
40
  - chunked
43
41
  Server:
@@ -53,14 +51,15 @@ http_interactions:
53
51
  /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
54
52
  *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
55
53
  s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
56
- fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
57
- ''unsafe-eval'' blob: data:'
54
+ fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval''
55
+ blob: data:'
58
56
  Strict-Transport-Security:
59
57
  - max-age=31536000; includeSubdomains
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/201","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=201","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"","Comments":"","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"Country":"Sverige","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
63
- name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"201","DueDate":"2024-01-22","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
64
- {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-01-22","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"20156","OfferReference":"0","OrderReference":"0","OrganisationNumber":"860101-8735","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2024-01-22","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
65
- recorded_at: Mon, 22 Jan 2024 14:54:35 GMT
66
- recorded_with: VCR 6.2.0
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/31","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=31","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"","ContractReference":0,"ContributionPercent":0,"ContributionValue":0,"Country":"Sverige","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"31","DueDate":"2023-03-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2023-01-30","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"3145","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2023-01-30","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
64
+ recorded_at: Mon, 30 Jan 2023 10:11:03 GMT
65
+ recorded_with: VCR 6.1.0
@@ -11,10 +11,8 @@ http_interactions:
11
11
  - application/json
12
12
  Accept:
13
13
  - application/json
14
- Client-Secret:
15
- - 9aBA8ZgsvR
16
- Access-Token:
17
- - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
18
16
  Accept-Encoding:
19
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
18
  User-Agent:
@@ -27,17 +25,17 @@ http_interactions:
27
25
  Content-Type:
28
26
  - application/json
29
27
  Date:
30
- - Mon, 22 Jan 2024 14:54:34 GMT
28
+ - Mon, 30 Jan 2023 10:11:00 GMT
31
29
  Location:
32
30
  - invoices
33
31
  X-Build:
34
- - 9dd4e26746
32
+ - 16d854443d
35
33
  X-Frame-Options:
36
34
  - sameorigin
37
35
  X-Rack-Responsetime:
38
- - '162'
36
+ - '362'
39
37
  X-Uid:
40
- - fcaf9d30
38
+ - ef2e8ad9
41
39
  Transfer-Encoding:
42
40
  - chunked
43
41
  Server:
@@ -53,15 +51,16 @@ http_interactions:
53
51
  /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
54
52
  *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
55
53
  s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
56
- fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
57
- ''unsafe-eval'' blob: data:'
54
+ fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval''
55
+ blob: data:'
58
56
  Strict-Transport-Security:
59
57
  - max-age=31536000; includeSubdomains
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/197","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=197","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"","Comments":"","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"Country":"United
63
- Kingdom","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
64
- name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"197","DueDate":"2024-01-22","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
65
- {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-01-22","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"19752","OfferReference":"0","OrderReference":"0","OrganisationNumber":"860101-8735","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2024-01-22","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
66
- recorded_at: Mon, 22 Jan 2024 14:54:34 GMT
67
- recorded_with: VCR 6.2.0
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/26","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=26","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"","ContractReference":0,"ContributionPercent":0,"ContributionValue":0,"Country":"United
62
+ Kingdom","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
63
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"26","DueDate":"2023-03-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
64
+ {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2023-01-30","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"2642","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2023-01-30","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
65
+ recorded_at: Mon, 30 Jan 2023 10:11:00 GMT
66
+ recorded_with: VCR 6.1.0
@@ -11,10 +11,8 @@ http_interactions:
11
11
  - application/json
12
12
  Accept:
13
13
  - application/json
14
- Client-Secret:
15
- - 9aBA8ZgsvR
16
- Access-Token:
17
- - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
14
+ Authorization:
15
+ - "<AUTHORIZATION>"
18
16
  Accept-Encoding:
19
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
18
  User-Agent:
@@ -27,17 +25,17 @@ http_interactions:
27
25
  Content-Type:
28
26
  - application/json
29
27
  Date:
30
- - Mon, 22 Jan 2024 14:54:33 GMT
28
+ - Mon, 30 Jan 2023 10:10:58 GMT
31
29
  Location:
32
30
  - invoices
33
31
  X-Build:
34
- - 9dd4e26746
32
+ - 16d854443d
35
33
  X-Frame-Options:
36
34
  - sameorigin
37
35
  X-Rack-Responsetime:
38
- - '125'
36
+ - '352'
39
37
  X-Uid:
40
- - dee5d09e
38
+ - 9c6bc642
41
39
  Transfer-Encoding:
42
40
  - chunked
43
41
  Server:
@@ -53,14 +51,15 @@ http_interactions:
53
51
  /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
54
52
  *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
55
53
  s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
56
- fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
57
- ''unsafe-eval'' blob: data:'
54
+ fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval''
55
+ blob: data:'
58
56
  Strict-Transport-Security:
59
57
  - max-age=31536000; includeSubdomains
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/194","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=194","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"","Comments":"","ContractReference":"0","ContributionPercent":0,"ContributionValue":0,"Country":"Norway","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
63
- name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"194","DueDate":"2024-01-22","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
64
- {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2024-01-22","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"19455","OfferReference":"0","OrderReference":"0","OrganisationNumber":"860101-8735","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2024-01-22","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
65
- recorded_at: Mon, 22 Jan 2024 14:54:33 GMT
66
- recorded_with: VCR 6.2.0
60
+ string: '{"Invoice":{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/23","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=invoices&referencenumber=23","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","Balance":0,"BasisTaxReduction":0,"Booked":false,"Cancelled":false,"City":"New
61
+ York","Comments":"","ContractReference":0,"ContributionPercent":0,"ContributionValue":0,"Country":"Norway","CostCenter":"","Credit":"false","CreditInvoiceReference":"0","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Updated
62
+ name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"23","DueDate":"2023-03-01","EDIInformation":{"EDIGlobalLocationNumber":null,"EDIGlobalLocationNumberDelivery":null,"EDIInvoiceExtra1":null,"EDIInvoiceExtra2":null,"EDIOurElectronicReference":null,"EDIYourElectronicReference":null,"EDIStatus":""},"EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Faktura
63
+ {no} bifogas","EmailBody":" "},"EUQuarterlyReport":false,"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceDate":"2023-01-30","InvoicePeriodStart":"","InvoicePeriodEnd":"","InvoiceReference":"0","InvoiceRows":[],"InvoiceType":"INVOICE","Labels":[],"Language":"SV","LastRemindDate":null,"Net":0,"NotCompleted":false,"NoxFinans":false,"OCR":"2345","OfferReference":"0","OrderReference":"0","OrganisationNumber":"","OurReference":"","PaymentWay":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"st","Project":"","WarehouseReady":true,"OutboundDate":"2023-01-30","Remarks":"","Reminders":0,"RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"30","TimeBasisReference":null,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","YourOrderNumber":"","YourReference":"","ZipCode":"10001","AccountingMethod":"ACCRUAL","FinalPayDate":null,"TaxReductionType":"none"}}'
64
+ recorded_at: Mon, 30 Jan 2023 10:10:58 GMT
65
+ recorded_with: VCR 6.1.0