fortnox-api 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +3 -2
- data/.env.test +3 -0
- data/.rubocop.yml +32 -23
- data/.travis.yml +3 -2
- data/Guardfile +2 -2
- data/LICENSE.txt +165 -22
- data/README.md +56 -37
- data/fortnox-api.gemspec +9 -6
- data/lib/fortnox/api.rb +18 -2
- data/lib/fortnox/api/base.rb +5 -3
- data/lib/fortnox/api/environment_validation.rb +51 -6
- data/lib/fortnox/api/mappers.rb +49 -0
- data/lib/fortnox/api/mappers/base.rb +47 -0
- data/lib/fortnox/api/mappers/base/from_json.rb +78 -0
- data/lib/fortnox/api/mappers/base/to_json.rb +65 -0
- data/lib/fortnox/api/mappers/customer.rb +27 -0
- data/lib/fortnox/api/mappers/default_delivery_types.rb +13 -0
- data/lib/fortnox/api/mappers/default_templates.rb +15 -0
- data/lib/fortnox/api/mappers/edi_information.rb +22 -0
- data/lib/fortnox/api/mappers/email_information.rb +18 -0
- data/lib/fortnox/api/mappers/invoice.rb +27 -0
- data/lib/fortnox/api/mappers/invoice_row.rb +20 -0
- data/lib/fortnox/api/mappers/order.rb +23 -0
- data/lib/fortnox/api/mappers/order_row.rb +16 -0
- data/lib/fortnox/api/models.rb +2 -0
- data/lib/fortnox/api/models/base.rb +56 -13
- data/lib/fortnox/api/models/customer.rb +112 -101
- data/lib/fortnox/api/models/document_base.rb +189 -0
- data/lib/fortnox/api/models/invoice.rb +29 -195
- data/lib/fortnox/api/models/label.rb +17 -0
- data/lib/fortnox/api/models/order.rb +27 -0
- data/lib/fortnox/api/repositories.rb +2 -0
- data/lib/fortnox/api/repositories/base.rb +4 -5
- data/lib/fortnox/api/repositories/base/loaders.rb +22 -14
- data/lib/fortnox/api/repositories/base/savers.rb +30 -16
- data/lib/fortnox/api/repositories/customer.rb +3 -25
- data/lib/fortnox/api/repositories/invoice.rb +3 -22
- data/lib/fortnox/api/repositories/order.rb +16 -0
- data/lib/fortnox/api/request_handling.rb +3 -3
- data/lib/fortnox/api/types.rb +44 -0
- data/lib/fortnox/api/types/default_delivery_types.rb +20 -0
- data/lib/fortnox/api/types/default_templates.rb +23 -0
- data/lib/fortnox/api/types/defaulted.rb +11 -0
- data/lib/fortnox/api/types/document_row.rb +65 -0
- data/lib/fortnox/api/types/edi_information.rb +29 -0
- data/lib/fortnox/api/types/email_information.rb +26 -0
- data/lib/fortnox/api/types/enums.rb +75 -0
- data/lib/fortnox/api/types/invoice_row.rb +19 -0
- data/lib/fortnox/api/types/model.rb +40 -0
- data/lib/fortnox/api/types/nullable.rb +21 -0
- data/lib/fortnox/api/types/order_row.rb +16 -0
- data/lib/fortnox/api/types/required.rb +13 -0
- data/lib/fortnox/api/types/sized.rb +25 -0
- data/lib/fortnox/api/version.rb +1 -1
- data/spec/fortnox/api/base_spec.rb +85 -14
- data/spec/fortnox/api/mappers/base/from_json_spec.rb +70 -0
- data/spec/fortnox/api/mappers/base/to_json_spec.rb +76 -0
- data/spec/fortnox/api/mappers/base_spec.rb +156 -0
- data/spec/fortnox/api/mappers/contexts/json_conversion.rb +56 -0
- data/spec/fortnox/api/mappers/customer_spec.rb +25 -0
- data/spec/fortnox/api/mappers/default_delivery_types_spec.rb +12 -0
- data/spec/fortnox/api/mappers/edi_information_spec.rb +21 -0
- data/spec/fortnox/api/mappers/email_information_spec.rb +17 -0
- data/spec/fortnox/api/mappers/examples/mapper.rb +26 -0
- data/spec/fortnox/api/mappers/invoice_row_spec.rb +19 -0
- data/spec/fortnox/api/mappers/invoice_spec.rb +24 -0
- data/spec/fortnox/api/mappers/order_row_spec.rb +14 -0
- data/spec/fortnox/api/mappers/order_spec.rb +20 -0
- data/spec/fortnox/api/models/base_spec.rb +44 -22
- data/spec/fortnox/api/models/customer_spec.rb +9 -0
- data/spec/fortnox/api/models/examples/document_base.rb +13 -0
- data/spec/fortnox/api/models/examples/model.rb +13 -0
- data/spec/fortnox/api/models/invoice_spec.rb +7 -31
- data/spec/fortnox/api/models/order_spec.rb +13 -0
- data/spec/fortnox/api/repositories/customer_spec.rb +20 -76
- data/spec/fortnox/api/repositories/examples/all.rb +17 -0
- data/spec/fortnox/api/repositories/examples/find.rb +25 -0
- data/spec/fortnox/api/repositories/examples/only.rb +42 -0
- data/spec/fortnox/api/repositories/examples/save.rb +69 -0
- data/spec/fortnox/api/repositories/examples/save_with_nested_model.rb +32 -0
- data/spec/fortnox/api/repositories/examples/save_with_specially_named_attribute.rb +27 -0
- data/spec/fortnox/api/repositories/examples/search.rb +31 -0
- data/spec/fortnox/api/repositories/invoice_spec.rb +36 -5
- data/spec/fortnox/api/repositories/order_spec.rb +35 -0
- data/spec/fortnox/api/types/account_number_spec.rb +28 -0
- data/spec/fortnox/api/types/default_delivery_types_spec.rb +10 -0
- data/spec/fortnox/api/types/edi_information_spec.rb +13 -0
- data/spec/fortnox/api/types/email_information_spec.rb +13 -0
- data/spec/fortnox/api/types/email_spec.rb +29 -0
- data/spec/fortnox/api/types/enums_spec.rb +13 -0
- data/spec/fortnox/api/types/examples/document_row.rb +15 -0
- data/spec/fortnox/api/types/examples/enum.rb +48 -0
- data/spec/fortnox/api/types/examples/types.rb +9 -0
- data/spec/fortnox/api/types/house_work_types_spec.rb +60 -0
- data/spec/fortnox/api/types/invoice_row_spec.rb +9 -0
- data/spec/fortnox/api/types/model_spec.rb +56 -0
- data/spec/fortnox/api/types/nullable_spec.rb +57 -0
- data/spec/fortnox/api/types/order_row_spec.rb +13 -0
- data/spec/fortnox/api/types/required_spec.rb +42 -0
- data/spec/fortnox/api/types/sized_spec.rb +74 -0
- data/spec/fortnox/api_spec.rb +16 -15
- data/spec/spec_helper.rb +19 -9
- data/spec/support/helpers/dummy_class_helper.rb +19 -0
- data/spec/support/helpers/environment_helper.rb +7 -0
- data/spec/support/helpers/repository_helper.rb +8 -0
- data/spec/support/helpers/when_performing_helper.rb +5 -0
- data/spec/support/matchers.rb +1 -1
- data/spec/support/matchers/type.rb +17 -0
- data/spec/support/matchers/type/attribute_matcher.rb +39 -0
- data/spec/support/matchers/type/enum_matcher.rb +21 -0
- data/spec/support/matchers/type/have_account_number_matcher.rb +21 -0
- data/spec/support/matchers/type/have_country_code_matcher.rb +13 -0
- data/spec/support/matchers/type/have_currency_matcher.rb +7 -0
- data/spec/support/matchers/type/have_customer_type_matcher.rb +13 -0
- data/spec/support/matchers/type/have_default_delivery_type_matcher.rb +7 -0
- data/spec/support/matchers/type/have_discount_type_matcher.rb +7 -0
- data/spec/support/matchers/type/have_email_matcher.rb +22 -0
- data/spec/support/matchers/type/have_house_work_type_matcher.rb +7 -0
- data/spec/support/matchers/type/have_nullable_date_matcher.rb +58 -0
- data/spec/support/matchers/type/have_nullable_matcher.rb +52 -0
- data/spec/support/matchers/type/have_nullable_string_matcher.rb +49 -0
- data/spec/support/matchers/type/have_sized_float_matcher.rb +8 -0
- data/spec/support/matchers/type/have_sized_integer_matcher.rb +8 -0
- data/spec/support/matchers/type/have_sized_string_matcher.rb +35 -0
- data/spec/support/matchers/type/have_vat_type_matcher.rb +7 -0
- data/spec/support/matchers/type/numeric_matcher.rb +50 -0
- data/spec/support/matchers/type/require_attribute_matcher.rb +69 -0
- data/spec/support/matchers/type/type_matcher.rb +38 -0
- data/spec/vcr_cassettes/customers/all.yml +119 -9
- data/spec/vcr_cassettes/customers/find_id_1.yml +8 -9
- data/spec/vcr_cassettes/customers/find_new.yml +46 -0
- data/spec/vcr_cassettes/customers/save_new.yml +9 -11
- data/spec/vcr_cassettes/customers/save_old.yml +9 -12
- data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +45 -0
- data/spec/vcr_cassettes/customers/search_by_name.yml +66 -0
- data/spec/vcr_cassettes/customers/search_miss.yml +45 -0
- data/spec/vcr_cassettes/invoices/all.yml +104 -0
- data/spec/vcr_cassettes/invoices/filter_hit.yml +46 -0
- data/spec/vcr_cassettes/invoices/filter_invalid.yml +42 -0
- data/spec/vcr_cassettes/invoices/find_id_1.yml +47 -0
- data/spec/vcr_cassettes/invoices/find_new.yml +49 -0
- data/spec/vcr_cassettes/invoices/save_new.yml +48 -0
- data/spec/vcr_cassettes/invoices/save_old.yml +49 -0
- data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +47 -0
- data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +47 -0
- data/spec/vcr_cassettes/invoices/search_by_name.yml +48 -0
- data/spec/vcr_cassettes/invoices/search_miss.yml +45 -0
- data/spec/vcr_cassettes/orders/all.yml +144 -0
- data/spec/vcr_cassettes/orders/filter_hit.yml +48 -0
- data/spec/vcr_cassettes/orders/filter_invalid.yml +42 -0
- data/spec/vcr_cassettes/orders/find_id_1.yml +48 -0
- data/spec/vcr_cassettes/orders/find_new.yml +49 -0
- data/spec/vcr_cassettes/orders/house_work_type_babysitting.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_cleaning.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_construction.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_cooking.yml +43 -0
- data/spec/vcr_cassettes/orders/house_work_type_electricity.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_gardening.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_glassmetalwork.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_grounddrainagework.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_hvac.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_masonry.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_othercare.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_othercosts.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_paintingwallpapering.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_snowplowing.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_textileclothing.yml +47 -0
- data/spec/vcr_cassettes/orders/house_work_type_tutoring.yml +43 -0
- data/spec/vcr_cassettes/orders/save_new.yml +48 -0
- data/spec/vcr_cassettes/orders/save_old.yml +49 -0
- data/spec/vcr_cassettes/orders/save_with_nested_model.yml +47 -0
- data/spec/vcr_cassettes/orders/search_by_name.yml +47 -0
- data/spec/vcr_cassettes/orders/search_miss.yml +45 -0
- metadata +301 -71
- data/lib/fortnox/api/models/attributes/country_code.rb +0 -17
- data/lib/fortnox/api/models/attributes/currency.rb +0 -17
- data/lib/fortnox/api/models/edi_information.rb +0 -28
- data/lib/fortnox/api/models/email_information.rb +0 -25
- data/lib/fortnox/api/models/row.rb +0 -82
- data/lib/fortnox/api/repositories/base/json_convertion.rb +0 -68
- data/lib/fortnox/api/repositories/base/options.rb +0 -33
- data/lib/fortnox/api/validators.rb +0 -1
- data/lib/fortnox/api/validators/attributes/country_code.rb +0 -42
- data/lib/fortnox/api/validators/attributes/currency.rb +0 -38
- data/lib/fortnox/api/validators/base.rb +0 -70
- data/lib/fortnox/api/validators/constant.rb +0 -21
- data/lib/fortnox/api/validators/customer.rb +0 -29
- data/lib/fortnox/api/validators/edi_information.rb +0 -11
- data/lib/fortnox/api/validators/email_information.rb +0 -19
- data/lib/fortnox/api/validators/invoice.rb +0 -33
- data/lib/fortnox/api/validators/row.rb +0 -22
- data/spec/fortnox/api/models/attributes/country_code_spec.rb +0 -23
- data/spec/fortnox/api/models/attributes/currency_spec.rb +0 -23
- data/spec/fortnox/api/models/attributes/dummy_model_context.rb +0 -9
- data/spec/fortnox/api/models/row_spec.rb +0 -13
- data/spec/fortnox/api/repositories/context.rb +0 -10
- data/spec/fortnox/api/repositories/examples.rb +0 -16
- data/spec/fortnox/api/validators/attributes/country_code_spec.rb +0 -9
- data/spec/fortnox/api/validators/attributes/currency_spec.rb +0 -9
- data/spec/fortnox/api/validators/attributes/examples_for_validate.rb +0 -29
- data/spec/fortnox/api/validators/base_spec.rb +0 -61
- data/spec/fortnox/api/validators/constant_spec.rb +0 -12
- data/spec/fortnox/api/validators/context.rb +0 -102
- data/spec/fortnox/api/validators/customer_spec.rb +0 -31
- data/spec/fortnox/api/validators/edi_information_spec.rb +0 -18
- data/spec/fortnox/api/validators/email_information_spec.rb +0 -26
- data/spec/fortnox/api/validators/invoice_spec.rb +0 -36
- data/spec/fortnox/api/validators/row_spec.rb +0 -27
- data/spec/fortnox/api/validators/validator_examples.rb +0 -20
- data/spec/support/matchers/models.rb +0 -27
- data/spec/support/matchers/validators.rb +0 -36
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/invoices/?customername=Test
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:48 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Accept-Encoding
|
34
|
+
X-Rack-Responsetime:
|
35
|
+
- '55'
|
36
|
+
X-Uid:
|
37
|
+
- 84a3db9c
|
38
|
+
X-Build:
|
39
|
+
- 76600b8d0c
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"MetaInformation":{"@TotalResources":3,"@TotalPages":1,"@CurrentPage":1},"Invoices":[{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/1","Balance":0,"Booked":false,"Cancelled":false,"Currency":"SEK","CurrencyRate":"1","CurrencyUnit":1,"CustomerName":"Test","CustomerNumber":"1","DocumentNumber":"1","DueDate":"2016-02-04","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","InvoiceDate":"2016-02-04","NoxFinans":false,"OCR":"133","WayOfDelivery":"","TermsOfPayment":"0","Project":"","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/15","Balance":0,"Booked":true,"Cancelled":false,"Currency":"SEK","CurrencyRate":"1","CurrencyUnit":1,"CustomerName":"Test
|
43
|
+
customer","CustomerNumber":"3","DocumentNumber":"15","DueDate":"2016-05-15","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","InvoiceDate":"2016-05-15","NoxFinans":false,"OCR":"1545","WayOfDelivery":"","TermsOfPayment":"0","Project":"2","Sent":false,"Total":138},{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/24","Balance":26,"Booked":false,"Cancelled":false,"Currency":"SEK","CurrencyRate":"1","CurrencyUnit":1,"CustomerName":"Test
|
44
|
+
customer","CustomerNumber":"3","DocumentNumber":"24","DueDate":"2016-09-09","ExternalInvoiceReference1":"An
|
45
|
+
external reference","ExternalInvoiceReference2":"","InvoiceDate":"2016-09-09","NoxFinans":false,"OCR":"2444","WayOfDelivery":"","TermsOfPayment":"0","Project":"1","Sent":false,"Total":26}]}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Tue, 25 Oct 2016 10:21:48 GMT
|
48
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/invoices/?customername=nothing
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:48 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Accept-Encoding
|
34
|
+
X-Rack-Responsetime:
|
35
|
+
- '52'
|
36
|
+
X-Uid:
|
37
|
+
- 6368cb9c
|
38
|
+
X-Build:
|
39
|
+
- 76600b8d0c
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"MetaInformation":{"@TotalResources":0,"@TotalPages":0,"@CurrentPage":1},"Invoices":[]}'
|
43
|
+
http_version:
|
44
|
+
recorded_at: Tue, 25 Oct 2016 10:21:48 GMT
|
45
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,144 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/orders/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:56 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Accept-Encoding
|
34
|
+
X-Rack-Responsetime:
|
35
|
+
- '68'
|
36
|
+
X-Uid:
|
37
|
+
- 6413a0c9
|
38
|
+
X-Build:
|
39
|
+
- 76600b8d0c
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"MetaInformation":{"@TotalResources":216,"@TotalPages":3,"@CurrentPage":1},"Orders":[{"@url":"https:\/\/api.fortnox.se\/3\/orders\/1","Cancelled":false,"Currency":"SEK","CustomerName":"An
|
43
|
+
updated value","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"1","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-20","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/2","Cancelled":true,"Currency":"SEK","CustomerName":"An
|
44
|
+
updated value","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"2","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-20","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/3","Cancelled":true,"Currency":"SEK","CustomerName":"An
|
45
|
+
updated value","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"3","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-20","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/4","Cancelled":false,"Currency":"SEK","CustomerName":"A
|
46
|
+
customer","CustomerNumber":"26","DeliveryDate":null,"DocumentNumber":"4","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/5","Cancelled":false,"Currency":"SEK","CustomerName":"An
|
47
|
+
updated value","CustomerNumber":"1","DeliveryDate":"2016-04-21","DocumentNumber":"5","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/6","Cancelled":false,"Currency":"SEK","CustomerName":"An
|
48
|
+
updated value","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"6","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/7","Cancelled":false,"Currency":"SEK","CustomerName":"Updated
|
49
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"7","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/8","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
50
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"8","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/9","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
51
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"9","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/10","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
52
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"10","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"1","Sent":false,"Total":100},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/11","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
53
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"11","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/12","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
54
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"12","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-22","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/13","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
55
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"13","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-22","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/14","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
56
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"14","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-25","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/15","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
57
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"15","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-25","Project":"","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/16","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
58
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"16","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-25","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/17","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
59
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"17","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-25","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/18","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
60
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"18","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-26","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/19","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
61
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"19","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/20","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
62
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"20","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/21","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
63
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"21","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/22","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
64
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"22","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/23","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
65
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"23","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/24","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
66
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"24","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/25","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
67
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"25","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/26","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
68
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"26","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/27","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
69
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"27","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/28","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
70
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"28","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/29","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
71
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"29","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/30","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
72
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"30","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/31","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
73
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"31","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/32","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
74
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"32","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/33","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
75
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"33","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/34","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
76
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"34","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/35","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
77
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"35","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/36","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
78
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"36","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/37","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
79
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"37","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/38","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
80
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"38","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/39","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
81
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"39","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-27","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/40","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
82
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"40","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-28","Project":"","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/41","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
83
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"41","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-29","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/42","Cancelled":false,"Currency":"SEK","CustomerName":"Arthur
|
84
|
+
Dent","CustomerNumber":"4","DeliveryDate":null,"DocumentNumber":"42","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-02","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/43","Cancelled":false,"Currency":"SEK","CustomerName":"Some
|
85
|
+
company","CustomerNumber":"42","DeliveryDate":null,"DocumentNumber":"43","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-02","Project":"","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/44","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
86
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"44","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-03","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/45","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
87
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"45","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/46","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
88
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"46","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/47","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
89
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"47","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/48","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
90
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"48","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/49","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
91
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"49","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/50","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
92
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"50","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/51","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
93
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"51","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/52","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
94
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"52","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":1075992},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/53","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
95
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"53","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-04","Project":"1","Sent":false,"Total":1075992},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/54","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
96
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"54","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-05","Project":"1","Sent":false,"Total":968510},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/55","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
97
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"55","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-05","Project":"1","Sent":false,"Total":12},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/56","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
98
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"56","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/57","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
99
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"57","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/58","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
100
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"58","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","Project":"1","Sent":false,"Total":26},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/59","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
101
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"59","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","Project":"1","Sent":false,"Total":26},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/60","Cancelled":false,"Currency":"SEK","CustomerName":"A
|
102
|
+
customer","CustomerNumber":"2","DeliveryDate":null,"DocumentNumber":"60","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","Project":"1","Sent":false,"Total":19},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/61","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
103
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"61","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","Project":"1","Sent":false,"Total":26},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/62","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
104
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"62","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-10","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/63","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
105
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"63","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-10","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/64","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
106
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"64","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-10","Project":"1","Sent":false,"Total":968510},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/65","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
107
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"65","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-10","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/66","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
108
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"66","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-15","Project":"2","Sent":false,"Total":138},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/67","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
109
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"67","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-15","Project":"2","Sent":false,"Total":1250},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/68","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
110
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"68","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-15","Project":"2","Sent":false,"Total":1250},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/69","Cancelled":true,"Currency":"SEK","CustomerName":"Test
|
111
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"69","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-15","Project":"2","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/70","Cancelled":false,"Currency":"SEK","CustomerName":"Old
|
112
|
+
name","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"70","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-15","Project":"2","Sent":false,"Total":63},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/71","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
113
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"71","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-08","Project":"","Sent":false,"Total":25},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/72","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
114
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"72","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-08","Project":"","Sent":false,"Total":25},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/73","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
115
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"73","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-09","Project":"","Sent":false,"Total":3},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/74","Cancelled":false,"Currency":"SEK","CustomerName":"Anna
|
116
|
+
Norman","CustomerNumber":"82","DeliveryDate":null,"DocumentNumber":"74","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-13","Project":"2","Sent":false,"Total":625},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/75","Cancelled":false,"Currency":"SEK","CustomerName":"Ertan
|
117
|
+
AB","CustomerNumber":"83","DeliveryDate":null,"DocumentNumber":"75","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-13","Project":"2","Sent":false,"Total":625},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/76","Cancelled":false,"Currency":"SEK","CustomerName":"Easy
|
118
|
+
Translate GmbH","CustomerNumber":"64","DeliveryDate":null,"DocumentNumber":"76","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-13","Project":"2","Sent":false,"Total":625},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/77","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
119
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"77","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":210},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/78","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
120
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"78","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":60},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/79","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
121
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"79","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":1800},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/80","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
122
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"80","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":3000},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/81","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
123
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"81","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":5750},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/82","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
124
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"82","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":875},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/83","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
125
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"83","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":2500},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/84","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
126
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"84","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-20","Project":"","Sent":false,"Total":100},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/85","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
127
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"85","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-29","Project":"","Sent":false,"Total":25000},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/86","Cancelled":false,"Currency":"SEK","CustomerName":"Utlandskund","CustomerNumber":"63","DeliveryDate":null,"DocumentNumber":"86","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-29","Project":"","Sent":false,"Total":125},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/87","Cancelled":false,"Currency":"SEK","CustomerName":"Test
|
128
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"87","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-29","Project":"","Sent":false,"Total":200},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/88","Cancelled":false,"Currency":"SEK","CustomerName":"test12313","CustomerNumber":"100","DeliveryDate":null,"DocumentNumber":"88","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-06-29","Project":"","Sent":false,"Total":12500},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/89","Cancelled":false,"Currency":"SEK","CustomerName":"Hannes
|
129
|
+
Elvemyr","CustomerNumber":"106","DeliveryDate":null,"DocumentNumber":"89","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-01","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/90","Cancelled":false,"Currency":"SEK","CustomerName":"BolagsBemanning
|
130
|
+
i Tingsryd AB","CustomerNumber":"107","DeliveryDate":null,"DocumentNumber":"90","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-01","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/91","Cancelled":false,"Currency":"SEK","CustomerName":"Hannes
|
131
|
+
Elvemyr","CustomerNumber":"108","DeliveryDate":null,"DocumentNumber":"91","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-01","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/92","Cancelled":false,"Currency":"SEK","CustomerName":"BolagsBemanning
|
132
|
+
i Tingsryd AB","CustomerNumber":"75","DeliveryDate":null,"DocumentNumber":"92","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-11","Project":"","Sent":false,"Total":13},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/93","Cancelled":false,"Currency":"SEK","CustomerName":"BolagsBemanning
|
133
|
+
i Tingsryd AB","CustomerNumber":"67","DeliveryDate":null,"DocumentNumber":"93","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-11","Project":"","Sent":false,"Total":6700},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/94","Cancelled":false,"Currency":"SEK","CustomerName":"BolagsBemanning
|
134
|
+
i Tingsryd AB","CustomerNumber":"75","DeliveryDate":null,"DocumentNumber":"94","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-11","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/95","Cancelled":false,"Currency":"SEK","CustomerName":"BolagsBemanning
|
135
|
+
i Tingsryd AB","CustomerNumber":"81","DeliveryDate":null,"DocumentNumber":"95","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-08-11","Project":"","Sent":false,"Total":-1444},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/96","Cancelled":false,"Currency":"DKK","CustomerName":"Old
|
136
|
+
name","CustomerNumber":"1","DeliveryDate":"2016-09-08","DocumentNumber":"96","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-09-08","Project":"1","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/97","Cancelled":false,"Currency":"DKK","CustomerName":"Old
|
137
|
+
name","CustomerNumber":"1","DeliveryDate":"2016-09-08","DocumentNumber":"97","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-09-08","Project":"1","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/98","Cancelled":false,"Currency":"DKK","CustomerName":"Old
|
138
|
+
name","CustomerNumber":"1","DeliveryDate":"2016-09-08","DocumentNumber":"98","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-09-08","Project":"1","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/99","Cancelled":false,"Currency":"DKK","CustomerName":"Old
|
139
|
+
name","CustomerNumber":"1","DeliveryDate":"2016-09-08","DocumentNumber":"99","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-09-08","Project":"1","Sent":true,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/100","Cancelled":false,"Currency":"DKK","CustomerName":"Old
|
140
|
+
name","CustomerNumber":"1","DeliveryDate":"2016-09-08","DocumentNumber":"100","ExternalInvoiceReference1":"External
|
141
|
+
reference","ExternalInvoiceReference2":"","OrderDate":"2016-09-08","Project":"1","Sent":true,"Total":0}]}'
|
142
|
+
http_version:
|
143
|
+
recorded_at: Tue, 25 Oct 2016 10:21:56 GMT
|
144
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/orders/?filter=cancelled
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:57 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Accept-Encoding
|
34
|
+
X-Rack-Responsetime:
|
35
|
+
- '34'
|
36
|
+
X-Uid:
|
37
|
+
- 357b8d4f
|
38
|
+
X-Build:
|
39
|
+
- 76600b8d0c
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"MetaInformation":{"@TotalResources":3,"@TotalPages":1,"@CurrentPage":1},"Orders":[{"@url":"https:\/\/api.fortnox.se\/3\/orders\/2","Cancelled":true,"Currency":"SEK","CustomerName":"An
|
43
|
+
updated value","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"2","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-20","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/3","Cancelled":true,"Currency":"SEK","CustomerName":"An
|
44
|
+
updated value","CustomerNumber":"1","DeliveryDate":null,"DocumentNumber":"3","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-20","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/69","Cancelled":true,"Currency":"SEK","CustomerName":"Test
|
45
|
+
customer","CustomerNumber":"3","DeliveryDate":null,"DocumentNumber":"69","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-15","Project":"2","Sent":false,"Total":0}]}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Tue, 25 Oct 2016 10:21:57 GMT
|
48
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/orders/?filter=doesntexist
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 400
|
21
|
+
message: Bad Request
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:58 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
X-Rack-Responsetime:
|
32
|
+
- '28'
|
33
|
+
X-Uid:
|
34
|
+
- 0735815b
|
35
|
+
X-Build:
|
36
|
+
- 76600b8d0c
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"ErrorInformation":{"error":1,"message":"Ett ogiltigt filter har anv\u00e4nts.","code":2000587}}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 25 Oct 2016 10:21:58 GMT
|
42
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/orders/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:57 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Accept-Encoding
|
34
|
+
X-Rack-Responsetime:
|
35
|
+
- '262'
|
36
|
+
X-Uid:
|
37
|
+
- 7974ff80
|
38
|
+
X-Build:
|
39
|
+
- 76600b8d0c
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"Order":{"@url":"https:\/\/api.fortnox.se\/3\/orders\/1","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=orders&referencenumber=1","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","BasisTaxReduction":0,"Cancelled":false,"City":"","Comments":"Old
|
43
|
+
comments","ContributionPercent":0,"ContributionValue":0,"CopyRemarks":false,"Country":"","CostCenter":"","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"An
|
44
|
+
updated value","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"1","EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Order
|
45
|
+
{no} bifogas","EmailBody":" "},"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceReference":"0","Labels":[],"Language":"SV","Net":0,"NotCompleted":false,"OfferReference":"0","OrderDate":"2016-04-20","OrderRows":[],"OrganisationNumber":"","OurReference":"","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"oc","Project":"1","Remarks":"","RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"WayOfDelivery":"","YourReference":"","YourOrderNumber":"","ZipCode":""}}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Tue, 25 Oct 2016 10:21:57 GMT
|
48
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.fortnox.se/3/orders/215
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- 8ed4ae9d-79d0-453e-8f02-79b596369514
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:55 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Accept-Encoding
|
34
|
+
X-Rack-Responsetime:
|
35
|
+
- '52'
|
36
|
+
X-Uid:
|
37
|
+
- 862208e7
|
38
|
+
X-Build:
|
39
|
+
- 76600b8d0c
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"Order":{"@url":"https:\/\/api.fortnox.se\/3\/orders\/215","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=orders&referencenumber=215","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","BasisTaxReduction":0,"Cancelled":false,"City":"","Comments":"A
|
43
|
+
value","ContributionPercent":0,"ContributionValue":0,"CopyRemarks":false,"Country":"","CostCenter":"","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
|
44
|
+
name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"215","EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Order
|
45
|
+
{no} bifogas","EmailBody":" "},"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceReference":"0","Labels":[],"Language":"SV","Net":0,"NotCompleted":false,"OfferReference":"0","OrderDate":"2016-10-25","OrderRows":[],"OrganisationNumber":"860101-8735","OurReference":"En
|
46
|
+
Appstudio","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"oc","Project":"","Remarks":"","RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":"0","Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"WayOfDelivery":"","YourReference":"","YourOrderNumber":"","ZipCode":""}}'
|
47
|
+
http_version:
|
48
|
+
recorded_at: Tue, 25 Oct 2016 10:21:55 GMT
|
49
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.fortnox.se/3/orders/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"Order":{"CustomerNumber":"1","OrderRows":[{"ArticleNumber":"0000","HouseWorkType":"BABYSITTING","OrderedQuantity":1.0}]}}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Client-Secret:
|
15
|
+
- 9aBA8ZgsvR
|
16
|
+
Access-Token:
|
17
|
+
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 201
|
21
|
+
message: Created
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Tue, 25 Oct 2016 10:21:53 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
Location:
|
32
|
+
- orders
|
33
|
+
X-Rack-Responsetime:
|
34
|
+
- '97'
|
35
|
+
X-Uid:
|
36
|
+
- 2aa9618b
|
37
|
+
X-Build:
|
38
|
+
- 76600b8d0c
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"Order":{"@url":"https:\/\/api.fortnox.se\/3\/orders\/206","@urlTaxReductionList":"https:\/\/api.fortnox.se\/3\/taxreductions?filter=orders&referencenumber=206","AdministrationFee":0,"AdministrationFeeVAT":0,"Address1":"","Address2":"","BasisTaxReduction":0,"Cancelled":false,"City":"","Comments":"","ContributionPercent":0,"ContributionValue":0,"CopyRemarks":false,"Country":"","CostCenter":"","Currency":"SEK","CurrencyRate":1,"CurrencyUnit":1,"CustomerName":"Old
|
42
|
+
name","CustomerNumber":"1","DeliveryAddress1":"","DeliveryAddress2":"","DeliveryCity":"","DeliveryCountry":"","DeliveryDate":null,"DeliveryName":"","DeliveryZipCode":"","DocumentNumber":"206","EmailInformation":{"EmailAddressFrom":null,"EmailAddressTo":"","EmailAddressCC":null,"EmailAddressBCC":null,"EmailSubject":"Order
|
43
|
+
{no} bifogas","EmailBody":" "},"ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","Freight":0,"FreightVAT":0,"Gross":0,"HouseWork":false,"InvoiceReference":0,"Labels":[],"Language":"SV","Net":0,"NotCompleted":false,"OfferReference":0,"OrderDate":"2016-10-25","OrderRows":[{"AccountNumber":1250,"ArticleNumber":"0000","ContributionPercent":0,"ContributionValue":0,"CostCenter":"","DeliveredQuantity":"0.00","Description":"Testartikel","Discount":0,"DiscountType":"PERCENT","HouseWork":false,"HouseWorkHoursToReport":null,"HouseWorkType":"BABYSITTING","OrderedQuantity":"1.00","Price":0,"Project":"","Total":0,"Unit":"","VAT":0}],"OrganisationNumber":"860101-8735","OurReference":"En
|
44
|
+
Appstudio","Phone1":"","Phone2":"","PriceList":"A","PrintTemplate":"oc","Project":"","Remarks":"","RoundOff":0,"Sent":false,"TaxReduction":null,"TermsOfDelivery":"","TermsOfPayment":0,"Total":0,"TotalToPay":0,"TotalVAT":0,"VATIncluded":false,"WayOfDelivery":"","YourReference":"","YourOrderNumber":"","ZipCode":""}}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Tue, 25 Oct 2016 10:21:53 GMT
|
47
|
+
recorded_with: VCR 3.0.1
|