--- http_interactions: - request: method: post uri: https://api.fortnox.se/3/orders/ body: encoding: UTF-8 string: '{"Order":{"CustomerNumber":"1","TaxReductionType":"rot","OrderRows":[{"ArticleNumber":"101","HouseWork":true,"HouseWorkType":"OTHERCOSTS","OrderedQuantity":1.0}]}}' headers: Content-Type: - application/json Accept: - application/json Authorization: - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 400 message: Bad Request headers: Content-Length: - '143' Content-Type: - application/json Date: - Mon, 30 Jan 2023 10:33:58 GMT X-Build: - 16d854443d X-Frame-Options: - sameorigin X-Rack-Responsetime: - '242' X-Uid: - b7012f43 Server: - Fortnox X-Content-Type-Options: - nosniff X-Xss-Protection: - '0' Referrer-Policy: - strict-origin-when-cross-origin Content-Security-Policy: - 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com fonts.gstatic.com api.cling.se wss://api.cling.se ''unsafe-inline'' ''unsafe-eval'' blob: data:' Strict-Transport-Security: - max-age=31536000; includeSubdomains body: encoding: UTF-8 string: '{"ErrorInformation":{"error":1,"message":"Kan inte s\u00e4tta typen \u00f6vrig kostnad p\u00e5 en rad markerad som husarbete.","code":2002980}}' recorded_at: Mon, 30 Jan 2023 10:33:58 GMT recorded_with: VCR 6.1.0