I am getting the following error when trying to create a customer invoice: "message": "VismaId: 8f846627-49e6-4e58-81d4-13ead04b2fd3. Error creating document. Error: Kostnadsställe, Läkare, Projekt of SubID do not exist." Endpoint : /controller/api/v2/customerinvoice This is the json I am sending in : { "externalReference": { "value":"F21-0002" }, "invoiceLines":[ { "operation":"Insert", "inventoryNumber":{"value":"12345"}, "description":{"value":"Hudvård"}, "quantity":{"value":1.0}, "unitPriceInCurrency":{"value":530.0}, "subaccount":[ {"segmentId":1,"segmentValue":"21"}, {"segmentId":2,"segmentValue":"000"}, {"segmentId":3,"segmentValue":"00"}] }], "referenceNumber":{"value":"0000001"}, "customerNumber":{"value":"10001"}, "documentDate":{"value":"2022-11-11T00:00:00.0000000"}, "invoiceText":{"value":"6789, 2022-11-11"}, "note":{"value":""} } I have verified and the value 21 exist for segmentid 1.
... View more