Hi, I'm getting this error when trying to create a CustomerInvoice with the bearer token that is generated via tenantid, clientid and clientsecret. If i try to post the exact same json with the old bearer token and the company-id in the header it works. Please see below for the json body: { "customerNumber": { "Value": "30122" }, "customerRefNumber": { "Value": "AO23310.1" }, "hold": { "Value": false }, "billingAddress": { "Value": { "overrideAddress": { "Value": true }, "addressLine1": { "Value": "Gatan 3" }, "addressLine2": { "Value": "" }, "addressLine3": { "Value": "" }, "postalCode": { "Value": "56113" }, "city": { "Value": "HUSKVARNA" }, "countryId": { "Value": "SE" }, "county": { "Value": "" } } }, "invoiceContact": { "Value": { "overrideContact": { "Value": true }, "attention": { "Value": "xxxx.xxxxx@zzzzz.se" }, "email": { "Value": "faktura@zzzzz.se" }, "name": { "Value": "zzzzz" } } }, "domesticServicesDeductibleDocument": { "Value": false }, "invoiceLines": [ { "description": { "Value": "REST API" }, "discountPercent": { "Value": 30.00 }, "domesticServicesDeductible": { "Value": false }, "lineNumber": { "Value": 0 }, "manualDiscount": { "Value": false }, "quantity": { "Value": 1.0 }, "unitPriceInCurrency": { "Value": 6250.0 }, "operation": "Insert" } ] }
... View more